<?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:orientation="vertical">
|
|
<LinearLayout
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:background="#ffffffff"
|
android:orientation="vertical">
|
|
<TextView
|
android:id="@+id/tv_dialog_title"
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content"
|
android:layout_marginTop="10dp"
|
android:gravity="center"
|
android:text="更新提示"
|
android:textColor="#FFc9b5ac"
|
android:textSize="20sp" />
|
|
<View
|
android:layout_width="match_parent"
|
android:layout_height="1dp"
|
android:layout_marginLeft="25dp"
|
android:layout_marginRight="25dp"
|
android:layout_marginTop="10dp"
|
android:background="#FFc9b5ac" />
|
|
<LinearLayout
|
android:layout_width="match_parent"
|
android:layout_height="match_parent">
|
|
<TextView
|
android:id="@+id/tv_version"
|
android:layout_width="0dp"
|
android:layout_height="match_parent"
|
android:layout_marginTop="8dp"
|
android:layout_weight="1"
|
android:paddingLeft="25dp"
|
android:text="版本:2.1"
|
android:textColor="#FFc9b5ac" />
|
|
<TextView
|
android:id="@+id/tv_size"
|
android:layout_width="0dp"
|
android:layout_height="match_parent"
|
android:layout_marginTop="8dp"
|
android:layout_weight="1"
|
android:gravity="right"
|
android:paddingRight="25dp"
|
android:text="大小:21M"
|
android:textColor="#FFc9b5ac" />
|
</LinearLayout>
|
|
<TextView
|
android:id="@+id/tv_dialog_content"
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content"
|
android:layout_marginTop="15dp"
|
android:gravity="left"
|
android:paddingLeft="25dp"
|
android:paddingRight="25dp"
|
android:text="更新提示"
|
android:textColor="#FFc9b5ac"
|
android:textSize="16sp" />
|
|
<TextView
|
android:id="@+id/tv_dialog_noti_wifi"
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content"
|
android:layout_marginTop="20dp"
|
android:gravity="left"
|
android:paddingLeft="25dp"
|
android:paddingRight="25dp"
|
android:text="@string/WIFI_NOTI"
|
android:textColor="@color/red" />
|
</LinearLayout>
|
|
<LinearLayout
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content"
|
android:background="#ffffffff"
|
android:orientation="horizontal">
|
|
<FrameLayout
|
android:layout_width="0dp"
|
android:layout_height="match_parent"
|
android:layout_marginRight="6dp"
|
android:layout_weight="1">
|
|
<TextView
|
android:id="@+id/tv_no_update"
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content"
|
android:layout_gravity="bottom|right"
|
android:layout_marginBottom="20dp"
|
android:layout_marginLeft="12dp"
|
android:background="@drawable/shape_update_left"
|
android:gravity="center"
|
android:padding="5dp"
|
android:text="取消"
|
android:textColor="#FFc9b5ac"
|
android:textSize="18sp" />
|
</FrameLayout>
|
|
<FrameLayout
|
android:layout_width="0dp"
|
android:layout_height="match_parent"
|
android:layout_marginLeft="6dp"
|
android:layout_weight="1">
|
|
<TextView
|
android:id="@+id/tv_atonce_update"
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content"
|
android:layout_gravity="bottom|left"
|
android:layout_marginBottom="20dp"
|
android:layout_marginRight="12dp"
|
android:background="@drawable/shape_update_right"
|
android:gravity="center"
|
android:padding="5dp"
|
android:text="立即更新"
|
android:textColor="#FFc9b5ac"
|
android:textSize="18sp" />
|
</FrameLayout>
|
</LinearLayout>
|
|
</LinearLayout>
|