看视频dialog UI美化
This commit is contained in:
parent
4e7234f7ff
commit
a9d0b37bed
|
|
@ -15,8 +15,9 @@ class BeginnerGiftDialog(context: Context) : BindingDialog<DialogBeginnerGiftBin
|
|||
|
||||
private fun build() {
|
||||
with()
|
||||
setCanceledOnTouchOutside(false)
|
||||
setCenter()
|
||||
setMaskValue(0.8f)
|
||||
setMaskValue(0.93f)
|
||||
|
||||
mBinding.run {
|
||||
setOnClickBatch(tvAction) {
|
||||
|
|
|
|||
|
|
@ -17,8 +17,9 @@ class WatchVideoDialog(context: Context) : BindingDialog<DialogWatchVideoBinding
|
|||
|
||||
private fun build() {
|
||||
with()
|
||||
setCanceledOnTouchOutside(false)
|
||||
setCenter()
|
||||
setMaskValue(0.8f)
|
||||
setMaskValue(0.93f)
|
||||
|
||||
mBinding.run {
|
||||
setOnClickBatch(flAction, ivClose) {
|
||||
|
|
|
|||
|
|
@ -3,6 +3,7 @@
|
|||
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginHorizontal="50dp"
|
||||
android:orientation="vertical" >
|
||||
|
||||
<androidx.appcompat.widget.AppCompatImageView
|
||||
|
|
@ -24,8 +25,7 @@
|
|||
android:orientation="vertical"
|
||||
android:layout_gravity="center"
|
||||
android:src="@mipmap/temp"
|
||||
android:layout_marginEnd="30dp"
|
||||
android:layout_marginTop="20dp"
|
||||
android:layout_marginTop="50dp"
|
||||
/>
|
||||
|
||||
<androidx.appcompat.widget.AppCompatTextView
|
||||
|
|
@ -33,6 +33,7 @@
|
|||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="10dp"
|
||||
android:layout_marginHorizontal="50dp"
|
||||
android:textSize="16sp"
|
||||
android:textColor="@color/white"
|
||||
android:text="@string/watch_video_hint"
|
||||
|
|
@ -46,8 +47,7 @@
|
|||
android:orientation="vertical"
|
||||
android:layout_gravity="center"
|
||||
android:src="@mipmap/watch_video_gold_effect"
|
||||
android:layout_marginEnd="30dp"
|
||||
android:layout_marginTop="20dp"
|
||||
android:layout_marginTop="1dp"
|
||||
/>
|
||||
|
||||
|
||||
|
|
@ -58,7 +58,7 @@
|
|||
android:layout_marginHorizontal="20dp"
|
||||
android:paddingVertical="10dp"
|
||||
android:layout_marginTop="10dp"
|
||||
android:background="@drawable/vididinapp_feature_message_bg_task_fazer">
|
||||
android:background="@mipmap/icon_action_but_bg">
|
||||
<androidx.appcompat.widget.AppCompatTextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
|
|
@ -67,7 +67,7 @@
|
|||
android:text="@string/assistir"
|
||||
android:layout_gravity="center"
|
||||
android:gravity="center"
|
||||
android:drawableStart="@mipmap/temp"
|
||||
android:drawableStart="@mipmap/task_video"
|
||||
android:drawablePadding="10dp"
|
||||
/>
|
||||
</FrameLayout>
|
||||
|
|
|
|||
Binary file not shown.
|
After Width: | Height: | Size: 69 KiB |
Loading…
Reference in New Issue