Files
plexamp-lite/res/layout/activity_home.xml
T
xockoandClaude Opus 5.5 fa67e95fde Minamp 1.5: Galician interface
- Interface in Galician by default regardless of the phone's language, with
  English selectable under Axustes -> Idioma; switching rebuilds the screens
- All text in tools/strings.py (key -> English, Galician), generating
  res/values/strings.xml (gl) and res/values-en/strings.xml; layouts now use
  string resources
- util/Tr.java: translations for the network and Plex layers, which can't
  read Android resources (falls back to English in desktop tests)
- net/RefusedException: distinguish "server answered but refused" from
  connection failures
- The connection log stays in English for troubleshooting

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-15 00:11:41 +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="@string/tab_home" />
<TextView android:id="@+id/tab_artists" style="@style/Tab" android:text="@string/tab_artists" />
<TextView android:id="@+id/tab_albums" style="@style/Tab" android:text="@string/tab_albums" />
<TextView android:id="@+id/tab_playlists" style="@style/Tab" android:text="@string/tab_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>