<?xml version="1.0" encoding="utf-8"?>
|
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
android:layout_width="match_parent"
|
android:layout_height="match_parent"
|
android:orientation="vertical">
|
|
<ScrollView
|
android:layout_width="match_parent"
|
android:layout_height="match_parent">
|
|
<LinearLayout
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content"
|
android:orientation="vertical">
|
|
<com.ysvideo.zhibo.lib.common.widget.RatioLayout
|
android:id="@+id/rl_top"
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content"
|
app:ratio="0.8">
|
|
<FrameLayout
|
android:layout_width="match_parent"
|
android:layout_height="match_parent">
|
|
<ImageView
|
android:layout_width="match_parent"
|
android:layout_height="match_parent"
|
android:scaleType="centerCrop"
|
android:src="@drawable/ic_mine_top"></ImageView>
|
|
|
<LinearLayout
|
android:layout_width="match_parent"
|
android:layout_height="match_parent"
|
android:orientation="vertical">
|
|
|
<LinearLayout
|
android:id="@+id/ll_top_content"
|
android:layout_width="match_parent"
|
android:layout_height="0dp"
|
android:layout_marginTop="50dp"
|
android:layout_weight="1"
|
android:gravity="center"
|
android:orientation="vertical">
|
|
|
<FrameLayout
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content">
|
|
|
</FrameLayout>
|
|
<LinearLayout
|
android:id="@+id/ll_user_info"
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content"
|
android:gravity="center_vertical"
|
android:paddingLeft="38dp"
|
android:paddingRight="38dp">
|
|
<androidx.cardview.widget.CardView
|
android:layout_width="70dp"
|
android:layout_height="70dp"
|
app:cardCornerRadius="35dp">
|
|
<ImageView
|
android:id="@+id/iv_portrait"
|
android:layout_width="match_parent"
|
android:layout_height="match_parent"
|
android:src="@drawable/ic_portrait_default"></ImageView>
|
|
</androidx.cardview.widget.CardView>
|
|
|
<TextView
|
android:id="@+id/tv_nick_name"
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:layout_marginLeft="24dp"
|
android:ellipsize="end"
|
android:text="立即登录"
|
android:textColor="@color/theme"
|
android:textSize="19sp"></TextView>
|
|
</LinearLayout>
|
</LinearLayout>
|
|
</LinearLayout>
|
|
|
</FrameLayout>
|
|
|
</com.ysvideo.zhibo.lib.common.widget.RatioLayout>
|
|
<LinearLayout
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content"
|
android:layout_marginTop="6dp"
|
android:orientation="vertical"
|
android:padding="12dp">
|
|
<LinearLayout
|
android:id="@+id/ll_about_us"
|
style="@style/mineFunctionItemBgStyle">
|
|
<ImageView
|
android:layout_width="18dp"
|
android:layout_height="wrap_content"
|
android:src="@drawable/icon_mine_function_about_us">
|
|
</ImageView>
|
|
<TextView
|
style="@style/mineFunctionItemTextStyle"
|
android:text="关于我们">
|
|
</TextView>
|
|
|
</LinearLayout>
|
|
<LinearLayout
|
android:id="@+id/ll_kefu"
|
style="@style/mineFunctionItemBgStyle">
|
|
<ImageView
|
android:layout_width="18dp"
|
android:layout_height="wrap_content"
|
android:src="@drawable/icon_mine_function_kefu">
|
|
</ImageView>
|
|
<TextView
|
style="@style/mineFunctionItemTextStyle"
|
android:text="人工客服">
|
|
</TextView>
|
|
|
</LinearLayout>
|
|
<LinearLayout
|
|
android:id="@+id/ll_privacy"
|
style="@style/mineFunctionItemBgStyle">
|
|
<ImageView
|
android:layout_width="18dp"
|
android:layout_height="wrap_content"
|
android:src="@drawable/icon_mine_function_privacy">
|
|
</ImageView>
|
|
<TextView
|
style="@style/mineFunctionItemTextStyle"
|
android:text="隐私政策">
|
|
</TextView>
|
|
|
</LinearLayout>
|
|
|
<LinearLayout
|
android:id="@+id/ll_feed_back"
|
style="@style/mineFunctionItemBgStyle">
|
|
<ImageView
|
android:layout_width="18dp"
|
android:layout_height="wrap_content"
|
android:src="@drawable/icon_mine_function_feedback">
|
|
</ImageView>
|
|
<TextView
|
style="@style/mineFunctionItemTextStyle"
|
android:text="隐私投诉">
|
|
</TextView>
|
|
|
</LinearLayout>
|
|
|
<LinearLayout
|
android:id="@+id/ll_setting"
|
style="@style/mineFunctionItemBgStyle">
|
|
<ImageView
|
android:layout_width="18dp"
|
android:layout_height="wrap_content"
|
android:src="@drawable/icon_mine_function_setting">
|
|
</ImageView>
|
|
<TextView
|
style="@style/mineFunctionItemTextStyle"
|
android:text="设置">
|
|
</TextView>
|
|
|
</LinearLayout>
|
|
|
</LinearLayout>
|
|
</LinearLayout>
|
</ScrollView>
|
|
<TextView
|
android:id="@+id/tv_title"
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content"
|
android:background="@color/mine_top_bg_color"
|
android:gravity="center"
|
android:padding="14dp"
|
android:text="我的"
|
android:textColor="@color/white"
|
android:textSize="22sp"></TextView>
|
|
</FrameLayout>
|