100 lines
3.9 KiB
XML
100 lines
3.9 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<merge xmlns:android="http://schemas.android.com/apk/res/android"
|
|
xmlns:app="http://schemas.android.com/apk/res-auto">
|
|
|
|
<FrameLayout
|
|
android:id="@id/liveGiftsHolder"
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="fill_parent"
|
|
android:background="@drawable/bg_live_gifts_plate"
|
|
android:clickable="true"
|
|
app:layout_behavior="com.vk.libvideo.live.views.gifts.LiveBottomSheetBehavior">
|
|
|
|
<View
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="7.0dip"
|
|
android:background="@drawable/bg_live_recommended_shadow" />
|
|
|
|
<FrameLayout
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="56.0dip"
|
|
android:layout_marginTop="7.0dip">
|
|
|
|
<TextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="center|left"
|
|
android:layout_marginLeft="16.0dip"
|
|
android:fontFamily="@string/font_family_medium"
|
|
android:text="@string/live_gifts"
|
|
android:textColor="@color/white"
|
|
android:textSize="16.0sp" />
|
|
|
|
<TextView
|
|
android:id="@id/liveGiftsBalance"
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="center|right"
|
|
android:layout_marginRight="16.0dip"
|
|
android:alpha="0.0"
|
|
android:gravity="right"
|
|
android:text=""
|
|
android:textColor="@color/gray_600"
|
|
android:textSize="14.0sp" />
|
|
</FrameLayout>
|
|
|
|
<androidx.recyclerview.widget.RecyclerView
|
|
android:id="@id/liveGiftsRecycle"
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="fill_parent"
|
|
android:layout_gravity="bottom"
|
|
android:layout_marginTop="63.0dip"
|
|
android:layout_marginBottom="48.0dip"
|
|
android:clipToPadding="false"
|
|
android:dividerHeight="0.0dip"
|
|
android:paddingLeft="16.0dip" />
|
|
|
|
<me.zhanghai.android.materialprogressbar.MaterialProgressBar
|
|
android:id="@id/liveGiftsProgress"
|
|
android:layout_width="40.0dip"
|
|
android:layout_height="40.0dip"
|
|
android:layout_gravity="center"
|
|
android:indeterminate="true"
|
|
android:visibility="gone"
|
|
app:mpb_indeterminateTint="@color/white"
|
|
app:mpb_progressStyle="circular" />
|
|
</FrameLayout>
|
|
|
|
<FrameLayout
|
|
android:id="@id/liveGiftsSendButt"
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="48.0dip"
|
|
android:layout_gravity="bottom"
|
|
android:layout_weight="1.0"
|
|
android:background="@color/live_gift_send_button"
|
|
android:clickable="true"
|
|
android:elevation="10.0dip">
|
|
|
|
<TextView
|
|
android:id="@id/liveGiftsSendTextCancel"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="center"
|
|
android:fontFamily="@string/font_family_medium"
|
|
android:text="@string/cancel"
|
|
android:textAllCaps="true"
|
|
android:textColor="@color/live_gift_send_button_inactive"
|
|
android:textSize="14.0sp" />
|
|
|
|
<TextView
|
|
android:id="@id/liveGiftsSendTextSend"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="center"
|
|
android:fontFamily="@string/font_family_medium"
|
|
android:text="@string/live_send_gift"
|
|
android:textAllCaps="true"
|
|
android:textColor="@color/white"
|
|
android:textSize="14.0sp" />
|
|
</FrameLayout>
|
|
</merge> |