android:stretchMode="columnWidth"
android:scrollbars="vertical"
android:horizontalSpacing="@dimen/default_margin"
- android:numColumns="3" />
+ android:numColumns="@integer/associations_items_per_row" />
<CheckBox android:id="@+id/associations_remember"
android:layout_width="match_parent"
android:layout_width="@dimen/grid_width"
android:layout_height="wrap_content"
android:background="@drawable/holo_selection"
- android:orientation="vertical" >
+ android:orientation="vertical">
<ImageView android:id="@+id/associations_item_icon"
android:width="@dimen/grid_image_width"
android:layout_height="wrap_content"
android:layout_alignParentBottom="true"
android:textAppearance="@style/secondary_text_appearance"
- android:paddingBottom="@dimen/default_margin"
+ android:layout_margin="@dimen/default_margin"
android:gravity="center"
android:textStyle="bold"
android:singleLine="true"
--- /dev/null
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+ Copyright (C) 2012-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">
+ <!-- Association items per row -->
+ <integer name="associations_items_per_row">5</integer>
+</resources>
--- /dev/null
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+ Copyright (C) 2012-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">
+ <!-- Association items per row -->
+ <integer name="associations_items_per_row">6</integer>
+</resources>
<!-- Normal edit text sise -->
<integer name="default_edit_text_ems">8</integer>
+
+ <!-- Association items per row -->
+ <integer name="associations_items_per_row">3</integer>
</resources>