summaryrefslogtreecommitdiffstats
path: root/res
diff options
context:
space:
mode:
authorFrank Sposaro <sposaro@google.com>2011-07-07 11:13:57 -0700
committerFrank Sposaro <sposaro@google.com>2011-07-07 15:34:12 -0700
commite5d06f534d58baa27fe6b1091b9724f81fd258c9 (patch)
tree112709bc8d3cf7e05b2955ffbb9babe535bd67f5 /res
parenta007e442687d3836d6a9f0d0ddcea527fa1481ac (diff)
downloadpackages_apps_Contacts-e5d06f534d58baa27fe6b1091b9724f81fd258c9.tar.gz
packages_apps_Contacts-e5d06f534d58baa27fe6b1091b9724f81fd258c9.tar.bz2
packages_apps_Contacts-e5d06f534d58baa27fe6b1091b9724f81fd258c9.zip
ContactTile column counts are now dynamically adjusted.
Bug: 4969044 Change-Id: I5185b93ea3e7720136c929ce4c8ab820d7b4dfc9
Diffstat (limited to 'res')
-rw-r--r--res/values-sw580dp-w1000dp/integers.xml18
-rw-r--r--res/values-sw580dp-w720dp/integers.xml18
-rw-r--r--res/values-sw580dp/integers.xml18
-rw-r--r--res/values-w470dp/integers.xml18
-rw-r--r--res/values/integers.xml (renamed from res/values/config.xml)4
5 files changed, 75 insertions, 1 deletions
diff --git a/res/values-sw580dp-w1000dp/integers.xml b/res/values-sw580dp-w1000dp/integers.xml
new file mode 100644
index 000000000..5fda2ed54
--- /dev/null
+++ b/res/values-sw580dp-w1000dp/integers.xml
@@ -0,0 +1,18 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Copyright (C) 2011 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.
+-->
+<resources>
+ <integer name="contact_tile_column_count">4</integer>
+</resources> \ No newline at end of file
diff --git a/res/values-sw580dp-w720dp/integers.xml b/res/values-sw580dp-w720dp/integers.xml
new file mode 100644
index 000000000..c629f7e7f
--- /dev/null
+++ b/res/values-sw580dp-w720dp/integers.xml
@@ -0,0 +1,18 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Copyright (C) 2011 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.
+-->
+<resources>
+ <integer name="contact_tile_column_count">2</integer>
+</resources>
diff --git a/res/values-sw580dp/integers.xml b/res/values-sw580dp/integers.xml
new file mode 100644
index 000000000..c629f7e7f
--- /dev/null
+++ b/res/values-sw580dp/integers.xml
@@ -0,0 +1,18 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Copyright (C) 2011 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.
+-->
+<resources>
+ <integer name="contact_tile_column_count">2</integer>
+</resources>
diff --git a/res/values-w470dp/integers.xml b/res/values-w470dp/integers.xml
new file mode 100644
index 000000000..d247e463e
--- /dev/null
+++ b/res/values-w470dp/integers.xml
@@ -0,0 +1,18 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Copyright (C) 2011 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.
+-->
+<resources>
+ <integer name="contact_tile_column_count">4</integer>
+</resources>
diff --git a/res/values/config.xml b/res/values/integers.xml
index 6ebaa1fd7..1d3f9b984 100644
--- a/res/values/config.xml
+++ b/res/values/integers.xml
@@ -15,10 +15,12 @@
-->
<resources>
-
<!-- Amount of memory in bytes allocated for photo cache -->
<integer name="config_photo_cache_max_bytes">2000000</integer>
<!-- Number of decoded photo bitmaps retained in an LRU cache -->
<integer name="config_photo_cache_max_bitmaps">48</integer>
+
+ <!-- Determines the number of columns in a ContactTileRow -->
+ <integer name="contact_tile_column_count">2</integer>
</resources>