mirror of
https://github.com/antebudimir/tempus.git
synced 2026-01-01 09:53:33 +00:00
Hide sector in home and library if there are no elements to show
This commit is contained in:
parent
bdfa4a6f64
commit
93e7550e74
4 changed files with 22 additions and 4 deletions
|
|
@ -42,6 +42,7 @@
|
|||
|
||||
<!-- Recently added tracks -->
|
||||
<LinearLayout
|
||||
android:id="@+id/home_recently_added_tracks_sector"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="vertical">
|
||||
|
|
@ -98,6 +99,7 @@
|
|||
|
||||
<!-- Fashback -->
|
||||
<LinearLayout
|
||||
android:id="@+id/home_flashback_sector"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="vertical">
|
||||
|
|
@ -130,6 +132,7 @@
|
|||
|
||||
<!-- Favorites -->
|
||||
<LinearLayout
|
||||
android:id="@+id/home_favorite_tracks_sector"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="vertical">
|
||||
|
|
@ -184,6 +187,7 @@
|
|||
|
||||
<!-- Most played tracks -->
|
||||
<LinearLayout
|
||||
android:id="@+id/home_most_played_tracks_sector"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="vertical">
|
||||
|
|
@ -240,6 +244,7 @@
|
|||
|
||||
<!-- Recently played tracks -->
|
||||
<LinearLayout
|
||||
android:id="@+id/home_recently_played_tracks_sector"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="vertical">
|
||||
|
|
|
|||
|
|
@ -201,6 +201,7 @@
|
|||
</LinearLayout>
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/library_playlist_sector"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="vertical"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue