手机适配

This commit is contained in:
pengxiaolong
2026-02-10 18:26:31 +08:00
parent 63415e1fde
commit d10524c597
262 changed files with 107341 additions and 32222 deletions

View File

@@ -2,11 +2,11 @@
<androidx.cardview.widget.CardView
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:layout_width="170dp"
android:layout_width="@dimen/sw_170dp"
android:layout_height="wrap_content"
android:background="#F8F8F8"
android:id="@+id/theme_card"
app:cardCornerRadius="15dp"
app:cardCornerRadius="@dimen/sw_15dp"
app:cardUseCompatPadding="true">
<LinearLayout
android:layout_width="match_parent"
@@ -17,35 +17,35 @@
<ImageView
android:id="@+id/theme_image"
android:layout_width="match_parent"
android:layout_height="127dp"
android:layout_height="@dimen/sw_127dp"
android:scaleType="centerCrop"
android:src="@drawable/bg" />
<TextView
android:id="@+id/theme_name"
android:layout_width="130dp"
android:layout_height="20dp"
android:layout_marginTop="8dp"
android:layout_marginStart="6dp"
android:layout_width="@dimen/sw_130dp"
android:layout_height="@dimen/sw_20dp"
android:layout_marginTop="@dimen/sw_8dp"
android:layout_marginStart="@dimen/sw_6dp"
android:text="Dopamine"
android:textColor="#1B1F1A"
android:textSize="14sp"
android:textSize="@dimen/sw_14sp"
android:textStyle="bold" />
<LinearLayout
android:layout_width="wrap_content"
android:layout_height="23dp"
android:layout_marginStart="6dp"
android:layout_marginTop="8dp"
android:layout_marginBottom="12dp"
android:padding="4dp"
android:layout_height="@dimen/sw_23dp"
android:layout_marginStart="@dimen/sw_6dp"
android:layout_marginTop="@dimen/sw_8dp"
android:layout_marginBottom="@dimen/sw_12dp"
android:padding="@dimen/sw_4dp"
android:gravity="center"
android:background="@drawable/gold_coin_background_required"
android:orientation="horizontal">
<ImageView
android:layout_width="17dp"
android:layout_height="17dp"
android:layout_width="@dimen/sw_17dp"
android:layout_height="@dimen/sw_17dp"
android:scaleType="centerCrop"
android:src="@drawable/gold_coin" />
@@ -53,11 +53,11 @@
android:id="@+id/theme_price"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="-2dp"
android:layout_marginStart="4dp"
android:layout_marginTop="@dimen/_sw_2dp"
android:layout_marginStart="@dimen/sw_4dp"
android:text="0.00"
android:textColor="#02BEAC"
android:textSize="14sp" />
android:textSize="@dimen/sw_14sp" />
</LinearLayout>
</LinearLayout>