aboutsummaryrefslogtreecommitdiffstats
path: root/res
diff options
context:
space:
mode:
authorjruesga <jorge@ruesga.com>2013-07-01 02:42:54 +0200
committerjruesga <jorge@ruesga.com>2013-07-01 02:42:54 +0200
commitf29d68d929061ccbb982019c5020be721bbef862 (patch)
tree24ce41fb0dd7f942ca9dbe956fe93fe836da66c2 /res
downloadandroid_packages_wallpapers_PhotoPhase-f29d68d929061ccbb982019c5020be721bbef862.tar.gz
android_packages_wallpapers_PhotoPhase-f29d68d929061ccbb982019c5020be721bbef862.tar.bz2
android_packages_wallpapers_PhotoPhase-f29d68d929061ccbb982019c5020be721bbef862.zip
Initial commit
Signed-off-by: jruesga <jorge@ruesga.com>
Diffstat (limited to 'res')
-rw-r--r--res/anim/cards_animation.xml36
-rw-r--r--res/drawable-hdpi/ic_accept.pngbin0 -> 1320 bytes
-rw-r--r--res/drawable-hdpi/ic_launcher.pngbin0 -> 7888 bytes
-rw-r--r--res/drawable-hdpi/ic_overflow.pngbin0 -> 2837 bytes
-rw-r--r--res/drawable-hdpi/ic_return.pngbin0 -> 1653 bytes
-rw-r--r--res/drawable-mdpi/ic_accept.pngbin0 -> 1197 bytes
-rw-r--r--res/drawable-mdpi/ic_launcher.pngbin0 -> 3796 bytes
-rw-r--r--res/drawable-mdpi/ic_overflow.pngbin0 -> 1253 bytes
-rw-r--r--res/drawable-mdpi/ic_return.pngbin0 -> 971 bytes
-rw-r--r--res/drawable-nodpi/bg_card.9.pngbin0 -> 307 bytes
-rw-r--r--res/drawable-nodpi/bg_notification.9.pngbin0 -> 84 bytes
-rw-r--r--res/drawable-xhdpi/ic_accept.pngbin0 -> 1546 bytes
-rw-r--r--res/drawable-xhdpi/ic_launcher.pngbin0 -> 13096 bytes
-rw-r--r--res/drawable-xhdpi/ic_overflow.pngbin0 -> 2838 bytes
-rw-r--r--res/drawable-xhdpi/ic_return.pngbin0 -> 2769 bytes
-rw-r--r--res/drawable/card.xml22
-rw-r--r--res/drawable/holo_selector.xml38
-rw-r--r--res/layout/album.xml33
-rw-r--r--res/layout/album_info.xml79
-rw-r--r--res/layout/album_pictures.xml80
-rw-r--r--res/layout/choose_picture_fragment.xml32
-rw-r--r--res/layout/color_picker_pref_item.xml30
-rw-r--r--res/layout/picture_item.xml30
-rw-r--r--res/layout/preference_widget_seekbar.xml85
-rw-r--r--res/layout/preference_widget_seekbar_progress.xml27
-rw-r--r--res/menu/album_actions.xml24
-rw-r--r--res/menu/albums.xml22
-rw-r--r--res/menu/main.xml21
-rw-r--r--res/menu/pictures_actions.xml27
-rw-r--r--res/raw/alpha_fragment_shader.glsl26
-rw-r--r--res/raw/alpha_vertex_shader.glsl30
-rw-r--r--res/raw/color_fragment_shader.glsl23
-rw-r--r--res/raw/color_vertex_shader.glsl27
-rw-r--r--res/raw/default_fragment_shader.glsl24
-rw-r--r--res/raw/default_vertex_shader.glsl27
-rw-r--r--res/raw/translate_fragment_shader.glsl24
-rw-r--r--res/raw/translate_vertex_shader.glsl27
-rw-r--r--res/values-land/dimens.xml19
-rw-r--r--res/values-large/dimens.xml19
-rw-r--r--res/values-sw720dp-w1280dp/dimens.xml19
-rw-r--r--res/values-sw720dp/dimens.xml19
-rw-r--r--res/values/arrays.xml65
-rw-r--r--res/values/colors.xml26
-rw-r--r--res/values/config.xml21
-rw-r--r--res/values/dimens.xml47
-rw-r--r--res/values/strings.xml106
-rw-r--r--res/values/styles.xml107
-rw-r--r--res/xml/preferences_general.xml83
-rw-r--r--res/xml/preferences_headers.xml33
-rw-r--r--res/xml/preferences_layout.xml26
-rw-r--r--res/xml/preferences_media.xml57
-rw-r--r--res/xml/wallpaper.xml20
52 files changed, 1461 insertions, 0 deletions
diff --git a/res/anim/cards_animation.xml b/res/anim/cards_animation.xml
new file mode 100644
index 0000000..8ae21b3
--- /dev/null
+++ b/res/anim/cards_animation.xml
@@ -0,0 +1,36 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Copyright (C) 2013 The Android Open Source Project
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+
+<set xmlns:android="http://schemas.android.com/apk/res/android"
+ android:interpolator="@android:anim/accelerate_interpolator" >
+
+ <translate
+ android:duration="800"
+ android:fromYDelta="100%p"
+ android:toYDelta="0" />
+
+ <alpha
+ android:duration="800"
+ android:fromAlpha="0.0"
+ android:toAlpha="1.0" />
+
+ <rotate
+ android:duration="800"
+ android:fromDegrees="-25"
+ android:pivotX="100%"
+ android:pivotY="0"
+ android:toDegrees="0" />
+</set> \ No newline at end of file
diff --git a/res/drawable-hdpi/ic_accept.png b/res/drawable-hdpi/ic_accept.png
new file mode 100644
index 0000000..58bf972
--- /dev/null
+++ b/res/drawable-hdpi/ic_accept.png
Binary files differ
diff --git a/res/drawable-hdpi/ic_launcher.png b/res/drawable-hdpi/ic_launcher.png
new file mode 100644
index 0000000..b60bb7e
--- /dev/null
+++ b/res/drawable-hdpi/ic_launcher.png
Binary files differ
diff --git a/res/drawable-hdpi/ic_overflow.png b/res/drawable-hdpi/ic_overflow.png
new file mode 100644
index 0000000..493e1f1
--- /dev/null
+++ b/res/drawable-hdpi/ic_overflow.png
Binary files differ
diff --git a/res/drawable-hdpi/ic_return.png b/res/drawable-hdpi/ic_return.png
new file mode 100644
index 0000000..e487ee8
--- /dev/null
+++ b/res/drawable-hdpi/ic_return.png
Binary files differ
diff --git a/res/drawable-mdpi/ic_accept.png b/res/drawable-mdpi/ic_accept.png
new file mode 100644
index 0000000..cf5fab3
--- /dev/null
+++ b/res/drawable-mdpi/ic_accept.png
Binary files differ
diff --git a/res/drawable-mdpi/ic_launcher.png b/res/drawable-mdpi/ic_launcher.png
new file mode 100644
index 0000000..cf96da3
--- /dev/null
+++ b/res/drawable-mdpi/ic_launcher.png
Binary files differ
diff --git a/res/drawable-mdpi/ic_overflow.png b/res/drawable-mdpi/ic_overflow.png
new file mode 100644
index 0000000..133a5c1
--- /dev/null
+++ b/res/drawable-mdpi/ic_overflow.png
Binary files differ
diff --git a/res/drawable-mdpi/ic_return.png b/res/drawable-mdpi/ic_return.png
new file mode 100644
index 0000000..ff100de
--- /dev/null
+++ b/res/drawable-mdpi/ic_return.png
Binary files differ
diff --git a/res/drawable-nodpi/bg_card.9.png b/res/drawable-nodpi/bg_card.9.png
new file mode 100644
index 0000000..d0612b1
--- /dev/null
+++ b/res/drawable-nodpi/bg_card.9.png
Binary files differ
diff --git a/res/drawable-nodpi/bg_notification.9.png b/res/drawable-nodpi/bg_notification.9.png
new file mode 100644
index 0000000..4d60ecb
--- /dev/null
+++ b/res/drawable-nodpi/bg_notification.9.png
Binary files differ
diff --git a/res/drawable-xhdpi/ic_accept.png b/res/drawable-xhdpi/ic_accept.png
new file mode 100644
index 0000000..b891571
--- /dev/null
+++ b/res/drawable-xhdpi/ic_accept.png
Binary files differ
diff --git a/res/drawable-xhdpi/ic_launcher.png b/res/drawable-xhdpi/ic_launcher.png
new file mode 100644
index 0000000..6088d25
--- /dev/null
+++ b/res/drawable-xhdpi/ic_launcher.png
Binary files differ
diff --git a/res/drawable-xhdpi/ic_overflow.png b/res/drawable-xhdpi/ic_overflow.png
new file mode 100644
index 0000000..0c844f3
--- /dev/null
+++ b/res/drawable-xhdpi/ic_overflow.png
Binary files differ
diff --git a/res/drawable-xhdpi/ic_return.png b/res/drawable-xhdpi/ic_return.png
new file mode 100644
index 0000000..2f9e9bf
--- /dev/null
+++ b/res/drawable-xhdpi/ic_return.png
Binary files differ
diff --git a/res/drawable/card.xml b/res/drawable/card.xml
new file mode 100644
index 0000000..f7b2b18
--- /dev/null
+++ b/res/drawable/card.xml
@@ -0,0 +1,22 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Copyright (C) 2013 The CyanogenMod Project
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+ -->
+
+<layer-list xmlns:android="http://schemas.android.com/apk/res/android" >
+
+ <item android:drawable="@drawable/holo_selector" />
+ <item android:drawable="@drawable/bg_card" />
+
+</layer-list>
diff --git a/res/drawable/holo_selector.xml b/res/drawable/holo_selector.xml
new file mode 100644
index 0000000..8f52dd4
--- /dev/null
+++ b/res/drawable/holo_selector.xml
@@ -0,0 +1,38 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Copyright (C) 2013 The CyanogenMod Project
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+ -->
+
+<selector xmlns:android="http://schemas.android.com/apk/res/android"
+ android:exitFadeDuration="@android:integer/config_shortAnimTime">
+
+ <item
+ android:drawable="@android:color/holo_red_dark"
+ android:state_pressed="true" />
+ <item
+ android:drawable="@android:color/holo_red_light"
+ android:state_enabled="true"
+ android:state_focused="true" />
+ <item
+ android:drawable="@android:color/holo_red_light"
+ android:state_enabled="true"
+ android:state_checked="true" />
+ <item
+ android:drawable="@android:color/holo_red_light"
+ android:state_enabled="true"
+ android:state_selected="true" />
+ <item
+ android:drawable="@android:color/transparent" />
+
+</selector>
diff --git a/res/layout/album.xml b/res/layout/album.xml
new file mode 100644
index 0000000..94c87eb
--- /dev/null
+++ b/res/layout/album.xml
@@ -0,0 +1,33 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Copyright (C) 2013 The Android Open Source Project
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+
+<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:layout_marginBottom="@dimen/small_margin"
+ android:orientation="vertical">
+
+ <include android:id="@+id/album_info"
+ layout="@layout/album_info"
+ android:layout_alignParentTop="true"
+ android:layout_alignParentLeft="true" />
+
+ <include android:id="@+id/album_pictures"
+ layout="@layout/album_pictures"
+ android:layout_alignParentTop="true"
+ android:layout_alignParentLeft="true" />
+
+</RelativeLayout>
diff --git a/res/layout/album_info.xml b/res/layout/album_info.xml
new file mode 100644
index 0000000..3c4cc70
--- /dev/null
+++ b/res/layout/album_info.xml
@@ -0,0 +1,79 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Copyright (C) 2013 The Android Open Source Project
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+
+<org.cyanogenmod.wallpapers.photophase.widgets.AlbumInfo
+ xmlns:android="http://schemas.android.com/apk/res/android"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ style="@style/PhotoPhase.Album">
+
+ <ImageView android:id="@+id/album_thumbnail"
+ android:layout_width="@dimen/album_size"
+ android:layout_height="@dimen/album_size"
+ android:scaleType="fitXY"
+ android:layout_marginRight="@dimen/album_margin"
+ android:contentDescription="@null"
+ style="@style/PhotoPhase.Album.Thumbnail" />
+
+ <TextView android:id="@+id/album_selected_items"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_alignRight="@id/album_thumbnail"
+ android:layout_alignBottom="@id/album_thumbnail"
+ style="PhotoPhase.Notification" />
+
+ <LinearLayout
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
+ android:layout_toRightOf="@id/album_thumbnail"
+ android:layout_alignTop="@id/album_thumbnail"
+ android:layout_alignBottom="@id/album_thumbnail"
+ android:orientation="vertical"
+ style="@style/PhotoPhase.Album.Info">
+
+ <TextView android:id="@+id/album_name"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_weight="1"
+ android:paddingBottom="@dimen/album_info_margin"
+ android:gravity="bottom"
+ android:ellipsize="end"
+ android:singleLine="true"
+ style="@style/PhotoPhase.TextAppearance.Primary" />
+
+ <TextView android:id="@+id/album_items"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_weight="1"
+ android:paddingTop="@dimen/album_info_margin"
+ android:gravity="top"
+ android:ellipsize="end"
+ android:singleLine="true"
+ style="@style/PhotoPhase.TextAppearance.Secondary" />
+
+ </LinearLayout>
+
+ <ImageView android:id="@+id/overflow"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_alignParentRight="true"
+ android:layout_alignParentBottom="true"
+ android:layout_gravity="top"
+ android:padding="@dimen/small_padding"
+ android:contentDescription="@null"
+ style="@style/PhotoPhase.Album.MenuBar.Overflow" />
+
+</org.cyanogenmod.wallpapers.photophase.widgets.AlbumInfo>
diff --git a/res/layout/album_pictures.xml b/res/layout/album_pictures.xml
new file mode 100644
index 0000000..71a1a49
--- /dev/null
+++ b/res/layout/album_pictures.xml
@@ -0,0 +1,80 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Copyright (C) 2013 The Android Open Source Project
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+
+<org.cyanogenmod.wallpapers.photophase.widgets.AlbumPictures xmlns:android="http://schemas.android.com/apk/res/android"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:background="@drawable/card"
+ style="@style/PhotoPhase.Album">
+
+ <TextView android:id="@+id/album_pictures_title"
+ android:layout_width="@dimen/album_size"
+ android:layout_height="@dimen/album_title_height"
+ android:layout_alignParentLeft="true"
+ android:layout_alignParentTop="true"
+ style="@style/PhotoPhase.Album.Title" />
+
+ <LinearLayout android:id="@+id/album_menubar"
+ android:layout_width="wrap_content"
+ android:layout_height="@dimen/album_size"
+ android:layout_marginLeft="@dimen/small_margin"
+ android:layout_marginRight="@dimen/small_margin"
+ android:layout_alignParentTop="true"
+ android:layout_alignParentBottom="true"
+ android:layout_alignParentRight="true"
+ android:orientation="vertical">
+
+ <ImageView android:id="@+id/back"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_weight="1"
+ android:contentDescription="@null"
+ style="@style/PhotoPhase.Album.MenuBar.Return" />
+
+ <Space
+ android:layout_width="0dp"
+ android:layout_height="wrap_content"/>
+
+ <ImageView android:id="@+id/overflow"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_weight="1"
+ android:contentDescription="@null"
+ style="@style/PhotoPhase.Album.MenuBar.Overflow" />
+ </LinearLayout>
+
+ <org.cyanogenmod.wallpapers.photophase.widgets.PicturesView
+ android:id="@+id/album_pictures_scroller"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
+ android:layout_marginLeft="@dimen/album_title_height"
+ android:layout_alignParentLeft="true"
+ android:layout_toLeftOf="@id/album_menubar"
+ android:fillViewport="true"
+ android:scrollbars="none"
+ android:layout_weight="1">
+
+ <LinearLayout android:id="@+id/album_pictures_holder"
+ android:layout_width="wrap_content"
+ android:layout_height="match_parent"
+ android:orientation="horizontal">
+
+ <!-- Pictures go here -->
+
+ </LinearLayout>
+ </org.cyanogenmod.wallpapers.photophase.widgets.PicturesView>
+
+</org.cyanogenmod.wallpapers.photophase.widgets.AlbumPictures>
diff --git a/res/layout/choose_picture_fragment.xml b/res/layout/choose_picture_fragment.xml
new file mode 100644
index 0000000..f2c8b1d
--- /dev/null
+++ b/res/layout/choose_picture_fragment.xml
@@ -0,0 +1,32 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Copyright (C) 2013 The Android Open Source Project
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+
+<ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
+ xmlns:tools="http://schemas.android.com/tools"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
+ android:fillViewport="true"
+ android:scrollbars="none">
+
+ <org.cyanogenmod.wallpapers.photophase.widgets.CardLayout
+ android:id="@+id/albums_panel"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
+ android:orientation="vertical"
+ android:paddingTop="@dimen/small_margin" />
+
+</ScrollView>
+
diff --git a/res/layout/color_picker_pref_item.xml b/res/layout/color_picker_pref_item.xml
new file mode 100644
index 0000000..a3d4a6c
--- /dev/null
+++ b/res/layout/color_picker_pref_item.xml
@@ -0,0 +1,30 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Copyright (C) 2013 The CyanogenMod Project
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+ -->
+
+<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
+ android:layout_width="48dp"
+ android:layout_height="32dp"
+ android:background="@android:color/darker_gray">
+ <afzkl.development.mColorPicker.views.ColorPanelView
+ android:id="@+android:id/color_picker"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
+ android:layout_margin="1dp"
+ android:layout_gravity="center"
+ android:focusable="false"
+ android:clickable="false" />
+</LinearLayout>
+
diff --git a/res/layout/picture_item.xml b/res/layout/picture_item.xml
new file mode 100644
index 0000000..01ebdce
--- /dev/null
+++ b/res/layout/picture_item.xml
@@ -0,0 +1,30 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Copyright (C) 2013 The Android Open Source Project
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+
+<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
+ android:id="@+id/picture"
+ android:layout_width="@dimen/picture_size"
+ android:layout_height="@dimen/picture_size"
+ style="@style/PhotoPhase.Album.Picture">
+
+ <ImageView android:id="@+id/picture_thumbnail"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
+ android:scaleType="fitXY"
+ android:background="@color/album_thumbnail_color"
+ android:contentDescription="@null" />
+
+</FrameLayout>
diff --git a/res/layout/preference_widget_seekbar.xml b/res/layout/preference_widget_seekbar.xml
new file mode 100644
index 0000000..e528abc
--- /dev/null
+++ b/res/layout/preference_widget_seekbar.xml
@@ -0,0 +1,85 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Copyright (C) 2013 The Android Open Source Project
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+
+<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:minHeight="?android:attr/listPreferredItemHeight"
+ android:gravity="center_vertical"
+ android:baselineAligned="false"
+ android:paddingEnd="?android:attr/scrollbarSize">
+
+ <LinearLayout
+ android:layout_width="wrap_content"
+ android:layout_height="match_parent"
+ android:gravity="center"
+ android:minWidth="@dimen/preference_icon_minWidth"
+ android:orientation="horizontal">
+ <ImageView
+ android:id="@+android:id/icon"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_gravity="center"
+ android:minWidth="48dp"
+ />
+ </LinearLayout>
+
+ <RelativeLayout
+ android:layout_width="0dip"
+ android:layout_height="wrap_content"
+ android:layout_marginStart="8dip"
+ android:layout_marginEnd="8dip"
+ android:layout_marginTop="6dip"
+ android:layout_marginBottom="6dip"
+ android:layout_weight="1">
+
+ <TextView android:id="@+android:id/title"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:singleLine="true"
+ android:textAppearance="?android:attr/textAppearanceMedium"
+ android:ellipsize="marquee"
+ android:fadingEdge="horizontal" />
+
+ <TextView android:id="@+android:id/summary"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_below="@android:id/title"
+ android:layout_alignStart="@android:id/title"
+ android:textAppearance="?android:attr/textAppearanceSmall"
+ android:textColor="?android:attr/textColorSecondary"
+ android:maxLines="4" />
+
+ <!-- Preference should place its actual preference widget here. -->
+ <LinearLayout android:id="@+android:id/widget_frame"
+ android:layout_width="wrap_content"
+ android:layout_height="match_parent"
+ android:layout_below="@android:id/summary"
+ android:layout_alignStart="@android:id/title"
+ android:minWidth="@dimen/preference_widget_width"
+ android:gravity="center"
+ android:orientation="vertical" />
+
+ <SeekBar android:id="@+id/seekbar"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:layout_below="@android:id/summary"
+ android:layout_toEndOf="@android:id/widget_frame"
+ android:layout_alignParentEnd="true" />
+
+ </RelativeLayout>
+
+</LinearLayout>
diff --git a/res/layout/preference_widget_seekbar_progress.xml b/res/layout/preference_widget_seekbar_progress.xml
new file mode 100644
index 0000000..b9eead0
--- /dev/null
+++ b/res/layout/preference_widget_seekbar_progress.xml
@@ -0,0 +1,27 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Copyright (C) 2013 The Android Open Source Project
+ Copyright (C) 2013 The CyanogenMod Project
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+
+<TextView xmlns:android="http://schemas.android.com/apk/res/android"
+ android:id="@+id/text"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
+ android:gravity="center"
+ android:minWidth="50sp"
+ android:textAppearance="?android:attr/textAppearanceMedium"
+ android:textColor="?android:attr/textColorSecondary"
+ android:layout_gravity="center" />
+
diff --git a/res/menu/album_actions.xml b/res/menu/album_actions.xml
new file mode 100644
index 0000000..a01d014
--- /dev/null
+++ b/res/menu/album_actions.xml
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Copyright (C) 2013 The CyanogenMod Project
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+ -->
+
+<menu xmlns:android="http://schemas.android.com/apk/res/android">
+ <item android:id="@+id/mnu_select_album"
+ android:title="@string/mnu_select_album"
+ android:showAsAction="never" />
+ <item android:id="@+id/mnu_deselect_album"
+ android:title="@string/mnu_deselect_album"
+ android:showAsAction="never" />
+</menu>
diff --git a/res/menu/albums.xml b/res/menu/albums.xml
new file mode 100644
index 0000000..4a64b62
--- /dev/null
+++ b/res/menu/albums.xml
@@ -0,0 +1,22 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Copyright (C) 2013 The CyanogenMod Project
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+ -->
+
+<menu xmlns:android="http://schemas.android.com/apk/res/android">
+ <item android:id="@+id/mnu_ok"
+ android:title="@string/mnu_ok"
+ android:icon="@drawable/ic_accept"
+ android:showAsAction="always|withText" />
+</menu>
diff --git a/res/menu/main.xml b/res/menu/main.xml
new file mode 100644
index 0000000..772ec04
--- /dev/null
+++ b/res/menu/main.xml
@@ -0,0 +1,21 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Copyright (C) 2013 The CyanogenMod Project
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+ -->
+
+<menu xmlns:android="http://schemas.android.com/apk/res/android">
+ <item android:id="@+id/mnu_settings"
+ android:title="@string/mnu_settings"
+ android:showAsAction="never" />
+</menu>
diff --git a/res/menu/pictures_actions.xml b/res/menu/pictures_actions.xml
new file mode 100644
index 0000000..f1eecc5
--- /dev/null
+++ b/res/menu/pictures_actions.xml
@@ -0,0 +1,27 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Copyright (C) 2013 The CyanogenMod Project
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+ -->
+
+<menu xmlns:android="http://schemas.android.com/apk/res/android">
+ <item android:id="@+id/mnu_select_all"
+ android:title="@string/mnu_select_all"
+ android:showAsAction="never" />
+ <item android:id="@+id/mnu_deselect_all"
+ android:title="@string/mnu_deselect_all"
+ android:showAsAction="never" />
+ <item android:id="@+id/mnu_invert_selection"
+ android:title="@string/mnu_invert_selection"
+ android:showAsAction="never" />
+</menu>
diff --git a/res/raw/alpha_fragment_shader.glsl b/res/raw/alpha_fragment_shader.glsl
new file mode 100644
index 0000000..777f6a2
--- /dev/null
+++ b/res/raw/alpha_fragment_shader.glsl
@@ -0,0 +1,26 @@
+/*
+ * Copyright (C) 2013 The CyanogenMod Project
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+precision mediump float;
+
+uniform sampler2D sTexture;
+
+varying vec2 vTextureCoord;
+varying float vAlpha;
+
+void main() {
+ gl_FragColor = texture2D(sTexture, vTextureCoord);
+}
diff --git a/res/raw/alpha_vertex_shader.glsl b/res/raw/alpha_vertex_shader.glsl
new file mode 100644
index 0000000..d411ad5
--- /dev/null
+++ b/res/raw/alpha_vertex_shader.glsl
@@ -0,0 +1,30 @@
+/*
+ * Copyright (C) 2013 The CyanogenMod Project
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+uniform mat4 uMVPMatrix;
+
+attribute vec4 aPosition;
+attribute vec2 aTextureCoord;
+attribute float aAlpha;
+
+varying vec2 vTextureCoord;
+varying float vAlpha;
+
+void main() {
+ gl_Position = uMVPMatrix * aPosition;
+ vTextureCoord = aTextureCoord;
+ vAlpha = aAlpha;
+}
diff --git a/res/raw/color_fragment_shader.glsl b/res/raw/color_fragment_shader.glsl
new file mode 100644
index 0000000..d1ad102
--- /dev/null
+++ b/res/raw/color_fragment_shader.glsl
@@ -0,0 +1,23 @@
+/*
+ * Copyright (C) 2013 The CyanogenMod Project
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+precision mediump float;
+
+varying vec4 vColor;
+
+void main() {
+ gl_FragColor = vColor;
+}
diff --git a/res/raw/color_vertex_shader.glsl b/res/raw/color_vertex_shader.glsl
new file mode 100644
index 0000000..c1143e5
--- /dev/null
+++ b/res/raw/color_vertex_shader.glsl
@@ -0,0 +1,27 @@
+/*
+ * Copyright (C) 2013 The CyanogenMod Project
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+uniform mat4 uMVPMatrix;
+
+attribute vec4 aPosition;
+attribute vec4 aColor;
+
+varying vec4 vColor;
+
+void main() {
+ gl_Position = uMVPMatrix * aPosition;
+ vColor = aColor;
+}
diff --git a/res/raw/default_fragment_shader.glsl b/res/raw/default_fragment_shader.glsl
new file mode 100644
index 0000000..55cbf0b
--- /dev/null
+++ b/res/raw/default_fragment_shader.glsl
@@ -0,0 +1,24 @@
+/*
+ * Copyright (C) 2013 The CyanogenMod Project
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+precision mediump float;
+
+varying vec2 vTextureCoord;
+uniform sampler2D sTexture;
+
+void main() {
+ gl_FragColor = texture2D(sTexture, vTextureCoord);
+}
diff --git a/res/raw/default_vertex_shader.glsl b/res/raw/default_vertex_shader.glsl
new file mode 100644
index 0000000..dad4d5a
--- /dev/null
+++ b/res/raw/default_vertex_shader.glsl
@@ -0,0 +1,27 @@
+/*
+ * Copyright (C) 2013 The CyanogenMod Project
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+uniform mat4 uMVPMatrix;
+
+attribute vec4 aPosition;
+attribute vec2 aTextureCoord;
+
+varying vec2 vTextureCoord;
+
+void main() {
+ gl_Position = uMVPMatrix * aPosition;
+ vTextureCoord = aTextureCoord;
+}
diff --git a/res/raw/translate_fragment_shader.glsl b/res/raw/translate_fragment_shader.glsl
new file mode 100644
index 0000000..55cbf0b
--- /dev/null
+++ b/res/raw/translate_fragment_shader.glsl
@@ -0,0 +1,24 @@
+/*
+ * Copyright (C) 2013 The CyanogenMod Project
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+precision mediump float;
+
+varying vec2 vTextureCoord;
+uniform sampler2D sTexture;
+
+void main() {
+ gl_FragColor = texture2D(sTexture, vTextureCoord);
+}
diff --git a/res/raw/translate_vertex_shader.glsl b/res/raw/translate_vertex_shader.glsl
new file mode 100644
index 0000000..1229d64
--- /dev/null
+++ b/res/raw/translate_vertex_shader.glsl
@@ -0,0 +1,27 @@
+/*
+ * Copyright (C) 2013 The CyanogenMod Project
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+uniform mat4 uMVPMatrix;
+
+attribute vec4 aPosition;
+attribute vec2 aTextureCoord;
+
+varying vec2 vTextureCoord;
+
+void main() {
+ gl_Position = uMVPMatrix * aPosition;
+ vTextureCoord = aTextureCoord;
+}
diff --git a/res/values-land/dimens.xml b/res/values-land/dimens.xml
new file mode 100644
index 0000000..0973569
--- /dev/null
+++ b/res/values-land/dimens.xml
@@ -0,0 +1,19 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Copyright (C) 2013 The CyanogenMod Project
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+ -->
+
+<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
+ <dimen name="preference_widget_width">72dp</dimen>
+</resources>
diff --git a/res/values-large/dimens.xml b/res/values-large/dimens.xml
new file mode 100644
index 0000000..1c94cab
--- /dev/null
+++ b/res/values-large/dimens.xml
@@ -0,0 +1,19 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Copyright (C) 2013 The CyanogenMod Project
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+ -->
+
+<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
+ <dimen name="preference_widget_width">56dp</dimen>
+</resources>
diff --git a/res/values-sw720dp-w1280dp/dimens.xml b/res/values-sw720dp-w1280dp/dimens.xml
new file mode 100644
index 0000000..c0d9720
--- /dev/null
+++ b/res/values-sw720dp-w1280dp/dimens.xml
@@ -0,0 +1,19 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Copyright (C) 2013 The CyanogenMod Project
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+ -->
+
+<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
+ <dimen name="preference_widget_width">64dp</dimen>
+</resources>
diff --git a/res/values-sw720dp/dimens.xml b/res/values-sw720dp/dimens.xml
new file mode 100644
index 0000000..4868a22
--- /dev/null
+++ b/res/values-sw720dp/dimens.xml
@@ -0,0 +1,19 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Copyright (C) 2013 The CyanogenMod Project
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+ -->
+
+<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
+ <dimen name="preference_icon_minWidth">56dp</dimen>
+</resources>
diff --git a/res/values/arrays.xml b/res/values/arrays.xml
new file mode 100644
index 0000000..d2bb590
--- /dev/null
+++ b/res/values/arrays.xml
@@ -0,0 +1,65 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Copyright (C) 2013 The CyanogenMod Project
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+ -->
+
+<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
+
+ <string-array name="refresh_intervals_labels" translatable="false">
+ <item>@string/refresh_intervals_disabled</item>
+ <item>@string/refresh_intervals_1h</item>
+ <item>@string/refresh_intervals_4h</item>
+ <item>@string/refresh_intervals_1d</item>
+ <item>@string/refresh_intervals_2d</item>
+ <item>@string/refresh_intervals_1w</item>
+ </string-array>
+
+ <string-array name="refresh_intervals_values" translatable="false">
+ <item>0</item>
+ <item>3600</item>
+ <item>14400</item>
+ <item>86400</item>
+ <item>172800</item>
+ <item>604800</item>
+ </string-array>
+
+ <string-array name="transitions_labels" translatable="false">
+ <item>@string/transitions_random</item>
+ <item>@string/transitions_swap</item>
+ <item>@string/transitions_fade</item>
+ <item>@string/transitions_translation</item>
+ </string-array>
+
+ <string-array name="transitions_values" translatable="false">
+ <item>0</item>
+ <item>2</item>
+ <item>3</item>
+ <item>4</item>
+ </string-array>
+
+ <string-array name="effects_labels" translatable="false">
+ <item>@string/effects_none</item>
+ <item>@string/effects_random</item>
+ <item>@string/effects_black_and_white</item>
+ <item>@string/effects_sepia</item>
+ </string-array>
+
+ <string-array name="effects_values" translatable="false">
+ <item>1</item>
+ <item>0</item>
+ <item>2</item>
+ <item>3</item>
+ </string-array>
+
+</resources>
diff --git a/res/values/colors.xml b/res/values/colors.xml
new file mode 100644
index 0000000..2df0078
--- /dev/null
+++ b/res/values/colors.xml
@@ -0,0 +1,26 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Copyright (C) 2013 The CyanogenMod Project
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+ -->
+
+<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
+
+ <color name="wallpaper_background_color">#ff202020</color>
+ <color name="wallpaper_overlay_color">#aa202020</color>
+
+ <color name="album_thumbnail_color">#aa202020</color>
+
+ <color name="text_color">#404040</color>
+ <color name="notification_text_color">#ffffffff</color>
+</resources>
diff --git a/res/values/config.xml b/res/values/config.xml
new file mode 100644
index 0000000..71d41f7
--- /dev/null
+++ b/res/values/config.xml
@@ -0,0 +1,21 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Copyright (C) 2013 The CyanogenMod Project
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+ -->
+
+<resources>
+ <!-- Wether preserve EGL context on pause. Disable when the devices doesn't support
+ multiples EGL contexts -->
+ <bool name="config_preserve_egl_context">true</bool>
+</resources>
diff --git a/res/values/dimens.xml b/res/values/dimens.xml
new file mode 100644
index 0000000..e22bc83
--- /dev/null
+++ b/res/values/dimens.xml
@@ -0,0 +1,47 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Copyright (C) 2013 The CyanogenMod Project
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+ -->
+
+<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
+ <dimen name="preference_icon_minWidth">0dp</dimen>
+ <dimen name="preference_widget_width">48dp</dimen>
+
+ <dimen name="primary_text_size">18sp</dimen>
+ <dimen name="secondary_text_size">14sp</dimen>
+ <dimen name="notification_text_size">12sp</dimen>
+
+ <dimen name="album_size">96dp</dimen>
+ <dimen name="album_card_margin_bottom">8dp</dimen>
+ <dimen name="album_margin">16dp</dimen>
+ <dimen name="album_info_margin">2dp</dimen>
+
+ <dimen name="album_title_height">20dp</dimen>
+ <dimen name="album_title_margin_top">38dp</dimen>
+ <dimen name="album_title_margin_left">-38dp</dimen>
+
+ <dimen name="picture_size">80dp</dimen>
+ <dimen name="picture_vertical_margin">8dp</dimen>
+ <dimen name="picture_horizontal_margin">4dp</dimen>
+
+ <dimen name="notification_min_width">32dp</dimen>
+ <dimen name="notification_min_height">32dp</dimen>
+ <dimen name="notification_padding">3dp</dimen>
+
+ <dimen name="toolbutton_padding">5dp</dimen>
+
+ <dimen name="default_margin">16dp</dimen>
+ <dimen name="small_margin">8dp</dimen>
+ <dimen name="small_padding">5dp</dimen>
+</resources>
diff --git a/res/values/strings.xml b/res/values/strings.xml
new file mode 100644
index 0000000..1b320b6
--- /dev/null
+++ b/res/values/strings.xml
@@ -0,0 +1,106 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Copyright (C) 2013 The CyanogenMod Project
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+ -->
+
+<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
+
+ <!-- The application name -->
+ <string name="app_name" translatable="false">PhotoPhase</string>
+ <!-- The app description -->
+ <string name="app_description">PhotoPhase Live Wallpaper</string>
+
+ <!-- Menus -->
+ <string name="mnu_ok" translatable="false">@android:string/ok</string>
+ <string name="mnu_settings">Settings</string>
+ <string name="mnu_select_all">Select all</string>
+ <string name="mnu_deselect_all">Deselect all</string>
+ <string name="mnu_invert_selection">Invert selection</string>
+ <string name="mnu_select_album">Select album</string>
+ <string name="mnu_deselect_album">Deselect album</string>
+
+ <!-- Preferences -->
+ <string name="pref_general">General</string>
+ <string name="pref_general_summary">Access to general settings, effects and transitions</string>
+ <string name="pref_general_settings">Settings</string>
+ <string name="pref_general_settings_wallpaper_dim">Wallpaper dim</string>
+ <string name="pref_general_settings_wallpaper_dim_format">%s%%</string>
+ <string name="pref_general_settings_wallpaper_dim_summary">Set the brightness of the wallpaper for a better visualization and battery performance</string>
+ <string name="pref_general_settings_background_color">Background color</string>
+ <string name="pref_general_settings_background_color_summary">Set the background color of the wallpaper</string>
+
+ <string name="pref_general_transitions">Transitions</string>
+ <string name="pref_general_transitions_types">Types</string>
+ <string name="pref_general_transitions_types_summary">Select the types of transition effects to be applied</string>
+ <string name="pref_general_transitions_interval">Interval</string>
+ <string name="pref_general_transitions_interval_summary">Set how often are triggered the picture transitions</string>
+ <string name="pref_general_transitions_interval_format">%s sec.</string>
+ <string name="pref_general_effects">Effects</string>
+ <string name="pref_general_effects_types">Types</string>
+ <string name="pref_general_effects_types_summary">Select the types of image effects to be applied to the pictures</string>
+
+ <string name="pref_media">Media</string>
+ <string name="pref_media_summary">Set the pictures and albums to be displayed, the refresh interval and other media settings</string>
+ <string name="pref_media_settings">Settings</string>
+ <string name="pref_media_settings_refresh_interval">Refresh interval</string>
+ <string name="pref_media_settings_refresh_interval_disable">The search of new pictures is disabled</string>
+ <string name="pref_media_settings_refresh_interval_summary">Search for new pictures every <xliff:g id="interval">%1$s</xliff:g></string>
+ <string name="pref_media_settings_refresh_now">Refresh now</string>
+ <string name="pref_media_settings_refresh_now_summary">Refresh the pictures and albums database right now</string>
+ <string name="pref_media_pictures">Pictures</string>
+ <string name="pref_media_albums">Albums</string>
+ <string name="pref_media_albums_summary">Set the albums and pictures that will be displayed on the wallpaper</string>
+
+ <string name="pref_layout">Layout</string>
+ <string name="pref_layout_summary">Select how pictures are disposed on the screen</string>
+ <string name="pref_layout_disposition">Disposition</string>
+
+ <string name="pref_about">About</string>
+ <string name="pref_about_summary">PhotoPhase v<xliff:g id="version">%1$s</xliff:g>\nCopyright \u00A9 2013 The CyanogenMod Project</string>
+
+ <!-- Plurals -->
+ <plurals name="album_number_of_pictures">
+ <item quantity="zero">0 pictures</item>
+ <item quantity="one">1 picture</item>
+ <item quantity="other"><xliff:g id="number" example="7">%d</xliff:g> pictures</item>
+ </plurals>
+
+ <!-- Refresh intervals -->
+ <string name="refresh_intervals_disabled">Disabled</string>
+ <string name="refresh_intervals_1h">1 hour</string>
+ <string name="refresh_intervals_2h">2 hours</string>
+ <string name="refresh_intervals_4h">4 hours</string>
+ <string name="refresh_intervals_1d">1 day</string>
+ <string name="refresh_intervals_2d">2 days</string>
+ <string name="refresh_intervals_1w">1 week</string>
+
+ <!-- Transitions -->
+ <string name="transitions_random">Random</string>
+ <string name="transitions_swap">Swap</string>
+ <string name="transitions_fade">Fade</string>
+ <string name="transitions_translation">Translation</string>
+
+ <!-- Effects -->
+ <string name="effects_none">None</string>
+ <string name="effects_random">Random</string>
+ <string name="effects_black_and_white">Black &amp; White</string>
+ <string name="effects_sepia">Sepia</string>
+
+ <!-- ColorPickerDialog -->
+ <string name="color_picker_alpha_slider_text">Alpha</string>
+ <string name="color_picker_current_text">Current:</string>
+ <string name="color_picker_new_text">New:</string>
+ <string name="color_picker_color">Color:</string>
+
+</resources>
diff --git a/res/values/styles.xml b/res/values/styles.xml
new file mode 100644
index 0000000..09b2a37
--- /dev/null
+++ b/res/values/styles.xml
@@ -0,0 +1,107 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Copyright (C) 2013 The CyanogenMod Project
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+ -->
+
+<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2" xmlns:android="http://schemas.android.com/apk/res/android">
+
+ <style name="PhotoPhase">
+ </style>
+
+ <style name="PhotoPhase.TextAppearance">
+ <item name="android:fontFamily">sans-serif</item>
+ <item name="android:textColor">@color/text_color</item>
+ </style>
+
+ <style name="PhotoPhase.TextAppearance.Primary">
+ <item name="android:textSize">@dimen/primary_text_size</item>
+ <item name="android:textStyle">bold</item>
+ </style>
+
+ <style name="PhotoPhase.TextAppearance.Secondary">
+ <item name="android:textSize">@dimen/secondary_text_size</item>
+ <item name="android:textStyle">normal</item>
+ </style>
+
+ <style name="PhotoPhase.Card">
+ <item name="android:background">@drawable/card</item>
+ <item name="android:layout_marginBottom">@dimen/album_card_margin_bottom</item>
+ </style>
+
+ <style name="PhotoPhase.ToolButton">
+ <item name="android:padding">@dimen/toolbutton_padding</item>
+ </style>
+
+ <style name="PhotoPhase.Notification">
+ <item name="android:minWidth">@dimen/notification_min_width</item>
+ <item name="android:minHeight">@dimen/notification_min_height</item>
+ <item name="android:padding">@dimen/notification_padding</item>
+ <item name="android:gravity">center</item>
+ <item name="android:background">@drawable/bg_notification</item>
+ <item name="android:textSize">@dimen/notification_text_size</item>
+ <item name="android:fontFamily">sans-serif</item>
+ <item name="android:textStyle">bold</item>
+ <item name="android:textColor">@color/notification_text_color</item>
+ </style>
+
+ <style name="PhotoPhase.Album" parent="@style/PhotoPhase.Card">
+ </style>
+
+ <style name="PhotoPhase.Album.Title">
+ <item name="android:background">@null</item>
+ <item name="android:textSize">@dimen/secondary_text_size</item>
+ <item name="android:fontFamily">sans-serif</item>
+ <item name="android:textStyle">bold</item>
+ <item name="android:textColor">@color/text_color</item>
+ <item name="android:rotation">-90</item>
+ <item name="android:gravity">center</item>
+ <item name="android:ellipsize">end</item>
+ <item name="android:singleLine">true</item>
+ <item name="android:layout_marginTop">@dimen/album_title_margin_top</item>
+ <item name="android:layout_marginLeft">@dimen/album_title_margin_left</item>
+ </style>
+
+ <style name="PhotoPhase.Album.MenuBar">
+ <item name="android:background">@null</item>
+ </style>
+
+ <style name="PhotoPhase.Album.MenuBar.Return">
+ <item name="android:src">@drawable/ic_return</item>
+ </style>
+
+ <style name="PhotoPhase.Album.MenuBar.Overflow">
+ <item name="android:src">@drawable/ic_overflow</item>
+ </style>
+
+ <style name="PhotoPhase.Album.Thumbnail">
+ <item name="android:background">@color/album_thumbnail_color</item>
+ </style>
+
+ <style name="PhotoPhase.Album.Info">
+ <item name="android:background">@null</item>
+ <item name="android:layout_marginTop">@dimen/default_margin</item>
+ <item name="android:layout_marginLeft">@dimen/small_margin</item>
+ <item name="android:layout_marginRight">@dimen/default_margin</item>
+ <item name="android:layout_marginBottom">@dimen/default_margin</item>
+ </style>
+
+ <style name="PhotoPhase.Album.Picture">
+ <item name="android:background">@drawable/card</item>
+ <item name="android:layout_marginTop">@dimen/picture_vertical_margin</item>
+ <item name="android:layout_marginBottom">@dimen/picture_vertical_margin</item>
+ <item name="android:layout_marginLeft">@dimen/picture_horizontal_margin</item>
+ <item name="android:layout_marginRight">@dimen/picture_horizontal_margin</item>
+ </style>
+
+</resources>
diff --git a/res/xml/preferences_general.xml b/res/xml/preferences_general.xml
new file mode 100644
index 0000000..5877d52
--- /dev/null
+++ b/res/xml/preferences_general.xml
@@ -0,0 +1,83 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Copyright (C) 2013 The CyanogenMod Project
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+ -->
+
+<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android">
+
+ <!-- Settings -->
+ <PreferenceCategory
+ android:key="category_settings"
+ android:title="@string/pref_general_settings">
+
+ <!-- Dim screen -->
+ <org.cyanogenmod.wallpapers.photophase.preferences.SeekBarProgressPreference
+ android:key="ui_wallpaper_dim"
+ android:title="@string/pref_general_settings_wallpaper_dim"
+ android:summary="@string/pref_general_settings_wallpaper_dim_summary"
+ android:persistent="true"
+ android:defaultValue="0" />
+
+ <org.cyanogenmod.wallpapers.photophase.widgets.ColorPickerPreference
+ android:key="ui_background_color"
+ android:title="@string/pref_general_settings_background_color"
+ android:summary="@string/pref_general_settings_background_color_summary"
+ android:persistent="true"
+ android:defaultValue="@color/wallpaper_background_color" />
+
+ </PreferenceCategory>
+
+ <!-- Transitions -->
+ <PreferenceCategory
+ android:key="category_transitions"
+ android:title="@string/pref_general_transitions">
+
+ <!-- Types -->
+ <ListPreference
+ android:key="ui_transition_types"
+ android:title="@string/pref_general_transitions_types"
+ android:summary="@string/pref_general_transitions_types_summary"
+ android:persistent="true"
+ android:entries="@array/transitions_labels"
+ android:entryValues="@array/transitions_values"
+ android:defaultValue="0" />
+
+ <!-- Transitions Interval -->
+ <org.cyanogenmod.wallpapers.photophase.preferences.SeekBarProgressPreference
+ android:key="ui_transition_interval"
+ android:title="@string/pref_general_transitions_interval"
+ android:summary="@string/pref_general_transitions_interval_summary"
+ android:persistent="true"
+ android:defaultValue="2" />
+
+ </PreferenceCategory>
+
+ <!-- Effects -->
+ <PreferenceCategory
+ android:key="category_effects"
+ android:title="@string/pref_general_effects">
+
+ <!-- Transitions -->
+ <ListPreference
+ android:key="ui_effect_types"
+ android:title="@string/pref_general_effects_types"
+ android:summary="@string/pref_general_effects_types_summary"
+ android:persistent="true"
+ android:entries="@array/effects_labels"
+ android:entryValues="@array/effects_values"
+ android:defaultValue="1" />
+
+ </PreferenceCategory>
+
+</PreferenceScreen>
diff --git a/res/xml/preferences_headers.xml b/res/xml/preferences_headers.xml
new file mode 100644
index 0000000..db45326
--- /dev/null
+++ b/res/xml/preferences_headers.xml
@@ -0,0 +1,33 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Copyright (C) 2013 The CyanogenMod Project
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+ -->
+
+<preference-headers xmlns:android="http://schemas.android.com/apk/res/android">
+ <header
+ android:title="@string/pref_general"
+ android:fragment="org.cyanogenmod.wallpapers.photophase.preferences.GeneralPreferenceFragment"
+ android:summary="@string/pref_general_summary" />
+ <header
+ android:title="@string/pref_media"
+ android:fragment="org.cyanogenmod.wallpapers.photophase.preferences.MediaPreferenceFragment"
+ android:summary="@string/pref_media_summary" />
+ <header
+ android:title="@string/pref_layout"
+ android:fragment="org.cyanogenmod.wallpapers.photophase.preferences.LayoutPreferenceFragment"
+ android:summary="@string/pref_layout_summary" />
+ <header
+ android:title="@string/pref_about"
+ android:summary="@null" />
+</preference-headers>
diff --git a/res/xml/preferences_layout.xml b/res/xml/preferences_layout.xml
new file mode 100644
index 0000000..6fdf438
--- /dev/null
+++ b/res/xml/preferences_layout.xml
@@ -0,0 +1,26 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Copyright (C) 2013 The CyanogenMod Project
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+ -->
+
+<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android">
+
+ <!-- Disposition -->
+ <PreferenceCategory
+ android:key="category_disposition"
+ android:title="@string/pref_layout_disposition">
+
+ </PreferenceCategory>
+
+</PreferenceScreen>
diff --git a/res/xml/preferences_media.xml b/res/xml/preferences_media.xml
new file mode 100644
index 0000000..99bd1f9
--- /dev/null
+++ b/res/xml/preferences_media.xml
@@ -0,0 +1,57 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Copyright (C) 2013 The CyanogenMod Project
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+ -->
+
+<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android">
+
+ <!-- Settings -->
+ <PreferenceCategory
+ android:key="category_refresh"
+ android:title="@string/pref_media_settings">
+
+ <!-- Refresh Interval -->
+ <ListPreference
+ android:key="ui_media_refresh_interval"
+ android:title="@string/pref_media_settings_refresh_interval"
+ android:persistent="true"
+ android:entries="@array/refresh_intervals_labels"
+ android:entryValues="@array/refresh_intervals_values"
+ android:defaultValue="0" />
+
+ <!-- Refresh now -->
+ <Preference
+ android:key="ui_media_refresh_now"
+ android:title="@string/pref_media_settings_refresh_now"
+ android:summary="@string/pref_media_settings_refresh_now_summary"
+ android:persistent="false" />
+
+ </PreferenceCategory>
+
+ <!-- Pictures -->
+ <PreferenceCategory
+ android:key="category_pictures"
+ android:title="@string/pref_media_pictures">
+
+ <!-- Refresh now -->
+ <Preference
+ android:key="ui_media_albums"
+ android:title="@string/pref_media_albums"
+ android:summary="@string/pref_media_albums_summary"
+ android:fragment="org.cyanogenmod.wallpapers.photophase.preferences.ChoosePicturesFragment"
+ android:persistent="false" />
+
+ </PreferenceCategory>
+
+</PreferenceScreen>
diff --git a/res/xml/wallpaper.xml b/res/xml/wallpaper.xml
new file mode 100644
index 0000000..006d9e9
--- /dev/null
+++ b/res/xml/wallpaper.xml
@@ -0,0 +1,20 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Copyright (C) 2013 The CyanogenMod Project
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+ -->
+
+<wallpaper xmlns:android="http://schemas.android.com/apk/res/android"
+ android:thumbnail="@drawable/ic_launcher"
+ android:description="@string/app_description"
+ android:settingsActivity="org.cyanogenmod.wallpapers.photophase.preferences.PhotoPhasePreferences" /> \ No newline at end of file