修复#249问题
This commit is contained in:
parent
1bdf3a2ba3
commit
2705342e18
@ -30,7 +30,7 @@ public class HighNobilityDialog extends AbsDialogFragment {
|
|||||||
window.setWindowAnimations(R.style.bottomToTopAnim);
|
window.setWindowAnimations(R.style.bottomToTopAnim);
|
||||||
WindowManager.LayoutParams params = window.getAttributes();
|
WindowManager.LayoutParams params = window.getAttributes();
|
||||||
params.width = DpUtil.dp2px(340);
|
params.width = DpUtil.dp2px(340);
|
||||||
params.height = DpUtil.dp2px(360);
|
params.height = WindowManager.LayoutParams.WRAP_CONTENT;
|
||||||
params.gravity = Gravity.CENTER;
|
params.gravity = Gravity.CENTER;
|
||||||
window.setAttributes(params);
|
window.setAttributes(params);
|
||||||
}
|
}
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
android:layout_width="350dp"
|
android:layout_width="350dp"
|
||||||
android:layout_height="370dp"
|
android:layout_height="wrap_content"
|
||||||
android:background="@mipmap/viptip_box"
|
android:background="@mipmap/viptip_box"
|
||||||
android:orientation="vertical">
|
android:orientation="vertical">
|
||||||
|
|
||||||
@ -37,6 +37,7 @@
|
|||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_marginStart="16dp"
|
android:layout_marginStart="16dp"
|
||||||
android:layout_marginTop="22dp"
|
android:layout_marginTop="22dp"
|
||||||
|
android:layout_marginBottom="15dp"
|
||||||
android:layout_marginEnd="16dp"
|
android:layout_marginEnd="16dp"
|
||||||
android:gravity="center_horizontal">
|
android:gravity="center_horizontal">
|
||||||
|
|
||||||
@ -60,9 +61,9 @@
|
|||||||
android:layout_marginStart="20dp"
|
android:layout_marginStart="20dp"
|
||||||
android:background="@drawable/bg_btn_common"
|
android:background="@drawable/bg_btn_common"
|
||||||
android:enabled="true"
|
android:enabled="true"
|
||||||
android:paddingStart="48dp"
|
android:paddingStart="30dp"
|
||||||
android:paddingTop="15dp"
|
android:paddingTop="15dp"
|
||||||
android:paddingEnd="48dp"
|
android:paddingEnd="30dp"
|
||||||
android:paddingBottom="15dp"
|
android:paddingBottom="15dp"
|
||||||
android:text="@string/go_nobility"
|
android:text="@string/go_nobility"
|
||||||
android:textColor="@color/white"
|
android:textColor="@color/white"
|
||||||
|
Loading…
Reference in New Issue
Block a user