私聊页面添加直播飞机票
This commit is contained in:
52
common/src/main/res/layout/view_recommend_live_room.xml
Normal file
52
common/src/main/res/layout/view_recommend_live_room.xml
Normal file
@@ -0,0 +1,52 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<androidx.cardview.widget.CardView xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||
android:layout_width="166.67dp"
|
||||
android:layout_height="166.67dp"
|
||||
app:cardBackgroundColor="@color/white"
|
||||
app:cardCornerRadius="7.68dp">
|
||||
|
||||
<RelativeLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent">
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/live_bg"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:scaleType="centerCrop" />
|
||||
|
||||
<ImageView
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_alignParentBottom="true"
|
||||
android:background="@mipmap/bg_main_item_bottom" />
|
||||
|
||||
<ImageView
|
||||
android:layout_width="70dp"
|
||||
android:layout_height="21.33dp"
|
||||
android:layout_marginTop="7dp"
|
||||
android:src="@mipmap/tab_recommend" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/host_name"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_alignParentBottom="true"
|
||||
android:layout_marginStart="12.67dp"
|
||||
android:layout_marginBottom="13.33dp"
|
||||
android:textColor="@color/white"
|
||||
android:textSize="10sp"
|
||||
android:textStyle="bold" />
|
||||
|
||||
<ImageView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_alignParentEnd="true"
|
||||
android:layout_alignParentBottom="true"
|
||||
android:layout_marginEnd="7.33dp"
|
||||
android:layout_marginBottom="10.67dp"
|
||||
android:src="@mipmap/btn_golive" />
|
||||
</RelativeLayout>
|
||||
|
||||
</androidx.cardview.widget.CardView>
|
||||
BIN
common/src/main/res/mipmap-xxhdpi/btn_golive.png
Normal file
BIN
common/src/main/res/mipmap-xxhdpi/btn_golive.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 8.6 KiB |
BIN
common/src/main/res/mipmap-xxhdpi/tab_recommend.png
Normal file
BIN
common/src/main/res/mipmap-xxhdpi/tab_recommend.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 18 KiB |
@@ -870,4 +870,5 @@ Limited ride And limited avatar frame</string>
|
||||
<string name="shield_gift_effect">Shield gift effect</string>
|
||||
<string name="shield_mount_effect">Shield car effect</string>
|
||||
<string name="current_live_room">You are in the current live room</string>
|
||||
<string name="live_room_air_ticket">has recommended an anchor to you!</string>
|
||||
</resources>
|
||||
|
||||
@@ -884,6 +884,7 @@
|
||||
<string name="shield_mount_effect">屏蔽座駕特效</string>
|
||||
<string name="current_live_room">您已在當前直播間</string>
|
||||
<string name="clear_unread_messages">是否清空未讀消息</string>
|
||||
<string name="live_room_air_ticket">向您推薦了一名主播!</string>
|
||||
<string name="popular_tickets">人氣票</string>
|
||||
<string name="system_notice">系統通知</string>
|
||||
<string name="online_service">在線客服</string>
|
||||
|
||||
Reference in New Issue
Block a user