Removed useless nested layout

This commit is contained in:
ByteHamster 2018-02-13 00:22:52 +01:00
parent 301bf782a1
commit 877ae45592
2 changed files with 72 additions and 79 deletions

View File

@ -1,18 +1,13 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<LinearLayout <RelativeLayout
xmlns:android="http://schemas.android.com/apk/res/android" xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools" xmlns:tools="http://schemas.android.com/tools"
android:id="@+id/fragmentLayout" android:id="@+id/fragmentLayout"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="@dimen/external_player_height"
android:orientation="vertical"
android:visibility="gone" android:visibility="gone"
android:background="?attr/selectableItemBackground"> android:background="?attr/selectableItemBackground">
<RelativeLayout
android:layout_width="match_parent"
android:layout_height="@dimen/external_player_height">
<ImageView <ImageView
android:id="@+id/imgvCover" android:id="@+id/imgvCover"
android:contentDescription="@string/cover_label" android:contentDescription="@string/cover_label"
@ -86,6 +81,4 @@
android:maxLines="1" android:maxLines="1"
tools:text="Episode author that is too long and will cause the text to wrap"/> tools:text="Episode author that is too long and will cause the text to wrap"/>
</RelativeLayout> </RelativeLayout>
</LinearLayout>

View File

@ -6,7 +6,7 @@
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="match_parent"> android:layout_height="match_parent">
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" <RelativeLayout
android:id="@+id/content" android:id="@+id/content"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="match_parent"> android:layout_height="match_parent">