| <?xml version="1.0" encoding="utf-8"?> |
| <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" |
| android:layout_width="match_parent" |
| android:layout_height="match_parent" |
| android:background="@color/light_blue2" |
| android:orientation="vertical"> |
| |
| <ScrollView |
| android:layout_width="match_parent" |
| android:layout_height="match_parent" |
| android:layout_margin="20dp" |
| android:background="@drawable/corner_bg_white" |
| android:fillViewport="true" |
| android:scrollbars="none"> |
| |
| <LinearLayout |
| android:layout_width="match_parent" |
| android:layout_height="wrap_content" |
| android:orientation="vertical"> |
| <TextView |
| android:layout_width="match_parent" |
| android:layout_height="wrap_content" |
| android:layout_marginTop="10dp" |
| android:gravity="center" |
| android:text="软件在线升级" |
| android:textColor="@color/light_blue2" |
| android:textSize="30sp"/> |
| <TableLayout |
| android:layout_width="match_parent" |
| android:layout_height="wrap_content"> |
| |
| <TableRow> |
| |
| <TextView |
| style="@style/upgrade_text_value_style" |
| android:text="结\u3000\u3000果:"/> |
| |
| <TextView |
| android:id="@+id/tv_result" |
| style="@style/upgrade_text_value_style"/> |
| </TableRow> |
| |
| <TableRow android:layout_marginTop="15dp"> |
| |
| <TextView |
| style="@style/upgrade_text_value_style" |
| android:text="升级地址:"/> |
| |
| <TextView |
| android:id="@+id/tv_server_url" |
| style="@style/upgrade_text_value_style"/> |
| </TableRow> |
| |
| <TableRow android:layout_marginTop="15dp"> |
| |
| <TextView |
| style="@style/upgrade_text_value_style" |
| android:text="当前版本:"/> |
| |
| <TextView |
| android:id="@+id/tv_old_version" |
| style="@style/upgrade_text_value_style"/> |
| </TableRow> |
| |
| <TableRow android:layout_marginTop="15dp"> |
| |
| <TextView |
| style="@style/upgrade_text_value_style" |
| android:text="升级版本:"/> |
| |
| <TextView |
| android:id="@+id/tv_pos_version" |
| style="@style/upgrade_text_value_style"/> |
| </TableRow> |
| |
| <TableRow android:layout_marginTop="15dp"> |
| |
| <TextView |
| style="@style/upgrade_text_value_style" |
| android:text="升级进度:"/> |
| |
| <TextView |
| android:id="@+id/tv_upgrade_msg" |
| style="@style/upgrade_text_value_style"/> |
| </TableRow> |
| </TableLayout> |
| |
| <LinearLayout |
| android:layout_width="match_parent" |
| android:layout_height="wrap_content" |
| android:layout_marginTop="30dp" |
| android:gravity="center_vertical" |
| android:orientation="horizontal"> |
| |
| <Button |
| android:id="@+id/tv_upgrade" |
| style="@style/upgrade_text_value_style" |
| android:layout_marginStart="50dp" |
| android:layout_marginEnd="50dp" |
| android:text="升级"/> |
| |
| </LinearLayout> |
| </LinearLayout> |
| </ScrollView> |
| </LinearLayout> |