Bug 848961: Cleanup font-sizes in Android UI. [r=mfinkle]
authorSriram Ramasubramanian <sriram@mozilla.com>
Thu, 07 Mar 2013 13:38:54 -0800
changeset 125309 02d63d7e6c871b8bf56a858acec6ff1987dd9610
parent 125308 505fbab9b98073c16a408604e6ed7859f5fe0897
child 125310 a23ff3177682f22f6c615365bca1ccc400e1c08f
push idunknown
push userunknown
push dateunknown
reviewersmfinkle
bugs848961
milestone22.0a1
Bug 848961: Cleanup font-sizes in Android UI. [r=mfinkle]
mobile/android/base/resources/layout-xlarge-land-v11/abouthome_content.xml
mobile/android/base/resources/layout/abouthome_content.xml
mobile/android/base/resources/layout/abouthome_last_tabs_row.xml
mobile/android/base/resources/layout/awesomebar_header_row.xml
mobile/android/base/resources/layout/awesomebar_row.xml
mobile/android/base/resources/layout/awesomebar_suggestion_item.xml
mobile/android/base/resources/layout/awesomebar_suggestion_prompt.xml
mobile/android/base/resources/layout/awesomebar_tab_indicator.xml
mobile/android/base/resources/layout/site_identity_popup.xml
mobile/android/base/resources/values/styles.xml
--- a/mobile/android/base/resources/layout-xlarge-land-v11/abouthome_content.xml
+++ b/mobile/android/base/resources/layout-xlarge-land-v11/abouthome_content.xml
@@ -46,17 +46,17 @@
                                                  android:layout_height="wrap_content"
                                                  android:layout_marginLeft="12dp"
                                                  android:layout_marginRight="12dp"
                                                  android:layout_marginTop="17dp"
                                                  android:layout_marginBottom="14dp"
                                                  android:drawablePadding="7dp"
                                                  android:gravity="center"
                                                  android:clickable="true"
-                                                 android:textSize="15sp"
+                                                 android:textSize="16sp"
                                                  android:textColor="#FFFFFF"
                                                  android:visibility="gone"/>
 
         </LinearLayout>
 
         <RelativeLayout android:layout_width="0dp"
                         android:layout_height="fill_parent"
                         android:layout_weight="0.4"
--- a/mobile/android/base/resources/layout/abouthome_content.xml
+++ b/mobile/android/base/resources/layout/abouthome_content.xml
@@ -56,17 +56,17 @@
                                                  android:layout_height="wrap_content"
                                                  android:layout_marginLeft="12dp"
                                                  android:layout_marginRight="12dp"
                                                  android:layout_marginTop="17dp"
                                                  android:layout_marginBottom="14dp"
                                                  android:drawablePadding="7dp"
                                                  android:gravity="center"
                                                  android:clickable="true"
-                                                 android:textSize="15sp"
+                                                 android:textSize="16sp"
                                                  android:textColor="#FFFFFF"
                                                  android:visibility="gone"/>
 
             <org.mozilla.gecko.AboutHomeSection android:id="@+id/last_tabs"
                                                 android:layout_width="fill_parent"
                                                 android:layout_height="wrap_content"
                                                 android:visibility="gone"
                                                 gecko:title="@string/abouthome_last_tabs_title"
--- a/mobile/android/base/resources/layout/abouthome_last_tabs_row.xml
+++ b/mobile/android/base/resources/layout/abouthome_last_tabs_row.xml
@@ -19,17 +19,17 @@
 
     <TextView android:id="@+id/last_tab_title"
               android:layout_width="wrap_content"
               android:layout_height="wrap_content"
               android:layout_toRightOf="@id/last_tab_favicon"
               android:layout_marginTop="2dip"
               android:layout_marginLeft="12dip"
               android:layout_marginRight="12dip"
