<?xml version="1.0" encoding="utf-8"?>
|
<ScrollView 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:fillViewport="true">
|
|
<LinearLayout
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content"
|
android:orientation="vertical">
|
|
<!-- 标题栏 -->
|
<TextView
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content"
|
android:background="#FFE4C4"
|
android:gravity="center"
|
android:padding="16dp"
|
android:text="终身会员"
|
android:textColor="@android:color/black"
|
android:textSize="20sp"
|
android:textStyle="bold" />
|
|
<!-- 功能区标题 -->
|
<TextView
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content"
|
android:layout_marginTop="16dp"
|
android:paddingHorizontal="16dp"
|
android:paddingVertical="8dp"
|
android:text="功能"
|
android:textColor="@android:color/darker_gray"
|
android:textSize="14sp"
|
android:textStyle="bold" />
|
|
<!-- 设置选项 -->
|
<LinearLayout
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content"
|
android:orientation="vertical">
|
|
<!-- 设置提醒 -->
|
<RelativeLayout
|
android:id="@+id/settings_reminder"
|
style="@style/SettingsItem"
|
android:padding="16dp">
|
|
<TextView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:layout_centerVertical="true"
|
android:text="设置提醒"
|
android:textColor="@android:color/black"
|
android:textSize="16sp" />
|
|
<ImageView
|
android:layout_width="24dp"
|
android:layout_height="24dp"
|
android:layout_alignParentEnd="true"
|
android:layout_centerVertical="true"
|
android:src="@drawable/right_forward" />
|
</RelativeLayout>
|
|
<View
|
android:layout_width="match_parent"
|
android:layout_height="0.5dp"
|
android:layout_marginHorizontal="16dp"
|
android:background="#E0E0E0" />
|
|
<!-- 设置其他提醒 暂时不需要 -->
|
<!-- <RelativeLayout-->
|
<!-- android:id="@+id/settings_reminder_other"-->
|
<!-- style="@style/SettingsItem"-->
|
<!-- android:padding="16dp">-->
|
|
<!-- <TextView-->
|
<!-- android:layout_width="wrap_content"-->
|
<!-- android:layout_height="wrap_content"-->
|
<!-- android:layout_centerVertical="true"-->
|
<!-- android:text="设置其他提醒"-->
|
<!-- android:textColor="@android:color/black"-->
|
<!-- android:textSize="16sp" />-->
|
|
<!-- <ImageView-->
|
<!-- android:layout_width="24dp"-->
|
<!-- android:layout_height="24dp"-->
|
<!-- android:layout_alignParentEnd="true"-->
|
<!-- android:layout_centerVertical="true"-->
|
<!-- android:src="@drawable/right_forward" />-->
|
<!-- </RelativeLayout>-->
|
|
<View
|
android:layout_width="match_parent"
|
android:layout_height="0.5dp"
|
android:layout_marginHorizontal="16dp"
|
android:background="#E0E0E0" />
|
|
<!-- 联系与反馈 -->
|
<TextView
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content"
|
android:layout_marginTop="16dp"
|
android:paddingHorizontal="16dp"
|
android:paddingVertical="8dp"
|
android:text="联系与反馈"
|
android:textColor="@android:color/darker_gray"
|
android:textSize="14sp"
|
android:textStyle="bold" />
|
|
<!-- 关于小红书 -->
|
<RelativeLayout
|
android:id="@+id/about_app"
|
style="@style/SettingsItem"
|
android:padding="16dp">
|
|
<TextView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:layout_centerVertical="true"
|
android:text="关于小红书"
|
android:textColor="@android:color/black"
|
android:textSize="16sp" />
|
|
<ImageView
|
android:layout_width="24dp"
|
android:layout_height="24dp"
|
android:layout_alignParentEnd="true"
|
android:layout_centerVertical="true"
|
android:src="@drawable/right_forward" />
|
</RelativeLayout>
|
|
<View
|
android:layout_width="match_parent"
|
android:layout_height="0.5dp"
|
android:layout_marginHorizontal="16dp"
|
android:background="#E0E0E0" />
|
|
<!-- 邮件联系 -->
|
<RelativeLayout
|
android:id="@+id/email_contact"
|
style="@style/SettingsItem"
|
android:padding="16dp">
|
|
<TextView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:layout_centerVertical="true"
|
android:text="邮件联系"
|
android:textColor="@android:color/black"
|
android:textSize="16sp" />
|
|
<ImageView
|
android:layout_width="24dp"
|
android:layout_height="24dp"
|
android:layout_alignParentEnd="true"
|
android:layout_centerVertical="true"
|
android:src="@drawable/right_forward" />
|
</RelativeLayout>
|
|
<View
|
android:layout_width="match_parent"
|
android:layout_height="0.5dp"
|
android:layout_marginHorizontal="16dp"
|
android:background="#E0E0E0" />
|
|
<!-- 意见与反馈 -->
|
<RelativeLayout
|
android:id="@+id/feedback"
|
style="@style/SettingsItem"
|
android:padding="16dp">
|
|
<TextView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:layout_centerVertical="true"
|
android:text="意见与反馈"
|
android:textColor="@android:color/black"
|
android:textSize="16sp" />
|
|
<ImageView
|
android:layout_width="24dp"
|
android:layout_height="24dp"
|
android:layout_alignParentEnd="true"
|
android:layout_centerVertical="true"
|
android:src="@drawable/right_forward" />
|
</RelativeLayout>
|
|
<View
|
android:layout_width="match_parent"
|
android:layout_height="0.5dp"
|
android:layout_marginHorizontal="16dp"
|
android:background="#E0E0E0" />
|
|
<!-- 分享给好友 -->
|
<RelativeLayout
|
android:id="@+id/share_to_friends"
|
style="@style/SettingsItem"
|
android:padding="16dp">
|
|
<TextView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:layout_centerVertical="true"
|
android:text="分享给好友"
|
android:textColor="@android:color/black"
|
android:textSize="16sp" />
|
|
<ImageView
|
android:layout_width="24dp"
|
android:layout_height="24dp"
|
android:layout_alignParentEnd="true"
|
android:layout_centerVertical="true"
|
android:src="@drawable/right_forward" />
|
</RelativeLayout>
|
|
<View
|
android:layout_width="match_parent"
|
android:layout_height="0.5dp"
|
android:layout_marginHorizontal="16dp"
|
android:background="#E0E0E0" />
|
|
<!-- 其他区域标题 -->
|
<TextView
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content"
|
android:layout_marginTop="16dp"
|
android:paddingHorizontal="16dp"
|
android:paddingVertical="8dp"
|
android:text="其他"
|
android:textColor="@android:color/darker_gray"
|
android:textSize="14sp"
|
android:textStyle="bold" />
|
|
<!-- 隐私协议 -->
|
<RelativeLayout
|
android:id="@+id/privacy_policy"
|
style="@style/SettingsItem"
|
android:padding="16dp">
|
|
<TextView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:layout_centerVertical="true"
|
android:text="隐私协议"
|
android:textColor="@android:color/black"
|
android:textSize="16sp" />
|
|
<ImageView
|
android:layout_width="24dp"
|
android:layout_height="24dp"
|
android:layout_alignParentEnd="true"
|
android:layout_centerVertical="true"
|
android:src="@drawable/right_forward" />
|
</RelativeLayout>
|
|
<View
|
android:layout_width="match_parent"
|
android:layout_height="0.5dp"
|
android:layout_marginHorizontal="16dp"
|
android:background="#E0E0E0" />
|
|
<!-- 如何使用 -->
|
<RelativeLayout
|
android:id="@+id/how_to_use"
|
style="@style/SettingsItem"
|
android:padding="16dp">
|
|
<TextView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:layout_centerVertical="true"
|
android:text="如何使用"
|
android:textColor="@android:color/black"
|
android:textSize="16sp" />
|
|
<ImageView
|
android:layout_width="24dp"
|
android:layout_height="24dp"
|
android:layout_alignParentEnd="true"
|
android:layout_centerVertical="true"
|
android:src="@drawable/right_forward" />
|
</RelativeLayout>
|
|
</LinearLayout>
|
|
</LinearLayout>
|
</ScrollView>
|