Files
babelive_and/app/src/main/res/layout/fragment_game_userinfo.xml
2026-02-06 14:55:21 +08:00

113 lines
4.4 KiB
XML
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
<?xml version="1.0" encoding="utf-8"?>
<layout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools">
<data>
<variable
name="model"
type="com.xyz.babelive.viewModel.home.MainViewModel" />
</data>
<androidx.appcompat.widget.LinearLayoutCompat
android:id="@+id/main_content"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="@color/default_bg"
android:orientation="vertical">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:padding="@dimen/dp10"
android:background="@color/main_color"
android:orientation="horizontal">
<com.xyz.babelive.ui.view.CircleImageView
android:layout_width="56dp"
android:layout_height="56dp"
android:id="@+id/user_iv"
android:src="@mipmap/player_img"
app:es_shape_type="round"/>
<RelativeLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginStart="10dp"
android:orientation="vertical">
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:lines="1"
android:ellipsize="end"
android:id="@+id/name_tv"
android:gravity="center_vertical"
android:textColor="@color/body_txt_color"
android:textSize="18sp"
/>
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:textColor="@color/des_txt_color"
android:layout_below="@id/name_tv"
android:id="@+id/fubiaoti_tv"
android:textSize="14sp"
/>
<TextView
android:id="@+id/follow_tv"
android:layout_width="wrap_content"
android:layout_height="26dp"
android:layout_alignParentEnd="true"
android:background="@drawable/card_bord_org_bg"
android:gravity="center_vertical"
android:paddingStart="10dp"
android:paddingEnd="@dimen/dp10"
android:text="@string/follow"
android:textColor="@color/text_true_color"
android:textSize="12sp" />
</RelativeLayout>
</LinearLayout>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="@color/main_color"
android:orientation="vertical"
android:layout_marginTop="@dimen/dp10">
<TextView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:padding="10dp"
android:textStyle="bold"
android:id="@+id/biaoti_tv"
android:textColor="@color/body_txt_color"
android:textSize="16sp"
/>
<View
android:layout_width="match_parent"
android:layout_height="@dimen/dp1"
android:background="@color/line_color"/>
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="Notice"
android:layout_margin="@dimen/dp10"
android:textColor="@color/body_txt_color"
android:textSize="14sp"
/>
<TextView
android:layout_width="match_parent"
android:layout_height="match_parent"
android:padding="@dimen/dp10"
android:id="@+id/des_tv"
android:lineSpacingExtra="@dimen/dp2"
android:textColor="@color/des_txt_color"
android:textSize="14sp"
/>
</LinearLayout>
</androidx.appcompat.widget.LinearLayoutCompat>
</layout>