-              android:textSize="15sp"
+              android:textSize="16sp"
               android:singleLine="true"
               android:textColor="@color/abouthome_section_title"
               android:duplicateParentState="true"/>
 
     <TextView android:id="@+id/last_tab_url"
               android:layout_width="wrap_content"
               android:layout_height="wrap_content"
               android:layout_marginLeft="12dip"
--- a/mobile/android/base/resources/layout/awesomebar_header_row.xml
+++ b/mobile/android/base/resources/layout/awesomebar_header_row.xml
@@ -4,14 +4,14 @@
    - file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
 
 <TextView xmlns:android="http://schemas.android.com/apk/res/android"
           android:id="@+id/title"
           android:layout_width="fill_parent"
           android:layout_height="@dimen/awesomebar_header_row_height"
           android:background="#D2DAE2"
           android:textColor="#222222"
-          android:textSize="13sp"
+          android:textSize="14sp"
           android:textStyle="bold"
           android:gravity="center_vertical"
           android:paddingLeft="6dip"
           android:singleLine="true"
           android:ellipsize="middle"/>
--- a/mobile/android/base/resources/layout/awesomebar_row.xml
+++ b/mobile/android/base/resources/layout/awesomebar_row.xml
@@ -41,17 +41,17 @@
               android:ellipsize="middle"/>
 
     <TextView android:id="@+id/url"
               android:layout_width="wrap_content"
               android:layout_height="wrap_content"
               android:layout_marginLeft="6dip"
               android:layout_marginRight="6dip"
               android:textColor="#9198A1"
-              android:textSize="13sp"
+              android:textSize="14sp"
               android:layout_below="@id/title"
               android:layout_toRightOf="@id/favicon"
               android:layout_toLeftOf="@id/bookmark_icon"
               android:includeFontPadding="false"
               android:singleLine="true"
               android:ellipsize="middle"/>
 
 </RelativeLayout>
--- a/mobile/android/base/resources/layout/awesomebar_suggestion_item.xml
+++ b/mobile/android/base/resources/layout/awesomebar_suggestion_item.xml
@@ -16,13 +16,13 @@
                android:layout_marginRight="3dip"
                android:layout_width="16dip"
                android:layout_height="16dip"/>
 
     <TextView android:id="@+id/suggestion_text"
               android:layout_width="wrap_content"
               android:layout_height="wrap_content"
               android:textColor="#222222"
-              android:textSize="13sp"
+              android:textSize="14sp"
               android:gravity="center_vertical"
               android:layout_gravity="center_vertical"/>
 
 </LinearLayout>
--- a/mobile/android/base/resources/layout/awesomebar_suggestion_prompt.xml
+++ b/mobile/android/base/resources/layout/awesomebar_suggestion_prompt.xml
@@ -13,36 +13,36 @@
       android:padding="10dip"
       android:background="@drawable/address_bar_bg">
 
     <Gecko.TextView android:id="@+id/suggestions_prompt_title"
                     android:layout_height="wrap_content"
                     android:layout_width="wrap_content"
                     android:textColor="@color/awesome_bar_title"
                     android:layout_marginLeft="6dip"
-                    android:textSize="13sp"
+                    android:textSize="14sp"
                     android:layout_weight="1" />
 
     <TextView android:id="@+id/suggestions_prompt_yes"
             android:layout_height="wrap_content"
             android:layout_width="wrap_content"
-            android:textSize="13sp"
+            android:textSize="14sp"
             android:layout_marginLeft="15dip"
             android:background="@drawable/suggestion_selector"
             android:paddingLeft="15dp"
             android:paddingRight="15dp"
             android:paddingTop="7dp"
             android:paddingBottom="7dp"
             android:clickable="true"
             android:text="@string/button_yes" />
 
     <TextView android:id="@+id/suggestions_prompt_no"
             android:layout_height="wrap_content"
             android:layout_width="wrap_content"
