ui修改
This commit is contained in:
@@ -286,7 +286,7 @@ public class LiveBuyGuardDialog extends AbsDialogPopupWindow {
|
||||
.isDestroyOnDismiss(true)
|
||||
.isLightStatusBar(false)
|
||||
.popupPosition(PopupPosition.Top)
|
||||
.asCustom(new LiveBuyGuardSelectPopup(getContext(), price)
|
||||
.asCustom(new LiveBuyGuardSelectPopup(getContext(), price,guardPriceModel)
|
||||
.setOnDismissListener(new DialogInterface.OnDismissListener() {
|
||||
@Override
|
||||
public void onDismiss(DialogInterface dialog) {
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
<ImageView
|
||||
android:id="@+id/bg"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="160dp"
|
||||
android:layout_height="180dp"
|
||||
android:layout_marginTop="6dp"
|
||||
android:scaleType="fitXY"
|
||||
android:src="@mipmap/bg_star_guard" />
|
||||
@@ -38,6 +38,7 @@
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="bottom"
|
||||
android:layout_marginBottom="10dp"
|
||||
android:orientation="horizontal">
|
||||
|
||||
|
||||
@@ -55,8 +56,8 @@
|
||||
|
||||
<com.makeramen.roundedimageview.RoundedImageView
|
||||
android:id="@+id/user_avatar"
|
||||
android:layout_width="51dp"
|
||||
android:layout_height="51dp"
|
||||
android:layout_width="45dp"
|
||||
android:layout_height="45dp"
|
||||
android:layout_gravity="center_vertical"
|
||||
android:layout_marginStart="35dp"
|
||||
android:scaleType="centerCrop"
|
||||
@@ -65,8 +66,8 @@
|
||||
|
||||
<com.makeramen.roundedimageview.RoundedImageView
|
||||
android:id="@+id/live_avatar"
|
||||
android:layout_width="51dp"
|
||||
android:layout_height="51dp"
|
||||
android:layout_width="45dp"
|
||||
android:layout_height="45dp"
|
||||
android:layout_gravity="center_vertical"
|
||||
android:scaleType="centerCrop"
|
||||
android:src="@mipmap/icon_male_default"
|
||||
@@ -84,7 +85,7 @@
|
||||
</LinearLayout>
|
||||
|
||||
<FrameLayout
|
||||
android:layout_width="93dp"
|
||||
android:layout_width="120dp"
|
||||
android:layout_height="28dp"
|
||||
android:layout_gravity="bottom|end"
|
||||
android:layout_marginEnd="8dp"
|
||||
@@ -92,7 +93,8 @@
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/guard_open"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_width="93dp"
|
||||
android:layout_gravity="center"
|
||||
android:layout_height="match_parent"
|
||||
android:scaleType="centerCrop"
|
||||
android:src="@mipmap/icon_bg_star_guard_open" />
|
||||
|
||||
@@ -20,12 +20,14 @@
|
||||
<com.stx.xhb.androidx.XBanner
|
||||
android:id="@+id/buy_guard_banner"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="200dp"
|
||||
android:layout_marginTop="40dp"
|
||||
android:layout_height="220dp"
|
||||
android:layout_marginTop="20dp"
|
||||
app:isAutoPlay="false"
|
||||
app:isClipChildrenMode="true"
|
||||
app:isClipChildrenModeLessThree="true"
|
||||
app:isHandLoop="true"
|
||||
app:clipChildrenLeftMargin="20dp"
|
||||
app:clipChildrenRightMargin="20dp"
|
||||
app:isShowIndicatorOnlyOne="true"
|
||||
app:isShowNumberIndicator="false"
|
||||
app:showIndicatorInCenter="false" />
|
||||
@@ -169,6 +171,7 @@
|
||||
<TextView
|
||||
android:id="@+id/guard_month"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_marginStart="10dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:gravity="center"
|
||||
android:text="@string/one_month"
|
||||
|
||||
@@ -14,6 +14,7 @@
|
||||
<LinearLayout
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:gravity="center"
|
||||
android:layout_gravity="center_horizontal"
|
||||
android:layout_marginTop="50dp"
|
||||
android:orientation="vertical">
|
||||
|
||||
Reference in New Issue
Block a user