180 lines
6.4 KiB
XML
180 lines
6.4 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<!--
|
|
Copyright (C) 2014 Hippo Seven
|
|
|
|
Licensed under the Apache License, Version 2.0 (the "License");
|
|
you may not use this file except in compliance with the License.
|
|
You may obtain a copy of the License at
|
|
|
|
http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
Unless required by applicable law or agreed to in writing, software
|
|
distributed under the License is distributed on an "AS IS" BASIS,
|
|
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
See the License for the specific language governing permissions and
|
|
limitations under the License.
|
|
-->
|
|
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="fill_parent"
|
|
android:layout_gravity="center"
|
|
android:orientation="vertical" >
|
|
|
|
<com.hippo.ehviewer.widget.CategoryTable
|
|
android:id="@+id/category_table"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="center"
|
|
android:layout_marginBottom="8dp"
|
|
android:layout_marginLeft="12dp"
|
|
android:layout_marginRight="12dp"
|
|
android:layout_marginTop="12dp" />
|
|
|
|
<CheckBox
|
|
android:id="@+id/checkbox_uploader"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginBottom="2dp"
|
|
android:layout_marginLeft="16dp"
|
|
android:text="@string/checkbox_uploader" />
|
|
|
|
<com.hippo.ehviewer.widget.PrefixEditText
|
|
android:id="@+id/search_text"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginBottom="16dp"
|
|
android:layout_marginLeft="16dp"
|
|
android:layout_marginRight="16dp"
|
|
android:ems="10"
|
|
android:hint="@string/hint_no_keyword"
|
|
android:singleLine="true" >
|
|
</com.hippo.ehviewer.widget.PrefixEditText>
|
|
|
|
<CheckBox
|
|
android:id="@+id/checkbox_advance"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="right"
|
|
android:layout_marginBottom="16dp"
|
|
android:layout_marginRight="16dp"
|
|
android:text="@string/checkbox_advance" />
|
|
|
|
<TableLayout
|
|
android:id="@+id/filter_advance"
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginBottom="24dp"
|
|
android:layout_marginLeft="8dp"
|
|
android:layout_marginRight="8dp"
|
|
android:visibility="gone" >
|
|
|
|
<TableRow
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="wrap_content" >
|
|
|
|
<CheckBox
|
|
android:id="@+id/checkbox_sname"
|
|
android:layout_width="0dp"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="center"
|
|
android:layout_weight="1"
|
|
android:checked="true"
|
|
android:text="@string/checkbox_sname" />
|
|
|
|
<CheckBox
|
|
android:id="@+id/checkbox_stags"
|
|
android:layout_width="0dp"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="center"
|
|
android:layout_weight="1"
|
|
android:checked="true"
|
|
android:text="@string/checkbox_stags" />
|
|
</TableRow>
|
|
|
|
<TableRow
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="wrap_content" >
|
|
|
|
<CheckBox
|
|
android:id="@+id/checkbox_sdesc"
|
|
android:layout_width="0dp"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="center"
|
|
android:layout_weight="1"
|
|
android:text="@string/checkbox_sdesc" />
|
|
|
|
<CheckBox
|
|
android:id="@+id/checkbox_storr"
|
|
android:layout_width="0dp"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="center"
|
|
android:layout_weight="1"
|
|
android:text="@string/checkbox_storr" />
|
|
</TableRow>
|
|
|
|
<TableRow
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="wrap_content" >
|
|
|
|
<CheckBox
|
|
android:id="@+id/checkbox_sto"
|
|
android:layout_width="0dp"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="center"
|
|
android:layout_weight="1"
|
|
android:text="@string/checkbox_sto" />
|
|
|
|
<CheckBox
|
|
android:id="@+id/checkbox_sdt1"
|
|
android:layout_width="0dp"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="center"
|
|
android:layout_weight="1"
|
|
android:text="@string/checkbox_sdt1" />
|
|
</TableRow>
|
|
|
|
<TableRow
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="wrap_content" >
|
|
|
|
<CheckBox
|
|
android:id="@+id/checkbox_sdt2"
|
|
android:layout_width="0dp"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="center"
|
|
android:layout_weight="1"
|
|
android:text="@string/checkbox_sdt2" />
|
|
|
|
<CheckBox
|
|
android:id="@+id/checkbox_sh"
|
|
android:layout_width="0dp"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="center"
|
|
android:layout_weight="1"
|
|
android:text="@string/checkbox_sh" />
|
|
</TableRow>
|
|
|
|
<TableRow
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="wrap_content" >
|
|
|
|
<CheckBox
|
|
android:id="@+id/checkbox_sr"
|
|
android:layout_width="0dp"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="center"
|
|
android:layout_weight="1"
|
|
android:text="@string/checkbox_sr" />
|
|
|
|
<Spinner
|
|
android:id="@+id/spinner_min_rating"
|
|
android:layout_width="0dp"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="center"
|
|
android:layout_weight="1"
|
|
android:entries="@array/min_rating" >
|
|
</Spinner>
|
|
</TableRow>
|
|
</TableLayout>
|
|
|
|
</LinearLayout> |