From 191fdf88ea828c9e40df93fa61953f9d2ffb1fb3 Mon Sep 17 00:00:00 2001 From: Jimmy Shih Date: Wed, 20 Jun 2012 16:34:33 -0700 Subject: [PATCH] Fix text size in choose activity for API level less than 14. --- MyTracks/res/layout/choose_activity_list_item.xml | 6 ++++-- MyTracks/res/values-v14/styles.xml | 5 ++++- MyTracks/res/values/styles.xml | 8 +++++++- 3 files changed, 15 insertions(+), 4 deletions(-) diff --git a/MyTracks/res/layout/choose_activity_list_item.xml b/MyTracks/res/layout/choose_activity_list_item.xml index 86bff7de9..60b4758c9 100644 --- a/MyTracks/res/layout/choose_activity_list_item.xml +++ b/MyTracks/res/layout/choose_activity_list_item.xml @@ -39,13 +39,15 @@ limitations under the License. android:layout_width="wrap_content" android:maxLines="2" android:paddingLeft="16dp" - android:textAppearance="?android:attr/textAppearanceListItemSmall" /> + android:textAppearance="?android:attr/textAppearanceListItemSmall" + style="@style/TextChooseActivity" /> + android:textAppearance="?android:attr/textAppearanceListItemSmall" + style="@style/TextChooseActivity" /> \ No newline at end of file diff --git a/MyTracks/res/values-v14/styles.xml b/MyTracks/res/values-v14/styles.xml index 535c36411..02a87f9e3 100644 --- a/MyTracks/res/values-v14/styles.xml +++ b/MyTracks/res/values-v14/styles.xml @@ -15,6 +15,9 @@ See the License for the specific language governing permissions and limitations under the License. --> + + - + + + @@ -157,6 +162,7 @@ limitations under the License. @@ -164,7 +170,7 @@ limitations under the License. 8dp center_vertical - +