|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
<!-- This layout is for 7" tablets in landscape and 10" tablets and shows torrents, filters and details. -->
|
|
|
|
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
|
xmlns:tools="http://schemas.android.com/tools"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:orientation="horizontal"
|
|
|
|
android:baselineAligned="false"
|
|
|
|
tools:context=".TorrentsActivity" >
|
|
|
|
|
|
|
|
<ListView
|
|
|
|
android:id="@+id/filters_list"
|
|
|
|
android:layout_width="0dip"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:layout_weight="1"
|
|
|
|
android:choiceMode="singleChoice"
|
|
|
|
android:listSelector="@drawable/selectable_background_transdroid" />
|
|
|
|
|
|
|
|
<fragment
|
|
|
|
android:id="@+id/torrent_list"
|
|
|
|
android:layout_width="0dip"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:layout_weight="2"
|
|
|
|
class="org.transdroid.gui.TorrentsFragment"
|
|
|
|
tools:layout="@layout/fragment_torrents" />
|
|
|
|
|
|
|
|
<fragment
|
|
|
|
android:id="@+id/torrent_details"
|
|
|
|
android:layout_width="0dip"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:layout_weight="2"
|
|
|
|
class="org.transdroid.gui.DetailsFragment"
|
|
|
|
tools:layout="@layout/fragment_details" />
|
|
|
|
|
|
|
|
</LinearLayout>
|