qiezi_strong_update_view.xml 1.9 KB
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
    android:layout_width="match_parent"
    android:layout_height="match_parent">

    <RelativeLayout
        android:layout_width="280dp"
        android:layout_height="340dp"
        android:background="#CCffffff">

        <TextView
            android:id="@+id/bg_content"
            android:layout_width="match_parent"
            android:layout_height="250dp"
            android:layout_centerHorizontal="true"
            android:gravity="center"
            android:padding="10dp"
            android:text="游戏需更新游戏需更新游戏需更新游戏需更新"
            android:textColor="@android:color/black"
            android:textSize="20dp" />

        <ProgressBar
            android:id="@+id/bg_progress"
            style="?android:attr/progressBarStyleHorizontal"
            android:layout_width="match_parent"
            android:layout_height="10dp"
            android:layout_below="@+id/bg_content"
            android:max="100"
            android:progress="0" />

        <TextView
            android:id="@+id/bg_progress_des"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:layout_below="@+id/bg_progress"
            android:layout_centerHorizontal="true"
            android:layout_marginTop="5dp" />

        <Button
            android:id="@+id/bg_btn_ok"
            android:layout_width="80dp"
            android:layout_height="30dp"
            android:layout_alignParentBottom="true"
            android:layout_centerHorizontal="true"
            android:layout_marginBottom="10dp"
            android:background="@android:color/holo_orange_dark"
            android:text="确定"
            android:textColor="@android:color/white" />
    </RelativeLayout>
</RelativeLayout>