Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve visuals when library empty #3398

Merged
merged 1 commit into from
Mar 26, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 6 additions & 5 deletions app/src/main/res/layout/fragment_library.xml
Original file line number Diff line number Diff line change
Expand Up @@ -41,9 +41,9 @@
android:paddingHorizontal="15dp"
android:paddingVertical="12dp"
android:text="@string/watch_history"
android:textAlignment="viewStart"
android:textSize="18sp"
android:textStyle="bold"
android:textAlignment="viewStart"
app:drawableStartCompat="@drawable/ic_time_outlined" />

<TextView
Expand All @@ -55,9 +55,9 @@
android:paddingHorizontal="15dp"
android:paddingVertical="12dp"
android:text="@string/downloads"
android:textAlignment="viewStart"
android:textSize="18sp"
android:textStyle="bold"
android:textAlignment="viewStart"
app:drawableStartCompat="@drawable/ic_download" />

</LinearLayout>
Expand All @@ -81,16 +81,17 @@
<TextView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="@string/playlists"
android:padding="8dp"
android:textSize="18sp"
android:text="@string/playlists"
android:textAlignment="viewStart"
android:textSize="18sp"
android:textStyle="bold" />

<RelativeLayout
android:id="@+id/nothing_here"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_marginBottom="35dp"
android:visibility="gone">

<ImageView
Expand Down Expand Up @@ -141,9 +142,9 @@
<TextView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:padding="8dp"
android:text="@string/bookmarks"
android:textSize="18sp"
android:padding="8dp"
android:textStyle="bold" />

<androidx.recyclerview.widget.RecyclerView
Expand Down