summaryrefslogtreecommitdiff
path: root/res/values
diff options
context:
space:
mode:
authorChris Wren <cwren@android.com>2012-08-29 15:57:23 -0400
committerChris Wren <cwren@android.com>2012-08-30 07:59:53 -0400
commit23f9b01ba3f51a33a2ba92bca7d7a53f25b1b146 (patch)
treec5f5fbc1a21c8d54e7de161eaa6318364e5b80ae /res/values
parent20e2554251954f6757462ab13470c1ebdcfba62e (diff)
downloadPhotoTable-23f9b01ba3f51a33a2ba92bca7d7a53f25b1b146.tar.gz
PhotoTable Polish:
+ remove manual rotation + better icon + gradient background + remove tap to dismiss + (temporarily disabled) flick to replace Change-Id: I2177077e37ce07a131a67bfbd11f8a447775ab98
Diffstat (limited to 'res/values')
-rw-r--r--res/values/colors.xml3
-rw-r--r--res/values/config.xml18
-rw-r--r--res/values/dimen.xml1
3 files changed, 21 insertions, 1 deletions
diff --git a/res/values/colors.xml b/res/values/colors.xml
index 9d5864e..279c0c9 100644
--- a/res/values/colors.xml
+++ b/res/values/colors.xml
@@ -14,5 +14,6 @@
limitations under the License.
-->
<resources>
- <color name="tabletop">#ff444444</color>
+ <color name="tabletop_dark">#ff222222</color>
+ <color name="tabletop_light">#ff111111</color>
</resources>
diff --git a/res/values/config.xml b/res/values/config.xml
index f1c9fcc..c510c2e 100644
--- a/res/values/config.xml
+++ b/res/values/config.xml
@@ -27,7 +27,25 @@
<!-- Parts per million ratio between image size and screen size. -->
<integer name="image_ratio">1000000</integer>
+ <!-- Parts per million ratio between image size on the table and screen size. -->
+ <integer name="table_ratio">500000</integer>
+
+ <!-- The maximum allowed rotation of images thrown onto the table. -->
+ <integer name="max_image_rotation">30</integer>
+
<!-- Maximum number of image paths to load before shuffling. -->
<integer name="image_queue_size">1000</integer>
+
+ <!-- Enable manual rotation of images. -->
+ <bool name="enable_manual_image_rotation">false</bool>
+
+ <!-- Enable flinging away photos. -->
+ <bool name="enable_fling">false</bool>
+
+ <!-- Honor tap on table to exit. -->
+ <bool name="enable_tap_to_exit">false</bool>
+
+ <!-- Parts per million damping coefficient of the table. -->
+ <integer name="table_damping">500000</integer>
</resources>
diff --git a/res/values/dimen.xml b/res/values/dimen.xml
index 7e070df..eaf42ef 100644
--- a/res/values/dimen.xml
+++ b/res/values/dimen.xml
@@ -14,5 +14,6 @@
limitations under the License.
-->
<resources>
+ <!-- Amount photo is inset to account for the frame. -->
<dimen name="photo_inset">4px</dimen>
</resources>