Private
Public Access
Minamp 1.6: adjustable UI size, larger text and controls
- 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>
This commit is contained in:
1 parent
fa67e95fde
commit
bbdab09f83
32 files changed
+457
-190
No files matched your search
@@ -22,7 +22,7 @@
|
||||
android:text="@string/app_name" android:textSize="26sp" android:textStyle="bold"
|
||||
android:paddingTop="8dp" />
|
||||
<TextView android:layout_width="wrap_content" android:layout_height="wrap_content"
|
||||
android:gravity="center" android:textColor="@color/text2" android:textSize="13sp"
|
||||
android:gravity="center" android:textColor="@color/text2" android:textSize="@dimen/text_sub"
|
||||
android:paddingTop="4dp" android:paddingBottom="22dp"
|
||||
android:text="@string/tagline" />
|
||||
<Button android:id="@+id/btn_signin" style="@style/ButtonAccent"
|
||||
@@ -34,7 +34,7 @@
|
||||
android:layout_width="wrap_content" android:layout_height="wrap_content"
|
||||
android:layout_marginTop="18dp" android:padding="8dp"
|
||||
android:background="@drawable/bg_pressable"
|
||||
android:textColor="@color/text2" android:textSize="12sp"
|
||||
android:textColor="@color/text2" android:textSize="@dimen/text_sub"
|
||||
android:text="@string/connection_log" />
|
||||
</LinearLayout>
|
||||
|
||||
@@ -44,14 +44,14 @@
|
||||
android:orientation="vertical" android:gravity="center_horizontal"
|
||||
android:visibility="gone">
|
||||
<TextView android:layout_width="wrap_content" android:layout_height="wrap_content"
|
||||
android:gravity="center" android:textColor="@color/text2" android:textSize="13sp"
|
||||
android:gravity="center" android:textColor="@color/text2" android:textSize="@dimen/text_sub"
|
||||
android:paddingTop="12dp"
|
||||
android:text="@string/pin_open" />
|
||||
<TextView android:layout_width="wrap_content" android:layout_height="wrap_content"
|
||||
android:text="plex.tv/link" android:textSize="22sp" android:textStyle="bold"
|
||||
android:textColor="@color/accent" android:paddingTop="4dp" />
|
||||
<TextView android:layout_width="wrap_content" android:layout_height="wrap_content"
|
||||
android:textColor="@color/text2" android:textSize="13sp" android:paddingTop="10dp"
|
||||
android:textColor="@color/text2" android:textSize="@dimen/text_sub" android:paddingTop="10dp"
|
||||
android:text="@string/pin_enter" />
|
||||
<TextView android:id="@+id/pin_code"
|
||||
android:layout_width="wrap_content" android:layout_height="wrap_content"
|
||||
@@ -63,7 +63,7 @@
|
||||
android:layout_width="wrap_content" android:layout_height="wrap_content" />
|
||||
<TextView android:id="@+id/pin_status"
|
||||
android:layout_width="wrap_content" android:layout_height="wrap_content"
|
||||
android:textColor="@color/text2" android:textSize="12sp" android:paddingLeft="8dp"
|
||||
android:textColor="@color/text2" android:textSize="@dimen/text_sub" android:paddingLeft="8dp"
|
||||
android:text="@string/pin_waiting" />
|
||||
</LinearLayout>
|
||||
<Button android:id="@+id/btn_pin_check" style="@style/ButtonAccent"
|
||||
@@ -79,7 +79,7 @@
|
||||
android:layout_width="match_parent" android:layout_height="wrap_content"
|
||||
android:orientation="vertical" android:visibility="gone">
|
||||
<TextView android:layout_width="wrap_content" android:layout_height="wrap_content"
|
||||
android:text="@string/server_address" android:textSize="18sp" android:textStyle="bold" />
|
||||
android:text="@string/server_address" android:textSize="@dimen/text_title" android:textStyle="bold" />
|
||||
<TextView style="@style/Sub" android:layout_width="match_parent" android:layout_height="wrap_content"
|
||||
android:singleLine="false" android:paddingTop="4dp" android:paddingBottom="10dp"
|
||||
android:text="@string/server_address_help" />
|
||||
@@ -102,7 +102,7 @@
|
||||
android:orientation="vertical" android:visibility="gone">
|
||||
<TextView android:id="@+id/choose_title"
|
||||
android:layout_width="wrap_content" android:layout_height="wrap_content"
|
||||
android:textSize="18sp" android:textStyle="bold" />
|
||||
android:textSize="@dimen/text_title" android:textStyle="bold" />
|
||||
<TextView android:id="@+id/choose_sub" style="@style/Sub"
|
||||
android:layout_width="match_parent" android:layout_height="wrap_content"
|
||||
android:singleLine="false" android:paddingTop="2dp" android:paddingBottom="10dp" />
|
||||
@@ -122,7 +122,7 @@
|
||||
<ProgressBar android:layout_width="wrap_content" android:layout_height="wrap_content" />
|
||||
<TextView android:id="@+id/busy_text"
|
||||
android:layout_width="wrap_content" android:layout_height="wrap_content"
|
||||
android:gravity="center" android:textColor="@color/text2" android:textSize="13sp"
|
||||
android:gravity="center" android:textColor="@color/text2" android:textSize="@dimen/text_sub"
|
||||
android:paddingTop="12dp" />
|
||||
</LinearLayout>
|
||||
</LinearLayout>
|
||||
|
||||
Reference in new issue
Block a user