path: root/res/values-xlarge
diff options
authorOwen Lin <>2011-09-13 20:48:13 +0800
committerWei Huang <>2011-09-19 16:22:44 -0700
commit27a7e7b36ed5a42a0983a922db4df30b8fd154af (patch)
treec01a76c0baef785decb9f713121051884be5c468 /res/values-xlarge
parent34c6eae8e431b97e386291acf059656211c736c7 (diff)
Add a hard limit on the size of the widget images.
There is a limit on the size of the data transfered by binder. For now, we just add a hard limit (360 pixel) to ensure the widget's image can be passed by binder. Also adjust the size of widget to make it looks better. Fix a bug in DecodeUtils which cause OOM for a image in size 12200x1920. In that case, we should generate a screen nail of size 640x101 instead of 4066x640. Change-Id: Ia8227d8e5368471fe7af94bf164d67017aa321fa fix: 5273271
Diffstat (limited to 'res/values-xlarge')
1 files changed, 3 insertions, 3 deletions
diff --git a/res/values-xlarge/dimensions.xml b/res/values-xlarge/dimensions.xml
index a0160549f..4fa398f32 100644
--- a/res/values-xlarge/dimensions.xml
+++ b/res/values-xlarge/dimensions.xml
@@ -15,9 +15,9 @@
<dimen name="appwidget_width">240dp</dimen>
- <dimen name="appwidget_height">200dp</dimen>
- <dimen name="stack_photo_width">230dp</dimen>
- <dimen name="stack_photo_height">190dp</dimen>
+ <dimen name="appwidget_height">240dp</dimen>
+ <dimen name="stack_photo_width">220dp</dimen>
+ <dimen name="stack_photo_height">165dp</dimen>
<!-- configuration for album set page -->
<integer name="albumset_rows_land">3</integer>