|
|
@@ -10,155 +10,159 @@
|
|
|
|
|
|
</ScrollView>-->
|
|
|
|
|
|
-<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
+<androidx.core.widget.NestedScrollView xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
android:layout_width="match_parent"
|
|
|
- android:layout_height="match_parent"
|
|
|
- android:orientation="vertical"
|
|
|
- android:paddingTop="@dimen/margin_default"
|
|
|
- android:id="@+id/ll_about">
|
|
|
-
|
|
|
+ android:layout_height="match_parent">
|
|
|
<LinearLayout
|
|
|
- android:layout_width="wrap_content"
|
|
|
+ android:layout_width="match_parent"
|
|
|
android:layout_height="wrap_content"
|
|
|
- android:layout_marginBottom="@dimen/margin_ss"
|
|
|
- android:gravity="center_vertical"
|
|
|
- android:orientation="horizontal"
|
|
|
- android:paddingStart="@dimen/margin_default"
|
|
|
- android:paddingEnd="@dimen/margin_default">
|
|
|
+ android:orientation="vertical"
|
|
|
+ android:paddingTop="@dimen/margin_default"
|
|
|
+ android:id="@+id/ll_about">
|
|
|
|
|
|
- <ImageView
|
|
|
+ <LinearLayout
|
|
|
android:layout_width="wrap_content"
|
|
|
android:layout_height="wrap_content"
|
|
|
- android:src="@drawable/ic_launcher"
|
|
|
- android:tint="@color/black_theme"
|
|
|
- android:visibility="gone"/>
|
|
|
+ android:layout_marginBottom="@dimen/margin_ss"
|
|
|
+ android:gravity="center_vertical"
|
|
|
+ android:orientation="horizontal"
|
|
|
+ android:paddingStart="@dimen/margin_default"
|
|
|
+ android:paddingEnd="@dimen/margin_default">
|
|
|
+
|
|
|
+ <ImageView
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:src="@drawable/ic_launcher"
|
|
|
+ android:tint="@color/black_theme"
|
|
|
+ android:visibility="gone"/>
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/tv_title"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:text="@string/app_name"
|
|
|
+ android:textColor="@color/black_theme"
|
|
|
+ android:textSize="@dimen/text_normal_p"
|
|
|
+ android:textStyle="bold" />
|
|
|
+ </LinearLayout>
|
|
|
+
|
|
|
|
|
|
<TextView
|
|
|
- android:id="@+id/tv_title"
|
|
|
- android:layout_width="wrap_content"
|
|
|
+ android:layout_width="match_parent"
|
|
|
android:layout_height="wrap_content"
|
|
|
- android:text="@string/app_name"
|
|
|
- android:textColor="@color/black_theme"
|
|
|
- android:textSize="@dimen/text_normal_p"
|
|
|
- android:textStyle="bold" />
|
|
|
- </LinearLayout>
|
|
|
+ android:paddingStart="@dimen/margin_default"
|
|
|
+ android:paddingEnd="@dimen/margin_default"
|
|
|
+ android:text="@string/about_attention"
|
|
|
+ android:textColor="@color/red_2"
|
|
|
+ android:textSize="@dimen/text_normal"
|
|
|
+ android:layout_marginTop="@dimen/margin_s"/>
|
|
|
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/tv_desc"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:paddingStart="@dimen/margin_default"
|
|
|
+ android:paddingEnd="@dimen/margin_default"
|
|
|
+ android:text="@string/about_description"
|
|
|
+ android:textColor="@color/black_droid_text"
|
|
|
+ android:textSize="@dimen/text_normal"
|
|
|
+ android:layout_marginTop="@dimen/margin_s"/>
|
|
|
|
|
|
- <TextView
|
|
|
- android:layout_width="match_parent"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:paddingStart="@dimen/margin_default"
|
|
|
- android:paddingEnd="@dimen/margin_default"
|
|
|
- android:text="@string/about_attention"
|
|
|
- android:textColor="@color/red_2"
|
|
|
- android:textSize="@dimen/text_normal"
|
|
|
- android:layout_marginTop="@dimen/margin_s"/>
|
|
|
-
|
|
|
- <TextView
|
|
|
- android:id="@+id/tv_desc"
|
|
|
- android:layout_width="match_parent"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:paddingStart="@dimen/margin_default"
|
|
|
- android:paddingEnd="@dimen/margin_default"
|
|
|
- android:text="@string/about_description"
|
|
|
- android:textColor="@color/black_droid_text"
|
|
|
- android:textSize="@dimen/text_normal"
|
|
|
- android:layout_marginTop="@dimen/margin_s"/>
|
|
|
|
|
|
+ <LinearLayout
|
|
|
+ android:id="@+id/ll_email"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:orientation="horizontal"
|
|
|
+ android:paddingStart="@dimen/margin_default"
|
|
|
+ android:paddingEnd="@dimen/margin_default"
|
|
|
+ android:layout_marginTop="@dimen/margin_s"
|
|
|
+ android:gravity="center_vertical"
|
|
|
+ android:visibility="gone">
|
|
|
+ <TextView
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:text="@string/about_current_account"
|
|
|
+ android:textColor="@color/black_droid_text"
|
|
|
+ android:textSize="@dimen/text_normal" />
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/tv_email"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:textColor="@color/black_droid_text"
|
|
|
+ android:textSize="@dimen/text_normal" />
|
|
|
+ </LinearLayout>
|
|
|
|
|
|
- <LinearLayout
|
|
|
- android:id="@+id/ll_email"
|
|
|
- android:layout_width="match_parent"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:orientation="horizontal"
|
|
|
- android:paddingStart="@dimen/margin_default"
|
|
|
- android:paddingEnd="@dimen/margin_default"
|
|
|
- android:layout_marginTop="@dimen/margin_s"
|
|
|
- android:gravity="center_vertical"
|
|
|
- android:visibility="gone">
|
|
|
<TextView
|
|
|
+ android:id="@+id/tv_active"
|
|
|
android:layout_width="wrap_content"
|
|
|
android:layout_height="wrap_content"
|
|
|
- android:text="@string/about_current_account"
|
|
|
- android:textColor="@color/black_droid_text"
|
|
|
- android:textSize="@dimen/text_normal" />
|
|
|
+ android:layout_marginTop="@dimen/margin_default"
|
|
|
+ android:layout_marginStart="@dimen/margin_default"
|
|
|
+ android:layout_marginEnd="@dimen/margin_default"
|
|
|
+ android:text="@string/about_upgrade_now"
|
|
|
+ android:textColor="@color/green_logo"
|
|
|
+ android:textSize="@dimen/text_normal_s"
|
|
|
+ android:textStyle="bold"
|
|
|
+ android:background="?attr/selectableItemBackground"/>
|
|
|
+
|
|
|
<TextView
|
|
|
- android:id="@+id/tv_email"
|
|
|
+ android:id="@+id/tv_update"
|
|
|
android:layout_width="wrap_content"
|
|
|
android:layout_height="wrap_content"
|
|
|
- android:textColor="@color/black_droid_text"
|
|
|
- android:textSize="@dimen/text_normal" />
|
|
|
- </LinearLayout>
|
|
|
+ android:layout_marginStart="@dimen/margin_default"
|
|
|
+ android:layout_marginEnd="@dimen/margin_default"
|
|
|
+ android:layout_marginTop="@dimen/margin_default"
|
|
|
+ android:text="@string/about_check_new"
|
|
|
+ android:textColor="@color/green_logo"
|
|
|
+ android:textSize="@dimen/text_normal_s"
|
|
|
+ android:textStyle="bold"
|
|
|
+ android:background="?attr/selectableItemBackground"/>
|
|
|
|
|
|
- <TextView
|
|
|
- android:id="@+id/tv_active"
|
|
|
- android:layout_width="wrap_content"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:layout_marginTop="@dimen/margin_default"
|
|
|
- android:layout_marginStart="@dimen/margin_default"
|
|
|
- android:layout_marginEnd="@dimen/margin_default"
|
|
|
- android:text="@string/about_upgrade_now"
|
|
|
- android:textColor="@color/green_logo"
|
|
|
- android:textSize="@dimen/text_normal_s"
|
|
|
- android:textStyle="bold"
|
|
|
- android:background="?attr/selectableItemBackground"/>
|
|
|
-
|
|
|
- <TextView
|
|
|
- android:id="@+id/tv_update"
|
|
|
- android:layout_width="wrap_content"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:layout_marginStart="@dimen/margin_default"
|
|
|
- android:layout_marginEnd="@dimen/margin_default"
|
|
|
- android:layout_marginTop="@dimen/margin_default"
|
|
|
- android:text="@string/about_check_new"
|
|
|
- android:textColor="@color/green_logo"
|
|
|
- android:textSize="@dimen/text_normal_s"
|
|
|
- android:textStyle="bold"
|
|
|
- android:background="?attr/selectableItemBackground"/>
|
|
|
-
|
|
|
- <TextView
|
|
|
- android:id="@+id/tv_feedback"
|
|
|
- android:layout_width="wrap_content"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:layout_marginStart="@dimen/margin_default"
|
|
|
- android:layout_marginEnd="@dimen/margin_default"
|
|
|
- android:layout_marginTop="@dimen/margin_default"
|
|
|
- android:text="@string/about_feedback"
|
|
|
- android:textColor="@color/green_logo"
|
|
|
- android:textSize="@dimen/text_normal_s"
|
|
|
- android:textStyle="bold"
|
|
|
- android:background="?attr/selectableItemBackground"/>
|
|
|
-
|
|
|
-
|
|
|
- <TextView
|
|
|
- android:id="@+id/tv_more"
|
|
|
- android:layout_width="wrap_content"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:layout_marginTop="@dimen/margin_default"
|
|
|
- android:layout_marginStart="@dimen/margin_default"
|
|
|
- android:layout_marginEnd="@dimen/margin_default"
|
|
|
- android:textColor="@color/green_logo"
|
|
|
- android:textSize="@dimen/text_normal_s"
|
|
|
- android:textStyle="bold"
|
|
|
- android:background="?attr/selectableItemBackground"
|
|
|
- android:visibility="gone"/>
|
|
|
-
|
|
|
- <Space
|
|
|
- android:layout_width="wrap_content"
|
|
|
- android:layout_height="0dp"
|
|
|
- android:layout_weight="1"/>
|
|
|
-
|
|
|
- <!--<include layout="@layout/view_divider" />-->
|
|
|
-
|
|
|
- <!--隐私政策、用户协议-->
|
|
|
- <TextView
|
|
|
- android:id="@+id/tv_protocol"
|
|
|
- android:layout_width="match_parent"
|
|
|
- android:layout_height="@dimen/height_sliding_tab"
|
|
|
- android:background="?attr/selectableItemBackground"
|
|
|
- android:gravity="center"
|
|
|
- android:text="@string/about_privacy"
|
|
|
- android:textColor="@color/black_title"
|
|
|
- android:textSize="@dimen/text_s"
|
|
|
- android:visibility="gone"/>
|
|
|
-</LinearLayout>
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/tv_feedback"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginStart="@dimen/margin_default"
|
|
|
+ android:layout_marginEnd="@dimen/margin_default"
|
|
|
+ android:layout_marginTop="@dimen/margin_default"
|
|
|
+ android:text="@string/about_feedback"
|
|
|
+ android:textColor="@color/green_logo"
|
|
|
+ android:textSize="@dimen/text_normal_s"
|
|
|
+ android:textStyle="bold"
|
|
|
+ android:background="?attr/selectableItemBackground"/>
|
|
|
+
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/tv_more"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginTop="@dimen/margin_default"
|
|
|
+ android:layout_marginStart="@dimen/margin_default"
|
|
|
+ android:layout_marginEnd="@dimen/margin_default"
|
|
|
+ android:textColor="@color/green_logo"
|
|
|
+ android:textSize="@dimen/text_normal_s"
|
|
|
+ android:textStyle="bold"
|
|
|
+ android:background="?attr/selectableItemBackground"
|
|
|
+ android:visibility="gone"/>
|
|
|
+
|
|
|
+ <Space
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="0dp"
|
|
|
+ android:layout_weight="1"/>
|
|
|
+
|
|
|
+ <!--<include layout="@layout/view_divider" />-->
|
|
|
+
|
|
|
+ <!--隐私政策、用户协议-->
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/tv_protocol"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="@dimen/height_sliding_tab"
|
|
|
+ android:background="?attr/selectableItemBackground"
|
|
|
+ android:gravity="center"
|
|
|
+ android:text="@string/about_privacy"
|
|
|
+ android:textColor="@color/black_title"
|
|
|
+ android:textSize="@dimen/text_s"
|
|
|
+ android:visibility="gone"/>
|
|
|
+ </LinearLayout>
|
|
|
+</androidx.core.widget.NestedScrollView>
|