Remove unnecessary relative layout

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

@ -1,14 +1,9 @@
<?xml version="1.0" encoding="utf-8"?><!--
** Copyright (c) 2012 Todoroo Inc
**
** See the file "LICENSE" for the full license governing this code.
-->
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:id="@+id/widget"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:orientation="vertical">
android:layout_height="fill_parent">
<RelativeLayout
android:id="@+id/widget_header"
@ -75,12 +70,9 @@
</RelativeLayout>
<RelativeLayout
android:layout_width="fill_parent"
android:layout_height="wrap_content">
<ImageView
android:id="@+id/widget_background"
android:layout_below="@id/widget_header"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:scaleType="fitXY"
@ -88,6 +80,7 @@
<ListView
android:id="@+id/list_view"
android:layout_below="@id/widget_header"
android:layout_width="match_parent"
android:layout_height="fill_parent"
android:listSelector="@android:color/transparent"
@ -96,10 +89,9 @@
<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"/>
</RelativeLayout>
</LinearLayout>

Loading…
Cancel
Save