直播间UI调整
This commit is contained in:
@@ -175,11 +175,11 @@
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_alignParentRight="true"
|
||||
android:layout_marginEnd="25dp"
|
||||
android:layout_gravity="center"
|
||||
android:layout_marginTop="25dp"
|
||||
android:layout_marginEnd="25dp"
|
||||
android:paddingLeft="13dp"
|
||||
android:text="主播"
|
||||
android:layout_marginTop="25dp"
|
||||
android:textColor="@color/white"
|
||||
android:textSize="10sp" />
|
||||
|
||||
|
||||
@@ -355,6 +355,7 @@
|
||||
android:id="@+id/wish_list_layout"
|
||||
android:layout_width="80dp"
|
||||
android:layout_height="21dp"
|
||||
|
||||
android:layout_alignTop="@id/hour_rank_layout"
|
||||
android:layout_marginStart="10dp"
|
||||
android:layout_toRightOf="@id/live_wks_layout"
|
||||
@@ -363,7 +364,7 @@
|
||||
android:orientation="horizontal"
|
||||
android:paddingStart="5dp"
|
||||
android:paddingEnd="5dp"
|
||||
android:visibility="visible">
|
||||
android:visibility="gone">
|
||||
|
||||
<ImageView
|
||||
android:layout_width="14dp"
|
||||
@@ -381,6 +382,18 @@
|
||||
android:outAnimation="@anim/anim_marquee_out" />
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/noble_seat"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_alignTop="@id/hour_rank_layout"
|
||||
android:layout_marginStart="10dp"
|
||||
android:visibility="visible"
|
||||
android:layout_toEndOf="@id/live_wks_layout">
|
||||
|
||||
<include layout="@layout/view_noble_seat" />
|
||||
</LinearLayout>
|
||||
<!--粉丝团-->
|
||||
<LinearLayout
|
||||
android:id="@+id/fans_btn"
|
||||
@@ -667,8 +680,8 @@
|
||||
android:layout_height="48dp"
|
||||
android:layout_alignParentEnd="true"
|
||||
android:layout_marginEnd="0dp"
|
||||
android:visibility="gone"
|
||||
android:background="@drawable/bg_live_room_msg">
|
||||
android:background="@drawable/bg_live_room_msg"
|
||||
android:visibility="gone">
|
||||
|
||||
<androidx.constraintlayout.widget.ConstraintLayout
|
||||
android:id="@+id/room_msg_user"
|
||||
@@ -2125,7 +2138,7 @@
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:visibility="visible"
|
||||
android:layout_height="30dp"></LinearLayout>
|
||||
android:layout_height="30dp"
|
||||
android:visibility="visible"></LinearLayout>
|
||||
</LinearLayout>
|
||||
</RelativeLayout>
|
||||
36
live/src/main/res/layout/view_noble_seat.xml
Normal file
36
live/src/main/res/layout/view_noble_seat.xml
Normal file
@@ -0,0 +1,36 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="vertical"
|
||||
tools:ignore="MissingDefaultResource">
|
||||
<LinearLayout
|
||||
android:id="@+id/wish_list_layout"
|
||||
android:layout_width="80dp"
|
||||
android:layout_height="21dp"
|
||||
android:background="@drawable/bg_live_item"
|
||||
android:gravity="center_vertical"
|
||||
android:orientation="horizontal"
|
||||
android:paddingStart="5dp"
|
||||
android:paddingEnd="5dp"
|
||||
android:visibility="visible">
|
||||
|
||||
<ImageView
|
||||
android:layout_width="14dp"
|
||||
android:layout_height="14dp"
|
||||
android:src="@mipmap/live_icon_seat" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/wish_list"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="20dp"
|
||||
android:layout_marginStart="6dp"
|
||||
android:layout_marginEnd="6dp"
|
||||
android:gravity="center"
|
||||
android:textColor="#FFFFFF"
|
||||
android:text="@string/noble_seat"
|
||||
android:textSize="10sp" />
|
||||
|
||||
</LinearLayout>
|
||||
</LinearLayout>
|
||||
BIN
live/src/main/res/mipmap-xxxhdpi/live_icon_seat.png
Normal file
BIN
live/src/main/res/mipmap-xxxhdpi/live_icon_seat.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 3.3 KiB |
@@ -24,4 +24,5 @@
|
||||
<string name="fingers_slide" translatable="false">手指上滑,取消發送</string>
|
||||
<string name="release_cancel_send" translatable="false">松開取消發送</string>
|
||||
<string name="more_than" translatable="false">已超过10秒未识别到录音</string>
|
||||
<string name="noble_seat" translatable="false">貴族坐席</string>
|
||||
</resources>
|
||||
|
||||
Reference in New Issue
Block a user