|
|
@@ -0,0 +1,164 @@
|
|
|
+<?xml version="1.0" encoding="utf-8"?>
|
|
|
+<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:background="@color/white"
|
|
|
+ android:orientation="vertical"
|
|
|
+ android:paddingLeft="15dp"
|
|
|
+ android:paddingRight="15dp"
|
|
|
+ android:paddingTop="20dp"
|
|
|
+ android:paddingBottom="20dp">
|
|
|
+
|
|
|
+ <!-- 权限设置标题 -->
|
|
|
+ <TextView
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:text="@string/permission_setting"
|
|
|
+ android:textColor="@color/textColorBlack"
|
|
|
+ android:textSize="16sp"
|
|
|
+ android:textStyle="bold"
|
|
|
+ android:gravity="center"
|
|
|
+ android:paddingBottom="15dp" />
|
|
|
+
|
|
|
+ <!-- 分割线 -->
|
|
|
+ <View
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="1dp"
|
|
|
+ android:background="@color/gray3"
|
|
|
+ android:layout_marginBottom="15dp" />
|
|
|
+
|
|
|
+ <!-- 公开选项 -->
|
|
|
+ <LinearLayout
|
|
|
+ android:id="@+id/layout_public"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="50dp"
|
|
|
+ android:orientation="horizontal"
|
|
|
+ android:gravity="center_vertical"
|
|
|
+ android:background="?android:attr/selectableItemBackground"
|
|
|
+ android:paddingLeft="10dp"
|
|
|
+ android:paddingRight="10dp">
|
|
|
+
|
|
|
+ <ImageView
|
|
|
+ android:layout_width="24dp"
|
|
|
+ android:layout_height="24dp"
|
|
|
+ android:src="@mipmap/icon_setting_open"
|
|
|
+ android:layout_marginRight="15dp" />
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:layout_width="0dp"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_weight="1"
|
|
|
+ android:text="@string/setting_public"
|
|
|
+ android:textColor="@color/textColorBlack"
|
|
|
+ android:textSize="15sp" />
|
|
|
+
|
|
|
+ <ImageView
|
|
|
+ android:id="@+id/check_public"
|
|
|
+ android:layout_width="20dp"
|
|
|
+ android:layout_height="20dp"
|
|
|
+ android:src="@mipmap/icon_setting_select"
|
|
|
+ android:visibility="gone" />
|
|
|
+ </LinearLayout>
|
|
|
+
|
|
|
+ <!-- 朋友选项 -->
|
|
|
+ <LinearLayout
|
|
|
+ android:id="@+id/layout_friends"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="50dp"
|
|
|
+ android:orientation="horizontal"
|
|
|
+ android:gravity="center_vertical"
|
|
|
+ android:background="?android:attr/selectableItemBackground"
|
|
|
+ android:paddingLeft="10dp"
|
|
|
+ android:paddingRight="10dp">
|
|
|
+
|
|
|
+ <ImageView
|
|
|
+ android:layout_width="24dp"
|
|
|
+ android:layout_height="24dp"
|
|
|
+ android:src="@mipmap/icon_setting_friends"
|
|
|
+ android:layout_marginRight="15dp" />
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:layout_width="0dp"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_weight="1"
|
|
|
+ android:text="@string/setting_friend"
|
|
|
+ android:textColor="@color/textColorBlack"
|
|
|
+ android:textSize="15sp" />
|
|
|
+
|
|
|
+ <ImageView
|
|
|
+ android:id="@+id/check_friends"
|
|
|
+ android:layout_width="20dp"
|
|
|
+ android:layout_height="20dp"
|
|
|
+ android:src="@mipmap/icon_setting_select"
|
|
|
+ android:visibility="visible" />
|
|
|
+ </LinearLayout>
|
|
|
+
|
|
|
+ <!-- 私密选项 -->
|
|
|
+ <LinearLayout
|
|
|
+ android:id="@+id/layout_private"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="50dp"
|
|
|
+ android:orientation="horizontal"
|
|
|
+ android:gravity="center_vertical"
|
|
|
+ android:background="?android:attr/selectableItemBackground"
|
|
|
+ android:paddingLeft="10dp"
|
|
|
+ android:paddingRight="10dp">
|
|
|
+
|
|
|
+ <ImageView
|
|
|
+ android:layout_width="24dp"
|
|
|
+ android:layout_height="24dp"
|
|
|
+ android:src="@mipmap/icon_setting_close"
|
|
|
+ android:layout_marginRight="15dp" />
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:layout_width="0dp"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_weight="1"
|
|
|
+ android:text="@string/setting_private"
|
|
|
+ android:textColor="@color/textColorBlack"
|
|
|
+ android:textSize="15sp" />
|
|
|
+
|
|
|
+ <ImageView
|
|
|
+ android:id="@+id/check_private"
|
|
|
+ android:layout_width="20dp"
|
|
|
+ android:layout_height="20dp"
|
|
|
+ android:src="@mipmap/icon_setting_select"
|
|
|
+ android:visibility="gone" />
|
|
|
+ </LinearLayout>
|
|
|
+
|
|
|
+ <!-- 分割线 -->
|
|
|
+ <View
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="1dp"
|
|
|
+ android:background="@color/gray3"
|
|
|
+ android:layout_marginTop="15dp"
|
|
|
+ android:layout_marginBottom="15dp" />
|
|
|
+
|
|
|
+ <!-- 置顶作品 -->
|
|
|
+ <LinearLayout
|
|
|
+ android:id="@+id/layout_video_top"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="50dp"
|
|
|
+ android:orientation="horizontal"
|
|
|
+ android:gravity="center_vertical"
|
|
|
+ android:background="?android:attr/selectableItemBackground"
|
|
|
+ android:paddingLeft="10dp"
|
|
|
+ android:paddingRight="10dp">
|
|
|
+
|
|
|
+ <ImageView
|
|
|
+ android:layout_width="24dp"
|
|
|
+ android:layout_height="24dp"
|
|
|
+ android:src="@mipmap/icon_setting_up"
|
|
|
+ android:layout_marginRight="15dp" />
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:text="@string/top_work"
|
|
|
+ android:textColor="@color/textColorBlack"
|
|
|
+ android:textSize="15sp" />
|
|
|
+ </LinearLayout>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+</LinearLayout>
|