Merge pull request #3398 from Bnyro/master

Improve visuals when library empty
This commit is contained in:
Bnyro 2023-03-26 11:31:37 +02:00 committed by GitHub
commit 8955c4094a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -41,9 +41,9 @@
android:paddingHorizontal="15dp" android:paddingHorizontal="15dp"
android:paddingVertical="12dp" android:paddingVertical="12dp"
android:text="@string/watch_history" android:text="@string/watch_history"
android:textAlignment="viewStart"
android:textSize="18sp" android:textSize="18sp"
android:textStyle="bold" android:textStyle="bold"
android:textAlignment="viewStart"
app:drawableStartCompat="@drawable/ic_time_outlined" /> app:drawableStartCompat="@drawable/ic_time_outlined" />
<TextView <TextView
@ -55,9 +55,9 @@
android:paddingHorizontal="15dp" android:paddingHorizontal="15dp"
android:paddingVertical="12dp" android:paddingVertical="12dp"
android:text="@string/downloads" android:text="@string/downloads"
android:textAlignment="viewStart"
android:textSize="18sp" android:textSize="18sp"
android:textStyle="bold" android:textStyle="bold"
android:textAlignment="viewStart"
app:drawableStartCompat="@drawable/ic_download" /> app:drawableStartCompat="@drawable/ic_download" />
</LinearLayout> </LinearLayout>
@ -81,16 +81,17 @@
<TextView <TextView
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:text="@string/playlists"
android:padding="8dp" android:padding="8dp"
android:textSize="18sp" android:text="@string/playlists"
android:textAlignment="viewStart" android:textAlignment="viewStart"
android:textSize="18sp"
android:textStyle="bold" /> android:textStyle="bold" />
<RelativeLayout <RelativeLayout
android:id="@+id/nothing_here" android:id="@+id/nothing_here"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="match_parent" android:layout_height="match_parent"
android:layout_marginBottom="35dp"
android:visibility="gone"> android:visibility="gone">
<ImageView <ImageView
@ -141,9 +142,9 @@
<TextView <TextView
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:padding="8dp"
android:text="@string/bookmarks" android:text="@string/bookmarks"
android:textSize="18sp" android:textSize="18sp"
android:padding="8dp"
android:textStyle="bold" /> android:textStyle="bold" />
<androidx.recyclerview.widget.RecyclerView <androidx.recyclerview.widget.RecyclerView