add logout button and use default album art in more locations
This commit is contained in:
parent
8e091c99a6
commit
9a20e51bcc
9 changed files with 38 additions and 10 deletions
|
|
@ -1,6 +1,7 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||
android:id="@+id/player_album_art_frame"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
|
|
@ -11,13 +12,7 @@
|
|||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:scaleType="centerCrop"
|
||||
app:srcCompat="@drawable/default_album_art"
|
||||
tools:ignore="ContentDescription,UnusedAttribute" />
|
||||
|
||||
<!--<ImageView-->
|
||||
<!--android:id="@+id/player_image_background"-->
|
||||
<!--android:layout_width="match_parent"-->
|
||||
<!--android:layout_height="match_parent"-->
|
||||
<!--android:scaleType="centerCrop"-->
|
||||
<!--tools:ignore="ContentDescription,UnusedAttribute" />-->
|
||||
|
||||
</FrameLayout>
|
||||
|
|
@ -3,6 +3,7 @@
|
|||
xmlns:tools="http://schemas.android.com/tools"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||
android:layout_margin="2dp"
|
||||
android:foreground="?rectSelectorStrong">
|
||||
|
||||
|
|
@ -23,6 +24,7 @@
|
|||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:scaleType="centerCrop"
|
||||
app:srcCompat="@drawable/default_album_art"
|
||||
tools:ignore="ContentDescription" />
|
||||
|
||||
</com.kabouzeid.gramophone.views.WidthFitSquareLayout>
|
||||
|
|
|
|||
|
|
@ -41,6 +41,7 @@
|
|||
android:layout_height="40dp"
|
||||
android:layout_gravity="center"
|
||||
android:scaleType="centerCrop"
|
||||
app:srcCompat="@drawable/default_album_art"
|
||||
tools:ignore="ContentDescription" />
|
||||
|
||||
<TextView
|
||||
|
|
|
|||
|
|
@ -16,9 +16,14 @@
|
|||
|
||||
<item
|
||||
android:id="@+id/nav_about"
|
||||
android:icon="@drawable/ic_help_white_24dp"
|
||||
android:icon="@drawable/ic_info_outline_white_24dp"
|
||||
android:title="@string/action_about" />
|
||||
|
||||
<item
|
||||
android:id="@+id/nav_logout"
|
||||
android:icon="@drawable/ic_exit_to_app_white_48dp"
|
||||
android:title="@string/logout" />
|
||||
|
||||
</group>
|
||||
|
||||
</menu>
|
||||
|
|
|
|||
|
|
@ -195,6 +195,7 @@
|
|||
<string name="app_widget_small_name">Phonograph - Small</string>
|
||||
<string name="app_widget_card_name">Phonograph - Card</string>
|
||||
<string name="login">Login</string>
|
||||
<string name="logout">Logout</string>
|
||||
<string name="username">Username</string>
|
||||
<string name="password">Password</string>
|
||||
<string name="server">Server</string>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue