mirror of https://github.com/tasks/tasks
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
66 lines
2.1 KiB
XML
66 lines
2.1 KiB
XML
<?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">
|
|
|
|
<RelativeLayout
|
|
android:id="@+id/widget_header"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="horizontal">
|
|
|
|
<ImageButton
|
|
android:id="@+id/widget_change_list"
|
|
style="@style/WidgetButton"
|
|
android:layout_alignParentStart="true"
|
|
android:src="@drawable/ic_outline_menu_24px"
|
|
tools:padding="@dimen/widget_padding" />
|
|
|
|
<ImageButton
|
|
android:id="@+id/widget_button"
|
|
style="@style/WidgetButton"
|
|
android:layout_alignParentEnd="true"
|
|
android:src="@drawable/ic_outline_add_24px"
|
|
android:contentDescription="@string/action_create_new_task"
|
|
tools:padding="@dimen/widget_padding"/>
|
|
|
|
<ImageButton
|
|
android:id="@+id/widget_reconfigure"
|
|
style="@style/WidgetButton"
|
|
android:layout_toStartOf="@id/widget_button"
|
|
android:src="@drawable/ic_outline_settings_24px"
|
|
android:contentDescription="@string/widget_settings"
|
|
tools:padding="@dimen/widget_padding"/>
|
|
|
|
<TextView
|
|
android:id="@+id/widget_title"
|
|
android:layout_height="wrap_content"
|
|
style="@style/WidgetTitle"
|
|
android:layout_toEndOf="@id/widget_change_list"
|
|
android:layout_toStartOf="@id/widget_reconfigure"
|
|
android:maxLines="1"
|
|
tools:text="@string/BFE_Active"
|
|
tools:textColor="@android:color/black" />
|
|
|
|
</RelativeLayout>
|
|
|
|
<ListView
|
|
android:id="@+id/list_view"
|
|
android:layout_below="@id/widget_header"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:listSelector="@android:color/transparent"
|
|
android:divider="@null"
|
|
android:dividerHeight="0dp"/>
|
|
|
|
<TextView
|
|
android:id="@+id/empty_view"
|
|
android:layout_below="@id/list_view"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="fill_parent"
|
|
android:gravity="center"/>
|
|
|
|
</RelativeLayout>
|