You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
95 lines
3.4 KiB
95 lines
3.4 KiB
<?xml version="1.0" encoding="utf-8"?> |
|
<!-- |
|
Copyright 2010-2013 Eric Kok et al. |
|
|
|
Transdroid is free software: you can redistribute it and/or modify |
|
it under the terms of the GNU General Public License as published by |
|
the Free Software Foundation, either version 3 of the License, or |
|
(at your option) any later version. |
|
|
|
Transdroid is distributed in the hope that it will be useful, |
|
but WITHOUT ANY WARRANTY; without even the implied warranty of |
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|
GNU General Public License for more details. |
|
|
|
You should have received a copy of the GNU General Public License |
|
along with Transdroid. If not, see <http://www.gnu.org/licenses/>. |
|
--> |
|
<!-- This layout is for 7" and 10" tablets in portrait and shows torrents and filters. --> |
|
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" |
|
xmlns:tools="http://schemas.android.com/tools" |
|
xmlns:app="http://schemas.android.com/apk/res-auto" |
|
android:layout_width="match_parent" |
|
android:layout_height="match_parent" |
|
android:orientation="vertical" |
|
tools:context=".core.gui.TorrentsActivity_"> |
|
|
|
<android.support.v7.widget.Toolbar |
|
android:id="@+id/torrents_toolbar" |
|
style="@style/DefaultToolbar" |
|
android:layout_width="match_parent" |
|
android:layout_height="wrap_content" |
|
android:minHeight="?attr/actionBarSize" /> |
|
|
|
<android.support.v7.widget.Toolbar |
|
android:id="@+id/actions_toolbar" |
|
style="@style/SplitToolbar" |
|
android:layout_width="match_parent" |
|
android:layout_height="wrap_content" |
|
android:layout_alignParentBottom="true" |
|
android:minHeight="?attr/actionBarSize" /> |
|
|
|
<android.support.v7.widget.SearchView |
|
android:id="@+id/filter_search" |
|
android:layout_width="@dimen/ui_filters_list" |
|
android:layout_height="wrap_content" |
|
android:layout_above="@id/actions_toolbar" |
|
android:layout_alignParentLeft="true" |
|
android:layout_alignParentStart="true" |
|
android:layout_margin="5dp" |
|
app:queryHint="@string/action_filter" |
|
app:iconifiedByDefault="false" /> |
|
|
|
<ListView |
|
android:id="@+id/filters_list" |
|
android:layout_width="@dimen/ui_filters_list" |
|
android:layout_height="match_parent" |
|
android:layout_above="@id/filter_search" |
|
android:layout_alignParentLeft="true" |
|
android:layout_alignParentStart="true" |
|
android:layout_below="@id/torrents_toolbar" |
|
android:choiceMode="singleChoice" |
|
tools:listitem="@layout/list_item_filter" /> |
|
|
|
<fragment |
|
android:id="@+id/torrents_fragment" |
|
class="org.transdroid.core.gui.TorrentsFragment_" |
|
android:layout_width="match_parent" |
|
android:layout_height="match_parent" |
|
android:layout_above="@id/actions_toolbar" |
|
android:layout_below="@id/torrents_toolbar" |
|
android:layout_toEndOf="@id/filter_search" |
|
android:layout_toRightOf="@id/filter_search" |
|
tools:layout="@layout/fragment_torrents" /> |
|
|
|
<View |
|
style="@style/DefaultToolbarShadow" |
|
android:layout_below="@id/torrents_toolbar" /> |
|
|
|
<View |
|
style="@style/SplitToolbarShadow" |
|
android:layout_above="@id/actions_toolbar" /> |
|
|
|
<include |
|
layout="@layout/actionbar_addbutton" |
|
android:layout_width="wrap_content" |
|
android:layout_height="wrap_content" |
|
android:layout_alignEnd="@+id/torrents_fragment" |
|
android:layout_alignParentBottom="true" |
|
android:layout_alignRight="@+id/torrents_fragment" |
|
android:layout_gravity="bottom|end" |
|
android:layout_marginBottom="20dp" |
|
android:layout_marginEnd="10dp" |
|
android:layout_marginRight="10dp" /> |
|
|
|
</RelativeLayout> |