Remove unnecessary relative layout

pull/996/head
Alex Baker 4 years ago
parent 52eb32bea9
commit 520fdff1e6

@ -1,14 +1,9 @@
<?xml version="1.0" encoding="utf-8"?><!-- <?xml version="1.0" encoding="utf-8"?>
** Copyright (c) 2012 Todoroo Inc <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
**
** See the file "LICENSE" for the full license governing this code.
-->
<LinearLayout 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/widget" android:id="@+id/widget"
android:layout_width="fill_parent" android:layout_width="fill_parent"
android:layout_height="fill_parent" android:layout_height="fill_parent">
android:orientation="vertical">
<RelativeLayout <RelativeLayout
android:id="@+id/widget_header" android:id="@+id/widget_header"
@ -71,35 +66,32 @@
android:maxLines="2" android:maxLines="2"
android:textAlignment="viewStart" android:textAlignment="viewStart"
android:textColor="@android:color/black" android:textColor="@android:color/black"
android:textSize="18sp"/> android:textSize="18sp" />
</RelativeLayout> </RelativeLayout>
<RelativeLayout <ImageView
android:id="@+id/widget_background"
android:layout_below="@id/widget_header"
android:layout_width="fill_parent" android:layout_width="fill_parent"
android:layout_height="wrap_content"> android:layout_height="fill_parent"
android:scaleType="fitXY"
<ImageView tools:ignore="ContentDescription" />
android:id="@+id/widget_background"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:scaleType="fitXY"
tools:ignore="ContentDescription" />
<ListView
android:id="@+id/list_view"
android:layout_width="match_parent"
android:layout_height="fill_parent"
android:listSelector="@android:color/transparent"
android:divider="@null"
android:dividerHeight="0dp"/>
<TextView <ListView
android:id="@+id/empty_view" android:id="@+id/list_view"
android:layout_width="match_parent" android:layout_below="@id/widget_header"
android:layout_height="fill_parent" android:layout_width="match_parent"
android:gravity="center"/> android:layout_height="fill_parent"
android:listSelector="@android:color/transparent"
android:divider="@null"
android:dividerHeight="0dp"/>
</RelativeLayout> <TextView
android:id="@+id/empty_view"
android:layout_below="@id/widget_header"
android:layout_width="match_parent"
android:layout_height="fill_parent"
android:gravity="center"/>
</LinearLayout> </RelativeLayout>

Loading…
Cancel
Save