Bug 1379021 - Remove divider from highlights title layout. r?mcomella draft
authorSebastian Kaspari <s.kaspari@gmail.com>
Thu, 13 Jul 2017 13:27:32 +0200
changeset 615943 077a9761a0077905b157da6918c34319d68e0f33
parent 615942 2c1c4c69d1f942babd3c97dd42bc564ae742bc13
child 615944 08327db53dcee7803d50367bc244a749d8c6864b
child 615955 594420c90333236ca78ccf0e4843ac1d3d778e54
push id70532
push users.kaspari@gmail.com
push dateWed, 26 Jul 2017 15:42:23 +0000
reviewersmcomella
bugs1379021
milestone56.0a1
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" />