Files
plexamp-lite/res/layout/activity_home.xml
T
2026-10-14 19:38:37 +02:00

58 lines
2.3 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical">
<include layout="@layout/view_topbar" />
<LinearLayout
android:id="@+id/tabs"
android:layout_width="match_parent"
android:layout_height="32dp"
android:orientation="horizontal">
<TextView android:id="@+id/tab_home" style="@style/Tab" android:text="HOME" />
<TextView android:id="@+id/tab_artists" style="@style/Tab" android:text="ARTISTS" />
<TextView android:id="@+id/tab_albums" style="@style/Tab" android:text="ALBUMS" />
<TextView android:id="@+id/tab_playlists" style="@style/Tab" android:text="PLAYLISTS" />
</LinearLayout>
<View
android:id="@+id/tab_line"
android:layout_width="80dp"
android:layout_height="2dp"
android:background="@color/accent" />
<FrameLayout
android:layout_width="match_parent"
android:layout_height="0dp"
android:layout_weight="1">
<ScrollView
android:id="@+id/home_scroll"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:fadingEdge="none">
<LinearLayout
android:id="@+id/home_content"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical"
android:paddingBottom="8dp" />
</ScrollView>
<ListView android:id="@+id/list_artists" android:layout_width="match_parent"
android:layout_height="match_parent" android:visibility="gone"
android:fastScrollEnabled="true" />
<ListView android:id="@+id/list_albums" android:layout_width="match_parent"
android:layout_height="match_parent" android:visibility="gone"
android:fastScrollEnabled="true" />
<ListView android:id="@+id/list_playlists" android:layout_width="match_parent"
android:layout_height="match_parent" android:visibility="gone" />
<include layout="@layout/view_status" />
</FrameLayout>
<include layout="@layout/view_miniplayer" />
</LinearLayout>