Bug 1220928 - Align synced clients with history items. r=sebastian draft
authorChenxia Liu <liuche@mozilla.com>
Thu, 10 Mar 2016 17:29:22 -0800
changeset 346111 20b34eb78dd740f45e003facbf43e974db8671d3
parent 346110 41a304d0c1517ea081c60a61ce451a0254d5086b
child 346112 2351433cf7a9ddf09784b10daf6e6ef8220c2023
push id14243
push usercliu@mozilla.com
push dateWed, 30 Mar 2016 23:23:30 +0000
reviewerssebastian
bugs1220928
milestone48.0a1
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"