Bug 1379021 - Remove divider from highlights title layout. r=mcomella
authorSebastian Kaspari <s.kaspari@gmail.com>
Thu, 13 Jul 2017 13:27:32 +0200
changeset 422229 55644d60b1cde284b8c9c07ce01f24a3c2ce175d
parent 422228 d18e2a7fb353cef42ae6c21b76022b45b3cf89c7
child 422230 ddb3af69403cdb62dc31ff5e5049d14d80d47dbf
push id1517
push userjlorenzo@mozilla.com
push dateThu, 14 Sep 2017 16:50:54 +0000
treeherdermozilla-release@3b41fd564418 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersmcomella
bugs1379021
milestone56.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 1379021 - Remove divider from highlights title layout. r=mcomella MozReview-Commit-ID: Kvp4SqpGtMj
mobile/android/app/src/main/res/layout/activity_stream_main_highlightstitle.xml
--- a/mobile/android/app/src/main/res/layout/activity_stream_main_highlightstitle.xml
+++ b/mobile/android/app/src/main/res/layout/activity_stream_main_highlightstitle.xml
@@ -1,29 +1,18 @@
 <?xml version="1.0" encoding="utf-8"?>
-<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
-              android:orientation="vertical"
-              android:layout_width="match_parent"
-              android:layout_height="wrap_content">
-
-    <View
-        android:id="@+id/divider1"
-        android:layout_width="match_parent"
-        android:layout_height="0.5dp"
-        android:padding="4dp"
-        android:background="#ffe0e0e0" />
-
-    <TextView
-        android:id="@+id/title_highlights"
-        android:layout_marginLeft="@dimen/activity_stream_base_margin"
-        android:layout_marginStart="@dimen/activity_stream_base_margin"
-        android:layout_marginTop="@dimen/activity_stream_base_margin"
-        android:layout_marginBottom="@dimen/activity_stream_base_margin"
-        android:layout_marginRight="@dimen/activity_stream_base_margin"
-        android:layout_marginEnd="@dimen/activity_stream_base_margin"
-        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" />
-
-</LinearLayout>
+<!-- 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"
+    android:id="@+id/title_highlights"
+    android:layout_marginLeft="@dimen/activity_stream_base_margin"
+    android:layout_marginStart="@dimen/activity_stream_base_margin"
+    android:layout_marginTop="@dimen/activity_stream_base_margin"
+    android:layout_marginBottom="@dimen/activity_stream_base_margin"
+    android:layout_marginRight="@dimen/activity_stream_base_margin"
+    android:layout_marginEnd="@dimen/activity_stream_base_margin"
+    android:text="@string/activity_stream_highlights"
+    android:layout_width="match_parent"
+    android:layout_height="wrap_content"
+    android:textStyle="bold"
+    android:textSize="16sp"
+    android:textColor="#FF858585" />