Bug 1220928 - Align synced clients with history items. r=sebastian
authorChenxia Liu <liuche@mozilla.com>
Thu, 10 Mar 2016 17:29:22 -0800
changeset 291297 1ee51352897e5ed2e1d0f1277c35937758c5d42e
parent 291296 60cd54c9bf895b1abccc89a3234a149f9277d314
child 291298 5539cc5e598073da1b0d53a35596f00bca92cff5
push id74545
push userkwierso@gmail.com
push dateFri, 01 Apr 2016 23:05:42 +0000
treeherdermozilla-inbound@c410d4e20586 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerssebastian
bugs1220928
milestone48.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 1220928 - Align synced clients with history items. r=sebastian MozReview-Commit-ID: KDz13cm8okc
mobile/android/base/resources/layout/bookmark_folder_row.xml
mobile/android/base/resources/layout/home_combined_back_item.xml
mobile/android/base/resources/layout/home_remote_tabs_group.xml
--- a/mobile/android/base/resources/layout/bookmark_folder_row.xml
+++ b/mobile/android/base/resources/layout/bookmark_folder_row.xml
@@ -1,10 +1,12 @@
 <?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/. -->
 
 <org.mozilla.gecko.home.BookmarkFolderView xmlns:android="http://schemas.android.com/apk/res/android"
                                            style="@style/Widget.FolderView"
                                            android:layout_width="match_parent"
+                                           android:paddingLeft="20dp"
+                                           android:drawablePadding="20dp"
                                            android:drawableLeft="@drawable/bookmark_folder"
                                            android:gravity="center_vertical"/>
--- a/mobile/android/base/resources/layout/home_combined_back_item.xml
+++ b/mobile/android/base/resources/layout/home_combined_back_item.xml
@@ -2,10 +2,12 @@
 <!-- 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/. -->
 
 <TextView xmlns:android="http://schemas.android.com/apk/res/android"
           style="@style/Widget.FolderView"
           android:layout_width="match_parent"
           android:text="@string/home_history_back_to"
+          android:paddingLeft="24dp"
+          android:drawablePadding="24dp"
           android:drawableLeft="@drawable/arrow_up"
           android:gravity="center_vertical"/>
--- a/mobile/android/base/resources/layout/home_remote_tabs_group.xml
+++ b/mobile/android/base/resources/layout/home_remote_tabs_group.xml
@@ -11,19 +11,20 @@
     style="@style/Widget.RemoteTabsClientView"
     android:gravity="center_vertical"
     android:layout_width="match_parent"
     android:layout_height="@dimen/home_header_item_height"
     android:minHeight="@dimen/home_header_item_height">
 
     <ImageView
         android:id="@+id/device_type"
-        android:layout_width="50dp"
-        android:layout_height="50dp"
-        android:layout_marginLeft="5dp"
+        android:layout_width="@dimen/favicon_bg"
+        android:layout_height="@dimen/favicon_bg"
+        android:layout_marginLeft="16dp"
+        android:layout_marginRight="16dp"
         android:layout_gravity="center_vertical"
         android:scaleType="center"
         tools:src="@drawable/sync_mobile"/>
 
     <LinearLayout
         android:layout_width="0dp"
         android:layout_height="wrap_content"
         android:layout_weight="1"