Commit 36e1e3f4 authored by mengcuiguang's avatar mengcuiguang

优化更新提示

parent 3b8c928b
...@@ -9,10 +9,13 @@ ...@@ -9,10 +9,13 @@
android:orientation="vertical"> android:orientation="vertical">
<LinearLayout <LinearLayout
android:layout_width="691pt" android:layout_width="330dp"
android:layout_height="552pt" android:layout_height="300dp"
android:background="@drawable/shape_dialog_bg"
android:layout_gravity="center_horizontal" android:layout_gravity="center_horizontal"
android:layout_margin="20dp" android:layout_marginLeft="40dp"
android:layout_marginRight="40dp"
android:layout_marginTop="20dp"
android:orientation="vertical" android:orientation="vertical"
android:paddingBottom="10dp"> android:paddingBottom="10dp">
...@@ -21,8 +24,8 @@ ...@@ -21,8 +24,8 @@
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_gravity="center_horizontal" android:layout_gravity="center_horizontal"
android:layout_marginBottom="30pt" android:layout_marginBottom="15dp"
android:layout_marginTop="30pt" android:layout_marginTop="15dp"
android:text="更新提示" android:text="更新提示"
android:textColor="@color/black_text" android:textColor="@color/black_text"
android:textSize="14sp" /> android:textSize="14sp" />
...@@ -35,19 +38,18 @@ ...@@ -35,19 +38,18 @@
android:id="@+id/pb_du_updating" android:id="@+id/pb_du_updating"
layout="@layout/progress_horizontal" layout="@layout/progress_horizontal"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="3dp" android:layout_height="3dp"/>
android:layout_marginLeft="1pt"/>
<RelativeLayout <RelativeLayout
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_marginBottom="30pt"> android:layout_marginBottom="15dp">
<TextView <TextView
android:id="@+id/tv_du_dialogdetails" android:id="@+id/tv_du_dialogdetails"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_margin="4pt" android:layout_margin="2dp"
android:lineSpacingExtra="10dp" android:lineSpacingExtra="10dp"
android:maxLines="6" android:maxLines="6"
android:padding="5dp" android:padding="5dp"
...@@ -58,11 +60,12 @@ ...@@ -58,11 +60,12 @@
<Button <Button
android:id="@+id/btn_du_update" android:id="@+id/btn_du_update"
android:layout_width="250pt" android:layout_width="125dp"
android:layout_height="66pt" android:layout_height="30dp"
android:layout_alignParentBottom="true" android:layout_alignParentBottom="true"
android:layout_centerHorizontal="true" android:layout_centerHorizontal="true"
android:enabled="true" android:enabled="true"
android:background="@drawable/shape_main"
android:text="立即更新" android:text="立即更新"
android:textColor="@color/authentic_text" android:textColor="@color/authentic_text"
android:textSize="14sp" /> android:textSize="14sp" />
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment