pandorapan/live/src/main/res/layout/dialog_trickery.xml

225 lines
8.9 KiB
XML
Raw Normal View History

2022-07-18 15:31:45 +08:00
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="240dp"
android:layout_height="285dp">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_marginTop="30dp"
android:background="@drawable/bg_ef51bf_line_ffeff2"
android:gravity="center_horizontal"
android:orientation="vertical">
<LinearLayout
android:id="@+id/lt_trickster"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_weight="1"
android:orientation="vertical"
android:visibility="gone">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="60dp"
android:layout_marginLeft="12dp"
android:layout_marginTop="48dp"
android:layout_marginRight="12dp"
android:background="@drawable/bg_purple_9133ff"
android:orientation="vertical">
<TextView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginLeft="9dp"
android:layout_marginTop="9dp"
android:layout_marginRight="9dp"
android:gravity="center"
android:text="@string/trickster_initiator"
android:textColor="@color/glue_00ffea"
android:textSize="15sp"
android:textStyle="bold" />
<TextView
android:id="@+id/tv_trickster_initiator"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginLeft="9dp"
android:layout_marginTop="3dp"
android:layout_marginRight="9dp"
android:gravity="center"
android:hint="你的名字"
android:textColor="@color/white"
android:textColorHint="@color/white"
android:textSize="13sp" />
</LinearLayout>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="60dp"
android:layout_marginLeft="12dp"
android:layout_marginTop="12dp"
android:layout_marginRight="12dp"
android:background="@drawable/bg_purple_9133ff"
android:orientation="vertical">
<TextView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginLeft="9dp"
android:layout_marginTop="9dp"
android:layout_marginRight="9dp"
android:gravity="center"
android:text="@string/trickster_content"
android:textColor="@color/glue_00ffea"
android:textSize="15sp"
android:textStyle="bold" />
<TextView
android:id="@+id/tv_trickster_content"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginLeft="9dp"
android:layout_marginTop="3dp"
android:layout_marginRight="9dp"
android:gravity="center"
android:hint="内容"
android:textColor="@color/white"
android:textColorHint="@color/white"
android:textSize="13sp" />
</LinearLayout>
</LinearLayout>
<LinearLayout
android:id="@+id/lt_trickster_suc"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_weight="1"
android:gravity="center_horizontal"
android:orientation="vertical"
android:visibility="visible">
<TextView
android:id="@+id/tv_username"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="48dp"
android:text="用户名称"
android:textColor="@color/glue_00ffea"
android:textSize="16sp"
android:textStyle="bold" />
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="3dp"
android:text="拯救了"
android:textColor="@color/white"
android:textSize="14sp" />
<TextView
android:id="@+id/tv_anchorname"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="3dp"
android:text="主播名称"
android:textColor="@color/glue_00ffea"
android:textSize="16sp"
android:textStyle="bold" />
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="3dp"
android:text="免除了本次整蛊"
android:textColor="@color/white"
android:textSize="14sp" />
<TextView
android:id="@+id/tv_trickster_name"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="6dp"
android:text="整蛊名称"
android:textColor="@color/yellow_f6ff00"
android:textSize="16sp"
android:textStyle="bold" />
</LinearLayout>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="42dp"
android:layout_marginLeft="12dp"
android:layout_marginRight="12dp"
android:layout_marginBottom="18dp"
android:background="@drawable/background_fd36ff"
android:orientation="vertical">
<Button
android:id="@+id/bt_trickster_confirm"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="@color/transparent"
android:text="@string/confirm"
android:textColor="@color/white"
android:textSize="18sp"
android:textStyle="bold"
android:visibility="visible" />
<LinearLayout
android:id="@+id/lt_trickster_salvation"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:gravity="center"
android:orientation="vertical"
android:visibility="gone">
<LinearLayout
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:gravity="center"
android:orientation="horizontal">
<TextView
android:id="@+id/tv_trickery_number_zuanshi"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:hint="消耗4000"
android:textColor="@color/white"
android:textColorHint="@color/white"
android:textSize="15sp"
android:textStyle="bold" />
<View
android:layout_width="15dp"
android:layout_height="12dp"
android:layout_marginLeft="3dp"
android:background="@mipmap/icon_zhuansi" />
</LinearLayout>
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/trickster_exempt"
android:textColor="@color/white"
android:textColorHint="@color/white"
android:textSize="12sp" />
</LinearLayout>
</LinearLayout>
</LinearLayout>
<LinearLayout
android:id="@+id/lt_trickster_top"
android:layout_width="218dp"
android:layout_height="63dp"
android:layout_centerHorizontal="true"
android:background="@mipmap/img_pop_zhengjou"
android:gravity="center"
android:orientation="horizontal">
</LinearLayout>
</RelativeLayout>