334 lines
12 KiB
XML
334 lines
12 KiB
XML
|
<?xml version="1.0" encoding="utf-8"?>
|
||
|
<RelativeLayout
|
||
|
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">
|
||
|
|
||
|
|
||
|
<ImageView
|
||
|
android:layout_width="30dp"
|
||
|
android:layout_height="30dp"
|
||
|
android:id="@+id/live_btn_switch_camera"
|
||
|
android:layout_marginLeft="20dp"
|
||
|
android:layout_marginTop="50dp"
|
||
|
android:padding="3dp"
|
||
|
android:src="@mipmap/icon_live_ready_camera"/>
|
||
|
|
||
|
<ImageView
|
||
|
android:id="@+id/btn_close"
|
||
|
android:layout_width="30dp"
|
||
|
android:layout_height="30dp"
|
||
|
android:layout_alignParentRight="true"
|
||
|
android:layout_marginRight="20dp"
|
||
|
android:layout_marginTop="50dp"
|
||
|
android:padding="5dp"
|
||
|
android:src="@mipmap/icon_live_ready_close"
|
||
|
android:tint="@color/white"
|
||
|
/>
|
||
|
|
||
|
<LinearLayout
|
||
|
android:layout_width="match_parent"
|
||
|
android:layout_height="wrap_content"
|
||
|
android:layout_alignParentBottom="true"
|
||
|
android:orientation="vertical">
|
||
|
|
||
|
<RelativeLayout
|
||
|
android:layout_width="match_parent"
|
||
|
android:layout_height="wrap_content">
|
||
|
|
||
|
<RelativeLayout
|
||
|
android:id="@+id/btn_locaiton"
|
||
|
android:layout_width="92dp"
|
||
|
android:layout_height="33dp"
|
||
|
android:layout_marginLeft="23dp"
|
||
|
android:visibility="gone"
|
||
|
android:background="@drawable/border_grey1">
|
||
|
|
||
|
<TextView
|
||
|
android:id="@+id/city"
|
||
|
android:layout_width="wrap_content"
|
||
|
android:layout_height="wrap_content"
|
||
|
android:text="地址"
|
||
|
android:textColor="#B6B6B6"
|
||
|
android:layout_marginLeft="20dp"
|
||
|
android:layout_centerVertical="true"
|
||
|
android:textSize="12sp" />
|
||
|
|
||
|
<ImageView
|
||
|
android:id="@+id/location_img"
|
||
|
android:layout_width="25dp"
|
||
|
android:layout_height="25dp"
|
||
|
android:layout_alignParentRight="true"
|
||
|
android:layout_centerInParent="true"
|
||
|
android:layout_marginRight="10dp"
|
||
|
android:src="@mipmap/address_choice"
|
||
|
/>
|
||
|
</RelativeLayout>
|
||
|
|
||
|
<RelativeLayout
|
||
|
android:layout_width="110dp"
|
||
|
android:layout_height="33dp"
|
||
|
android:layout_marginRight="20dp"
|
||
|
android:layout_alignParentRight="true"
|
||
|
android:orientation="horizontal"
|
||
|
android:background="@drawable/border_grey1">
|
||
|
|
||
|
<TextView
|
||
|
android:id="@+id/live_class"
|
||
|
android:layout_width="wrap_content"
|
||
|
android:layout_height="wrap_content"
|
||
|
android:layout_gravity="center_vertical"
|
||
|
android:gravity="center_vertical"
|
||
|
android:includeFontPadding="false"
|
||
|
android:text="@string/live_class"
|
||
|
android:textColor="#B6B6B6"
|
||
|
android:layout_centerHorizontal="true"
|
||
|
android:layout_centerVertical="true"
|
||
|
android:textSize="12sp"/>
|
||
|
|
||
|
<ImageView
|
||
|
android:layout_width="25dp"
|
||
|
android:layout_height="25dp"
|
||
|
android:layout_marginRight="5dp"
|
||
|
android:layout_alignParentRight="true"
|
||
|
android:src="@mipmap/icon_arrow_right_more"
|
||
|
android:layout_centerInParent="true"/>
|
||
|
|
||
|
</RelativeLayout>
|
||
|
|
||
|
</RelativeLayout>
|
||
|
|
||
|
|
||
|
<RelativeLayout
|
||
|
android:layout_width="match_parent"
|
||
|
android:layout_height="170dp"
|
||
|
android:layout_marginLeft="10dp"
|
||
|
android:layout_marginTop="20dp"
|
||
|
android:layout_marginRight="10dp"
|
||
|
android:background="@drawable/border_grey1">
|
||
|
|
||
|
<com.makeramen.roundedimageview.RoundedImageView
|
||
|
android:layout_width="130dp"
|
||
|
android:layout_height="130dp"
|
||
|
android:scaleType="centerCrop"
|
||
|
android:layout_marginLeft="10dp"
|
||
|
android:layout_marginTop="20dp"
|
||
|
android:background="@drawable/background_ebebeb"
|
||
|
app:riv_corner_radius="7dp" />
|
||
|
|
||
|
<RelativeLayout
|
||
|
android:id="@+id/avatar_group"
|
||
|
android:layout_width="130dp"
|
||
|
android:layout_height="130dp"
|
||
|
android:layout_marginLeft="10dp"
|
||
|
android:layout_marginTop="20dp"
|
||
|
android:background="@mipmap/icon_live_ready_add">
|
||
|
|
||
|
<com.makeramen.roundedimageview.RoundedImageView
|
||
|
android:id="@+id/avatar"
|
||
|
android:layout_width="match_parent"
|
||
|
android:layout_height="match_parent"
|
||
|
android:scaleType="centerCrop"
|
||
|
app:riv_corner_radius="7dp" />
|
||
|
|
||
|
<TextView
|
||
|
android:id="@+id/cover_text"
|
||
|
android:layout_width="match_parent"
|
||
|
android:layout_height="30dp"
|
||
|
android:layout_marginBottom="13dp"
|
||
|
android:layout_alignParentBottom="true"
|
||
|
android:gravity="center"
|
||
|
android:text="@string/live_cover"
|
||
|
android:textColor="@color/gray3" />
|
||
|
|
||
|
</RelativeLayout>
|
||
|
|
||
|
<TextView
|
||
|
android:id="@+id/title_text"
|
||
|
android:layout_width="wrap_content"
|
||
|
android:layout_height="wrap_content"
|
||
|
android:layout_alignTop="@id/avatar_group"
|
||
|
android:layout_marginLeft="10dp"
|
||
|
android:layout_marginTop="10dp"
|
||
|
android:layout_toRightOf="@id/avatar_group"
|
||
|
android:text="@string/live_title"
|
||
|
android:textSize="12sp"
|
||
|
android:textColor="#B6B6B6" />
|
||
|
|
||
|
<EditText
|
||
|
android:id="@+id/edit_title"
|
||
|
android:layout_width="match_parent"
|
||
|
android:layout_height="wrap_content"
|
||
|
android:layout_below="@id/title_text"
|
||
|
android:layout_marginLeft="10dp"
|
||
|
android:layout_marginTop="10dp"
|
||
|
android:layout_toRightOf="@id/avatar_group"
|
||
|
android:background="@null"
|
||
|
android:hint="@string/live_title_hint"
|
||
|
android:paddingRight="10dp"
|
||
|
android:singleLine="true"
|
||
|
android:textColor="#000000"
|
||
|
android:textColorHint="#B6B6B6"
|
||
|
android:textSize="15sp" />
|
||
|
|
||
|
|
||
|
<View
|
||
|
android:id="@+id/lie"
|
||
|
android:layout_width="match_parent"
|
||
|
android:layout_height="0.5dp"
|
||
|
android:layout_below="@id/edit_title"
|
||
|
android:layout_marginLeft="150dp"
|
||
|
android:layout_marginTop="30dp"
|
||
|
android:background="#B6B6B6" />
|
||
|
|
||
|
<LinearLayout
|
||
|
android:layout_width="match_parent"
|
||
|
android:layout_height="50dp"
|
||
|
android:layout_below="@id/lie"
|
||
|
android:layout_marginLeft="150dp"
|
||
|
android:layout_marginTop="0dp"
|
||
|
android:layout_marginRight="10dp"
|
||
|
android:orientation="horizontal">
|
||
|
|
||
|
<TextView
|
||
|
android:layout_width="wrap_content"
|
||
|
android:layout_height="match_parent"
|
||
|
android:gravity="center_vertical"
|
||
|
android:text="@string/live_share_to"
|
||
|
android:textColor="#B6B6B6"
|
||
|
android:textSize="13sp" />
|
||
|
|
||
|
<androidx.recyclerview.widget.RecyclerView
|
||
|
android:id="@+id/recyclerView"
|
||
|
android:layout_width="match_parent"
|
||
|
android:layout_height="match_parent"
|
||
|
android:layout_marginLeft="20dp"
|
||
|
android:overScrollMode="never" />
|
||
|
|
||
|
</LinearLayout>
|
||
|
|
||
|
|
||
|
</RelativeLayout>
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
<LinearLayout
|
||
|
android:layout_width="match_parent"
|
||
|
android:layout_height="wrap_content"
|
||
|
android:layout_marginTop="20dp"
|
||
|
android:layout_marginLeft="20dp"
|
||
|
android:layout_marginRight="20dp"
|
||
|
android:layout_marginBottom="20dp"
|
||
|
android:orientation="horizontal">
|
||
|
|
||
|
<LinearLayout
|
||
|
android:layout_width="100dp"
|
||
|
android:layout_height="33dp"
|
||
|
android:layout_marginRight="24dp"
|
||
|
android:layout_alignParentRight="true"
|
||
|
android:gravity="center"
|
||
|
android:layout_weight="1"
|
||
|
android:orientation="horizontal"
|
||
|
android:background="@drawable/border_grey1">
|
||
|
|
||
|
<ImageView
|
||
|
android:layout_width="20dp"
|
||
|
android:layout_height="20dp"
|
||
|
android:src="@mipmap/icon_live_beauty_1"/>
|
||
|
|
||
|
<TextView
|
||
|
android:id="@+id/btn_beauty"
|
||
|
android:gravity="center_vertical"
|
||
|
android:layout_width="wrap_content"
|
||
|
android:layout_height="wrap_content"
|
||
|
android:layout_gravity="center"
|
||
|
android:layout_marginLeft="5dp"
|
||
|
android:text="@string/beauty"
|
||
|
android:textColor="#B6B6B6"
|
||
|
android:textSize="12sp"/>
|
||
|
|
||
|
</LinearLayout>
|
||
|
|
||
|
<LinearLayout
|
||
|
android:layout_width="100dp"
|
||
|
android:layout_height="33dp"
|
||
|
android:layout_marginRight="24dp"
|
||
|
android:layout_alignParentRight="true"
|
||
|
android:gravity="center"
|
||
|
android:layout_weight="1"
|
||
|
android:orientation="horizontal"
|
||
|
android:background="@drawable/border_grey1">
|
||
|
|
||
|
<ImageView
|
||
|
android:layout_width="20dp"
|
||
|
android:layout_height="20dp"
|
||
|
android:src="@mipmap/live_xyd"/>
|
||
|
|
||
|
<TextView
|
||
|
android:id="@+id/btn_wishlist"
|
||
|
android:gravity="center_vertical"
|
||
|
android:layout_width="wrap_content"
|
||
|
android:layout_height="wrap_content"
|
||
|
android:layout_gravity="center"
|
||
|
android:layout_marginLeft="5dp"
|
||
|
android:text="@string/live_wish_list"
|
||
|
android:textColor="#B6B6B6"
|
||
|
android:textSize="12sp"/>
|
||
|
|
||
|
</LinearLayout>
|
||
|
|
||
|
|
||
|
<LinearLayout
|
||
|
android:layout_width="100dp"
|
||
|
android:layout_height="33dp"
|
||
|
android:layout_alignParentRight="true"
|
||
|
android:layout_gravity="center"
|
||
|
android:gravity="center"
|
||
|
android:layout_weight="1"
|
||
|
android:orientation="horizontal"
|
||
|
android:background="@drawable/border_grey1">
|
||
|
|
||
|
<ImageView
|
||
|
android:layout_width="20dp"
|
||
|
android:layout_height="20dp"
|
||
|
android:src="@mipmap/icon_live_ready_room_type"/>
|
||
|
|
||
|
<TextView
|
||
|
android:id="@+id/btn_room_type"
|
||
|
android:gravity="center_vertical"
|
||
|
android:layout_width="wrap_content"
|
||
|
android:layout_height="wrap_content"
|
||
|
android:layout_marginLeft="5dp"
|
||
|
android:layout_gravity="center"
|
||
|
android:text="@string/live_room_type"
|
||
|
android:textColor="#B6B6B6"
|
||
|
android:textSize="12sp"/>
|
||
|
|
||
|
</LinearLayout>
|
||
|
|
||
|
|
||
|
</LinearLayout>
|
||
|
|
||
|
|
||
|
<TextView
|
||
|
android:id="@+id/btn_start_live"
|
||
|
android:layout_width="match_parent"
|
||
|
android:layout_height="48dp"
|
||
|
android:layout_marginLeft="50dp"
|
||
|
android:layout_marginRight="50dp"
|
||
|
android:layout_marginTop="20dp"
|
||
|
android:background="@drawable/login_btn"
|
||
|
android:gravity="center"
|
||
|
android:text="@string/live_start"
|
||
|
android:textColor="@color/white"
|
||
|
android:textSize="16sp"
|
||
|
android:layout_marginBottom="30dp"
|
||
|
/>
|
||
|
|
||
|
|
||
|
</LinearLayout>
|
||
|
|
||
|
|
||
|
</RelativeLayout>
|