Browse Source

Hide settings explanation when settings are available.

pull/11/head
Eric Kok 12 years ago
parent
commit
d3ff612c31
  1. 6
      core/res/layout/list_item_filter.xml
  2. 6
      core/res/layout/list_item_simple.xml
  3. 1
      core/src/org/transdroid/core/gui/TorrentsActivity.java

6
core/res/layout/list_item_filter.xml

@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android" <FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent" android:layout_width="wrap_content"
android:layout_height="match_parent" android:layout_height="wrap_content"
android:paddingBottom="@dimen/margin_half" android:paddingBottom="@dimen/margin_half"
android:paddingLeft="@dimen/margin_default" android:paddingLeft="@dimen/margin_default"
android:paddingRight="@dimen/margin_default" android:paddingRight="@dimen/margin_default"
@ -9,7 +9,7 @@
<TextView <TextView
android:id="@+id/item_text" android:id="@+id/item_text"
android:layout_width="match_parent" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:textIsSelectable="false" /> android:textIsSelectable="false" />

6
core/res/layout/list_item_simple.xml

@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android" <FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent" android:layout_width="wrap_content"
android:layout_height="match_parent" android:layout_height="wrap_content"
android:paddingBottom="4dip" android:paddingBottom="4dip"
android:paddingLeft="@dimen/margin_default" android:paddingLeft="@dimen/margin_default"
android:paddingRight="@dimen/margin_default" android:paddingRight="@dimen/margin_default"
@ -9,7 +9,7 @@
<TextView <TextView
android:id="@+id/item_text" android:id="@+id/item_text"
android:layout_width="match_parent" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:textSize="@dimen/text_default" android:textSize="@dimen/text_default"
android:textIsSelectable="false" android:textIsSelectable="false"

1
core/src/org/transdroid/core/gui/TorrentsActivity.java

@ -359,6 +359,7 @@ public class TorrentsActivity extends SherlockFragmentActivity implements OnNavi
else else
getSupportFragmentManager().beginTransaction().hide(fragmentDetails).commit(); getSupportFragmentManager().beginTransaction().hide(fragmentDetails).commit();
} }
supportInvalidateOptionsMenu();
} }
/** /**

Loading…
Cancel
Save