[Android] Clean layouts

Geoffrey Métais git at videolan.org
Wed Jan 11 17:56:16 CET 2017


vlc-android | branch: master | Geoffrey Métais <geoffrey.metais at gmail.com> | Wed Jan 11 17:55:54 2017 +0100| [076b867e8ce75805e2ccb22cfcdfd2e7b43c8fc8] | committer: Geoffrey Métais

Clean layouts

> https://code.videolan.org/videolan/vlc-android/commit/076b867e8ce75805e2ccb22cfcdfd2e7b43c8fc8
---

 vlc-android/res/layout/tv_preferences_activity.xml | 16 ++++------------
 vlc-android/res/layout/tv_search.xml               |  4 +---
 2 files changed, 5 insertions(+), 15 deletions(-)

diff --git a/vlc-android/res/layout/tv_preferences_activity.xml b/vlc-android/res/layout/tv_preferences_activity.xml
index 566cb94..eb628ee 100644
--- a/vlc-android/res/layout/tv_preferences_activity.xml
+++ b/vlc-android/res/layout/tv_preferences_activity.xml
@@ -1,15 +1,7 @@
 <?xml version="1.0" encoding="utf-8"?>
-
-<LinearLayout
+<FrameLayout
     xmlns:android="http://schemas.android.com/apk/res/android"
+    android:id="@+id/fragment_placeholder"
     android:layout_width="match_parent"
-    android:layout_height="match_parent"
-    android:orientation="vertical">
-
-    <FrameLayout
-        android:id="@+id/fragment_placeholder"
-        android:layout_width="match_parent"
-        android:layout_height="match_parent" >
-    </FrameLayout>
-
-</LinearLayout>
\ No newline at end of file
+    android:layout_height="match_parent" >
+</FrameLayout>
\ No newline at end of file
diff --git a/vlc-android/res/layout/tv_search.xml b/vlc-android/res/layout/tv_search.xml
index c324a89..2b5b3e9 100644
--- a/vlc-android/res/layout/tv_search.xml
+++ b/vlc-android/res/layout/tv_search.xml
@@ -1,8 +1,6 @@
 <?xml version="1.0" encoding="utf-8"?>
-
 <fragment xmlns:android="http://schemas.android.com/apk/res/android"
           android:name="org.videolan.vlc.gui.tv.SearchFragment"
           android:id="@+id/search_fragment"
           android:layout_width="match_parent"
-          android:layout_height="match_parent"
-        />
\ No newline at end of file
+          android:layout_height="match_parent" />
\ No newline at end of file



More information about the Android mailing list