Bug 1306609 - Activity Stream: Update padding/margin of highlights cards. r?ahunt draft
authorSebastian Kaspari <s.kaspari@gmail.com>
Tue, 04 Oct 2016 15:09:17 +0200
changeset 420792 21767d2e4f114387d4fc6c4e8ec1b24b8fe78fc1
parent 420791 3f380ce7b4250deb76badfb1dbf93e11a2befce8
child 420793 9196e0026542c554f256c8c2a9a03e1514023914
push id31295
push users.kaspari@gmail.com
push dateTue, 04 Oct 2016 17:38:39 +0000
reviewersahunt
bugs1306609
milestone52.0a1
Bug 1306609 - Activity Stream: Update padding/margin of highlights cards. r?ahunt MozReview-Commit-ID: 95YXz1IONLU
mobile/android/base/resources/layout/activity_stream_card_history_item.xml
mobile/android/base/resources/layout/activity_stream_main_toppanel.xml
--- a/mobile/android/base/resources/layout/activity_stream_card_history_item.xml
+++ b/mobile/android/base/resources/layout/activity_stream_card_history_item.xml
@@ -1,22 +1,22 @@
 <?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/. -->
 
 <android.support.v7.widget.CardView xmlns:android="http://schemas.android.com/apk/res/android"
     xmlns:tools="http://schemas.android.com/tools"
     android:layout_width="match_parent"
     android:layout_height="wrap_content"
-    android:layout_marginBottom="0dp"
-    android:layout_marginEnd="5dp"
-    android:layout_marginLeft="5dp"
-    android:layout_marginRight="5dp"
-    android:layout_marginStart="5dp"
-    android:layout_marginTop="10dp"
+    android:layout_marginBottom="10dp"
+    android:layout_marginEnd="12dp"
+    android:layout_marginLeft="12dp"
+    android:layout_marginRight="12dp"
+    android:layout_marginStart="12dp"
+    android:layout_marginTop="0dp"
     android:orientation="vertical">
 
     <RelativeLayout
         android:layout_width="fill_parent"
         android:layout_height="match_parent"
         android:orientation="horizontal"
         android:padding="8dp">
 
--- a/mobile/android/base/resources/layout/activity_stream_main_toppanel.xml
+++ b/mobile/android/base/resources/layout/activity_stream_main_toppanel.xml
@@ -45,11 +45,12 @@
         android:text="@string/activity_stream_highlights"
         android:layout_width="wrap_content"
         android:layout_height="wrap_content"
         android:textStyle="bold"
         android:textSize="16sp"
         android:textColor="#FF858585"
         android:layout_below="@+id/divider"
         android:layout_alignParentLeft="true"
-        android:layout_alignParentStart="true" />
+        android:layout_alignParentStart="true"
+        android:layout_marginBottom="6dp" />
 
 </RelativeLayout>
\ No newline at end of file