2020-04-05 13:15:03 +08:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
2020-09-19 21:38:41 +08:00
|
|
|
<androidx.coordinatorlayout.widget.CoordinatorLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
2020-04-05 13:15:03 +08:00
|
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
|
|
|
xmlns:tools="http://schemas.android.com/tools"
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="match_parent"
|
2022-08-24 15:48:48 +08:00
|
|
|
tools:background="@color/default_color_background"
|
2020-04-05 13:15:03 +08:00
|
|
|
tools:context=".fragments.MyInfoFragment">
|
|
|
|
|
|
2020-09-19 21:38:41 +08:00
|
|
|
<com.huanchengfly.tieba.post.widgets.theme.TintSwipeRefreshLayout
|
|
|
|
|
android:id="@+id/my_refresh"
|
2020-04-05 13:15:03 +08:00
|
|
|
android:layout_width="match_parent"
|
2021-08-19 17:05:17 +08:00
|
|
|
android:layout_height="match_parent"
|
|
|
|
|
app:layout_behavior="@string/appbar_scrolling_view_behavior">
|
2020-04-05 13:15:03 +08:00
|
|
|
|
2020-09-19 21:38:41 +08:00
|
|
|
<androidx.core.widget.NestedScrollView
|
2020-04-05 13:15:03 +08:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="match_parent">
|
2020-09-19 21:38:41 +08:00
|
|
|
|
|
|
|
|
<LinearLayout
|
2020-04-05 13:15:03 +08:00
|
|
|
android:layout_width="match_parent"
|
2021-08-19 17:05:17 +08:00
|
|
|
android:layout_height="match_parent"
|
|
|
|
|
android:orientation="vertical">
|
2020-04-05 13:15:03 +08:00
|
|
|
|
2020-09-19 21:38:41 +08:00
|
|
|
<com.huanchengfly.tieba.post.widgets.theme.TintLinearLayout
|
2020-04-05 13:15:03 +08:00
|
|
|
android:layout_width="match_parent"
|
2020-09-19 21:38:41 +08:00
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_margin="@dimen/card_margin"
|
2021-08-19 17:05:17 +08:00
|
|
|
android:orientation="vertical"
|
|
|
|
|
android:paddingTop="16dp">
|
2020-04-05 13:15:03 +08:00
|
|
|
|
2020-09-19 21:38:41 +08:00
|
|
|
<com.huanchengfly.tieba.post.widgets.theme.TintRelativeLayout
|
2020-04-05 13:15:03 +08:00
|
|
|
android:id="@+id/my_info"
|
2021-08-19 17:05:17 +08:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:background="?selectableItemBackground"
|
2020-11-06 19:42:09 +08:00
|
|
|
android:paddingStart="16dp"
|
2021-08-19 17:05:17 +08:00
|
|
|
android:paddingTop="8dp"
|
2020-11-06 19:42:09 +08:00
|
|
|
android:paddingEnd="16dp"
|
2021-08-19 17:05:17 +08:00
|
|
|
android:paddingBottom="8dp">
|
2020-04-05 13:15:03 +08:00
|
|
|
|
|
|
|
|
<ImageView
|
|
|
|
|
android:id="@+id/my_info_avatar"
|
2020-11-14 15:52:12 +08:00
|
|
|
android:layout_width="@dimen/size_avatar_large"
|
|
|
|
|
android:layout_height="@dimen/size_avatar_large"
|
|
|
|
|
android:layout_alignParentStart="true"
|
2020-04-05 13:15:03 +08:00
|
|
|
android:layout_centerVertical="true"
|
|
|
|
|
android:contentDescription="@string/content_avatar"
|
|
|
|
|
android:scaleType="centerInside"
|
|
|
|
|
tools:srcCompat="@tools:sample/avatars" />
|
|
|
|
|
|
|
|
|
|
<RelativeLayout
|
2020-11-06 19:42:09 +08:00
|
|
|
android:id="@+id/my_info_user"
|
2020-04-05 13:15:03 +08:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_centerVertical="true"
|
2021-08-19 17:05:17 +08:00
|
|
|
android:layout_marginStart="16dp"
|
2022-08-02 11:03:42 +08:00
|
|
|
android:layout_toEndOf="@id/my_info_avatar">
|
2020-04-05 13:15:03 +08:00
|
|
|
|
2020-08-15 22:05:07 +08:00
|
|
|
<com.huanchengfly.tieba.post.widgets.theme.TintTextView
|
2020-04-05 13:15:03 +08:00
|
|
|
android:id="@+id/my_info_username"
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content"
|
2020-11-14 15:52:12 +08:00
|
|
|
android:textSize="22sp"
|
2020-11-06 19:42:09 +08:00
|
|
|
android:textStyle="bold"
|
2021-08-19 17:05:17 +08:00
|
|
|
app:tint="@color/default_color_text"
|
|
|
|
|
tools:text="Title"
|
|
|
|
|
tools:textColor="@color/default_color_text" />
|
2020-04-05 13:15:03 +08:00
|
|
|
|
2020-08-15 22:05:07 +08:00
|
|
|
<com.huanchengfly.tieba.post.widgets.theme.TintTextView
|
2020-04-05 13:15:03 +08:00
|
|
|
android:id="@+id/my_info_content"
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_below="@id/my_info_username"
|
2020-11-06 19:42:09 +08:00
|
|
|
android:layout_marginTop="4dp"
|
|
|
|
|
android:textSize="14sp"
|
2021-08-19 17:05:17 +08:00
|
|
|
app:tint="@color/default_color_text_secondary"
|
2020-11-06 19:42:09 +08:00
|
|
|
tools:text="Content"
|
2021-08-19 17:05:17 +08:00
|
|
|
tools:textColor="@color/default_color_text_secondary" />
|
2020-04-05 13:15:03 +08:00
|
|
|
</RelativeLayout>
|
|
|
|
|
|
2020-09-19 21:38:41 +08:00
|
|
|
</com.huanchengfly.tieba.post.widgets.theme.TintRelativeLayout>
|
2020-04-05 13:15:03 +08:00
|
|
|
|
2020-10-05 20:12:28 +08:00
|
|
|
<LinearLayout
|
2020-04-05 13:15:03 +08:00
|
|
|
android:layout_width="match_parent"
|
2020-10-05 20:12:28 +08:00
|
|
|
android:layout_height="wrap_content"
|
2021-08-19 17:05:17 +08:00
|
|
|
android:layout_marginTop="8dp"
|
2020-10-05 20:12:28 +08:00
|
|
|
android:orientation="horizontal">
|
|
|
|
|
|
2020-11-06 19:42:09 +08:00
|
|
|
<RelativeLayout
|
2021-08-19 17:05:17 +08:00
|
|
|
android:layout_width="0dp"
|
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
|
android:layout_weight="1"
|
2020-10-05 20:12:28 +08:00
|
|
|
android:background="@drawable/bg_ripple"
|
2020-11-06 19:42:09 +08:00
|
|
|
android:backgroundTint="@color/transparent"
|
2020-10-05 20:12:28 +08:00
|
|
|
android:orientation="vertical"
|
2021-08-19 17:05:17 +08:00
|
|
|
android:paddingTop="8dp"
|
|
|
|
|
android:paddingBottom="8dp">
|
2020-10-05 20:12:28 +08:00
|
|
|
|
|
|
|
|
<com.huanchengfly.tieba.post.widgets.theme.TintTextView
|
2021-08-19 17:05:17 +08:00
|
|
|
android:id="@+id/my_info_grid_follows"
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content"
|
2020-11-06 19:42:09 +08:00
|
|
|
android:layout_centerHorizontal="true"
|
2020-10-05 20:12:28 +08:00
|
|
|
android:textSize="@dimen/stat_text_size"
|
2021-08-19 17:05:17 +08:00
|
|
|
android:textStyle="bold"
|
2020-10-05 20:12:28 +08:00
|
|
|
app:tint="@color/default_color_text"
|
2021-08-19 17:05:17 +08:00
|
|
|
tools:text="999" />
|
2020-10-05 20:12:28 +08:00
|
|
|
|
|
|
|
|
<com.huanchengfly.tieba.post.widgets.theme.TintTextView
|
2021-08-19 17:05:17 +08:00
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content"
|
2020-11-06 19:42:09 +08:00
|
|
|
android:layout_below="@id/my_info_grid_follows"
|
2021-08-19 17:05:17 +08:00
|
|
|
android:layout_centerHorizontal="true"
|
|
|
|
|
android:layout_marginTop="8dp"
|
2022-08-06 09:57:17 +08:00
|
|
|
android:text="@string/title_follow_num"
|
2020-10-05 20:12:28 +08:00
|
|
|
android:textSize="14sp"
|
2021-08-19 17:05:17 +08:00
|
|
|
app:tint="@color/default_color_text_secondary" />
|
2020-10-05 20:12:28 +08:00
|
|
|
|
2020-11-06 19:42:09 +08:00
|
|
|
<com.huanchengfly.tieba.post.widgets.theme.TintView
|
2021-08-19 17:05:17 +08:00
|
|
|
android:layout_width="1dp"
|
|
|
|
|
android:layout_height="36dp"
|
2020-11-06 19:42:09 +08:00
|
|
|
android:layout_alignParentEnd="true"
|
2021-08-19 17:05:17 +08:00
|
|
|
android:layout_centerVertical="true"
|
2020-11-06 19:42:09 +08:00
|
|
|
android:layout_marginEnd="-0.5dp"
|
|
|
|
|
android:alpha="0.25"
|
2021-08-19 17:05:17 +08:00
|
|
|
app:backgroundTint="@color/default_color_text_disabled" />
|
2020-11-06 19:42:09 +08:00
|
|
|
</RelativeLayout>
|
|
|
|
|
|
|
|
|
|
<RelativeLayout
|
2020-04-05 13:15:03 +08:00
|
|
|
android:layout_width="0dp"
|
|
|
|
|
android:layout_height="match_parent"
|
2020-10-05 20:12:28 +08:00
|
|
|
android:layout_weight="1"
|
2021-08-19 17:05:17 +08:00
|
|
|
android:background="@drawable/bg_ripple"
|
|
|
|
|
android:backgroundTint="@color/transparent"
|
|
|
|
|
android:orientation="vertical"
|
|
|
|
|
android:paddingTop="8dp"
|
|
|
|
|
android:paddingBottom="8dp">
|
2020-10-05 20:12:28 +08:00
|
|
|
|
|
|
|
|
<com.huanchengfly.tieba.post.widgets.theme.TintTextView
|
|
|
|
|
android:id="@+id/my_info_grid_fans"
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content"
|
2020-11-06 19:42:09 +08:00
|
|
|
android:layout_centerHorizontal="true"
|
2020-10-05 20:12:28 +08:00
|
|
|
android:textSize="@dimen/stat_text_size"
|
|
|
|
|
android:textStyle="bold"
|
|
|
|
|
app:tint="@color/default_color_text"
|
|
|
|
|
tools:text="999" />
|
|
|
|
|
|
|
|
|
|
<com.huanchengfly.tieba.post.widgets.theme.TintTextView
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content"
|
2020-11-06 19:42:09 +08:00
|
|
|
android:layout_below="@id/my_info_grid_fans"
|
2021-08-19 17:05:17 +08:00
|
|
|
android:layout_centerHorizontal="true"
|
2020-10-05 20:12:28 +08:00
|
|
|
android:layout_marginTop="8dp"
|
2022-08-06 09:57:17 +08:00
|
|
|
android:text="@string/title_fans_num"
|
2020-10-05 20:12:28 +08:00
|
|
|
android:textSize="14sp"
|
|
|
|
|
app:tint="@color/default_color_text_secondary" />
|
|
|
|
|
|
2020-11-06 19:42:09 +08:00
|
|
|
<com.huanchengfly.tieba.post.widgets.theme.TintView
|
2021-08-19 17:05:17 +08:00
|
|
|
android:layout_width="1dp"
|
|
|
|
|
android:layout_height="36dp"
|
2020-11-06 19:42:09 +08:00
|
|
|
android:layout_alignParentEnd="true"
|
2021-08-19 17:05:17 +08:00
|
|
|
android:layout_centerVertical="true"
|
2020-11-06 19:42:09 +08:00
|
|
|
android:layout_marginEnd="-0.5dp"
|
|
|
|
|
android:alpha="0.25"
|
2021-08-19 17:05:17 +08:00
|
|
|
app:backgroundTint="@color/default_color_text_disabled" />
|
2020-11-06 19:42:09 +08:00
|
|
|
</RelativeLayout>
|
2020-10-05 20:12:28 +08:00
|
|
|
|
|
|
|
|
<LinearLayout
|
2020-04-05 13:15:03 +08:00
|
|
|
android:layout_width="0dp"
|
|
|
|
|
android:layout_height="match_parent"
|
2020-10-05 20:12:28 +08:00
|
|
|
android:layout_weight="1"
|
|
|
|
|
android:background="@drawable/bg_ripple"
|
2020-11-06 19:42:09 +08:00
|
|
|
android:backgroundTint="@color/transparent"
|
2021-08-19 17:05:17 +08:00
|
|
|
android:orientation="vertical"
|
|
|
|
|
android:paddingTop="8dp"
|
|
|
|
|
android:paddingBottom="8dp">
|
2020-04-05 13:15:03 +08:00
|
|
|
|
2020-10-05 20:12:28 +08:00
|
|
|
<com.huanchengfly.tieba.post.widgets.theme.TintTextView
|
|
|
|
|
android:id="@+id/my_info_grid_threads"
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_gravity="center_horizontal"
|
|
|
|
|
android:textSize="@dimen/stat_text_size"
|
|
|
|
|
android:textStyle="bold"
|
|
|
|
|
app:tint="@color/default_color_text"
|
|
|
|
|
tools:text="999" />
|
|
|
|
|
|
|
|
|
|
<com.huanchengfly.tieba.post.widgets.theme.TintTextView
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_gravity="center_horizontal"
|
|
|
|
|
android:layout_marginTop="8dp"
|
2022-08-06 09:57:17 +08:00
|
|
|
android:text="@string/title_posts_num"
|
2020-10-05 20:12:28 +08:00
|
|
|
android:textSize="14sp"
|
|
|
|
|
app:tint="@color/default_color_text_secondary" />
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
</LinearLayout>
|
2020-09-19 21:38:41 +08:00
|
|
|
</com.huanchengfly.tieba.post.widgets.theme.TintLinearLayout>
|
|
|
|
|
|
2022-08-24 15:48:48 +08:00
|
|
|
<com.huanchengfly.tieba.post.widgets.theme.TintLinearLayout
|
|
|
|
|
android:id="@+id/my_info_block_tip"
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_marginStart="@dimen/card_margin"
|
|
|
|
|
android:layout_marginEnd="@dimen/card_margin"
|
|
|
|
|
android:layout_marginBottom="@dimen/card_margin"
|
|
|
|
|
android:background="@drawable/bg_radius_10dp_ripple"
|
|
|
|
|
android:gravity="center_vertical"
|
|
|
|
|
android:orientation="horizontal"
|
|
|
|
|
android:padding="16dp"
|
|
|
|
|
android:paddingStart="24dp"
|
|
|
|
|
android:paddingEnd="24dp"
|
|
|
|
|
app:backgroundTint="@color/red">
|
|
|
|
|
|
|
|
|
|
<com.huanchengfly.tieba.post.widgets.theme.TintImageView
|
|
|
|
|
android:layout_width="16dp"
|
|
|
|
|
android:layout_height="16dp"
|
|
|
|
|
android:layout_marginEnd="16dp"
|
|
|
|
|
app:srcCompat="@drawable/ic_round_warning"
|
|
|
|
|
app:tint="@color/default_color_background" />
|
|
|
|
|
|
|
|
|
|
<com.huanchengfly.tieba.post.widgets.theme.TintTextView
|
|
|
|
|
android:id="@+id/my_info_block_tip_text"
|
|
|
|
|
android:layout_width="0dp"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_weight="1"
|
|
|
|
|
android:textSize="14sp"
|
|
|
|
|
android:textStyle="bold"
|
|
|
|
|
app:tint="@color/default_color_background"
|
|
|
|
|
tools:text="@string/title_account_blocked_forever" />
|
|
|
|
|
|
|
|
|
|
<com.huanchengfly.tieba.post.widgets.theme.TintImageView
|
|
|
|
|
android:layout_width="16dp"
|
|
|
|
|
android:layout_height="16dp"
|
|
|
|
|
android:layout_marginStart="16dp"
|
|
|
|
|
android:alpha="0.7"
|
|
|
|
|
app:srcCompat="@drawable/ic_round_help_green"
|
|
|
|
|
app:tint="@color/default_color_background" />
|
|
|
|
|
</com.huanchengfly.tieba.post.widgets.theme.TintLinearLayout>
|
2020-10-01 10:32:39 +08:00
|
|
|
<LinearLayout
|
2021-08-19 17:05:17 +08:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
2020-09-19 21:38:41 +08:00
|
|
|
android:layout_marginStart="@dimen/card_margin"
|
|
|
|
|
android:layout_marginEnd="@dimen/card_margin"
|
|
|
|
|
android:layout_marginBottom="@dimen/card_margin"
|
|
|
|
|
android:orientation="vertical">
|
|
|
|
|
|
2020-10-01 10:32:39 +08:00
|
|
|
<com.huanchengfly.tieba.post.widgets.theme.TintLinearLayout
|
2020-09-19 21:38:41 +08:00
|
|
|
android:id="@+id/my_info_collect"
|
2021-08-19 17:05:17 +08:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
2020-10-01 10:32:39 +08:00
|
|
|
android:background="@drawable/bg_top_radius_10dp_ripple"
|
2021-08-19 17:05:17 +08:00
|
|
|
android:orientation="horizontal"
|
2020-09-19 21:38:41 +08:00
|
|
|
android:paddingStart="24dp"
|
|
|
|
|
android:paddingTop="16dp"
|
2021-08-19 17:05:17 +08:00
|
|
|
android:paddingEnd="24dp"
|
2020-09-19 21:38:41 +08:00
|
|
|
android:paddingBottom="16dp"
|
2021-08-19 17:05:17 +08:00
|
|
|
app:backgroundTint="@color/default_color_card">
|
2020-09-19 21:38:41 +08:00
|
|
|
|
|
|
|
|
<ImageView
|
2021-08-19 17:05:17 +08:00
|
|
|
android:layout_width="28dp"
|
|
|
|
|
android:layout_height="28dp"
|
2020-09-19 21:38:41 +08:00
|
|
|
android:layout_gravity="center_vertical"
|
|
|
|
|
android:layout_marginEnd="16dp"
|
2021-08-19 17:05:17 +08:00
|
|
|
android:src="@drawable/ic_round_star_yellow" />
|
2020-09-19 21:38:41 +08:00
|
|
|
|
|
|
|
|
<com.huanchengfly.tieba.post.widgets.theme.TintTextView
|
2021-08-19 17:05:17 +08:00
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_gravity="center_vertical"
|
2020-09-19 21:38:41 +08:00
|
|
|
android:text="@string/my_info_collect"
|
2020-11-06 19:42:09 +08:00
|
|
|
android:textSize="16sp"
|
2020-09-19 21:38:41 +08:00
|
|
|
android:textStyle="bold"
|
2021-08-19 17:05:17 +08:00
|
|
|
app:tint="@color/default_color_text" />
|
2020-10-01 10:32:39 +08:00
|
|
|
</com.huanchengfly.tieba.post.widgets.theme.TintLinearLayout>
|
2020-09-19 21:38:41 +08:00
|
|
|
|
2020-10-01 10:32:39 +08:00
|
|
|
<com.huanchengfly.tieba.post.widgets.theme.TintLinearLayout
|
2020-09-19 21:38:41 +08:00
|
|
|
android:id="@+id/my_info_history"
|
2021-08-19 17:05:17 +08:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
2020-10-01 10:32:39 +08:00
|
|
|
android:background="@drawable/bg_ripple"
|
2021-08-19 17:05:17 +08:00
|
|
|
android:orientation="horizontal"
|
2020-09-19 21:38:41 +08:00
|
|
|
android:paddingStart="24dp"
|
|
|
|
|
android:paddingTop="16dp"
|
2021-08-19 17:05:17 +08:00
|
|
|
android:paddingEnd="24dp"
|
2020-09-19 21:38:41 +08:00
|
|
|
android:paddingBottom="16dp"
|
2021-08-19 17:05:17 +08:00
|
|
|
app:backgroundTint="@color/default_color_divider">
|
2020-09-19 21:38:41 +08:00
|
|
|
|
|
|
|
|
<ImageView
|
2021-08-19 17:05:17 +08:00
|
|
|
android:layout_width="28dp"
|
|
|
|
|
android:layout_height="28dp"
|
2020-09-19 21:38:41 +08:00
|
|
|
android:layout_gravity="center_vertical"
|
|
|
|
|
android:layout_marginEnd="16dp"
|
2021-08-19 17:05:17 +08:00
|
|
|
android:src="@drawable/ic_round_watch_later_blue" />
|
2020-09-19 21:38:41 +08:00
|
|
|
|
|
|
|
|
<com.huanchengfly.tieba.post.widgets.theme.TintTextView
|
2021-08-19 17:05:17 +08:00
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_gravity="center_vertical"
|
2020-09-19 21:38:41 +08:00
|
|
|
android:text="@string/my_info_history"
|
2020-11-06 19:42:09 +08:00
|
|
|
android:textSize="16sp"
|
2020-09-19 21:38:41 +08:00
|
|
|
android:textStyle="bold"
|
2021-08-19 17:05:17 +08:00
|
|
|
app:tint="@color/default_color_text" />
|
2020-10-01 10:32:39 +08:00
|
|
|
</com.huanchengfly.tieba.post.widgets.theme.TintLinearLayout>
|
2020-09-19 21:38:41 +08:00
|
|
|
|
2020-10-01 10:32:39 +08:00
|
|
|
<com.huanchengfly.tieba.post.widgets.theme.TintLinearLayout
|
2020-09-19 21:38:41 +08:00
|
|
|
android:id="@+id/my_info_theme"
|
2021-08-19 17:05:17 +08:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
2020-10-01 10:32:39 +08:00
|
|
|
android:background="@drawable/bg_ripple"
|
2021-08-19 17:05:17 +08:00
|
|
|
android:orientation="horizontal"
|
2020-09-19 21:38:41 +08:00
|
|
|
android:paddingStart="24dp"
|
|
|
|
|
android:paddingTop="16dp"
|
2021-08-19 17:05:17 +08:00
|
|
|
android:paddingEnd="24dp"
|
2020-09-19 21:38:41 +08:00
|
|
|
android:paddingBottom="16dp"
|
2021-08-19 17:05:17 +08:00
|
|
|
app:backgroundTint="@color/default_color_card">
|
2020-09-19 21:38:41 +08:00
|
|
|
|
|
|
|
|
<ImageView
|
2021-08-19 17:05:17 +08:00
|
|
|
android:layout_width="28dp"
|
|
|
|
|
android:layout_height="28dp"
|
2020-09-19 21:38:41 +08:00
|
|
|
android:layout_gravity="center_vertical"
|
|
|
|
|
android:layout_marginEnd="16dp"
|
2021-08-19 17:05:17 +08:00
|
|
|
android:src="@drawable/ic_round_format_paint_red" />
|
2020-09-19 21:38:41 +08:00
|
|
|
|
|
|
|
|
<com.huanchengfly.tieba.post.widgets.theme.TintTextView
|
2021-08-19 17:05:17 +08:00
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_gravity="center_vertical"
|
2020-09-19 21:38:41 +08:00
|
|
|
android:text="@string/my_info_theme"
|
2020-11-06 19:42:09 +08:00
|
|
|
android:textSize="16sp"
|
2020-09-19 21:38:41 +08:00
|
|
|
android:textStyle="bold"
|
2021-08-19 17:05:17 +08:00
|
|
|
app:tint="@color/default_color_text" />
|
2020-09-19 21:38:41 +08:00
|
|
|
|
|
|
|
|
<View
|
|
|
|
|
android:layout_width="0dp"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_weight="1" />
|
|
|
|
|
|
|
|
|
|
<RelativeLayout
|
|
|
|
|
android:layout_width="wrap_content"
|
2021-08-19 17:05:17 +08:00
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_gravity="center_vertical|end">
|
2020-09-19 21:38:41 +08:00
|
|
|
|
|
|
|
|
<com.huanchengfly.tieba.post.widgets.theme.TintTextView
|
|
|
|
|
android:id="@+id/my_info_night_tv"
|
|
|
|
|
android:layout_width="wrap_content"
|
2021-08-19 17:05:17 +08:00
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_centerVertical="true"
|
|
|
|
|
android:layout_marginEnd="8dp"
|
|
|
|
|
android:gravity="center"
|
|
|
|
|
android:text="@string/my_info_night"
|
|
|
|
|
android:textStyle="bold"
|
|
|
|
|
app:tint="@color/default_color_text_secondary" />
|
2020-09-19 21:38:41 +08:00
|
|
|
|
|
|
|
|
<com.huanchengfly.tieba.post.widgets.theme.TintSwitch
|
|
|
|
|
android:id="@+id/my_info_night_switch"
|
2021-08-19 17:05:17 +08:00
|
|
|
style="@style/Widget.Switch"
|
2020-09-19 21:38:41 +08:00
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_centerVertical="true"
|
2021-08-19 17:05:17 +08:00
|
|
|
android:layout_toEndOf="@id/my_info_night_tv"
|
|
|
|
|
android:minHeight="0dp"
|
|
|
|
|
android:thumb="@drawable/switch_ios_thumb"
|
|
|
|
|
app:switchBackgroundTint="@color/transparent"
|
|
|
|
|
app:thumbTint="@color/white"
|
|
|
|
|
app:track="@drawable/switch_ios_track"
|
|
|
|
|
app:trackTintList="@color/selector_switch_track" />
|
2020-09-19 21:38:41 +08:00
|
|
|
</RelativeLayout>
|
|
|
|
|
|
2020-10-01 10:32:39 +08:00
|
|
|
</com.huanchengfly.tieba.post.widgets.theme.TintLinearLayout>
|
2020-09-19 21:38:41 +08:00
|
|
|
|
2020-10-01 10:32:39 +08:00
|
|
|
<com.huanchengfly.tieba.post.widgets.theme.TintLinearLayout
|
2020-09-19 21:38:41 +08:00
|
|
|
android:id="@+id/my_info_service_center"
|
2021-08-19 17:05:17 +08:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
2020-10-01 10:32:39 +08:00
|
|
|
android:background="@drawable/bg_bottom_radius_10dp_ripple"
|
2021-08-19 17:05:17 +08:00
|
|
|
android:orientation="horizontal"
|
2020-09-19 21:38:41 +08:00
|
|
|
android:paddingStart="24dp"
|
|
|
|
|
android:paddingTop="16dp"
|
2021-08-19 17:05:17 +08:00
|
|
|
android:paddingEnd="24dp"
|
2020-09-19 21:38:41 +08:00
|
|
|
android:paddingBottom="16dp"
|
2021-08-19 17:05:17 +08:00
|
|
|
app:backgroundTint="@color/default_color_divider">
|
2020-09-19 21:38:41 +08:00
|
|
|
|
|
|
|
|
<ImageView
|
2021-08-19 17:05:17 +08:00
|
|
|
android:layout_width="28dp"
|
|
|
|
|
android:layout_height="28dp"
|
2020-09-19 21:38:41 +08:00
|
|
|
android:layout_gravity="center_vertical"
|
|
|
|
|
android:layout_marginEnd="16dp"
|
2021-08-19 17:05:17 +08:00
|
|
|
android:src="@drawable/ic_round_help_green" />
|
2020-09-19 21:38:41 +08:00
|
|
|
|
|
|
|
|
<com.huanchengfly.tieba.post.widgets.theme.TintTextView
|
2021-08-19 17:05:17 +08:00
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_gravity="center_vertical"
|
2020-09-19 21:38:41 +08:00
|
|
|
android:text="@string/my_info_service_center"
|
2020-11-06 19:42:09 +08:00
|
|
|
android:textSize="16sp"
|
2020-09-19 21:38:41 +08:00
|
|
|
android:textStyle="bold"
|
2021-08-19 17:05:17 +08:00
|
|
|
app:tint="@color/default_color_text" />
|
2020-10-01 10:32:39 +08:00
|
|
|
</com.huanchengfly.tieba.post.widgets.theme.TintLinearLayout>
|
|
|
|
|
</LinearLayout>
|
2020-09-19 21:38:41 +08:00
|
|
|
|
2020-10-01 10:32:39 +08:00
|
|
|
<LinearLayout
|
2021-08-19 17:05:17 +08:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
2020-09-19 21:38:41 +08:00
|
|
|
android:layout_marginStart="@dimen/card_margin"
|
|
|
|
|
android:layout_marginEnd="@dimen/card_margin"
|
|
|
|
|
android:layout_marginBottom="@dimen/card_margin"
|
|
|
|
|
android:orientation="vertical">
|
|
|
|
|
|
2020-10-01 10:32:39 +08:00
|
|
|
<com.huanchengfly.tieba.post.widgets.theme.TintLinearLayout
|
2020-09-19 21:38:41 +08:00
|
|
|
android:id="@+id/my_info_settings"
|
2021-08-19 17:05:17 +08:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
2020-10-01 10:32:39 +08:00
|
|
|
android:background="@drawable/bg_top_radius_10dp_ripple"
|
2021-08-19 17:05:17 +08:00
|
|
|
android:orientation="horizontal"
|
2020-09-19 21:38:41 +08:00
|
|
|
android:paddingStart="24dp"
|
|
|
|
|
android:paddingTop="16dp"
|
2021-08-19 17:05:17 +08:00
|
|
|
android:paddingEnd="24dp"
|
2020-09-19 21:38:41 +08:00
|
|
|
android:paddingBottom="16dp"
|
2021-08-19 17:05:17 +08:00
|
|
|
app:backgroundTint="@color/default_color_card">
|
2020-09-19 21:38:41 +08:00
|
|
|
|
|
|
|
|
<ImageView
|
2021-08-19 17:05:17 +08:00
|
|
|
android:layout_width="28dp"
|
|
|
|
|
android:layout_height="28dp"
|
2020-09-19 21:38:41 +08:00
|
|
|
android:layout_gravity="center_vertical"
|
|
|
|
|
android:layout_marginEnd="16dp"
|
2021-08-19 17:05:17 +08:00
|
|
|
android:src="@drawable/ic_round_settings_grey" />
|
2020-09-19 21:38:41 +08:00
|
|
|
|
|
|
|
|
<com.huanchengfly.tieba.post.widgets.theme.TintTextView
|
2021-08-19 17:05:17 +08:00
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_gravity="center_vertical"
|
2020-09-19 21:38:41 +08:00
|
|
|
android:text="@string/my_info_settings"
|
2020-11-06 19:42:09 +08:00
|
|
|
android:textSize="16sp"
|
2020-09-19 21:38:41 +08:00
|
|
|
android:textStyle="bold"
|
2021-08-19 17:05:17 +08:00
|
|
|
app:tint="@color/default_color_text" />
|
2020-10-01 10:32:39 +08:00
|
|
|
</com.huanchengfly.tieba.post.widgets.theme.TintLinearLayout>
|
2020-09-19 21:38:41 +08:00
|
|
|
|
2020-10-01 10:32:39 +08:00
|
|
|
<com.huanchengfly.tieba.post.widgets.theme.TintLinearLayout
|
2020-09-19 21:38:41 +08:00
|
|
|
android:id="@+id/my_info_about"
|
2021-08-19 17:05:17 +08:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
2020-10-01 10:32:39 +08:00
|
|
|
android:background="@drawable/bg_bottom_radius_10dp_ripple"
|
2021-08-19 17:05:17 +08:00
|
|
|
android:orientation="horizontal"
|
2020-09-19 21:38:41 +08:00
|
|
|
android:paddingStart="24dp"
|
|
|
|
|
android:paddingTop="16dp"
|
2021-08-19 17:05:17 +08:00
|
|
|
android:paddingEnd="24dp"
|
2020-09-19 21:38:41 +08:00
|
|
|
android:paddingBottom="16dp"
|
2021-08-19 17:05:17 +08:00
|
|
|
app:backgroundTint="@color/default_color_divider">
|
2020-09-19 21:38:41 +08:00
|
|
|
|
2020-09-19 21:41:55 +08:00
|
|
|
<androidx.appcompat.widget.AppCompatImageView
|
2021-08-19 17:05:17 +08:00
|
|
|
android:layout_width="28dp"
|
|
|
|
|
android:layout_height="28dp"
|
2020-09-19 21:38:41 +08:00
|
|
|
android:layout_gravity="center_vertical"
|
|
|
|
|
android:layout_marginEnd="16dp"
|
2021-08-19 17:05:17 +08:00
|
|
|
app:srcCompat="@drawable/ic_round_info"
|
|
|
|
|
app:tint="#3CA7F1" />
|
2020-09-19 21:38:41 +08:00
|
|
|
|
|
|
|
|
<com.huanchengfly.tieba.post.widgets.theme.TintTextView
|
2021-08-19 17:05:17 +08:00
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_gravity="center_vertical"
|
2020-09-19 21:38:41 +08:00
|
|
|
android:text="@string/my_info_about"
|
2020-11-06 19:42:09 +08:00
|
|
|
android:textSize="16sp"
|
2020-09-19 21:38:41 +08:00
|
|
|
android:textStyle="bold"
|
2021-08-19 17:05:17 +08:00
|
|
|
app:tint="@color/default_color_text" />
|
2020-10-01 10:32:39 +08:00
|
|
|
</com.huanchengfly.tieba.post.widgets.theme.TintLinearLayout>
|
|
|
|
|
</LinearLayout>
|
2020-09-19 21:38:41 +08:00
|
|
|
</LinearLayout>
|
|
|
|
|
</androidx.core.widget.NestedScrollView>
|
|
|
|
|
</com.huanchengfly.tieba.post.widgets.theme.TintSwipeRefreshLayout>
|
|
|
|
|
</androidx.coordinatorlayout.widget.CoordinatorLayout>
|