sdk_float_permission.xml 4.4 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"
    android:layout_gravity="center"
    android:background="#b0000000">

    <LinearLayout
        android:layout_width="@dimen/x590"
        android:layout_height="@dimen/y300"
        android:layout_centerInParent="true"
        android:background="@drawable/sdk_solid_white_bg"
        android:orientation="vertical">

        <RelativeLayout
            android:layout_width="match_parent"
            android:layout_height="@dimen/y84">
            <TextView
                android:id="@+id/tv_notic_title"
                android:layout_width="match_parent"
                android:layout_height="@dimen/y84"
                android:textSize="@dimen/x30"
                android:gravity="center"
                android:textColor="@color/color_3B3B3B"
                android:text="@string/account_safe_tips_title"/>
            <RelativeLayout
                android:id="@+id/charge_close_layout"
                android:layout_width="wrap_content"
                android:layout_centerVertical="true"
                android:layout_height="wrap_content">
                <ImageView
                    android:layout_width="@dimen/x16"
                    android:layout_height="@dimen/x16"
                    android:layout_margin="@dimen/x24"
                    android:layout_alignParentLeft="true"
                    android:layout_centerVertical="true"
                    android:background="@drawable/sdk_close"/>
            </RelativeLayout>
        </RelativeLayout>
        <View
            android:layout_width="match_parent"
            android:layout_height="0.2dp"
            android:background="@color/color_B0B0B0"/>
        <RelativeLayout
            android:layout_width="match_parent"
            android:layout_height="match_parent">
            <ScrollView
                android:id="@+id/sv_notice_content"
                android:layout_width="match_parent"
                android:layout_marginTop="@dimen/y25"
                android:layout_height="match_parent"
                android:layout_above="@+id/update_layout"
                android:scrollbars="none" >

                <TextView
                    android:id="@+id/tv_notice_content"
                    android:layout_width="match_parent"
                    android:layout_height="match_parent"
                    android:layout_marginLeft="@dimen/x24"
                    android:layout_marginRight="@dimen/x24"
                    android:textSize="@dimen/x24"
                    android:textColor="@color/color_4f4f4f"
                    android:text="@string/account_safe_tips_string"/>
            </ScrollView>
            <LinearLayout
                android:id="@+id/update_layout"
                android:layout_width="match_parent"
                android:layout_height="wrap_content"
                android:layout_marginTop="@dimen/y30"
                android:gravity="center_horizontal"
                android:layout_above="@+id/view"
                android:orientation="horizontal">
                <TextView
                    android:id="@+id/update_tv"
                    android:layout_width="@dimen/x200"
                    android:background="@drawable/sdk_solid_black_circle_bt"
                    android:text="立即更新"
                    android:gravity="center"
                    android:textColor="@color/color_white"
                    android:textSize="@dimen/x26"
                    android:layout_height="@dimen/y70" />
                <TextView
                    android:id="@+id/update_cancal"
                    android:layout_width="@dimen/x200"
                    android:layout_marginLeft="@dimen/x38"
                    android:text="取消"
                    android:gravity="center"
                    android:textColor="@color/color_white"
                    android:textSize="@dimen/x26"
                    android:background="@drawable/sdk_solid_grey_circle_bt"
                    android:layout_height="@dimen/y70" />

            </LinearLayout>
            <View
                android:id="@+id/view"
                android:layout_width="match_parent"
                android:layout_alignParentBottom="true"
                android:layout_height="@dimen/y25"/>
        </RelativeLayout>
    </LinearLayout>

</RelativeLayout>