|
|
@@ -16,18 +16,28 @@
|
|
|
android:adjustViewBounds="true"
|
|
|
android:fitsSystemWindows="true"
|
|
|
android:src="@mipmap/bg_upgrade_app" />
|
|
|
-
|
|
|
- <TextView
|
|
|
- android:id="@+id/dialog_title"
|
|
|
+ <LinearLayout
|
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="wrap_content"
|
|
|
- android:layout_alignTop="@id/dialog_bg_iv"
|
|
|
- android:layout_marginStart="40dp"
|
|
|
+ android:orientation="horizontal"
|
|
|
+ android:gravity="end"
|
|
|
android:layout_marginTop="50dp"
|
|
|
- android:gravity="center"
|
|
|
- android:text="发现新版本"
|
|
|
- android:textColor="@android:color/white"
|
|
|
- android:textSize="26sp" />
|
|
|
+ android:layout_alignTop="@id/dialog_bg_iv"
|
|
|
+ android:layout_alignParentEnd="true"
|
|
|
+ android:weightSum="20">
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/dialog_title"
|
|
|
+ android:layout_width="0dp"
|
|
|
+ android:layout_weight="13"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:paddingStart="5dp"
|
|
|
+ android:paddingEnd="5dp"
|
|
|
+ android:singleLine="true"
|
|
|
+ android:text="发现新版本"
|
|
|
+ android:textColor="@android:color/white"
|
|
|
+ android:textSize="26sp" />
|
|
|
+ </LinearLayout>
|
|
|
|
|
|
<TextView
|
|
|
android:id="@+id/dialog_msg"
|