123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182 |
- <?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:orientation="vertical"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:background="@color/grey_light_light">
- <android.support.design.widget.AppBarLayout
- android:layout_width="match_parent"
- android:layout_height="wrap_content">
- <com.sheishuo.app.common.views.BaseToolbar
- android:id="@+id/toolbar"
- android:layout_width="match_parent"
- android:layout_height="@dimen/action_bar_height"
- android:title="隐私"
- app:left_text="返回"/>
- </android.support.design.widget.AppBarLayout>
- <LinearLayout
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:padding="16dp"
- android:orientation="horizontal"
- android:background="@color/white">
- <TextView
- android:layout_weight="7"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:text="加我为好友需要验证"/>
- <Switch
- android:id="@+id/settings_privacy_layout_add_friends_switch"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content" />
- </LinearLayout>
- <View
- android:layout_width="match_parent"
- android:layout_height="1dp"
- android:background="@color/grey_light"/>
- <LinearLayout
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:padding="16dp"
- android:orientation="horizontal"
- android:background="@color/white"
- android:layout_marginTop="8dp">
- <TextView
- android:layout_weight="7"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:text="通过手机号找到我"/>
- <Switch
- android:id="@+id/settings_privacy_layout_find_by_mobile_switch"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content" />
- </LinearLayout>
- <View
- android:layout_width="match_parent"
- android:layout_height="1dp"
- android:background="@color/grey_light"/>
- <LinearLayout
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:padding="16dp"
- android:orientation="horizontal"
- android:background="@color/white">
- <TextView
- android:layout_weight="7"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:text="通过谁说号找到我"/>
- <Switch
- android:id="@+id/settings_privacy_layout_find_by_sheishuo_switch"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content" />
- </LinearLayout>
- <View
- android:layout_width="match_parent"
- android:layout_height="1dp"
- android:background="@color/grey_light"/>
- <LinearLayout
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:padding="16dp"
- android:orientation="horizontal"
- android:background="@color/white">
- <TextView
- android:layout_weight="7"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:text="通过用户名找到我"/>
- <Switch
- android:id="@+id/settings_privacy_layout_find_by_username_switch"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content" />
- </LinearLayout>
- <View
- android:layout_width="match_parent"
- android:layout_height="1dp"
- android:background="@color/grey_light"/>
- <LinearLayout
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:padding="16dp"
- android:orientation="horizontal"
- android:background="@color/white"
- android:layout_marginTop="8dp">
- <TextView
- android:layout_weight="7"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:text="允许陌生人查看我的10条动态"/>
- <Switch
- android:id="@+id/settings_privacy_layout_public_to_everyone_switch"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content" />
- </LinearLayout>
- <View
- android:layout_width="match_parent"
- android:layout_height="1dp"
- android:background="@color/grey_light"/>
- <LinearLayout
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:padding="16dp"
- android:orientation="horizontal"
- android:background="@color/white"
- android:layout_marginTop="8dp">
- <TextView
- android:layout_weight="7"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:text="特效开关"/>
- <Switch
- android:id="@+id/settings_privacy_layout_effects_switch"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content" />
- </LinearLayout>
- <View
- android:layout_width="match_parent"
- android:layout_height="1dp"
- android:background="@color/grey_light"/>
- <LinearLayout
- android:id="@+id/settings_privacy_layout_blacklist"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:padding="16dp"
- android:orientation="horizontal"
- android:background="@color/white"
- android:gravity="center_vertical">
- <TextView
- android:layout_weight="7"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:text="黑名单"/>
- <ImageView
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:src="@drawable/right_arrow"/>
- </LinearLayout>
- <View
- android:layout_width="match_parent"
- android:layout_height="1dp"
- android:background="@color/grey_light"/>
- </LinearLayout>
|