1.6.3正式版

This commit is contained in:
2025-05-01 01:20:38 +08:00
parent 18d7b359e6
commit 235b477fba
11 changed files with 115 additions and 48 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 41 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.1 KiB

View File

@@ -6,6 +6,7 @@
android:layout_width="match_parent"
android:layout_height="match_parent"
tools:context=".ui.slideshow.SlideshowFragment">
<ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools" android:layout_width="match_parent"
@@ -13,12 +14,46 @@
android:layout_height="match_parent"
android:background="@color/colorOnPrimary"
android:fillViewport="true">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical"
android:padding="16dp">
<!-- 开关按钮示例 -->
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="horizontal"
android:paddingBottom="16dp"
tools:ignore="MissingConstraints">
<!-- 用户头像 -->
<ImageView
android:id="@+id/useravatar"
android:layout_width="50dp"
android:layout_height="50dp"
android:layout_marginEnd="16dp" />
<!-- 用户名容器 -->
<FrameLayout
android:layout_width="0dp"
android:layout_weight="1"
android:layout_height="match_parent"
android:background="@color/white"
>
<TextView
android:id="@+id/username"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="未绑定"
android:textSize="20sp"
android:textColor="@color/textcolorPrimary"
android:gravity="center"
android:layout_gravity="center_vertical|start"/> <!-- 距离顶部4dp -->
</FrameLayout>
</LinearLayout>
<com.google.android.material.switchmaterial.SwitchMaterial
android:id="@+id/switchBeta1"
android:layout_width="match_parent"

View File

@@ -16,7 +16,6 @@
android:scrollbars="vertical"
android:scrollbarSize="8dp"
android:scrollbarFadeDuration="300"
android:scrollbarTrackVertical="@color/primary"
app:layout_constraintEnd_toEndOf="parent"/>

View File

@@ -12,7 +12,6 @@
android:theme="@style/ThemeOverlay.AppCompat.Dark"
android:orientation="vertical"
android:gravity="bottom">
<TextView
android:layout_width="match_parent"
android:layout_height="wrap_content"

View File

@@ -14,6 +14,8 @@
<color name="primary_light">#D1C4E9</color>
<color name="accent">#D5C4ED</color>
<color name="primary_text">#8C8181</color>
<color name="backg">#CCA4A4</color>
<color name="secondary_text">#727272</color>
<color name="icons">#FFFFFF</color>
<color name="divider">#B6B6B6</color>

View File

@@ -1,7 +1,9 @@
<resources>
<!-- Default screen margins, per the Android Design guidelines. -->
<dimen name="activity_horizontal_margin">16dp</dimen>
<dimen name="activity_vertical_margin">16dp</dimen>
<dimen name="left">8dp</dimen>
<dimen name="activity_vertical_margin">32dp</dimen>
<dimen name="nav_header_vertical_spacing">8dp</dimen>
<dimen name="nav_header_height">176dp</dimen>
<dimen name="fab_margin">16dp</dimen>