aboutsummaryrefslogtreecommitdiffstats
path: root/res/xml
diff options
context:
space:
mode:
authorjruesga <jorge@ruesga.com>2013-07-03 01:10:47 +0200
committerjruesga <jorge@ruesga.com>2013-07-03 01:10:47 +0200
commitb56df92031af88fb0a577b2a2ae5d75b826a7347 (patch)
treebc91dd5d3d2038615a80b57214de2842343c886e /res/xml
parenta3e8697366fe49c8b11060dab01466d6390beb3c (diff)
downloadandroid_packages_wallpapers_PhotoPhase-b56df92031af88fb0a577b2a2ae5d75b826a7347.tar.gz
android_packages_wallpapers_PhotoPhase-b56df92031af88fb0a577b2a2ae5d75b826a7347.tar.bz2
android_packages_wallpapers_PhotoPhase-b56df92031af88fb0a577b2a2ae5d75b826a7347.zip
Force redraw and empty texture buffer. Clear images buffer on reload
Initial layout disposition Signed-off-by: jruesga <jorge@ruesga.com>
Diffstat (limited to 'res/xml')
-rw-r--r--res/xml/preferences_layout.xml20
1 files changed, 19 insertions, 1 deletions
diff --git a/res/xml/preferences_layout.xml b/res/xml/preferences_layout.xml
index 6fdf438..7d2a9f2 100644
--- a/res/xml/preferences_layout.xml
+++ b/res/xml/preferences_layout.xml
@@ -14,13 +14,31 @@
limitations under the License.
-->
-<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android">
+<PreferenceScreen
+ xmlns:android="http://schemas.android.com/apk/res/android"
+ xmlns:photophase="http://schemas.android.com/apk/res/org.cyanogenmod.wallpapers.photophase">
<!-- Disposition -->
<PreferenceCategory
android:key="category_disposition"
android:title="@string/pref_layout_disposition">
+ <!-- Portrait -->
+ <Preference
+ android:key="ui_disposition_portrait"
+ android:title="@string/pref_disposition_portrait"
+ android:summary="@string/pref_disposition_portrait_summary"
+ android:fragment="org.cyanogenmod.wallpapers.photophase.preferences.PortraitDispositionFragment"
+ android:persistent="false" />
+
+ <!-- Landscape -->
+ <Preference
+ android:key="ui_disposition_landscape"
+ android:title="@string/pref_disposition_landscape"
+ android:summary="@string/pref_disposition_landscape_summary"
+ android:fragment="org.cyanogenmod.wallpapers.photophase.preferences.LandscapeDispositionFragment"
+ android:persistent="false" />
+
</PreferenceCategory>
</PreferenceScreen>