2012-06-11 Santiago Munin <burning1@gmail.com>

* src/pandroid_event_viewer/pandorafms/Main.java,
	res/layout/main.xml: Now the advanced options' layout is GONE not INVISIBLE.


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6489 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
santimunin 2012-06-11 15:09:09 +00:00
parent 27028ba81a
commit c7b37dce64
3 changed files with 8 additions and 3 deletions

View File

@ -1,3 +1,8 @@
2012-06-11 Santiago Munín <burning1@gmail.com>
* src/pandroid_event_viewer/pandorafms/Main.java,
res/layout/main.xml: Now the advanced options' layout is GONE not INVISIBLE.
2012-06-11 Santiago Munín <burning1@gmail.com>
* src/pandroid_event_viewer/pandorafms/Options.java,

View File

@ -121,7 +121,7 @@
android:layout_height="wrap_content"
android:orientation="vertical"
android:padding="5dp"
android:visibility="invisible" >
android:visibility="gone" >
<TextView
android:layout_width="wrap_content"

View File

@ -162,7 +162,7 @@ public class Main extends Activity {
if (preferences.getBoolean("show_advanced", false)) {
advancedOptions.setVisibility(View.VISIBLE);
} else {
advancedOptions.setVisibility(View.INVISIBLE);
advancedOptions.setVisibility(View.GONE);
setAdvancedOptionsDefaults();
clearAdvancedOptions();
}
@ -179,7 +179,7 @@ public class Main extends Activity {
advancedOptions.setVisibility(View.VISIBLE);
preferencesEditor.putBoolean("show_advanced", true);
} else {
advancedOptions.setVisibility(View.INVISIBLE);
advancedOptions.setVisibility(View.GONE);
preferencesEditor.putBoolean("show_advanced", false);
setAdvancedOptionsDefaults();
clearAdvancedOptions();