Skip to content
Snippets Groups Projects
Commit a182c0c5 authored by Geoffrey Métais's avatar Geoffrey Métais
Browse files

Browser: Remove unnecessary layout layer

parent c387248f
No related branches found
No related tags found
No related merge requests found
<?xml version="1.0" encoding="utf-8"?>
<layout>
<layout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto">
<data>
<import type="android.view.View" />
<variable
......@@ -7,53 +8,57 @@
type="boolean" />
</data>
<org.videolan.vlc.gui.view.SwipeRefreshLayout
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:id="@+id/swipeLayout"
android:layout_width="match_parent"
android:layout_height="match_parent" >
<LinearLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:gravity="center_horizontal">
<android.support.constraint.ConstraintLayout
android:layout_width="@dimen/default_content_width"
android:layout_height="match_parent"
android:background="?attr/background_default" >
android:layout_width="match_parent"
android:layout_height="match_parent" >
<include layout="@layout/button_search"
android:layout_width="wrap_content"
android:layout_width="@dimen/default_content_width"
android:layout_height="wrap_content"
app:layout_constraintLeft_toLeftOf="parent"
app:layout_constraintRight_toRightOf="parent"
app:layout_constraintTop_toTopOf="parent" />
app:layout_constraintTop_toTopOf="parent"
android:background="?attr/background_default" />
<TextView
android:id="@+id/favorites_title"
android:layout_width="wrap_content"
android:layout_width="@dimen/default_content_width"
android:layout_height="wrap_content"
app:layout_constraintHeight_default="spread"
android:padding="8dp"
android:text="@string/network_favorites"
android:background="?attr/background_default"
app:layout_constraintTop_toBottomOf="@+id/searchButton"
app:layout_constraintLeft_toLeftOf="parent"
app:layout_constraintRight_toRightOf="parent"
android:visibility="@{showFavorites ? View.VISIBLE : View.GONE}" />
<android.support.v7.widget.RecyclerView
android:id="@+id/favorites_list"
android:layout_width="0dp"
android:layout_width="@dimen/default_content_width"
android:layout_height="wrap_content"
app:layout_constraintLeft_toLeftOf="parent"
app:layout_constraintRight_toRightOf="parent"
app:layout_constraintTop_toBottomOf="@+id/favorites_title"
android:background="?attr/background_default"
android:visibility="@{showFavorites ? View.VISIBLE : View.GONE}" />
<TextView
android:id="@+id/folders_title"
android:layout_width="wrap_content"
android:layout_width="@dimen/default_content_width"
android:layout_height="wrap_content"
android:background="?attr/background_default"
android:padding="8dp"
android:text="@string/network_shared_folders"
app:layout_constraintTop_toBottomOf="@+id/favorites_list"
app:layout_constraintLeft_toLeftOf="parent"
app:layout_constraintRight_toRightOf="parent"
android:visibility="@{showFavorites ? View.VISIBLE : View.GONE}" />
<org.videolan.vlc.gui.view.ContextMenuRecyclerView
android:id="@+id/network_list"
android:layout_width="0dp"
android:layout_width="@dimen/default_content_width"
android:layout_height="0dp"
app:layout_constraintHeight_default="spread"
android:background="?attr/background_default"
app:layout_constraintTop_toBottomOf="@+id/folders_title"
app:layout_constraintLeft_toLeftOf="parent"
app:layout_constraintRight_toRightOf="parent"
......@@ -70,6 +75,6 @@
android:gravity="center"
android:text="@string/loading" />
</android.support.constraint.ConstraintLayout></LinearLayout>
</android.support.constraint.ConstraintLayout>
</org.videolan.vlc.gui.view.SwipeRefreshLayout>
</layout>
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment