<?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:background="@color/theme"
|
android:orientation="vertical">
|
|
<include layout="@layout/no_network" />
|
|
<include
|
android:id="@+id/include_notice"
|
layout="@layout/notice" />
|
|
<LinearLayout
|
android:id="@+id/ll_container"
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content"
|
android:gravity="center"
|
android:orientation="vertical"></LinearLayout>
|
|
<FrameLayout
|
android:layout_width="match_parent"
|
android:layout_height="match_parent"
|
android:descendantFocusability="blocksDescendants">
|
|
<android.support.v4.widget.SwipeRefreshLayout
|
android:id="@+id/rl_recommend"
|
android:layout_width="match_parent"
|
android:layout_height="match_parent">
|
|
|
<android.support.v7.widget.RecyclerView
|
android:id="@+id/rv_recommend"
|
android:layout_width="match_parent"
|
android:layout_height="match_parent">
|
|
</android.support.v7.widget.RecyclerView>
|
|
|
</android.support.v4.widget.SwipeRefreshLayout>
|
|
|
<ImageView
|
android:id="@+id/iv_right_ad"
|
android:layout_width="wrap_content"
|
android:layout_height="80dp"
|
android:layout_gravity="center_vertical|right"
|
android:layout_marginTop="100dp"
|
android:visibility="gone" />
|
</FrameLayout>
|
|
|
</LinearLayout>
|