Private
Public Access
- New setting "Text and button size" (Normal / Large / Extra large): scales text, icons and buttons on top of the phone's density (App.UI_SCALES) - Larger default text, rows, tiles, touch targets and player icons; all sizes now live in res/values/dimens.xml - Seek bar knob drawn in code, since Android 2.x caches XML shapes at the size they were first loaded - Full-width buttons wrap to two lines instead of cutting words off - Shorter labels so they fit 240x320 screens in both languages - tools/check_fit.py checks that UI texts fit their slots at every size and language using Droid Sans metrics; build.sh runs it and setup_toolchain.sh fetches the font Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
30 lines
1.2 KiB
XML
30 lines
1.2 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">
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="@dimen/topbar"
|
|
android:orientation="horizontal"
|
|
android:gravity="center_vertical"
|
|
android:paddingLeft="4dp"
|
|
android:paddingRight="8dp">
|
|
<ImageButton android:id="@+id/btn_back" style="@style/IconButton" />
|
|
<EditText android:id="@+id/search_box" style="@style/Edit"
|
|
android:layout_width="0dp" android:layout_weight="1"
|
|
android:hint="@string/search_hint"
|
|
android:imeOptions="actionSearch"
|
|
android:inputType="text" />
|
|
</LinearLayout>
|
|
<FrameLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="0dp"
|
|
android:layout_weight="1">
|
|
<ListView android:id="@+id/list" android:layout_width="match_parent"
|
|
android:layout_height="match_parent" />
|
|
<include layout="@layout/view_status" />
|
|
</FrameLayout>
|
|
<include layout="@layout/view_miniplayer" />
|
|
</LinearLayout>
|