Bug 1220928 - Align synced clients with history items. r=sebastian
MozReview-Commit-ID: KDz13cm8okc
--- 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"