|
|
|
@ -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"
|
|
|
|
@ -71,35 +66,32 @@
|
|
|
|
|
android:maxLines="2"
|
|
|
|
|
android:textAlignment="viewStart"
|
|
|
|
|
android:textColor="@android:color/black"
|
|
|
|
|
android:textSize="18sp"/>
|
|
|
|
|
android:textSize="18sp" />
|
|
|
|
|
|
|
|
|
|
</RelativeLayout>
|
|
|
|
|
|
|
|
|
|
<RelativeLayout
|
|
|
|
|
<ImageView
|
|
|
|
|
android:id="@+id/widget_background"
|
|
|
|
|
android:layout_below="@id/widget_header"
|
|
|
|
|
android:layout_width="fill_parent"
|
|
|
|
|
android:layout_height="wrap_content">
|
|
|
|
|
|
|
|
|
|
<ImageView
|
|
|
|
|
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"/>
|
|
|
|
|
android:layout_height="fill_parent"
|
|
|
|
|
android:scaleType="fitXY"
|
|
|
|
|
tools:ignore="ContentDescription" />
|
|
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
|
android:id="@+id/empty_view"
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="fill_parent"
|
|
|
|
|
android:gravity="center"/>
|
|
|
|
|
<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"
|
|
|
|
|
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>
|
|
|
|
|