From e29de9af8f507d288a61d9459fb3d1f72976876f Mon Sep 17 00:00:00 2001
From: 陈嘉乐 <cjl@hdlchina.com.cn>
Date: 星期一, 18 五月 2020 10:40:08 +0800
Subject: [PATCH] 2020-05-18-1
---
HDL_ON/UI/Music/View/TipView.cs | 10 ++++++++--
1 files changed, 8 insertions(+), 2 deletions(-)
diff --git a/HDL_ON/UI/Music/View/TipView.cs b/HDL_ON/UI/Music/View/TipView.cs
index 62bcf42..f3ba48c 100644
--- a/HDL_ON/UI/Music/View/TipView.cs
+++ b/HDL_ON/UI/Music/View/TipView.cs
@@ -119,9 +119,10 @@
TextColor = Color.TextCancelColor,
TextSize = TextSize.Text16,
TextID = StringId.cancelMusic,
+ Gravity = Gravity.BottomLeft,
};
whiteView.AddChidren(btnCancel);
-
+ btnCancel.SetCornerWithSameRadius(Application.GetRealHeight(RradiusFrameLayout), HDLUtils.RectCornerBottomLeft);
Button btnConfirm = new Button()
{
X = btnCancel.Right,
@@ -167,6 +168,7 @@
whiteView.Height = Application.GetRealHeight(183);
btnLine.Y = whiteView.Height - Application.GetRealHeight(44 + 1);
btnCancel.Y = btnLine.Bottom;
+ btnCancel.Gravity = Gravity.BottomLeft;
btnConfirm.Y = btnLine.Bottom;
btnConfirm.Gravity = Gravity.BottomRight;
@@ -289,8 +291,10 @@
TextColor = Color.TextCancelColor,
TextSize = TextSize.Text16,
TextID = StringId.cancelMusic,
+ Gravity = Gravity.BottomLeft,
};
whiteView.AddChidren(btnCancel);
+ btnCancel.SetCornerWithSameRadius(Application.GetRealHeight(RradiusFrameLayout), HDLUtils.RectCornerBottomLeft);
Button btnConfirm = new Button()
{
@@ -328,6 +332,7 @@
whiteView.Height = Application.GetRealHeight(183);
btnLine.Y = whiteView.Height - Application.GetRealHeight(44 + 1);
btnCancel.Y = btnLine.Bottom;
+ btnCancel.Gravity = Gravity.BottomLeft;
btnConfirm.Y = btnLine.Bottom;
btnConfirm.Gravity = Gravity.BottomRight;
@@ -421,9 +426,10 @@
TextColor = Color.TextCancelColor,
TextSize = TextSize.Text16,
TextID = StringId.cancelMusic,
+ Gravity = Gravity.BottomLeft,
};
whiteView.AddChidren(btnCancel);
-
+ btnCancel.SetCornerWithSameRadius(Application.GetRealHeight(RradiusFrameLayout), HDLUtils.RectCornerBottomLeft);
Button btnConfirm = new Button()
{
X = btnCancel.Right,
--
Gitblit v1.8.0