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
@@ -1,21 +1,21 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- Full-width row: on a 240 px screen two side by side cut their titles short. -->
|
||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="58dp"
|
||||
android:layout_weight="1"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="@dimen/tile"
|
||||
android:orientation="horizontal"
|
||||
android:gravity="center_vertical"
|
||||
android:background="@drawable/bg_tile"
|
||||
android:paddingLeft="8dp"
|
||||
android:paddingRight="6dp"
|
||||
android:paddingLeft="12dp"
|
||||
android:paddingRight="10dp"
|
||||
android:clickable="true"
|
||||
android:focusable="true">
|
||||
<ImageView android:id="@+id/tile_icon" android:layout_width="26dp" android:layout_height="26dp" />
|
||||
<ImageView android:id="@+id/tile_icon" android:layout_width="@dimen/tile_icon" android:layout_height="@dimen/tile_icon" />
|
||||
<LinearLayout android:layout_width="0dp" android:layout_height="wrap_content"
|
||||
android:layout_weight="1" android:orientation="vertical" android:paddingLeft="7dp">
|
||||
android:layout_weight="1" android:orientation="vertical" android:paddingLeft="12dp">
|
||||
<TextView android:id="@+id/tile_title" style="@style/Title"
|
||||
android:layout_width="match_parent" android:layout_height="wrap_content" android:textSize="13sp" />
|
||||
android:layout_width="match_parent" android:layout_height="wrap_content" android:textSize="@dimen/text_tile" />
|
||||
<TextView android:id="@+id/tile_sub" style="@style/Sub"
|
||||
android:layout_width="match_parent" android:layout_height="wrap_content" android:textSize="10sp" />
|
||||
android:layout_width="match_parent" android:layout_height="wrap_content" android:textSize="@dimen/text_small" />
|
||||
</LinearLayout>
|
||||
</LinearLayout>
|
||||
Reference in new issue
Block a user