layout_net_change.xml 1.49 KB
<?xml version="1.0" encoding="utf-8"?>
<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:tools="http://schemas.android.com/tools"
    android:layout_width="match_parent"
    android:layout_height="match_parent">

    <LinearLayout
        android:id="@+id/ll_net_change"
        android:layout_width="match_parent"
        android:layout_height="match_parent"
        android:background="#80000000"
        android:gravity="center"
        android:orientation="vertical"
        tools:layout_editor_absoluteX="-16dp"
        tools:layout_editor_absoluteY="0dp">

        <TextView
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:gravity="center_horizontal"
            android:text="正在使用非Wi-Fi网络,播放将产生流量费用"
            android:textColor="@color/res_color_common_C8"
            android:textSize="@dimen/rmrb_dp14" />


        <TextView
            android:id="@+id/tv_traffic_play"
            android:layout_width="@dimen/rmrb_dp88"
            android:layout_height="@dimen/rmrb_dp28"
            android:layout_marginTop="@dimen/rmrb_dp16"
            android:background="@drawable/bg_traffic_play_btn"
            android:gravity="center"
            android:text="使用流量播放"
            android:textColor="@color/white"
            android:textSize="@dimen/rmrb_dp12" />

    </LinearLayout>
</androidx.constraintlayout.widget.ConstraintLayout>