From 2c7ce0b7c6045ad5a948fe40c52f923b41a160ec Mon Sep 17 00:00:00 2001
From: str4d <str4d@mail.i2p>
Date: Sun, 9 Nov 2014 12:24:59 +0000
Subject: [PATCH] News fragment margins

---
 app/src/main/res/layout/fragment_news.xml | 13 +++++++++----
 1 file changed, 9 insertions(+), 4 deletions(-)

diff --git a/app/src/main/res/layout/fragment_news.xml b/app/src/main/res/layout/fragment_news.xml
index 2ffe3f770..8296d0949 100644
--- a/app/src/main/res/layout/fragment_news.xml
+++ b/app/src/main/res/layout/fragment_news.xml
@@ -2,21 +2,26 @@
 <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
     android:layout_width="match_parent"
     android:layout_height="match_parent"
-    android:padding="10dp">
+    android:layout_marginBottom="@dimen/activity_vertical_margin"
+    android:layout_marginEnd="@dimen/activity_horizontal_margin"
+    android:layout_marginLeft="@dimen/activity_horizontal_margin"
+    android:layout_marginRight="@dimen/activity_horizontal_margin"
+    android:layout_marginStart="@dimen/activity_horizontal_margin"
+    android:layout_marginTop="@dimen/activity_vertical_margin">
 
     <TextView
         android:id="@+id/news_content"
         android:layout_width="match_parent"
         android:layout_height="wrap_content"
-        android:layout_alignParentTop="true"
-        android:layout_above="@+id/news_status"/>
+        android:layout_above="@+id/news_status"
+        android:layout_alignParentTop="true" />
 
     <TextView
         android:id="@+id/news_status"
         android:layout_width="match_parent"
         android:layout_height="wrap_content"
-        android:gravity="end"
         android:layout_alignParentBottom="true"
+        android:gravity="end"
         android:visibility="gone" />
 </RelativeLayout>
 
-- 
GitLab