-            android:textSize="13sp"
+            android:textSize="14sp"
             android:layout_marginLeft="6dip"
             android:background="@drawable/suggestion_selector"
             android:paddingLeft="15dp"
             android:paddingRight="15dp"
             android:paddingTop="7dp"
             android:paddingBottom="7dp"
             android:clickable="true"
             android:text="@string/button_no" />
--- a/mobile/android/base/resources/layout/awesomebar_tab_indicator.xml
+++ b/mobile/android/base/resources/layout/awesomebar_tab_indicator.xml
@@ -8,11 +8,11 @@
                 android:layout_width="wrap_content"
                 android:layout_height="fill_parent"
                 android:layout_weight="1.0"
                 android:gravity="center"
                 android:background="@drawable/awesomebar_tab_indicator"
                 android:padding="10dp"
                 android:singleLine="true"
                 android:ellipsize="marquee"
-                android:textSize="13sp"
+                android:textSize="14sp"
                 android:textColor="@color/awesome_bar_title"
                 gecko:autoUpdateTheme="false"/>
--- a/mobile/android/base/resources/layout/site_identity_popup.xml
+++ b/mobile/android/base/resources/layout/site_identity_popup.xml
@@ -16,41 +16,41 @@
         <LinearLayout android:layout_width="0dip"
                       android:layout_height="wrap_content"
                       android:layout_weight="1.0"
                       android:orientation="vertical"
                       android:padding="12dip">
 
             <TextView android:layout_width="wrap_content"
                       android:layout_height="wrap_content"
-                      android:textSize="12sp"
+                      android:textSize="14sp"
                       android:textColor="@color/doorhanger_text"
                       android:text="@string/identity_connected_to"/>
 
             <TextView android:id="@+id/host"
                       android:layout_width="wrap_content"
                       android:layout_height="wrap_content"
                       android:textSize="18sp"/>
 
             <TextView android:layout_width="wrap_content"
                       android:layout_height="wrap_content"
-                      android:textSize="12sp"
+                      android:textSize="14sp"
                       android:textColor="@color/doorhanger_text"
                       android:text="@string/identity_run_by"
                       android:paddingTop="12dip"/>
 
             <TextView android:id="@+id/owner"
                       android:layout_width="wrap_content"
                       android:layout_height="wrap_content"
                       android:textSize="18sp"/>
 
             <TextView android:id="@+id/verifier"
                       android:layout_width="wrap_content"
                       android:layout_height="wrap_content"
-                      android:textSize="12sp"
+                      android:textSize="14sp"
                       android:textColor="@color/doorhanger_text"
                       android:paddingTop="12dip"/>
 
         </LinearLayout>
 
         <ImageView android:id="@+id/larry"
                    android:layout_width="wrap_content"
                    android:layout_height="wrap_content"
--- a/mobile/android/base/resources/values/styles.xml
+++ b/mobile/android/base/resources/values/styles.xml
@@ -316,24 +316,24 @@
       <item name="android:layout_alignBottom">@id/thumbnail</item>
       <item name="android:background">#EFFF</item>
       <item name="android:singleLine">true</item>
       <item name="android:textColor">#222</item>
       <item name="android:paddingTop">0dip</item>
       <item name="android:paddingBottom">1dip</item>
       <item name="android:paddingLeft">5dip</item>
       <item name="android:paddingRight">5dip</item>
-      <item name="android:textSize">10sp</item>
+      <item name="android:textSize">12sp</item>
       <item name="android:gravity">center|left</item>
     </style>
 
     <style name="AboutHome.TextAppearance" />
 
     <style name="AboutHome.TextAppearance.Title">
-        <item name="android:textSize">15sp</item>
+        <item name="android:textSize">16sp</item>
         <item name="android:textColor">@color/abouthome_section_title</item>
     </style>
 
     <style name="AboutHome.TextAppearance.SubTitle">
         <item name="android:textSize">12sp</item>
         <item name="android:textColor">@color/abouthome_section_subtitle</item>
     </style>