|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent" >
|
|
|
|
|
|
|
|
<com.actionbarsherlock.view.SherlockListView
|
|
|
|
android:id="@+id/torrent_list"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:choiceMode="multipleChoiceModal"
|
|
|
|
android:listSelector="@drawable/selectable_background_transdroid"
|
|
|
|
android:visibility="gone" />
|
|
|
|
|
|
|
|
<ProgressBar
|
|
|
|
android:id="@+id/loading_progress"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_gravity="center"
|
|
|
|
android:indeterminate="true"
|
|
|
|
android:indeterminateDrawable="@drawable/loading_progress"
|
|
|
|
android:indeterminateOnly="true"
|
|
|
|
android:visibility="visible" />
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/empty_text"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_gravity="center"
|
|
|
|
android:drawablePadding="8dip"
|
|
|
|
android:drawableTop="@drawable/ic_empty_details"
|
|
|
|
android:gravity="center"
|
|
|
|
android:maxWidth="400dip"
|
|
|
|
android:padding="@dimen/margin_default"
|
|
|
|
android:text="@string/navigation_emptytorrents"
|
|
|
|
android:textIsSelectable="false"
|
|
|
|
android:visibility="gone" />
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/error_text"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_gravity="center"
|
|
|
|
android:drawablePadding="8dip"
|
|
|
|
android:drawableTop="@drawable/ic_empty_details"
|
|
|
|
android:gravity="center"
|
|
|
|
android:maxWidth="400dip"
|
|
|
|
android:padding="@dimen/margin_default"
|
|
|
|
android:textIsSelectable="false"
|
|
|
|
android:visibility="gone" />
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/nosettings_text"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_gravity="center"
|
|
|
|
android:drawablePadding="8dip"
|
|
|
|
android:drawableTop="@drawable/ic_empty_details"
|
|
|
|
android:gravity="center"
|
|
|
|
android:maxWidth="400dip"
|
|
|
|
android:padding="@dimen/margin_default"
|
|
|
|
android:text="@string/navigation_nosettings"
|
|
|
|
android:textIsSelectable="false"
|
|
|
|
android:visibility="gone" />
|
|
|
|
|
|
|
|
</FrameLayout>
|