nut_fragment_private_policy.xml 2.7 KB
<?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">

    <include layout="@layout/nut_view_title_default" />

    <com.nut.android.sdk.view.loadWait.WhiteLoadWaitView
        android:id="@+id/nutLoadWaitContent"
        android:layout_width="match_parent"
        android:layout_height="match_parent"
        android:background="@drawable/nut_shape_dialog">

        <LinearLayout
            android:layout_width="match_parent"
            android:layout_height="match_parent"
            android:orientation="vertical">

            <com.nut.android.sdk.view.web.WebViewWithProgress
                android:id="@+id/nutWeb"
                android:layout_width="match_parent"
                android:layout_height="0dp"
                android:layout_weight="1"
                android:background="@android:color/transparent"
                android:focusable="true"
                android:focusableInTouchMode="true" />

            <LinearLayout
                android:layout_width="match_parent"
                android:layout_height="64dp"
                android:layout_marginLeft="18dp"
                android:paddingTop="12dp"
                android:layout_marginRight="18dp"
                android:paddingBottom="16dp"
                android:orientation="horizontal">

                <Button android:id="@+id/nutPolicyDisagree"
                    android:layout_width="0dp"
                    android:layout_height="match_parent"
                    android:layout_weight="1"
                    android:background="@drawable/nut_selector_color_gray_stroke_button"
                    android:minHeight="0dp"
                    android:text="@string/nut_disagree"
                    android:textColor="@android:color/black"
                    android:textSize="@dimen/nut_font_size_btn" />

                <View
                    android:layout_width="14dp"
                    android:layout_height="1dp" />

                <Button
                    android:id="@+id/nutPolicyAgree"
                    android:layout_width="0dp"
                    android:layout_height="match_parent"
                    android:layout_weight="1"
                    android:background="@drawable/nut_selector_color_primary_button"
                    android:minHeight="0dp"
                    android:text="@string/nut_agree_and_continue"
                    android:textColor="@android:color/white"
                    android:textSize="@dimen/nut_font_size_btn" />
            </LinearLayout>

        </LinearLayout>

    </com.nut.android.sdk.view.loadWait.WhiteLoadWaitView>
</LinearLayout>