Small fixes, also added empty text to playlist fragment and detail viewer.
This commit is contained in:
parent
598d5f6623
commit
7055b443fb
14 changed files with 52 additions and 20 deletions
|
|
@ -1,4 +1,4 @@
|
|||
<merge xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent">
|
||||
|
|
@ -80,4 +80,4 @@
|
|||
android:layout_marginRight="16dp"
|
||||
tools:ignore="RtlHardcoded" />
|
||||
|
||||
</merge>
|
||||
</FrameLayout>
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
<merge xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent">
|
||||
|
|
@ -82,4 +82,4 @@
|
|||
android:layout_marginRight="16dp"
|
||||
tools:ignore="RtlHardcoded" />
|
||||
|
||||
</merge>
|
||||
</FrameLayout>
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
<merge xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent">
|
||||
|
|
@ -21,8 +21,19 @@
|
|||
android:divider="@null"
|
||||
android:dividerHeight="0px"
|
||||
android:scrollbars="vertical" />
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
<TextView
|
||||
android:id="@android:id/empty"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:textSize="@dimen/empty_text_size"
|
||||
android:textColor="?android:textColorSecondary"
|
||||
android:fontFamily="sans-serif-light"
|
||||
android:text="@string/playlist_empty_text"
|
||||
android:layout_gravity="center" />
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
|
|
@ -37,4 +48,4 @@
|
|||
|
||||
</LinearLayout>
|
||||
|
||||
</merge>
|
||||
</FrameLayout>
|
||||
|
|
@ -1,5 +1,5 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<LinearLayout
|
||||
<FrameLayout
|
||||
android:id="@+id/fragment_song_view"
|
||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:layout_width="match_parent"
|
||||
|
|
@ -14,4 +14,14 @@
|
|||
android:divider="@null"
|
||||
android:scrollbars="vertical" />
|
||||
|
||||
</LinearLayout>
|
||||
<TextView
|
||||
android:id="@android:id/empty"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:textSize="@dimen/empty_text_size"
|
||||
android:textColor="?android:textColorSecondary"
|
||||
android:fontFamily="sans-serif-light"
|
||||
android:text="@string/no_playlists"
|
||||
android:layout_gravity="center" />
|
||||
|
||||
</FrameLayout>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue