Bug 1210862 - Move search suggestion button & tab thumbnail radius to standard. r=ally
authorMichael Comella <michael.l.comella@gmail.com>
Thu, 08 Oct 2015 12:05:23 -0700
changeset 266948 e82e79d46b917ccb8a4083130c4ee9c21d85ca2f
parent 266947 92ae0a8c5183ec01d9afd3ebb62e77e2dd57fdf2
child 266949 d842dddebda97b023c278dbbd6e1c0683d0d0d1c
push id29503
push usercbook@mozilla.com
push dateFri, 09 Oct 2015 09:36:47 +0000
treeherdermozilla-central@462074ffada4 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersally
bugs1210862
milestone44.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1210862 - Move search suggestion button & tab thumbnail radius to standard. r=ally
mobile/android/base/resources/drawable/search_suggestion_button.xml
mobile/android/base/resources/drawable/tab_thumbnail.xml
--- a/mobile/android/base/resources/drawable/search_suggestion_button.xml
+++ b/mobile/android/base/resources/drawable/search_suggestion_button.xml
@@ -1,19 +1,19 @@
 <?xml version="1.0" encoding="utf-8"?>
 <!-- This Source Code Form is subject to the terms of the Mozilla Public
    - License, v. 2.0. If a copy of the MPL was not distributed with this
    - file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
 <selector xmlns:android="http://schemas.android.com/apk/res/android">
     <item android:state_pressed="true">
         <shape>
             <solid android:color="@color/toolbar_grey_pressed"/>
-            <corners android:radius="4dp"/>
+            <corners android:radius="@dimen/standard_corner_radius"/>
         </shape>
     </item>
 
     <item>
         <shape>
             <solid android:color="@color/toolbar_grey"/>
-            <corners android:radius="4dp"/>
+            <corners android:radius="@dimen/standard_corner_radius"/>
         </shape>
     </item>
 </selector>
--- a/mobile/android/base/resources/drawable/tab_thumbnail.xml
+++ b/mobile/android/base/resources/drawable/tab_thumbnail.xml
@@ -6,82 +6,82 @@
 <selector xmlns:android="http://schemas.android.com/apk/res/android"
           xmlns:gecko="http://schemas.android.com/apk/res-auto">
 
     <item android:state_focused="true">
 
         <shape android:shape="rectangle">
             <!-- @color/fennec_ui_orange with alpha -->
             <solid android:color="#B3FF9500"/>
-            <corners android:radius="3dp"/>            
+            <corners android:radius="@dimen/standard_corner_radius"/>
         </shape>
 
     </item>
 
     <item android:state_focused="true"
           gecko:state_private="true">
 
         <shape android:shape="rectangle">
             <!-- @color/private_browsing_purple with alpha -->
             <solid android:color="#B3CF68FF"/>
-            <corners android:radius="3dp"/>
+            <corners android:radius="@dimen/standard_corner_radius"/>
         </shape>
 
     </item>
 
     <item android:state_pressed="true"
           gecko:state_private="true">
 
         <shape android:shape="rectangle">
             <!-- @color/private_browsing_purple with alpha -->
             <solid android:color="#B3CF68FF"/>
-            <corners android:radius="3dp"/>
+            <corners android:radius="@dimen/standard_corner_radius"/>
         </shape>
 
     </item>
 
     <item android:state_pressed="true">
 
         <shape android:shape="rectangle">
             <!-- @color/fennec_ui_orange with alpha -->
             <solid android:color="#B3FF9500"/>
-            <corners android:radius="3dp"/>
+            <corners android:radius="@dimen/standard_corner_radius"/>
         </shape>
 
     </item>
 
     <item gecko:state_recording="true">
 
         <shape android:shape="rectangle">
             <solid android:color="#FFFF0000"/>
-            <corners android:radius="3dp"/>            
+            <corners android:radius="@dimen/standard_corner_radius"/>
         </shape>
 
     </item>
 
     <item android:state_focused="false"
           android:state_pressed="false"
           android:state_checked="true"
           gecko:state_recording="false"
           gecko:state_private="true">
 
         <shape android:shape="rectangle">
             <solid android:color="@color/private_browsing_purple"/>
-            <corners android:radius="3dp"/>
+            <corners android:radius="@dimen/standard_corner_radius"/>
         </shape>
 
     </item>
 
     <item android:state_focused="false"
           android:state_pressed="false"
           android:state_checked="true"
           gecko:state_recording="false">
 
         <shape android:shape="rectangle">
             <solid android:color="@color/fennec_ui_orange"/>
-            <corners android:radius="3dp"/>            
+            <corners android:radius="@dimen/standard_corner_radius"/>
         </shape>
 
     </item>
 
     <item android:drawable="@android:color/transparent"/>
 
 </selector>