mirror of
https://github.com/wismna/DoNext.git
synced 2025-10-04 16:10:13 -04:00

Today list fully functional New and edit task dialog now goes full screen on smaller screens, stays as a pop-up on bigger ones New Alarm icon on expired tasks Better tasks layout Simpler new and edit task form layout: less labels, replaced radiogroup with slider,...
46 lines
1.8 KiB
XML
46 lines
1.8 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="70dp"
|
|
android:paddingTop="5dp"
|
|
android:orientation="horizontal"
|
|
android:focusable="true"
|
|
android:background="?android:attr/selectableItemBackground" >
|
|
<TextView
|
|
android:id="@+id/task_cycle"
|
|
android:layout_width="30dp"
|
|
android:layout_height="wrap_content"
|
|
android:paddingTop="10dp"
|
|
android:textAppearance="?attr/textAppearanceListItem" />
|
|
<TextView
|
|
android:id="@+id/task_id"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:visibility="gone" />
|
|
<ImageView
|
|
android:id="@+id/task_alarm"
|
|
android:layout_width="24dp"
|
|
android:layout_height="wrap_content"
|
|
android:paddingTop="10dp"
|
|
android:layout_marginEnd="5dp"
|
|
android:contentDescription="@string/task_alarm"/>
|
|
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="?listPreferredItemHeight"
|
|
android:orientation="vertical">
|
|
<TextView
|
|
android:id="@+id/task_name"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:textAppearance="?attr/textAppearanceListItem" />
|
|
<TextView
|
|
android:id="@+id/task_description"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:maxLines="2"
|
|
android:textColor="@color/colorPrimary"
|
|
android:textSize="14sp"
|
|
android:textAppearance="?attr/textAppearanceListItemSmall" />
|
|
</LinearLayout>
|
|
</LinearLayout>
|