| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178 |
- <?xml version="1.0" encoding="utf-8"?><!--启用深色模式之后,需要使用fitsSystemWindows来不让布局上滑-->
- <!--阴影效果android:background="?android:attr/listDivider"-->
- <!--<ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:background="@color/colorPrimary"
- android:orientation="vertical">
- </ScrollView>-->
- <androidx.core.widget.NestedScrollView xmlns:android="http://schemas.android.com/apk/res/android"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:background="@color/white_bg">
- <LinearLayout
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:orientation="vertical"
- android:paddingTop="@dimen/margin_default"
- android:id="@+id/ll_about">
- <LinearLayout
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_marginBottom="@dimen/margin_s"
- 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>
- <LinearLayout
- android:id="@+id/ll_desc"
- 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:paddingStart="@dimen/margin_default"
- android:paddingEnd="@dimen/margin_default"
- android:text="@string/about_attention"
- android:textColor="@color/red_droid"
- 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>
- <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>
- <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: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: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:background="?attr/selectableItemBackground"/>
- <TextView
- android:id="@+id/tv_coupon"
- 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_coupon"
- android:textColor="@color/green_logo"
- android:background="?attr/selectableItemBackground"
- android:visibility="gone"/>
- <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: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>
|