Loading app/src/main/java/net/sourceforge/opencamera/ui/MainUI.java +2 −0 Original line number Diff line number Diff line Loading @@ -192,6 +192,8 @@ public class MainUI { } private UIPlacement computeUIPlacement() { // Default top if (true) return UIPlacement.UIPLACEMENT_TOP; SharedPreferences sharedPreferences = PreferenceManager.getDefaultSharedPreferences(main_activity); String ui_placement_string = sharedPreferences.getString(PreferenceKeys.UIPlacementPreferenceKey, "ui_top"); switch( ui_placement_string ) { Loading app/src/main/res/xml/preferences_sub_gui.xml +2 −2 Original line number Diff line number Diff line Loading @@ -2,14 +2,14 @@ <PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android" android:key="preferences_root"> <ListPreference <!-- <ListPreference android:key="preference_ui_placement" android:title="@string/preference_ui_placement" android:summary="%s" android:entries="@array/preference_ui_placement_entries" android:entryValues="@array/preference_ui_placement_values" android:defaultValue="ui_top" /> /> --> <!-- if we move this to another PreferenceGroup, we should update code to remove this Preference --> <ListPreference Loading Loading
app/src/main/java/net/sourceforge/opencamera/ui/MainUI.java +2 −0 Original line number Diff line number Diff line Loading @@ -192,6 +192,8 @@ public class MainUI { } private UIPlacement computeUIPlacement() { // Default top if (true) return UIPlacement.UIPLACEMENT_TOP; SharedPreferences sharedPreferences = PreferenceManager.getDefaultSharedPreferences(main_activity); String ui_placement_string = sharedPreferences.getString(PreferenceKeys.UIPlacementPreferenceKey, "ui_top"); switch( ui_placement_string ) { Loading
app/src/main/res/xml/preferences_sub_gui.xml +2 −2 Original line number Diff line number Diff line Loading @@ -2,14 +2,14 @@ <PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android" android:key="preferences_root"> <ListPreference <!-- <ListPreference android:key="preference_ui_placement" android:title="@string/preference_ui_placement" android:summary="%s" android:entries="@array/preference_ui_placement_entries" android:entryValues="@array/preference_ui_placement_values" android:defaultValue="ui_top" /> /> --> <!-- if we move this to another PreferenceGroup, we should update code to remove this Preference --> <ListPreference Loading