<?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/register_gray"
|
android:orientation="vertical" >
|
|
<LinearLayout
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content"
|
android:background="@color/top_bar_color"
|
android:orientation="vertical" >
|
|
<RelativeLayout
|
android:layout_width="match_parent"
|
android:layout_height="48dp" >
|
|
<RadioGroup
|
android:id="@+id/rg_recent"
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:layout_centerInParent="true"
|
android:orientation="horizontal" >
|
|
<RadioButton
|
android:id="@+id/rb_watch_history"
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:background="@drawable/selector_switch_left_bg"
|
android:button="@null"
|
android:gravity="center"
|
android:paddingLeft="24dp"
|
android:paddingRight="24dp"
|
android:text="@string/watch_history"
|
android:textAppearance="?android:attr/textAppearanceSmall"
|
android:textColor="@color/white" />
|
|
<RadioButton
|
android:id="@+id/rb_offline_download"
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:background="@drawable/selector_switch_right_bg"
|
android:button="@null"
|
android:gravity="center"
|
android:paddingLeft="24dp"
|
android:paddingRight="24dp"
|
android:text="@string/offline_cache_title"
|
android:textAppearance="?android:attr/textAppearanceSmall"
|
android:textColor="@color/white" />
|
</RadioGroup>
|
|
<FrameLayout
|
android:layout_width="48dp"
|
android:layout_height="48dp"
|
android:layout_alignParentEnd="true"
|
android:layout_alignParentRight="true"
|
android:layout_centerVertical="true" >
|
|
<ToggleButton
|
android:id="@+id/btn_delete"
|
style="@style/TextBuleNormal"
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:layout_gravity="center"
|
android:background="@drawable/selector_delete"
|
android:minHeight="0dp"
|
android:minWidth="0dp"
|
android:textOff=""
|
android:textOn="取消" />
|
</FrameLayout>
|
</RelativeLayout>
|
|
<View
|
android:layout_width="match_parent"
|
android:layout_height="1px"
|
android:background="@color/blue" />
|
</LinearLayout>
|
|
<include layout="@layout/no_network" />
|
|
<FrameLayout
|
android:id="@+id/fl_recent_fragment_container"
|
android:layout_width="match_parent"
|
android:layout_height="0dp"
|
android:layout_weight="1" >
|
</FrameLayout>
|
|
<LinearLayout
|
android:id="@+id/ll_recent_bottom"
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content"
|
android:orientation="horizontal"
|
android:paddingTop="8dp"
|
android:visibility="visible" >
|
|
<Button
|
android:id="@+id/btn_select_all"
|
android:layout_width="0dp"
|
android:layout_height="wrap_content"
|
android:layout_weight="1"
|
android:background="@drawable/selector_btn_recent_color"
|
android:text="@string/select_all"
|
android:textColor="@color/gray" />
|
|
<View
|
android:layout_width="1dp"
|
android:layout_height="38dp"
|
android:layout_gravity="center"
|
android:background="@color/blue1" />
|
|
<Button
|
android:id="@+id/btn_delete_item"
|
android:layout_width="0dp"
|
android:layout_height="wrap_content"
|
android:layout_weight="1"
|
android:background="@drawable/selector_btn_recent_color"
|
android:text="@string/delete"
|
android:textColor="@color/top_bar_color" />
|
</LinearLayout>
|
|
</LinearLayout>
|