2026-11-26 15:04:58 +08:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
|
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
|
android:background="@color/bg"
|
|
|
|
|
android:fitsSystemWindows="true"
|
|
|
|
|
android:orientation="vertical">
|
|
|
|
|
|
|
|
|
|
<!-- ========== 顶栏 ========== -->
|
|
|
|
|
<LinearLayout
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="54dp"
|
|
|
|
|
android:gravity="center_vertical"
|
|
|
|
|
android:orientation="horizontal"
|
|
|
|
|
android:paddingStart="8dp"
|
|
|
|
|
android:paddingEnd="8dp">
|
|
|
|
|
|
|
|
|
|
<ImageView
|
|
|
|
|
android:id="@+id/btnBack"
|
|
|
|
|
android:layout_width="40dp"
|
|
|
|
|
android:layout_height="40dp"
|
|
|
|
|
android:background="?attr/selectableItemBackgroundBorderless"
|
|
|
|
|
android:contentDescription="@string/back"
|
|
|
|
|
android:padding="9dp"
|
|
|
|
|
android:src="@drawable/ic_back"
|
|
|
|
|
app:tint="@color/text" />
|
|
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_marginStart="6dp"
|
|
|
|
|
android:fontFamily="sans-serif-medium"
|
|
|
|
|
android:text="@string/settings_title"
|
|
|
|
|
android:textColor="@color/text"
|
|
|
|
|
android:textSize="17sp" />
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
|
|
<ScrollView
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="0dp"
|
|
|
|
|
android:layout_weight="1"
|
|
|
|
|
android:fillViewport="true"
|
|
|
|
|
android:scrollbars="none">
|
|
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:orientation="vertical"
|
|
|
|
|
android:paddingStart="18dp"
|
|
|
|
|
android:paddingTop="4dp"
|
|
|
|
|
android:paddingEnd="18dp"
|
|
|
|
|
android:paddingBottom="8dp">
|
|
|
|
|
|
|
|
|
|
<!-- ========== 品牌 ========== -->
|
|
|
|
|
<LinearLayout
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:background="@drawable/bg_card"
|
|
|
|
|
android:gravity="center_vertical"
|
|
|
|
|
android:orientation="horizontal"
|
|
|
|
|
android:padding="16dp">
|
|
|
|
|
|
|
|
|
|
<ImageView
|
|
|
|
|
android:layout_width="42dp"
|
|
|
|
|
android:layout_height="42dp"
|
|
|
|
|
android:contentDescription="@string/app_name"
|
|
|
|
|
android:src="@drawable/ic_mark" />
|
|
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
|
android:layout_width="0dp"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_marginStart="13dp"
|
|
|
|
|
android:layout_weight="1"
|
|
|
|
|
android:orientation="vertical">
|
|
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:fontFamily="sans-serif-medium"
|
|
|
|
|
android:letterSpacing="0.04"
|
|
|
|
|
android:text="@string/app_name"
|
|
|
|
|
android:textColor="@color/text"
|
2026-11-27 12:41:28 +08:00
|
|
|
android:textSize="15sp" />
|
2026-11-26 15:04:58 +08:00
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_marginTop="3dp"
|
|
|
|
|
android:text="@string/app_slogan"
|
|
|
|
|
android:textColor="@color/text_secondary"
|
|
|
|
|
android:textSize="12sp" />
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
|
android:id="@+id/tvVersion"
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:textColor="@color/text_tertiary"
|
2026-11-27 12:41:28 +08:00
|
|
|
android:textSize="12sp" />
|
2026-11-26 15:04:58 +08:00
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
|
|
<!-- ========== 发文 ========== -->
|
|
|
|
|
<LinearLayout
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_marginTop="14dp"
|
|
|
|
|
android:background="@drawable/bg_card"
|
|
|
|
|
android:orientation="vertical"
|
|
|
|
|
android:padding="16dp">
|
|
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:gravity="center_vertical"
|
|
|
|
|
android:orientation="horizontal">
|
|
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:background="@drawable/bg_brand_soft"
|
|
|
|
|
android:paddingStart="9dp"
|
|
|
|
|
android:paddingTop="4dp"
|
|
|
|
|
android:paddingEnd="9dp"
|
|
|
|
|
android:paddingBottom="4dp"
|
|
|
|
|
android:text="@string/tab_publish"
|
|
|
|
|
android:textColor="@color/brand"
|
2026-11-27 12:41:28 +08:00
|
|
|
android:textSize="12sp" />
|
2026-11-26 15:04:58 +08:00
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_marginStart="8dp"
|
|
|
|
|
android:text="@string/section_typecho_sub"
|
|
|
|
|
android:textColor="@color/text_secondary"
|
|
|
|
|
android:textSize="12sp" />
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
|
|
<!-- 站点切换:下拉选站 + 新增 / 删除 -->
|
|
|
|
|
<LinearLayout
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="40dp"
|
|
|
|
|
android:layout_marginTop="14dp"
|
|
|
|
|
android:gravity="center_vertical"
|
|
|
|
|
android:orientation="horizontal">
|
|
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
|
android:id="@+id/btnSitePick"
|
|
|
|
|
android:layout_width="0dp"
|
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
|
android:layout_weight="1"
|
|
|
|
|
android:background="@drawable/bg_field_dropdown"
|
|
|
|
|
android:drawablePadding="6dp"
|
|
|
|
|
android:ellipsize="end"
|
|
|
|
|
android:gravity="center_vertical"
|
|
|
|
|
android:paddingStart="14dp"
|
|
|
|
|
android:paddingEnd="14dp"
|
|
|
|
|
android:singleLine="true"
|
|
|
|
|
android:textColor="@color/text"
|
2026-11-27 12:41:28 +08:00
|
|
|
android:textSize="15sp" />
|
2026-11-26 15:04:58 +08:00
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
|
android:id="@+id/btnSiteAdd"
|
|
|
|
|
android:layout_width="44dp"
|
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
|
android:layout_marginStart="8dp"
|
|
|
|
|
android:background="@drawable/bg_button_ghost"
|
|
|
|
|
android:gravity="center"
|
|
|
|
|
android:text="+"
|
|
|
|
|
android:textColor="@color/text"
|
2026-11-27 12:41:28 +08:00
|
|
|
android:textSize="17sp"
|
2026-11-26 15:04:58 +08:00
|
|
|
android:textStyle="bold" />
|
|
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
|
android:id="@+id/btnSiteDel"
|
|
|
|
|
android:layout_width="44dp"
|
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
|
android:layout_marginStart="8dp"
|
|
|
|
|
android:background="@drawable/bg_button_ghost"
|
|
|
|
|
android:gravity="center"
|
|
|
|
|
android:text="-"
|
|
|
|
|
android:textColor="@color/text"
|
2026-11-27 12:41:28 +08:00
|
|
|
android:textSize="17sp"
|
2026-11-26 15:04:58 +08:00
|
|
|
android:textStyle="bold" />
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_marginTop="16dp"
|
|
|
|
|
android:text="@string/site_name"
|
|
|
|
|
android:textColor="@color/text_secondary"
|
|
|
|
|
android:textSize="13sp" />
|
|
|
|
|
|
|
|
|
|
<EditText
|
|
|
|
|
android:id="@+id/etSiteName"
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="46dp"
|
|
|
|
|
android:layout_marginTop="6dp"
|
|
|
|
|
android:background="@drawable/bg_field"
|
|
|
|
|
android:hint="@string/site_name_hint"
|
|
|
|
|
android:importantForAutofill="no"
|
|
|
|
|
android:inputType="text"
|
|
|
|
|
android:paddingStart="14dp"
|
|
|
|
|
android:paddingEnd="14dp"
|
|
|
|
|
android:textColor="@color/text"
|
|
|
|
|
android:textColorHint="@color/text_tertiary"
|
2026-11-27 12:41:28 +08:00
|
|
|
android:textSize="15sp" />
|
2026-11-26 15:04:58 +08:00
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_marginTop="14dp"
|
|
|
|
|
android:text="@string/site_url"
|
|
|
|
|
android:textColor="@color/text_secondary"
|
|
|
|
|
android:textSize="13sp" />
|
|
|
|
|
|
|
|
|
|
<EditText
|
|
|
|
|
android:id="@+id/etSiteUrl"
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="46dp"
|
|
|
|
|
android:layout_marginTop="6dp"
|
|
|
|
|
android:background="@drawable/bg_field"
|
|
|
|
|
android:hint="@string/site_url_hint"
|
|
|
|
|
android:importantForAutofill="no"
|
|
|
|
|
android:inputType="textUri"
|
|
|
|
|
android:paddingStart="14dp"
|
|
|
|
|
android:paddingEnd="14dp"
|
|
|
|
|
android:textColor="@color/text"
|
|
|
|
|
android:textColorHint="@color/text_tertiary"
|
2026-11-27 12:41:28 +08:00
|
|
|
android:textSize="15sp" />
|
2026-11-26 15:04:58 +08:00
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_marginTop="14dp"
|
|
|
|
|
android:text="@string/api_token"
|
|
|
|
|
android:textColor="@color/text_secondary"
|
|
|
|
|
android:textSize="13sp" />
|
|
|
|
|
|
|
|
|
|
<EditText
|
|
|
|
|
android:id="@+id/etToken"
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="46dp"
|
|
|
|
|
android:layout_marginTop="6dp"
|
|
|
|
|
android:background="@drawable/bg_field"
|
|
|
|
|
android:hint="@string/api_token_hint"
|
|
|
|
|
android:importantForAutofill="no"
|
|
|
|
|
android:inputType="textPassword"
|
|
|
|
|
android:paddingStart="14dp"
|
|
|
|
|
android:paddingEnd="14dp"
|
|
|
|
|
android:textColor="@color/text"
|
|
|
|
|
android:textColorHint="@color/text_tertiary"
|
2026-11-27 12:41:28 +08:00
|
|
|
android:textSize="15sp" />
|
2026-11-26 15:04:58 +08:00
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_marginTop="14dp"
|
|
|
|
|
android:text="@string/author_id"
|
|
|
|
|
android:textColor="@color/text_secondary"
|
|
|
|
|
android:textSize="13sp" />
|
|
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
|
android:id="@+id/etAuthorId"
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="46dp"
|
|
|
|
|
android:layout_marginTop="6dp"
|
|
|
|
|
android:background="@drawable/bg_field_dropdown"
|
|
|
|
|
android:clickable="true"
|
|
|
|
|
android:focusable="true"
|
|
|
|
|
android:gravity="center_vertical"
|
|
|
|
|
android:hint="@string/author_id_hint"
|
|
|
|
|
android:paddingStart="14dp"
|
|
|
|
|
android:paddingEnd="36dp"
|
|
|
|
|
android:textColor="@color/text"
|
|
|
|
|
android:textColorHint="@color/text_tertiary"
|
2026-11-27 12:41:28 +08:00
|
|
|
android:textSize="15sp" />
|
2026-11-26 15:04:58 +08:00
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
|
android:id="@+id/btnTestTypecho"
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="44dp"
|
|
|
|
|
android:layout_marginTop="16dp"
|
|
|
|
|
android:background="@drawable/bg_button_ghost"
|
|
|
|
|
android:clickable="true"
|
|
|
|
|
android:focusable="true"
|
|
|
|
|
android:fontFamily="sans-serif-medium"
|
|
|
|
|
android:gravity="center"
|
|
|
|
|
android:text="@string/test_typecho"
|
|
|
|
|
android:textColor="@color/text"
|
2026-11-27 12:41:28 +08:00
|
|
|
android:textSize="15sp" />
|
2026-11-26 15:04:58 +08:00
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
|
android:id="@+id/tvTestTypecho"
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_marginTop="9dp"
|
|
|
|
|
android:lineSpacingExtra="3dp"
|
|
|
|
|
android:textColor="@color/text_secondary"
|
2026-11-27 12:41:28 +08:00
|
|
|
android:textSize="13sp"
|
2026-11-26 15:04:58 +08:00
|
|
|
android:visibility="gone" />
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
|
|
<!-- ========== 发博 ========== -->
|
|
|
|
|
<LinearLayout
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_marginTop="14dp"
|
|
|
|
|
android:background="@drawable/bg_card"
|
|
|
|
|
android:orientation="vertical"
|
|
|
|
|
android:padding="16dp">
|
|
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:gravity="center_vertical"
|
|
|
|
|
android:orientation="horizontal">
|
|
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:background="@drawable/bg_brand_soft"
|
|
|
|
|
android:paddingStart="9dp"
|
|
|
|
|
android:paddingTop="4dp"
|
|
|
|
|
android:paddingEnd="9dp"
|
|
|
|
|
android:paddingBottom="4dp"
|
|
|
|
|
android:text="@string/tab_memo"
|
|
|
|
|
android:textColor="@color/brand"
|
2026-11-27 12:41:28 +08:00
|
|
|
android:textSize="12sp" />
|
2026-11-26 15:04:58 +08:00
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_marginStart="8dp"
|
|
|
|
|
android:text="@string/section_memos_sub"
|
|
|
|
|
android:textColor="@color/text_secondary"
|
|
|
|
|
android:textSize="12sp" />
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_marginTop="16dp"
|
|
|
|
|
android:text="@string/memos_url"
|
|
|
|
|
android:textColor="@color/text_secondary"
|
|
|
|
|
android:textSize="13sp" />
|
|
|
|
|
|
|
|
|
|
<EditText
|
|
|
|
|
android:id="@+id/etMemosUrl"
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="46dp"
|
|
|
|
|
android:layout_marginTop="6dp"
|
|
|
|
|
android:background="@drawable/bg_field"
|
|
|
|
|
android:hint="@string/memos_url_hint"
|
|
|
|
|
android:importantForAutofill="no"
|
|
|
|
|
android:inputType="textUri"
|
|
|
|
|
android:paddingStart="14dp"
|
|
|
|
|
android:paddingEnd="14dp"
|
|
|
|
|
android:textColor="@color/text"
|
|
|
|
|
android:textColorHint="@color/text_tertiary"
|
2026-11-27 12:41:28 +08:00
|
|
|
android:textSize="15sp" />
|
2026-11-26 15:04:58 +08:00
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_marginTop="14dp"
|
|
|
|
|
android:text="@string/memos_token"
|
|
|
|
|
android:textColor="@color/text_secondary"
|
|
|
|
|
android:textSize="13sp" />
|
|
|
|
|
|
|
|
|
|
<EditText
|
|
|
|
|
android:id="@+id/etMemosToken"
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="46dp"
|
|
|
|
|
android:layout_marginTop="6dp"
|
|
|
|
|
android:background="@drawable/bg_field"
|
|
|
|
|
android:hint="@string/memos_token_hint"
|
|
|
|
|
android:importantForAutofill="no"
|
|
|
|
|
android:inputType="textPassword"
|
|
|
|
|
android:paddingStart="14dp"
|
|
|
|
|
android:paddingEnd="14dp"
|
|
|
|
|
android:textColor="@color/text"
|
|
|
|
|
android:textColorHint="@color/text_tertiary"
|
2026-11-27 12:41:28 +08:00
|
|
|
android:textSize="15sp" />
|
2026-11-26 15:04:58 +08:00
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
|
android:id="@+id/btnTestMemos"
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="44dp"
|
|
|
|
|
android:layout_marginTop="16dp"
|
|
|
|
|
android:background="@drawable/bg_button_ghost"
|
|
|
|
|
android:clickable="true"
|
|
|
|
|
android:focusable="true"
|
|
|
|
|
android:fontFamily="sans-serif-medium"
|
|
|
|
|
android:gravity="center"
|
|
|
|
|
android:text="@string/test_memos"
|
|
|
|
|
android:textColor="@color/text"
|
2026-11-27 12:41:28 +08:00
|
|
|
android:textSize="15sp" />
|
2026-11-26 15:04:58 +08:00
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
|
android:id="@+id/tvTestMemos"
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_marginTop="9dp"
|
|
|
|
|
android:lineSpacingExtra="3dp"
|
|
|
|
|
android:textColor="@color/text_secondary"
|
2026-11-27 12:41:28 +08:00
|
|
|
android:textSize="13sp"
|
2026-11-26 15:04:58 +08:00
|
|
|
android:visibility="gone" />
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
|
|
<!-- ========== AI ========== -->
|
|
|
|
|
<LinearLayout
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_marginTop="14dp"
|
|
|
|
|
android:background="@drawable/bg_card"
|
|
|
|
|
android:orientation="vertical"
|
|
|
|
|
android:padding="16dp">
|
|
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:gravity="center_vertical"
|
|
|
|
|
android:orientation="horizontal">
|
|
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:background="@drawable/bg_brand_soft"
|
|
|
|
|
android:paddingStart="9dp"
|
|
|
|
|
android:paddingTop="4dp"
|
|
|
|
|
android:paddingEnd="9dp"
|
|
|
|
|
android:paddingBottom="4dp"
|
|
|
|
|
android:text="@string/ai_badge"
|
|
|
|
|
android:textColor="@color/brand"
|
2026-11-27 12:41:28 +08:00
|
|
|
android:textSize="12sp" />
|
2026-11-26 15:04:58 +08:00
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_marginStart="8dp"
|
|
|
|
|
android:text="@string/section_ai_sub"
|
|
|
|
|
android:textColor="@color/text_secondary"
|
|
|
|
|
android:textSize="12sp" />
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_marginTop="16dp"
|
|
|
|
|
android:text="@string/ai_provider"
|
|
|
|
|
android:textColor="@color/text_secondary"
|
|
|
|
|
android:textSize="13sp" />
|
|
|
|
|
|
|
|
|
|
<Spinner
|
|
|
|
|
android:id="@+id/spinnerAiProvider"
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="46dp"
|
|
|
|
|
android:layout_marginTop="6dp"
|
|
|
|
|
android:background="@drawable/bg_field_dropdown"
|
|
|
|
|
android:paddingStart="14dp"
|
|
|
|
|
android:paddingEnd="36dp"
|
|
|
|
|
android:spinnerMode="dropdown" />
|
|
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_marginTop="14dp"
|
|
|
|
|
android:text="@string/ai_key"
|
|
|
|
|
android:textColor="@color/text_secondary"
|
|
|
|
|
android:textSize="13sp" />
|
|
|
|
|
|
|
|
|
|
<EditText
|
|
|
|
|
android:id="@+id/etAiKey"
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="46dp"
|
|
|
|
|
android:layout_marginTop="6dp"
|
|
|
|
|
android:background="@drawable/bg_field"
|
|
|
|
|
android:hint="@string/ai_key_hint"
|
|
|
|
|
android:importantForAutofill="no"
|
|
|
|
|
android:inputType="textPassword"
|
|
|
|
|
android:paddingStart="14dp"
|
|
|
|
|
android:paddingEnd="14dp"
|
|
|
|
|
android:textColor="@color/text"
|
|
|
|
|
android:textColorHint="@color/text_tertiary"
|
2026-11-27 12:41:28 +08:00
|
|
|
android:textSize="15sp" />
|
2026-11-26 15:04:58 +08:00
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_marginTop="14dp"
|
|
|
|
|
android:text="@string/ai_model"
|
|
|
|
|
android:textColor="@color/text_secondary"
|
|
|
|
|
android:textSize="13sp" />
|
|
|
|
|
|
|
|
|
|
<EditText
|
|
|
|
|
android:id="@+id/etAiModel"
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="46dp"
|
|
|
|
|
android:layout_marginTop="6dp"
|
|
|
|
|
android:background="@drawable/bg_field"
|
|
|
|
|
android:hint="@string/ai_model_hint"
|
|
|
|
|
android:importantForAutofill="no"
|
|
|
|
|
android:inputType="text"
|
|
|
|
|
android:paddingStart="14dp"
|
|
|
|
|
android:paddingEnd="14dp"
|
|
|
|
|
android:textColor="@color/text"
|
|
|
|
|
android:textColorHint="@color/text_tertiary"
|
2026-11-27 12:41:28 +08:00
|
|
|
android:textSize="15sp" />
|
2026-11-26 15:04:58 +08:00
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
|
|
<!-- ========== RSS ========== -->
|
|
|
|
|
<LinearLayout
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_marginTop="14dp"
|
|
|
|
|
android:background="@drawable/bg_card"
|
|
|
|
|
android:orientation="vertical"
|
|
|
|
|
android:padding="16dp">
|
|
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:gravity="center_vertical"
|
|
|
|
|
android:orientation="horizontal">
|
|
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:background="@drawable/bg_brand_soft"
|
|
|
|
|
android:paddingStart="9dp"
|
|
|
|
|
android:paddingTop="4dp"
|
|
|
|
|
android:paddingEnd="9dp"
|
|
|
|
|
android:paddingBottom="4dp"
|
|
|
|
|
android:text="@string/rss_badge"
|
|
|
|
|
android:textColor="@color/brand"
|
2026-11-27 12:41:28 +08:00
|
|
|
android:textSize="12sp" />
|
2026-11-26 15:04:58 +08:00
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_marginStart="8dp"
|
|
|
|
|
android:text="@string/section_rss_sub"
|
|
|
|
|
android:textColor="@color/text_secondary"
|
|
|
|
|
android:textSize="12sp" />
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_marginTop="16dp"
|
|
|
|
|
android:text="@string/rss_site"
|
|
|
|
|
android:textColor="@color/text_secondary"
|
|
|
|
|
android:textSize="13sp" />
|
|
|
|
|
|
|
|
|
|
<EditText
|
|
|
|
|
android:id="@+id/etRssSite"
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="46dp"
|
|
|
|
|
android:layout_marginTop="6dp"
|
|
|
|
|
android:background="@drawable/bg_field"
|
|
|
|
|
android:hint="@string/rss_site_hint"
|
|
|
|
|
android:importantForAutofill="no"
|
|
|
|
|
android:inputType="textUri"
|
|
|
|
|
android:paddingStart="14dp"
|
|
|
|
|
android:paddingEnd="14dp"
|
|
|
|
|
android:textColor="@color/text"
|
|
|
|
|
android:textColorHint="@color/text_tertiary"
|
2026-11-27 12:41:28 +08:00
|
|
|
android:textSize="15sp" />
|
2026-11-26 15:04:58 +08:00
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_marginTop="14dp"
|
|
|
|
|
android:text="@string/rss_code"
|
|
|
|
|
android:textColor="@color/text_secondary"
|
|
|
|
|
android:textSize="13sp" />
|
|
|
|
|
|
|
|
|
|
<EditText
|
|
|
|
|
android:id="@+id/etRssCode"
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="46dp"
|
|
|
|
|
android:layout_marginTop="6dp"
|
|
|
|
|
android:background="@drawable/bg_field"
|
|
|
|
|
android:hint="@string/rss_code_hint"
|
|
|
|
|
android:importantForAutofill="no"
|
|
|
|
|
android:inputType="textPassword"
|
|
|
|
|
android:paddingStart="14dp"
|
|
|
|
|
android:paddingEnd="14dp"
|
|
|
|
|
android:textColor="@color/text"
|
|
|
|
|
android:textColorHint="@color/text_tertiary"
|
2026-11-27 12:41:28 +08:00
|
|
|
android:textSize="15sp" />
|
2026-11-26 15:04:58 +08:00
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_marginTop="14dp"
|
|
|
|
|
android:text="@string/rss_page_size"
|
|
|
|
|
android:textColor="@color/text_secondary"
|
|
|
|
|
android:textSize="13sp" />
|
|
|
|
|
|
|
|
|
|
<EditText
|
|
|
|
|
android:id="@+id/etRssPage"
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="46dp"
|
|
|
|
|
android:layout_marginTop="6dp"
|
|
|
|
|
android:background="@drawable/bg_field"
|
|
|
|
|
android:hint="20"
|
|
|
|
|
android:importantForAutofill="no"
|
|
|
|
|
android:inputType="number"
|
|
|
|
|
android:paddingStart="14dp"
|
|
|
|
|
android:paddingEnd="14dp"
|
|
|
|
|
android:textColor="@color/text"
|
|
|
|
|
android:textColorHint="@color/text_tertiary"
|
2026-11-27 12:41:28 +08:00
|
|
|
android:textSize="15sp" />
|
2026-11-26 15:04:58 +08:00
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
|
android:id="@+id/btnTestRss"
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="42dp"
|
|
|
|
|
android:layout_marginTop="12dp"
|
|
|
|
|
android:background="@drawable/bg_button_ghost"
|
|
|
|
|
android:gravity="center"
|
|
|
|
|
android:text="@string/test_rss"
|
|
|
|
|
android:textColor="@color/text"
|
2026-11-27 12:41:28 +08:00
|
|
|
android:textSize="15sp" />
|
2026-11-26 15:04:58 +08:00
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
|
android:id="@+id/tvTestRss"
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_marginTop="8dp"
|
|
|
|
|
android:textColor="@color/text_secondary"
|
2026-11-27 12:41:28 +08:00
|
|
|
android:textSize="13sp"
|
2026-11-26 15:04:58 +08:00
|
|
|
android:visibility="gone" />
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
|
|
<!-- ========== 邮件 ========== -->
|
|
|
|
|
<LinearLayout
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_marginTop="14dp"
|
|
|
|
|
android:background="@drawable/bg_card"
|
|
|
|
|
android:orientation="vertical"
|
|
|
|
|
android:padding="16dp">
|
|
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:gravity="center_vertical"
|
|
|
|
|
android:orientation="horizontal">
|
|
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:background="@drawable/bg_brand_soft"
|
|
|
|
|
android:paddingStart="9dp"
|
|
|
|
|
android:paddingTop="4dp"
|
|
|
|
|
android:paddingEnd="9dp"
|
|
|
|
|
android:paddingBottom="4dp"
|
|
|
|
|
android:text="@string/mail_badge"
|
|
|
|
|
android:textColor="@color/brand"
|
2026-11-27 12:41:28 +08:00
|
|
|
android:textSize="12sp" />
|
2026-11-26 15:04:58 +08:00
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_marginStart="8dp"
|
|
|
|
|
android:text="@string/section_mail_sub"
|
|
|
|
|
android:textColor="@color/text_secondary"
|
|
|
|
|
android:textSize="12sp" />
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
|
|
<!-- 邮箱切换:下拉选邮箱 + 新增 / 删除 -->
|
|
|
|
|
<LinearLayout
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="40dp"
|
|
|
|
|
android:layout_marginTop="14dp"
|
|
|
|
|
android:gravity="center_vertical"
|
|
|
|
|
android:orientation="horizontal">
|
|
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
|
android:id="@+id/btnMailPick"
|
|
|
|
|
android:layout_width="0dp"
|
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
|
android:layout_weight="1"
|
|
|
|
|
android:background="@drawable/bg_field_dropdown"
|
|
|
|
|
android:drawablePadding="6dp"
|
|
|
|
|
android:ellipsize="end"
|
|
|
|
|
android:gravity="center_vertical"
|
|
|
|
|
android:paddingStart="14dp"
|
|
|
|
|
android:paddingEnd="14dp"
|
|
|
|
|
android:singleLine="true"
|
|
|
|
|
android:textColor="@color/text"
|
2026-11-27 12:41:28 +08:00
|
|
|
android:textSize="15sp" />
|
2026-11-26 15:04:58 +08:00
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
|
android:id="@+id/btnMailAdd"
|
|
|
|
|
android:layout_width="44dp"
|
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
|
android:layout_marginStart="8dp"
|
|
|
|
|
android:background="@drawable/bg_button_ghost"
|
|
|
|
|
android:gravity="center"
|
|
|
|
|
android:text="+"
|
|
|
|
|
android:textColor="@color/text"
|
2026-11-27 12:41:28 +08:00
|
|
|
android:textSize="17sp"
|
2026-11-26 15:04:58 +08:00
|
|
|
android:textStyle="bold" />
|
|
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
|
android:id="@+id/btnMailDel"
|
|
|
|
|
android:layout_width="44dp"
|
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
|
android:layout_marginStart="8dp"
|
|
|
|
|
android:background="@drawable/bg_button_ghost"
|
|
|
|
|
android:gravity="center"
|
|
|
|
|
android:text="-"
|
|
|
|
|
android:textColor="@color/text"
|
2026-11-27 12:41:28 +08:00
|
|
|
android:textSize="17sp"
|
2026-11-26 15:04:58 +08:00
|
|
|
android:textStyle="bold" />
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_marginTop="16dp"
|
|
|
|
|
android:text="@string/mail_name"
|
|
|
|
|
android:textColor="@color/text_secondary"
|
|
|
|
|
android:textSize="13sp" />
|
|
|
|
|
|
|
|
|
|
<EditText
|
|
|
|
|
android:id="@+id/etMailName"
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="46dp"
|
|
|
|
|
android:layout_marginTop="6dp"
|
|
|
|
|
android:background="@drawable/bg_field"
|
|
|
|
|
android:hint="@string/mail_name_hint"
|
|
|
|
|
android:importantForAutofill="no"
|
|
|
|
|
android:inputType="text"
|
|
|
|
|
android:paddingStart="14dp"
|
|
|
|
|
android:paddingEnd="14dp"
|
|
|
|
|
android:textColor="@color/text"
|
|
|
|
|
android:textColorHint="@color/text_tertiary"
|
2026-11-27 12:41:28 +08:00
|
|
|
android:textSize="15sp" />
|
2026-11-26 15:04:58 +08:00
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_marginTop="14dp"
|
|
|
|
|
android:text="@string/mail_email"
|
|
|
|
|
android:textColor="@color/text_secondary"
|
|
|
|
|
android:textSize="13sp" />
|
|
|
|
|
|
|
|
|
|
<EditText
|
|
|
|
|
android:id="@+id/etMailEmail"
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="46dp"
|
|
|
|
|
android:layout_marginTop="6dp"
|
|
|
|
|
android:background="@drawable/bg_field"
|
|
|
|
|
android:hint="@string/mail_email_hint"
|
|
|
|
|
android:importantForAutofill="no"
|
|
|
|
|
android:inputType="textEmailAddress"
|
|
|
|
|
android:paddingStart="14dp"
|
|
|
|
|
android:paddingEnd="14dp"
|
|
|
|
|
android:textColor="@color/text"
|
|
|
|
|
android:textColorHint="@color/text_tertiary"
|
2026-11-27 12:41:28 +08:00
|
|
|
android:textSize="15sp" />
|
2026-11-26 15:04:58 +08:00
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_marginTop="14dp"
|
|
|
|
|
android:text="@string/mail_auth"
|
|
|
|
|
android:textColor="@color/text_secondary"
|
|
|
|
|
android:textSize="13sp" />
|
|
|
|
|
|
|
|
|
|
<EditText
|
|
|
|
|
android:id="@+id/etMailAuth"
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="46dp"
|
|
|
|
|
android:layout_marginTop="6dp"
|
|
|
|
|
android:background="@drawable/bg_field"
|
|
|
|
|
android:hint="@string/mail_auth_hint"
|
|
|
|
|
android:importantForAutofill="no"
|
|
|
|
|
android:inputType="textPassword"
|
|
|
|
|
android:paddingStart="14dp"
|
|
|
|
|
android:paddingEnd="14dp"
|
|
|
|
|
android:textColor="@color/text"
|
|
|
|
|
android:textColorHint="@color/text_tertiary"
|
2026-11-27 12:41:28 +08:00
|
|
|
android:textSize="15sp" />
|
2026-11-26 15:04:58 +08:00
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_marginTop="14dp"
|
|
|
|
|
android:text="@string/mail_host"
|
|
|
|
|
android:textColor="@color/text_secondary"
|
|
|
|
|
android:textSize="13sp" />
|
|
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_marginTop="6dp"
|
|
|
|
|
android:orientation="horizontal">
|
|
|
|
|
|
|
|
|
|
<EditText
|
|
|
|
|
android:id="@+id/etMailHost"
|
|
|
|
|
android:layout_width="0dp"
|
|
|
|
|
android:layout_height="46dp"
|
|
|
|
|
android:layout_weight="1"
|
|
|
|
|
android:background="@drawable/bg_field"
|
|
|
|
|
android:hint="@string/mail_host_hint"
|
|
|
|
|
android:importantForAutofill="no"
|
|
|
|
|
android:inputType="textUri"
|
|
|
|
|
android:paddingStart="14dp"
|
|
|
|
|
android:paddingEnd="14dp"
|
|
|
|
|
android:textColor="@color/text"
|
|
|
|
|
android:textColorHint="@color/text_tertiary"
|
2026-11-27 12:41:28 +08:00
|
|
|
android:textSize="15sp" />
|
2026-11-26 15:04:58 +08:00
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
|
android:id="@+id/btnMailHostPick"
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="46dp"
|
|
|
|
|
android:layout_marginStart="8dp"
|
|
|
|
|
android:background="@drawable/bg_button_ghost"
|
|
|
|
|
android:gravity="center"
|
|
|
|
|
android:minWidth="60dp"
|
|
|
|
|
android:paddingStart="12dp"
|
|
|
|
|
android:paddingEnd="12dp"
|
|
|
|
|
android:text="@string/mail_host_preset"
|
|
|
|
|
android:textColor="@color/text"
|
2026-11-27 12:41:28 +08:00
|
|
|
android:textSize="15sp" />
|
2026-11-26 15:04:58 +08:00
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_marginTop="14dp"
|
|
|
|
|
android:orientation="horizontal">
|
|
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
|
android:layout_width="0dp"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_weight="1"
|
|
|
|
|
android:orientation="vertical">
|
|
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:text="@string/mail_port"
|
|
|
|
|
android:textColor="@color/text_secondary"
|
|
|
|
|
android:textSize="13sp" />
|
|
|
|
|
|
|
|
|
|
<EditText
|
|
|
|
|
android:id="@+id/etMailPort"
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="46dp"
|
|
|
|
|
android:layout_marginTop="6dp"
|
|
|
|
|
android:background="@drawable/bg_field"
|
|
|
|
|
android:hint="@string/mail_port_hint"
|
|
|
|
|
android:importantForAutofill="no"
|
|
|
|
|
android:inputType="number"
|
|
|
|
|
android:paddingStart="14dp"
|
|
|
|
|
android:paddingEnd="14dp"
|
|
|
|
|
android:textColor="@color/text"
|
|
|
|
|
android:textColorHint="@color/text_tertiary"
|
2026-11-27 12:41:28 +08:00
|
|
|
android:textSize="15sp" />
|
2026-11-26 15:04:58 +08:00
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
|
android:layout_width="0dp"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_marginStart="12dp"
|
|
|
|
|
android:layout_weight="1"
|
|
|
|
|
android:orientation="vertical">
|
|
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:text="@string/mail_secure"
|
|
|
|
|
android:textColor="@color/text_secondary"
|
|
|
|
|
android:textSize="13sp" />
|
|
|
|
|
|
|
|
|
|
<Spinner
|
|
|
|
|
android:id="@+id/spinnerMailSecure"
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="46dp"
|
|
|
|
|
android:layout_marginTop="6dp"
|
|
|
|
|
android:background="@drawable/bg_field_dropdown"
|
|
|
|
|
android:paddingStart="14dp"
|
|
|
|
|
android:paddingEnd="36dp"
|
|
|
|
|
android:spinnerMode="dropdown" />
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_marginTop="14dp"
|
|
|
|
|
android:text="@string/mail_fetch_days"
|
|
|
|
|
android:textColor="@color/text_secondary"
|
|
|
|
|
android:textSize="13sp" />
|
|
|
|
|
|
|
|
|
|
<EditText
|
|
|
|
|
android:id="@+id/etMailDays"
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="46dp"
|
|
|
|
|
android:layout_marginTop="6dp"
|
|
|
|
|
android:background="@drawable/bg_field"
|
|
|
|
|
android:hint="@string/mail_fetch_days_hint"
|
|
|
|
|
android:importantForAutofill="no"
|
|
|
|
|
android:inputType="number"
|
|
|
|
|
android:paddingStart="14dp"
|
|
|
|
|
android:paddingEnd="14dp"
|
|
|
|
|
android:textColor="@color/text"
|
|
|
|
|
android:textColorHint="@color/text_tertiary"
|
2026-11-27 12:41:28 +08:00
|
|
|
android:textSize="15sp" />
|
2026-11-26 15:04:58 +08:00
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
|
android:id="@+id/btnTestMail"
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="42dp"
|
|
|
|
|
android:layout_marginTop="12dp"
|
|
|
|
|
android:background="@drawable/bg_button_ghost"
|
|
|
|
|
android:gravity="center"
|
|
|
|
|
android:text="@string/test_mail"
|
|
|
|
|
android:textColor="@color/text"
|
2026-11-27 12:41:28 +08:00
|
|
|
android:textSize="15sp" />
|
2026-11-26 15:04:58 +08:00
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
|
android:id="@+id/tvTestMail"
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_marginTop="8dp"
|
|
|
|
|
android:textColor="@color/text_secondary"
|
2026-11-27 12:41:28 +08:00
|
|
|
android:textSize="13sp"
|
2026-11-26 15:04:58 +08:00
|
|
|
android:visibility="gone" />
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
|
|
<!-- ========== 说明 ========== -->
|
|
|
|
|
<LinearLayout
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_marginTop="14dp"
|
|
|
|
|
android:background="@drawable/bg_card"
|
|
|
|
|
android:orientation="vertical"
|
|
|
|
|
android:padding="16dp">
|
|
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:lineSpacingExtra="6dp"
|
|
|
|
|
android:text="@string/settings_help_new"
|
|
|
|
|
android:textColor="@color/text_secondary"
|
2026-11-27 12:41:28 +08:00
|
|
|
android:textSize="13sp" />
|
2026-11-26 15:04:58 +08:00
|
|
|
</LinearLayout>
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
</ScrollView>
|
|
|
|
|
|
|
|
|
|
<!-- ========== 固定保存 ========== -->
|
|
|
|
|
<LinearLayout
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:orientation="vertical"
|
|
|
|
|
android:paddingStart="18dp"
|
|
|
|
|
android:paddingTop="10dp"
|
|
|
|
|
android:paddingEnd="18dp"
|
|
|
|
|
android:paddingBottom="12dp">
|
|
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
|
android:id="@+id/btnSave"
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="54dp"
|
|
|
|
|
android:background="@drawable/bg_button_primary"
|
|
|
|
|
android:clickable="true"
|
|
|
|
|
android:focusable="true"
|
|
|
|
|
android:fontFamily="sans-serif-medium"
|
|
|
|
|
android:gravity="center"
|
|
|
|
|
android:letterSpacing="0.06"
|
|
|
|
|
android:text="@string/save"
|
|
|
|
|
android:textColor="@color/on_brand"
|
2026-11-27 12:41:28 +08:00
|
|
|
android:textSize="15sp" />
|
2026-11-26 15:04:58 +08:00
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
|
|
</LinearLayout>
|