MiniABS 1.4: smaller player controls
- Play/pause becomes a rounded rectangle (58x46dp) instead of a 78dp circle, with 32dp icons and wider spacing (play_w/play_h/play_gap in dimens.xml) - Skip buttons shrink from 82x56dp to 62x42dp, with 16sp text - Version 1.4 (versionCode 5); there was no public 1.3 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
No files matched your search
@@ -1,8 +1,8 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
package="com.miniabs"
|
package="com.miniabs"
|
||||||
android:versionCode="3"
|
android:versionCode="5"
|
||||||
android:versionName="1.2"
|
android:versionName="1.4"
|
||||||
android:installLocation="auto">
|
android:installLocation="auto">
|
||||||
|
|
||||||
<uses-sdk android:minSdkVersion="8" android:targetSdkVersion="10" />
|
<uses-sdk android:minSdkVersion="8" android:targetSdkVersion="10" />
|
||||||
|
|||||||
|
Before Width: | Height: | Size: 513 B After Width: | Height: | Size: 312 B |
|
Before Width: | Height: | Size: 994 B After Width: | Height: | Size: 760 B |
|
Before Width: | Height: | Size: 365 B After Width: | Height: | Size: 354 B |
|
Before Width: | Height: | Size: 656 B After Width: | Height: | Size: 467 B |
|
Before Width: | Height: | Size: 312 B After Width: | Height: | Size: 355 B |
|
Before Width: | Height: | Size: 760 B After Width: | Height: | Size: 561 B |
@@ -1,9 +1,9 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<selector xmlns:android="http://schemas.android.com/apk/res/android">
|
<selector xmlns:android="http://schemas.android.com/apk/res/android">
|
||||||
<item android:state_pressed="true">
|
<item android:state_pressed="true">
|
||||||
<shape android:shape="oval"><solid android:color="#FFC766" /></shape>
|
<shape><solid android:color="#FFC766" /><corners android:radius="23dp" /></shape>
|
||||||
</item>
|
</item>
|
||||||
<item>
|
<item>
|
||||||
<shape android:shape="oval"><solid android:color="@color/accent" /></shape>
|
<shape><solid android:color="@color/accent" /><corners android:radius="23dp" /></shape>
|
||||||
</item>
|
</item>
|
||||||
</selector>
|
</selector>
|
||||||
@@ -129,10 +129,10 @@
|
|||||||
|
|
||||||
<ImageButton
|
<ImageButton
|
||||||
android:id="@+id/play"
|
android:id="@+id/play"
|
||||||
android:layout_width="@dimen/play_size"
|
android:layout_width="@dimen/play_w"
|
||||||
android:layout_height="@dimen/play_size"
|
android:layout_height="@dimen/play_h"
|
||||||
android:layout_marginLeft="14dp"
|
android:layout_marginLeft="@dimen/play_gap"
|
||||||
android:layout_marginRight="14dp"
|
android:layout_marginRight="@dimen/play_gap"
|
||||||
android:background="@drawable/btn_round"
|
android:background="@drawable/btn_round"
|
||||||
android:src="@drawable/ic_play" />
|
android:src="@drawable/ic_play" />
|
||||||
|
|
||||||
|
|||||||
@@ -41,10 +41,12 @@
|
|||||||
<dimen name="player_meta">13sp</dimen>
|
<dimen name="player_meta">13sp</dimen>
|
||||||
<dimen name="player_time">15sp</dimen>
|
<dimen name="player_time">15sp</dimen>
|
||||||
<dimen name="player_desc">15sp</dimen>
|
<dimen name="player_desc">15sp</dimen>
|
||||||
<dimen name="skip_w">82dp</dimen>
|
<dimen name="skip_w">62dp</dimen>
|
||||||
<dimen name="skip_h">56dp</dimen>
|
<dimen name="skip_h">42dp</dimen>
|
||||||
<dimen name="skip_text">20sp</dimen>
|
<dimen name="skip_text">16sp</dimen>
|
||||||
<dimen name="play_size">78dp</dimen>
|
<dimen name="play_w">58dp</dimen>
|
||||||
|
<dimen name="play_h">46dp</dimen>
|
||||||
|
<dimen name="play_gap">28dp</dimen>
|
||||||
<dimen name="seek_thumb">26dp</dimen>
|
<dimen name="seek_thumb">26dp</dimen>
|
||||||
<dimen name="seek_track">7dp</dimen>
|
<dimen name="seek_track">7dp</dimen>
|
||||||
|
|
||||||
|
|||||||
@@ -50,7 +50,7 @@
|
|||||||
<PreferenceCategory android:title="Acerca de">
|
<PreferenceCategory android:title="Acerca de">
|
||||||
<Preference
|
<Preference
|
||||||
android:key="about"
|
android:key="about"
|
||||||
android:title="MiniABS 1.2"
|
android:title="MiniABS 1.4"
|
||||||
android:summary="Un pequeno cliente de podcasts de Audiobookshelf para Android 2.2+" />
|
android:summary="Un pequeno cliente de podcasts de Audiobookshelf para Android 2.2+" />
|
||||||
</PreferenceCategory>
|
</PreferenceCategory>
|
||||||
</PreferenceScreen>
|
</PreferenceScreen>
|
||||||
@@ -26,7 +26,7 @@ import android.os.Build;
|
|||||||
|
|
||||||
/** Audiobookshelf REST client (API as of server 2.x, including the 2.26+ token system). */
|
/** Audiobookshelf REST client (API as of server 2.x, including the 2.26+ token system). */
|
||||||
final class Api {
|
final class Api {
|
||||||
static final String VERSION = "1.2";
|
static final String VERSION = "1.4";
|
||||||
|
|
||||||
static class ApiException extends IOException {
|
static class ApiException extends IOException {
|
||||||
final int code;
|
final int code;
|
||||||
|
|||||||
@@ -88,8 +88,8 @@ def refresh(px, folder):
|
|||||||
for folder, k in DENS.items():
|
for folder, k in DENS.items():
|
||||||
launcher(round(48 * k), folder)
|
launcher(round(48 * k), folder)
|
||||||
status(round(25 * k), folder)
|
status(round(25 * k), folder)
|
||||||
play(round(48 * k), folder, "ic_play", DARK)
|
play(round(32 * k), folder, "ic_play", DARK)
|
||||||
pause(round(48 * k), folder, "ic_pause", DARK)
|
pause(round(32 * k), folder, "ic_pause", DARK)
|
||||||
play(round(38 * k), folder, "ic_play_small", AMBER)
|
play(round(38 * k), folder, "ic_play_small", AMBER)
|
||||||
pause(round(38 * k), folder, "ic_pause_small", AMBER)
|
pause(round(38 * k), folder, "ic_pause_small", AMBER)
|
||||||
refresh(round(30 * k), folder)
|
refresh(round(30 * k), folder)
|
||||||
|
|||||||