MiniABS 1.2: Galician interface, larger text and touch targets
- Translate the interface to Galician (tools/translate_gl.py), including Galician month abbreviations for dates, which Android 2.3 lacks - Resize for the Galaxy Mini's 240x320 screen: larger text, rows, tabs and buttons; all sizes now live in res/values/dimens.xml - Redraw play/pause/refresh icons for every density; slightly brighter secondary text colours Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
No files matched your search
|
Before Width: | Height: | Size: 499 B After Width: | Height: | Size: 513 B |
|
Before Width: | Height: | Size: 346 B After Width: | Height: | Size: 510 B |
|
Before Width: | Height: | Size: 650 B After Width: | Height: | Size: 994 B |
|
Before Width: | Height: | Size: 880 B After Width: | Height: | Size: 1.1 KiB |
|
Before Width: | Height: | Size: 816 B After Width: | Height: | Size: 1.1 KiB |
|
Before Width: | Height: | Size: 381 B After Width: | Height: | Size: 365 B |
|
Before Width: | Height: | Size: 349 B After Width: | Height: | Size: 413 B |
|
Before Width: | Height: | Size: 470 B After Width: | Height: | Size: 656 B |
|
Before Width: | Height: | Size: 527 B After Width: | Height: | Size: 656 B |
|
Before Width: | Height: | Size: 377 B After Width: | Height: | Size: 446 B |
|
Before Width: | Height: | Size: 408 B After Width: | Height: | Size: 312 B |
|
Before Width: | Height: | Size: 413 B After Width: | Height: | Size: 486 B |
|
Before Width: | Height: | Size: 513 B After Width: | Height: | Size: 760 B |
|
Before Width: | Height: | Size: 656 B After Width: | Height: | Size: 834 B |
|
Before Width: | Height: | Size: 463 B After Width: | Height: | Size: 699 B |
@@ -1,5 +1,6 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<shape xmlns:android="http://schemas.android.com/apk/res/android" android:shape="oval">
|
||||
<solid android:color="@color/accent" />
|
||||
<size android:width="14dp" android:height="14dp" />
|
||||
<stroke android:width="2dp" android:color="@color/bg" />
|
||||
<size android:width="@dimen/seek_thumb" android:height="@dimen/seek_thumb" />
|
||||
</shape>
|
||||
@@ -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 @@
|
||||
|
||||
<ImageButton
|
||||
android:id="@+id/refresh"
|
||||
android:layout_width="36dp"
|
||||
android:layout_width="@dimen/header_h"
|
||||
android:layout_height="fill_parent"
|
||||
android:background="@drawable/row_sel"
|
||||
android:src="@drawable/ic_refresh" />
|
||||
@@ -37,12 +37,12 @@
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="32dp"
|
||||
android:layout_height="@dimen/tab_h"
|
||||
android:orientation="horizontal">
|
||||
|
||||
<TextView android:id="@+id/tab_latest" style="@style/Tab" android:text="Latest" />
|
||||
<TextView android:id="@+id/tab_shows" style="@style/Tab" android:text="Shows" />
|
||||
<TextView android:id="@+id/tab_saved" style="@style/Tab" android:text="Saved" />
|
||||
<TextView android:id="@+id/tab_latest" style="@style/Tab" android:text="Últimos" />
|
||||
<TextView android:id="@+id/tab_shows" style="@style/Tab" android:text="Programas" />
|
||||
<TextView android:id="@+id/tab_saved" style="@style/Tab" android:text="Gardados" />
|
||||
</LinearLayout>
|
||||
|
||||
<include layout="@layout/list_area" />
|
||||
|
||||
@@ -15,50 +15,50 @@
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="horizontal"
|
||||
android:gravity="center_vertical"
|
||||
android:layout_marginBottom="4dp">
|
||||
android:layout_marginBottom="6dp">
|
||||
|
||||
<ImageView
|
||||
android:layout_width="36dp"
|
||||
android:layout_height="36dp"
|
||||
android:layout_width="48dp"
|
||||
android:layout_height="48dp"
|
||||
android:src="@drawable/ic_launcher" />
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="vertical"
|
||||
android:paddingLeft="8dp">
|
||||
android:paddingLeft="10dp">
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="MiniABS"
|
||||
android:textSize="18sp"
|
||||
android:textSize="@dimen/login_title"
|
||||
android:textStyle="bold"
|
||||
android:textColor="@color/accent" />
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="Audiobookshelf podcasts"
|
||||
android:textSize="11sp"
|
||||
android:text="Podcasts de Audiobookshelf"
|
||||
android:textSize="@dimen/login_tip"
|
||||
android:textColor="@color/sub" />
|
||||
</LinearLayout>
|
||||
</LinearLayout>
|
||||
|
||||
<TextView style="@style/Label" android:text="Server address" />
|
||||
<TextView style="@style/Label" android:text="Enderezo do servidor" />
|
||||
<EditText
|
||||
android:id="@+id/server"
|
||||
style="@style/Field"
|
||||
android:hint="http://192.168.1.10:13378"
|
||||
android:inputType="textUri" />
|
||||
|
||||
<TextView android:id="@+id/user_label" style="@style/Label" android:text="Username" />
|
||||
<TextView android:id="@+id/user_label" style="@style/Label" android:text="Usuario" />
|
||||
<EditText
|
||||
android:id="@+id/user"
|
||||
style="@style/Field"
|
||||
android:inputType="text" />
|
||||
|
||||
<TextView android:id="@+id/pass_label" style="@style/Label" android:text="Password" />
|
||||
<TextView android:id="@+id/pass_label" style="@style/Label" android:text="Contrasinal" />
|
||||
<EditText
|
||||
android:id="@+id/pass"
|
||||
style="@style/Field"
|
||||
@@ -66,36 +66,39 @@
|
||||
|
||||
<CheckBox
|
||||
android:id="@+id/use_key"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:textSize="12sp"
|
||||
android:text="Use an API key instead" />
|
||||
android:layout_marginTop="4dp"
|
||||
android:minHeight="48dp"
|
||||
android:textSize="@dimen/login_check"
|
||||
android:text="Usar unha chave da API" />
|
||||
|
||||
<Button
|
||||
android:id="@+id/connect"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="42dp"
|
||||
android:layout_height="@dimen/login_btn_h"
|
||||
android:layout_marginTop="6dp"
|
||||
android:background="@drawable/btn_accent"
|
||||
android:text="Connect"
|
||||
android:text="Conectar"
|
||||
android:textStyle="bold"
|
||||
android:textSize="14sp"
|
||||
android:textSize="@dimen/login_btn_text"
|
||||
android:textColor="#121519" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/status"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="8dp"
|
||||
android:textSize="12sp"
|
||||
android:layout_marginTop="10dp"
|
||||
android:textSize="@dimen/login_status"
|
||||
android:textColor="@color/accent" />
|
||||
|
||||
<TextView
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="8dp"
|
||||
android:textSize="10sp"
|
||||
android:layout_marginTop="10dp"
|
||||
android:textSize="@dimen/login_tip"
|
||||
android:textColor="@color/dim"
|
||||
android:text="At home, use your server's local http:// address. For https://, Android 2.3 needs the server to offer TLS 1.0 on a separate port (see README). If the certificate isn't recognised, you'll be shown its fingerprint to check." />
|
||||
android:lineSpacingExtra="2dp"
|
||||
android:text="Na casa, usa o enderezo local http:// do servidor. Para https://, Android 2.3 precisa que o servidor ofreza TLS 1.0 nun porto á parte (ve o README). Se o certificado non se recoñece, amosaráseche a súa pegada dixital para que a comprobes." />
|
||||
</LinearLayout>
|
||||
</ScrollView>
|
||||
@@ -11,7 +11,9 @@
|
||||
android:layout_height="fill_parent"
|
||||
android:layout_weight="1"
|
||||
android:gravity="center_vertical"
|
||||
android:textSize="12sp"
|
||||
android:paddingRight="10dp"
|
||||
android:textSize="@dimen/header_sub"
|
||||
android:textStyle="bold"
|
||||
android:textColor="@color/accent"
|
||||
android:singleLine="true"
|
||||
android:ellipsize="end"
|
||||
@@ -27,9 +29,9 @@
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/cover"
|
||||
android:layout_width="84dp"
|
||||
android:layout_height="84dp"
|
||||
android:layout_marginRight="8dp"
|
||||
android:layout_width="@dimen/cover_player"
|
||||
android:layout_height="@dimen/cover_player"
|
||||
android:layout_marginRight="10dp"
|
||||
android:scaleType="centerCrop"
|
||||
android:background="@color/surface" />
|
||||
|
||||
@@ -43,7 +45,7 @@
|
||||
android:id="@+id/title"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:textSize="14sp"
|
||||
android:textSize="@dimen/player_title"
|
||||
android:textStyle="bold"
|
||||
android:textColor="@color/text"
|
||||
android:maxLines="3"
|
||||
@@ -53,8 +55,8 @@
|
||||
android:id="@+id/date"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="2dp"
|
||||
android:textSize="10sp"
|
||||
android:layout_marginTop="3dp"
|
||||
android:textSize="@dimen/player_meta"
|
||||
android:textColor="@color/sub"
|
||||
android:singleLine="true" />
|
||||
|
||||
@@ -63,9 +65,10 @@
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="2dp"
|
||||
android:textSize="10sp"
|
||||
android:textSize="@dimen/player_meta"
|
||||
android:textColor="@color/fresh"
|
||||
android:maxLines="2" />
|
||||
android:maxLines="2"
|
||||
android:ellipsize="end" />
|
||||
</LinearLayout>
|
||||
</LinearLayout>
|
||||
|
||||
@@ -73,28 +76,29 @@
|
||||
android:id="@+id/seek"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:paddingLeft="14dp"
|
||||
android:paddingRight="14dp"
|
||||
android:minHeight="4dp"
|
||||
android:maxHeight="4dp"
|
||||
android:paddingLeft="18dp"
|
||||
android:paddingRight="18dp"
|
||||
android:paddingTop="6dp"
|
||||
android:paddingBottom="6dp"
|
||||
android:minHeight="@dimen/seek_track"
|
||||
android:maxHeight="@dimen/seek_track"
|
||||
android:progressDrawable="@drawable/seek_track"
|
||||
android:thumb="@drawable/seek_thumb"
|
||||
android:thumbOffset="7dp"
|
||||
android:thumbOffset="13dp"
|
||||
android:max="1000" />
|
||||
|
||||
<RelativeLayout
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:paddingLeft="10dp"
|
||||
android:paddingRight="10dp"
|
||||
android:paddingTop="2dp">
|
||||
android:paddingLeft="12dp"
|
||||
android:paddingRight="12dp">
|
||||
|
||||
<TextView
|
||||
android:id="@+id/pos"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_alignParentLeft="true"
|
||||
android:textSize="11sp"
|
||||
android:textSize="@dimen/player_time"
|
||||
android:textColor="@color/sub" />
|
||||
|
||||
<TextView
|
||||
@@ -102,7 +106,7 @@
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_alignParentRight="true"
|
||||
android:textSize="11sp"
|
||||
android:textSize="@dimen/player_time"
|
||||
android:textColor="@color/sub" />
|
||||
</RelativeLayout>
|
||||
|
||||
@@ -112,33 +116,33 @@
|
||||
android:orientation="horizontal"
|
||||
android:gravity="center"
|
||||
android:paddingTop="4dp"
|
||||
android:paddingBottom="6dp">
|
||||
android:paddingBottom="8dp">
|
||||
|
||||
<Button
|
||||
android:id="@+id/back"
|
||||
android:layout_width="58dp"
|
||||
android:layout_height="38dp"
|
||||
android:layout_width="@dimen/skip_w"
|
||||
android:layout_height="@dimen/skip_h"
|
||||
android:background="@drawable/btn_flat"
|
||||
android:textColor="@color/text"
|
||||
android:textSize="13sp"
|
||||
android:textSize="@dimen/skip_text"
|
||||
android:textStyle="bold" />
|
||||
|
||||
<ImageButton
|
||||
android:id="@+id/play"
|
||||
android:layout_width="56dp"
|
||||
android:layout_height="56dp"
|
||||
android:layout_marginLeft="16dp"
|
||||
android:layout_marginRight="16dp"
|
||||
android:layout_width="@dimen/play_size"
|
||||
android:layout_height="@dimen/play_size"
|
||||
android:layout_marginLeft="14dp"
|
||||
android:layout_marginRight="14dp"
|
||||
android:background="@drawable/btn_round"
|
||||
android:src="@drawable/ic_play" />
|
||||
|
||||
<Button
|
||||
android:id="@+id/fwd"
|
||||
android:layout_width="58dp"
|
||||
android:layout_height="38dp"
|
||||
android:layout_width="@dimen/skip_w"
|
||||
android:layout_height="@dimen/skip_h"
|
||||
android:background="@drawable/btn_flat"
|
||||
android:textColor="@color/text"
|
||||
android:textSize="13sp"
|
||||
android:textSize="@dimen/skip_text"
|
||||
android:textStyle="bold" />
|
||||
</LinearLayout>
|
||||
|
||||
@@ -154,9 +158,9 @@
|
||||
android:id="@+id/desc"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:padding="8dp"
|
||||
android:textSize="12sp"
|
||||
android:padding="10dp"
|
||||
android:textSize="@dimen/player_desc"
|
||||
android:textColor="@color/sub"
|
||||
android:lineSpacingExtra="2dp" />
|
||||
android:lineSpacingExtra="3dp" />
|
||||
</ScrollView>
|
||||
</LinearLayout>
|
||||
@@ -9,14 +9,14 @@
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="horizontal"
|
||||
android:background="@color/header"
|
||||
android:padding="6dp"
|
||||
android:padding="8dp"
|
||||
android:gravity="center_vertical">
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/cover"
|
||||
android:layout_width="44dp"
|
||||
android:layout_height="44dp"
|
||||
android:layout_marginRight="8dp"
|
||||
android:layout_width="@dimen/cover_podcast"
|
||||
android:layout_height="@dimen/cover_podcast"
|
||||
android:layout_marginRight="10dp"
|
||||
android:scaleType="centerCrop"
|
||||
android:background="@color/surface" />
|
||||
|
||||
@@ -30,7 +30,7 @@
|
||||
android:id="@+id/title"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:textSize="14sp"
|
||||
android:textSize="@dimen/podcast_title"
|
||||
android:textStyle="bold"
|
||||
android:textColor="@color/text"
|
||||
android:maxLines="2"
|
||||
@@ -38,12 +38,8 @@
|
||||
|
||||
<TextView
|
||||
android:id="@+id/subtitle"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:textSize="10sp"
|
||||
android:textColor="@color/sub"
|
||||
android:singleLine="true"
|
||||
android:ellipsize="end" />
|
||||
style="@style/RowMeta"
|
||||
android:layout_marginTop="2dp" />
|
||||
</LinearLayout>
|
||||
</LinearLayout>
|
||||
|
||||
|
||||
@@ -13,13 +13,14 @@
|
||||
android:layout_gravity="center"
|
||||
android:gravity="center"
|
||||
android:padding="20dp"
|
||||
android:textSize="13sp"
|
||||
android:textSize="@dimen/text_empty"
|
||||
android:textColor="@color/sub"
|
||||
android:lineSpacingExtra="2dp"
|
||||
android:visibility="gone" />
|
||||
|
||||
<ProgressBar
|
||||
android:id="@+id/loading"
|
||||
style="?android:attr/progressBarStyleSmall"
|
||||
style="?android:attr/progressBarStyle"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="center"
|
||||
|
||||
@@ -11,13 +11,13 @@
|
||||
android:id="@+id/mini_progress"
|
||||
style="?android:attr/progressBarStyleHorizontal"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="2dp"
|
||||
android:layout_height="@dimen/mini_progress"
|
||||
android:progressDrawable="@drawable/thin_progress"
|
||||
android:max="1000" />
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="44dp"
|
||||
android:layout_height="@dimen/mini_h"
|
||||
android:orientation="horizontal"
|
||||
android:gravity="center_vertical">
|
||||
|
||||
@@ -28,14 +28,14 @@
|
||||
android:layout_weight="1"
|
||||
android:orientation="vertical"
|
||||
android:gravity="center_vertical"
|
||||
android:paddingLeft="8dp"
|
||||
android:paddingLeft="10dp"
|
||||
android:background="@drawable/row_sel">
|
||||
|
||||
<TextView
|
||||
android:id="@+id/mini_title"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:textSize="13sp"
|
||||
android:textSize="@dimen/mini_title"
|
||||
android:textColor="@color/text"
|
||||
android:singleLine="true"
|
||||
android:ellipsize="end" />
|
||||
@@ -44,7 +44,8 @@
|
||||
android:id="@+id/mini_sub"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:textSize="10sp"
|
||||
android:layout_marginTop="1dp"
|
||||
android:textSize="@dimen/mini_sub"
|
||||
android:textColor="@color/sub"
|
||||
android:singleLine="true"
|
||||
android:ellipsize="end" />
|
||||
@@ -52,8 +53,8 @@
|
||||
|
||||
<ImageButton
|
||||
android:id="@+id/mini_play"
|
||||
android:layout_width="44dp"
|
||||
android:layout_height="44dp"
|
||||
android:layout_width="@dimen/mini_btn"
|
||||
android:layout_height="@dimen/mini_btn"
|
||||
android:background="@drawable/row_sel"
|
||||
android:src="@drawable/ic_play_small" />
|
||||
</LinearLayout>
|
||||
|
||||
@@ -3,18 +3,18 @@
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="horizontal"
|
||||
android:minHeight="48dp"
|
||||
android:paddingLeft="6dp"
|
||||
android:paddingRight="6dp"
|
||||
android:paddingTop="5dp"
|
||||
android:paddingBottom="5dp">
|
||||
android:minHeight="@dimen/row_min"
|
||||
android:paddingLeft="@dimen/row_pad"
|
||||
android:paddingRight="@dimen/row_pad"
|
||||
android:paddingTop="7dp"
|
||||
android:paddingBottom="7dp">
|
||||
|
||||
<View
|
||||
android:id="@+id/dot"
|
||||
android:layout_width="7dp"
|
||||
android:layout_height="7dp"
|
||||
android:layout_marginTop="5dp"
|
||||
android:layout_marginRight="6dp" />
|
||||
android:layout_width="@dimen/dot"
|
||||
android:layout_height="@dimen/dot"
|
||||
android:layout_marginTop="6dp"
|
||||
android:layout_marginRight="8dp" />
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="0dp"
|
||||
@@ -26,37 +26,23 @@
|
||||
android:id="@+id/show"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:textSize="10sp"
|
||||
android:textSize="@dimen/text_show"
|
||||
android:textColor="@color/accent"
|
||||
android:singleLine="true"
|
||||
android:ellipsize="end" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/title"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:textSize="13sp"
|
||||
android:textColor="@color/text"
|
||||
android:maxLines="2"
|
||||
android:ellipsize="end" />
|
||||
<TextView android:id="@+id/title" style="@style/RowTitle" />
|
||||
|
||||
<ProgressBar
|
||||
android:id="@+id/progress"
|
||||
style="?android:attr/progressBarStyleHorizontal"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="2dp"
|
||||
android:layout_marginTop="3dp"
|
||||
android:layout_marginBottom="1dp"
|
||||
android:layout_height="@dimen/row_progress"
|
||||
android:layout_marginTop="4dp"
|
||||
android:layout_marginBottom="2dp"
|
||||
android:progressDrawable="@drawable/thin_progress"
|
||||
android:max="1000" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/meta"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:textSize="10sp"
|
||||
android:textColor="@color/sub"
|
||||
android:singleLine="true"
|
||||
android:ellipsize="end" />
|
||||
<TextView android:id="@+id/meta" style="@style/RowMeta" android:layout_marginTop="1dp" />
|
||||
</LinearLayout>
|
||||
</LinearLayout>
|
||||
@@ -4,9 +4,10 @@
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:background="@color/surface"
|
||||
android:paddingLeft="8dp"
|
||||
android:paddingTop="4dp"
|
||||
android:paddingBottom="4dp"
|
||||
android:textSize="10sp"
|
||||
android:paddingLeft="10dp"
|
||||
android:paddingRight="10dp"
|
||||
android:paddingTop="6dp"
|
||||
android:paddingBottom="6dp"
|
||||
android:textSize="@dimen/text_section"
|
||||
android:textStyle="bold"
|
||||
android:textColor="@color/sub" />
|
||||
@@ -2,7 +2,8 @@
|
||||
<TextView xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:id="@+id/title"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="44dp"
|
||||
android:layout_height="@dimen/row_min"
|
||||
android:gravity="center"
|
||||
android:textSize="13sp"
|
||||
android:textSize="@dimen/text_more"
|
||||
android:textStyle="bold"
|
||||
android:textColor="@color/accent" />
|
||||
@@ -3,15 +3,15 @@
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="horizontal"
|
||||
android:minHeight="48dp"
|
||||
android:padding="5dp"
|
||||
android:minHeight="@dimen/row_min"
|
||||
android:padding="7dp"
|
||||
android:gravity="center_vertical">
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/cover"
|
||||
android:layout_width="40dp"
|
||||
android:layout_height="40dp"
|
||||
android:layout_marginRight="8dp"
|
||||
android:layout_width="@dimen/cover_row"
|
||||
android:layout_height="@dimen/cover_row"
|
||||
android:layout_marginRight="10dp"
|
||||
android:scaleType="centerCrop"
|
||||
android:background="@color/surface" />
|
||||
|
||||
@@ -21,22 +21,8 @@
|
||||
android:layout_weight="1"
|
||||
android:orientation="vertical">
|
||||
|
||||
<TextView
|
||||
android:id="@+id/title"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:textSize="13sp"
|
||||
android:textColor="@color/text"
|
||||
android:maxLines="2"
|
||||
android:ellipsize="end" />
|
||||
<TextView android:id="@+id/title" style="@style/RowTitle" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/meta"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:textSize="10sp"
|
||||
android:textColor="@color/sub"
|
||||
android:singleLine="true"
|
||||
android:ellipsize="end" />
|
||||
<TextView android:id="@+id/meta" style="@style/RowMeta" android:layout_marginTop="2dp" />
|
||||
</LinearLayout>
|
||||
</LinearLayout>
|
||||
@@ -1,12 +1,12 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<resources>
|
||||
<string-array name="skip_labels">
|
||||
<item>5 seconds</item>
|
||||
<item>10 seconds</item>
|
||||
<item>15 seconds</item>
|
||||
<item>30 seconds</item>
|
||||
<item>45 seconds</item>
|
||||
<item>60 seconds</item>
|
||||
<item>5 segundos</item>
|
||||
<item>10 segundos</item>
|
||||
<item>15 segundos</item>
|
||||
<item>30 segundos</item>
|
||||
<item>45 segundos</item>
|
||||
<item>60 segundos</item>
|
||||
</string-array>
|
||||
<string-array name="skip_values">
|
||||
<item>5</item>
|
||||
|
||||
@@ -0,0 +1,61 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
Every size in MiniABS lives here. Tuned for the Galaxy Mini (240x320, 120 dpi), where
|
||||
1dp = 0.75 px: 16sp text is 12 px tall, and 48dp touch targets are 36 px (about 7 mm).
|
||||
-->
|
||||
<resources>
|
||||
<!-- top bar and tabs -->
|
||||
<dimen name="header_h">46dp</dimen>
|
||||
<dimen name="header_text">19sp</dimen>
|
||||
<dimen name="header_sub">14sp</dimen>
|
||||
<dimen name="tab_h">46dp</dimen>
|
||||
<dimen name="tab_text">16sp</dimen>
|
||||
|
||||
<!-- lists -->
|
||||
<dimen name="row_min">66dp</dimen>
|
||||
<dimen name="row_pad">9dp</dimen>
|
||||
<dimen name="text_title">16sp</dimen>
|
||||
<dimen name="text_meta">13sp</dimen>
|
||||
<dimen name="text_show">13sp</dimen>
|
||||
<dimen name="text_section">13sp</dimen>
|
||||
<dimen name="text_more">17sp</dimen>
|
||||
<dimen name="text_empty">16sp</dimen>
|
||||
<dimen name="dot">11dp</dimen>
|
||||
<dimen name="row_progress">4dp</dimen>
|
||||
<dimen name="cover_row">54dp</dimen>
|
||||
|
||||
<!-- show header -->
|
||||
<dimen name="cover_podcast">62dp</dimen>
|
||||
<dimen name="podcast_title">17sp</dimen>
|
||||
|
||||
<!-- mini player bar -->
|
||||
<dimen name="mini_h">60dp</dimen>
|
||||
<dimen name="mini_title">15sp</dimen>
|
||||
<dimen name="mini_sub">13sp</dimen>
|
||||
<dimen name="mini_btn">60dp</dimen>
|
||||
<dimen name="mini_progress">3dp</dimen>
|
||||
|
||||
<!-- player -->
|
||||
<dimen name="cover_player">100dp</dimen>
|
||||
<dimen name="player_title">17sp</dimen>
|
||||
<dimen name="player_meta">13sp</dimen>
|
||||
<dimen name="player_time">15sp</dimen>
|
||||
<dimen name="player_desc">15sp</dimen>
|
||||
<dimen name="skip_w">82dp</dimen>
|
||||
<dimen name="skip_h">56dp</dimen>
|
||||
<dimen name="skip_text">20sp</dimen>
|
||||
<dimen name="play_size">78dp</dimen>
|
||||
<dimen name="seek_thumb">26dp</dimen>
|
||||
<dimen name="seek_track">7dp</dimen>
|
||||
|
||||
<!-- login -->
|
||||
<dimen name="login_title">24sp</dimen>
|
||||
<dimen name="login_label">15sp</dimen>
|
||||
<dimen name="login_field">18sp</dimen>
|
||||
<dimen name="login_field_h">52dp</dimen>
|
||||
<dimen name="login_check">16sp</dimen>
|
||||
<dimen name="login_btn_h">56dp</dimen>
|
||||
<dimen name="login_btn_text">20sp</dimen>
|
||||
<dimen name="login_status">15sp</dimen>
|
||||
<dimen name="login_tip">13sp</dimen>
|
||||
</resources>
|
||||
@@ -7,8 +7,8 @@
|
||||
<color name="header">#0B0D10</color>
|
||||
<color name="line">#2A3038</color>
|
||||
<color name="text">#ECEFF2</color>
|
||||
<color name="sub">#9AA4AE</color>
|
||||
<color name="dim">#5C6670</color>
|
||||
<color name="sub">#A9B2BC</color>
|
||||
<color name="dim">#6E7882</color>
|
||||
<color name="accent">#F5A623</color>
|
||||
<color name="fresh">#6EC1E4</color>
|
||||
<color name="pressed">#2C333C</color>
|
||||
@@ -22,11 +22,11 @@
|
||||
|
||||
<style name="Header">
|
||||
<item name="android:layout_width">fill_parent</item>
|
||||
<item name="android:layout_height">32dp</item>
|
||||
<item name="android:layout_height">@dimen/header_h</item>
|
||||
<item name="android:background">@color/header</item>
|
||||
<item name="android:gravity">center_vertical</item>
|
||||
<item name="android:paddingLeft">8dp</item>
|
||||
<item name="android:paddingRight">2dp</item>
|
||||
<item name="android:paddingLeft">10dp</item>
|
||||
<item name="android:paddingRight">0dp</item>
|
||||
</style>
|
||||
|
||||
<style name="Tab">
|
||||
@@ -34,9 +34,10 @@
|
||||
<item name="android:layout_height">fill_parent</item>
|
||||
<item name="android:layout_weight">1</item>
|
||||
<item name="android:gravity">center</item>
|
||||
<item name="android:textSize">13sp</item>
|
||||
<item name="android:textSize">@dimen/tab_text</item>
|
||||
<item name="android:textStyle">bold</item>
|
||||
<item name="android:textColor">@color/sub</item>
|
||||
<item name="android:singleLine">true</item>
|
||||
<item name="android:background">@drawable/tab_bg</item>
|
||||
</style>
|
||||
|
||||
@@ -53,7 +54,8 @@
|
||||
<style name="Field">
|
||||
<item name="android:layout_width">fill_parent</item>
|
||||
<item name="android:layout_height">wrap_content</item>
|
||||
<item name="android:textSize">14sp</item>
|
||||
<item name="android:minHeight">@dimen/login_field_h</item>
|
||||
<item name="android:textSize">@dimen/login_field</item>
|
||||
<item name="android:singleLine">true</item>
|
||||
<item name="android:textColor">#000000</item>
|
||||
</style>
|
||||
@@ -61,8 +63,27 @@
|
||||
<style name="Label">
|
||||
<item name="android:layout_width">wrap_content</item>
|
||||
<item name="android:layout_height">wrap_content</item>
|
||||
<item name="android:textSize">11sp</item>
|
||||
<item name="android:textSize">@dimen/login_label</item>
|
||||
<item name="android:textColor">@color/sub</item>
|
||||
<item name="android:layout_marginTop">6dp</item>
|
||||
<item name="android:layout_marginTop">8dp</item>
|
||||
<item name="android:layout_marginBottom">2dp</item>
|
||||
</style>
|
||||
|
||||
<style name="RowTitle">
|
||||
<item name="android:layout_width">fill_parent</item>
|
||||
<item name="android:layout_height">wrap_content</item>
|
||||
<item name="android:textSize">@dimen/text_title</item>
|
||||
<item name="android:textColor">@color/text</item>
|
||||
<item name="android:maxLines">2</item>
|
||||
<item name="android:ellipsize">end</item>
|
||||
</style>
|
||||
|
||||
<style name="RowMeta">
|
||||
<item name="android:layout_width">fill_parent</item>
|
||||
<item name="android:layout_height">wrap_content</item>
|
||||
<item name="android:textSize">@dimen/text_meta</item>
|
||||
<item name="android:textColor">@color/sub</item>
|
||||
<item name="android:singleLine">true</item>
|
||||
<item name="android:ellipsize">end</item>
|
||||
</style>
|
||||
</resources>
|
||||
@@ -1,56 +1,56 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
|
||||
<PreferenceCategory android:title="Playback">
|
||||
<PreferenceCategory android:title="Reprodución">
|
||||
<ListPreference
|
||||
android:key="skip_back"
|
||||
android:title="Skip back"
|
||||
android:title="Retroceder"
|
||||
android:entries="@array/skip_labels"
|
||||
android:entryValues="@array/skip_values"
|
||||
android:defaultValue="15" />
|
||||
<ListPreference
|
||||
android:key="skip_fwd"
|
||||
android:title="Skip forward"
|
||||
android:title="Avanzar"
|
||||
android:entries="@array/skip_labels"
|
||||
android:entryValues="@array/skip_values"
|
||||
android:defaultValue="30" />
|
||||
</PreferenceCategory>
|
||||
|
||||
<PreferenceCategory android:title="Downloads">
|
||||
<PreferenceCategory android:title="Descargas">
|
||||
<CheckBoxPreference
|
||||
android:key="wifi_only"
|
||||
android:title="Download on Wi-Fi only"
|
||||
android:summary="Saves your mobile data"
|
||||
android:title="Descargar só con wifi"
|
||||
android:summary="Aforra datos móbiles"
|
||||
android:defaultValue="true" />
|
||||
<Preference
|
||||
android:key="delete_all"
|
||||
android:title="Delete all downloads" />
|
||||
android:title="Eliminar todas as descargas" />
|
||||
</PreferenceCategory>
|
||||
|
||||
<PreferenceCategory android:title="Display">
|
||||
<PreferenceCategory android:title="Aparencia">
|
||||
<CheckBoxPreference
|
||||
android:key="covers"
|
||||
android:title="Show cover art"
|
||||
android:summary="Turn off to save data and memory"
|
||||
android:title="Amosar portadas"
|
||||
android:summary="Desactívao para aforrar datos e memoria"
|
||||
android:defaultValue="true" />
|
||||
</PreferenceCategory>
|
||||
|
||||
<PreferenceCategory android:title="Account">
|
||||
<PreferenceCategory android:title="Conta">
|
||||
<Preference
|
||||
android:key="account"
|
||||
android:title="Signed in" />
|
||||
android:title="Sesión iniciada" />
|
||||
<Preference
|
||||
android:key="pins"
|
||||
android:title="Certificates you trusted" />
|
||||
android:title="Certificados nos que confías" />
|
||||
<Preference
|
||||
android:key="logout"
|
||||
android:title="Log out" />
|
||||
android:title="Pechar sesión" />
|
||||
</PreferenceCategory>
|
||||
|
||||
<PreferenceCategory android:title="About">
|
||||
<PreferenceCategory android:title="Acerca de">
|
||||
<Preference
|
||||
android:key="about"
|
||||
android:title="MiniABS 1.1"
|
||||
android:summary="A tiny Audiobookshelf podcast client for Android 2.2+" />
|
||||
android:title="MiniABS 1.2"
|
||||
android:summary="Un pequeno cliente de podcasts de Audiobookshelf para Android 2.2+" />
|
||||
</PreferenceCategory>
|
||||
</PreferenceScreen>
|
||||