fragment_select_wifi.xml 3.42 KB
<?xml version="1.0" encoding="utf-8"?>
<layout xmlns:app="http://schemas.android.com/apk/res-auto">

    <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
        android:layout_width="match_parent"
        android:layout_height="match_parent"
        android:background="@color/color_F2F2F2"
        android:orientation="vertical">

        <com.qmuiteam.qmui.widget.QMUITopBar
            android:id="@+id/topbar"
            android:layout_width="match_parent"
            android:layout_height="?attr/qmui_topbar_height" />

        <LinearLayout
            android:layout_width="match_parent"
            android:layout_height="0dp"
            android:layout_weight="3">


<!--            <com.scwang.smartrefresh.layout.SmartRefreshLayout-->
<!--                android:id="@+id/refresh_layout"-->
<!--                android:layout_width="match_parent"-->
<!--                android:layout_height="match_parent"-->
<!--                app:srlEnablePreviewInEditMode="false">-->

<!--                <com.scwang.smartrefresh.layout.header.ClassicsHeader-->
<!--                    android:layout_width="match_parent"-->
<!--                    android:layout_height="wrap_content"-->
<!--                    app:srlAccentColor="@color/color_282828" />-->

                <FrameLayout
                    android:layout_width="match_parent"
                    android:layout_height="match_parent">

                    <androidx.recyclerview.widget.RecyclerView
                        android:id="@+id/rv_wifi"
                        android:layout_width="match_parent"
                        android:layout_height="match_parent"
                        android:paddingTop="10dp" />

                    <LinearLayout
                        android:id="@+id/ll_loading"
                        android:layout_width="match_parent"
                        android:layout_height="match_parent"
                        android:background="@color/color_F2F2F2"
                        android:gravity="center"
                        android:visibility="gone">

                        <com.wang.avi.AVLoadingIndicatorView
                            android:id="@+id/av_loading"
                            android:layout_width="50dp"
                            android:layout_height="50dp"
                            android:clickable="false"
                            android:focusableInTouchMode="false"
                            app:indicatorColor="@color/btn_green"
                            app:indicatorName="BallSpinFadeLoaderIndicator" />
                    </LinearLayout>
                </FrameLayout>
<!--            </com.scwang.smartrefresh.layout.SmartRefreshLayout>-->


        </LinearLayout>

        <LinearLayout
            android:layout_width="match_parent"
            android:layout_height="0dp"
            android:layout_weight="0.5"
            android:gravity="center"
            android:visibility="gone">

            <Button
                android:id="@+id/btn_next"
                android:layout_width="match_parent"
                android:layout_height="40dp"
                android:layout_margin="20dp"
                android:background="@drawable/selector_xiaojia_btn_green"
                android:text="@string/btn_next_step"
                android:textColor="@color/white"
                android:textSize="16sp"
                android:textStyle="bold" />
        </LinearLayout>
    </LinearLayout>
</layout>