The original Android source was lost; android/ holds the jadx-decompiled Java (com.mulberry.player) and resources from Android 1.2.2, fixed so it compiles again (broken methods rewritten by hand), plus: - android/build.sh: builds and signs Mulberry-<version>-Android.apk with the plain SDK tools (aapt2, javac, d8, apksigner), no Gradle; fetches jaudiotagger 2.0.3 (the version the old APK bundled) with a pinned checksum - versionName 2.0.4, versionCode 6 - recoloured launcher icon (pink cookie, berry note) to match assets/mulberry.svg Co-Authored-By: Claude Opus 5.5 <[email protected]>
82 lines
3.2 KiB
XML
82 lines
3.2 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
android:id="@+id/w_root"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent">
|
|
<LinearLayout
|
|
android:gravity="center_vertical"
|
|
android:layout_gravity="center_vertical"
|
|
android:orientation="horizontal"
|
|
android:id="@+id/w_box"
|
|
android:background="@drawable/w_bar_bg"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="64dp"
|
|
android:paddingStart="8dp"
|
|
android:paddingEnd="10dp">
|
|
<ImageView
|
|
android:id="@+id/w_cover"
|
|
android:layout_width="50dp"
|
|
android:layout_height="50dp"
|
|
android:scaleType="fitCenter"
|
|
android:contentDescription="Cover"/>
|
|
<LinearLayout
|
|
android:orientation="vertical"
|
|
android:layout_width="0dp"
|
|
android:layout_height="wrap_content"
|
|
android:layout_weight="1"
|
|
android:paddingStart="10dp"
|
|
android:paddingEnd="6dp">
|
|
<TextView
|
|
android:textSize="14.5sp"
|
|
android:textStyle="bold"
|
|
android:textColor="@color/w_on_surface"
|
|
android:ellipsize="end"
|
|
android:id="@+id/w_title"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:text="Mulberry"
|
|
android:maxLines="1"/>
|
|
<TextView
|
|
android:textSize="12sp"
|
|
android:textColor="@color/w_on_surface_var"
|
|
android:ellipsize="end"
|
|
android:id="@+id/w_artist"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:text=""
|
|
android:maxLines="1"/>
|
|
</LinearLayout>
|
|
<ImageButton
|
|
android:id="@+id/w_prev"
|
|
android:background="@drawable/w_circle"
|
|
android:padding="8dp"
|
|
android:layout_width="34dp"
|
|
android:layout_height="34dp"
|
|
android:src="@drawable/ic_skip_previous_fill"
|
|
android:scaleType="fitCenter"
|
|
android:tint="@color/w_on_tonal"
|
|
android:contentDescription="Previous"/>
|
|
<ImageButton
|
|
android:id="@+id/w_play"
|
|
android:background="@drawable/w_pill"
|
|
android:padding="8dp"
|
|
android:layout_width="52dp"
|
|
android:layout_height="36dp"
|
|
android:src="@drawable/ic_play_arrow_fill"
|
|
android:scaleType="fitCenter"
|
|
android:tint="@color/w_on_primary"
|
|
android:contentDescription="Play or pause"
|
|
android:layout_marginStart="4dp"
|
|
android:layout_marginEnd="4dp"/>
|
|
<ImageButton
|
|
android:id="@+id/w_next"
|
|
android:background="@drawable/w_circle"
|
|
android:padding="8dp"
|
|
android:layout_width="34dp"
|
|
android:layout_height="34dp"
|
|
android:src="@drawable/ic_skip_next_fill"
|
|
android:scaleType="fitCenter"
|
|
android:tint="@color/w_on_tonal"
|
|
android:contentDescription="Next"/>
|
|
</LinearLayout>
|
|
</FrameLayout>
|