diff --git a/AndroidManifest.xml b/AndroidManifest.xml index 000737a..3e7a527 100644 --- a/AndroidManifest.xml +++ b/AndroidManifest.xml @@ -1,8 +1,8 @@ @@ -54,7 +54,7 @@ diff --git a/README.md b/README.md index 3dc5a96..fdaac82 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # MiniABS -A tiny Audiobookshelf **podcast** client for the Samsung Galaxy Mini (GT-S5570) and other Android 2.2+ phones. Native Java, no libraries, ~100 KB. +A tiny Audiobookshelf **podcast** client for the Samsung Galaxy Mini (GT-S5570) and other Android 2.2+ phones. Native Java, no libraries, ~130 KB. The interface is in Galician, with large text and touch targets sized for the Mini's 240×320 screen. ## Install @@ -91,6 +91,8 @@ Needs a JDK, `aapt`, `dalvik-exchange` (dx), `zipalign`, `apksigner` (Ubuntu: `a Compiling against the API 8 jar guarantees no newer Android APIs are used. The APK is signed with `miniabs.keystore` (password `miniabs`); keep it to install updates over the top. +All sizes (text, rows, buttons, covers) are in `res/values/dimens.xml`; change them there and rebuild. + `tools/gen_roots.py` regenerates the bundled root certificates from a system CA store. `test/run_tests.sh` runs the API, JSON, progress, HTTPS-trust and streaming-proxy code on the desktop JVM against a mock Audiobookshelf server (`test/mock_abs.py`), over plain HTTP and over TLS with good, expired, wrong-host, forged and self-signed certificates (`test/make_pki.sh`). diff --git a/res/drawable-hdpi/ic_pause.png b/res/drawable-hdpi/ic_pause.png index c647b71..73c215f 100644 Binary files a/res/drawable-hdpi/ic_pause.png and b/res/drawable-hdpi/ic_pause.png differ diff --git a/res/drawable-hdpi/ic_pause_small.png b/res/drawable-hdpi/ic_pause_small.png index 5af5bc3..7f1db2b 100644 Binary files a/res/drawable-hdpi/ic_pause_small.png and b/res/drawable-hdpi/ic_pause_small.png differ diff --git a/res/drawable-hdpi/ic_play.png b/res/drawable-hdpi/ic_play.png index d06252b..ea17077 100644 Binary files a/res/drawable-hdpi/ic_play.png and b/res/drawable-hdpi/ic_play.png differ diff --git a/res/drawable-hdpi/ic_play_small.png b/res/drawable-hdpi/ic_play_small.png index dd67171..e855b47 100644 Binary files a/res/drawable-hdpi/ic_play_small.png and b/res/drawable-hdpi/ic_play_small.png differ diff --git a/res/drawable-hdpi/ic_refresh.png b/res/drawable-hdpi/ic_refresh.png index c6f1b55..d3b7030 100644 Binary files a/res/drawable-hdpi/ic_refresh.png and b/res/drawable-hdpi/ic_refresh.png differ diff --git a/res/drawable-ldpi/ic_pause.png b/res/drawable-ldpi/ic_pause.png index 88c8cbc..270b0e6 100644 Binary files a/res/drawable-ldpi/ic_pause.png and b/res/drawable-ldpi/ic_pause.png differ diff --git a/res/drawable-ldpi/ic_pause_small.png b/res/drawable-ldpi/ic_pause_small.png index 080dfa6..af2ba37 100644 Binary files a/res/drawable-ldpi/ic_pause_small.png and b/res/drawable-ldpi/ic_pause_small.png differ diff --git a/res/drawable-ldpi/ic_play.png b/res/drawable-ldpi/ic_play.png index e7a1ce7..7ee756a 100644 Binary files a/res/drawable-ldpi/ic_play.png and b/res/drawable-ldpi/ic_play.png differ diff --git a/res/drawable-ldpi/ic_play_small.png b/res/drawable-ldpi/ic_play_small.png index c337a11..2b4960b 100644 Binary files a/res/drawable-ldpi/ic_play_small.png and b/res/drawable-ldpi/ic_play_small.png differ diff --git a/res/drawable-ldpi/ic_refresh.png b/res/drawable-ldpi/ic_refresh.png index 7c3724e..134c29c 100644 Binary files a/res/drawable-ldpi/ic_refresh.png and b/res/drawable-ldpi/ic_refresh.png differ diff --git a/res/drawable-mdpi/ic_pause.png b/res/drawable-mdpi/ic_pause.png index d34e668..6415bcc 100644 Binary files a/res/drawable-mdpi/ic_pause.png and b/res/drawable-mdpi/ic_pause.png differ diff --git a/res/drawable-mdpi/ic_pause_small.png b/res/drawable-mdpi/ic_pause_small.png index af2ba37..ac7e75f 100644 Binary files a/res/drawable-mdpi/ic_pause_small.png and b/res/drawable-mdpi/ic_pause_small.png differ diff --git a/res/drawable-mdpi/ic_play.png b/res/drawable-mdpi/ic_play.png index dba13fe..468d437 100644 Binary files a/res/drawable-mdpi/ic_play.png and b/res/drawable-mdpi/ic_play.png differ diff --git a/res/drawable-mdpi/ic_play_small.png b/res/drawable-mdpi/ic_play_small.png index 2b4960b..a6fab1a 100644 Binary files a/res/drawable-mdpi/ic_play_small.png and b/res/drawable-mdpi/ic_play_small.png differ diff --git a/res/drawable-mdpi/ic_refresh.png b/res/drawable-mdpi/ic_refresh.png index dd2466f..3f131b0 100644 Binary files a/res/drawable-mdpi/ic_refresh.png and b/res/drawable-mdpi/ic_refresh.png differ diff --git a/res/drawable/seek_thumb.xml b/res/drawable/seek_thumb.xml index 1995a85..3fb390d 100644 --- a/res/drawable/seek_thumb.xml +++ b/res/drawable/seek_thumb.xml @@ -1,5 +1,6 @@ - + + diff --git a/res/layout/activity_home.xml b/res/layout/activity_home.xml index b288611..c59f960 100644 --- a/res/layout/activity_home.xml +++ b/res/layout/activity_home.xml @@ -10,7 +10,7 @@ android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="MiniABS" - android:textSize="15sp" + android:textSize="@dimen/header_text" android:textStyle="bold" android:textColor="@color/accent" /> @@ -20,8 +20,8 @@ android:layout_height="fill_parent" android:layout_weight="1" android:gravity="center_vertical" - android:paddingLeft="8dp" - android:textSize="11sp" + android:paddingLeft="10dp" + android:textSize="@dimen/header_sub" android:textColor="@color/sub" android:singleLine="true" android:ellipsize="end" @@ -29,7 +29,7 @@ @@ -37,12 +37,12 @@ - - - + + + diff --git a/res/layout/activity_login.xml b/res/layout/activity_login.xml index 3d89597..fa1637a 100644 --- a/res/layout/activity_login.xml +++ b/res/layout/activity_login.xml @@ -15,50 +15,50 @@ android:layout_height="wrap_content" android:orientation="horizontal" android:gravity="center_vertical" - android:layout_marginBottom="4dp"> + android:layout_marginBottom="6dp"> + android:paddingLeft="10dp"> - + - + - + + android:layout_marginTop="4dp" + android:minHeight="48dp" + android:textSize="@dimen/login_check" + android:text="Usar unha chave da API" />