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.
410 lines
16 KiB
XML
410 lines
16 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<!--
|
|
ASTRID: Android's Simple Task Recording Dashboard
|
|
|
|
Copyright (c) 2009 Tim Su
|
|
|
|
This program is free software; you can redistribute it and/or modify
|
|
it under the terms of the GNU General Public License as published by
|
|
the Free Software Foundation; either version 2 of the License, or
|
|
(at your option) any later version.
|
|
|
|
This program is distributed in the hope that it will be useful, but
|
|
WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
|
|
or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
|
for more details.
|
|
|
|
You should have received a copy of the GNU General Public License along
|
|
with this program; if not, write to the Free Software Foundation, Inc.,
|
|
59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
|
|
|
-->
|
|
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
android:id="@+id/frame"
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="fill_parent">
|
|
|
|
<ScrollView
|
|
android:id="@+id/tab_basic"
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="fill_parent">
|
|
<LinearLayout android:id="@+id/event"
|
|
android:paddingRight="8dip"
|
|
android:orientation="vertical"
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="fill_parent">
|
|
|
|
<TextView android:id="@+id/name_label"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:text="@string/name_label"
|
|
style="@style/TextAppearance.EditEvent_Label"/>
|
|
|
|
<EditText android:id="@+id/name"
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="wrap_content"
|
|
android:hint="@string/name_hint"
|
|
android:autoText="true"
|
|
android:capitalize="sentences"/>
|
|
|
|
<TextView android:id="@+id/importance_label"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:text="@string/importance_label"
|
|
style="@style/TextAppearance.EditEvent_Label"/>
|
|
|
|
<LinearLayout android:id="@+id/importance_container"
|
|
android:orientation="horizontal"
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="wrap_content">
|
|
</LinearLayout>
|
|
|
|
<TextView android:id="@+id/tags_label"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:text="@string/tags_label"
|
|
style="@style/TextAppearance.EditEvent_Label"/>
|
|
|
|
<LinearLayout android:id="@+id/tags_container"
|
|
android:orientation="vertical"
|
|
android:paddingBottom="5dip"
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="wrap_content">
|
|
</LinearLayout>
|
|
|
|
<View
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="1dip"
|
|
android:background="@android:drawable/divider_horizontal_dark"
|
|
/>
|
|
|
|
<TextView android:id="@+id/estimatedDuration_label"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:text="@string/estimatedDuration_label"
|
|
style="@style/TextAppearance.EditEvent_Label"/>
|
|
|
|
<Button android:id="@+id/estimatedDuration"
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="wrap_content"/>
|
|
|
|
<TextView android:id="@+id/notes_label"
|
|
android:paddingTop="5dip"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:text="@string/notes_label"
|
|
style="@style/TextAppearance.EditEvent_Label"/>
|
|
|
|
<EditText android:id="@+id/notes"
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_weight="1"
|
|
android:scrollbars="vertical"
|
|
android:gravity="top"
|
|
android:hint="@string/notes_hint"
|
|
android:autoText="true"
|
|
android:capitalize="sentences"
|
|
android:singleLine="false" />
|
|
|
|
<LinearLayout
|
|
android:orientation="horizontal"
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="wrap_content"
|
|
android:paddingTop="5dip"
|
|
android:baselineAligned="false">
|
|
|
|
<Button android:id="@+id/save_general"
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_weight="1"
|
|
android:text="@string/save_label"
|
|
/>
|
|
|
|
<Button android:id="@+id/discard_general"
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_weight="1"
|
|
android:text="@string/discard_label"
|
|
/>
|
|
|
|
<Button android:id="@+id/delete_general"
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_weight="1"
|
|
android:text="@string/delete_label"
|
|
/>
|
|
</LinearLayout>
|
|
</LinearLayout>
|
|
</ScrollView>
|
|
|
|
<!-- DATES -->
|
|
<ScrollView
|
|
android:id="@+id/tab_dates"
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="fill_parent">
|
|
<LinearLayout android:id="@+id/event"
|
|
android:paddingRight="8dip"
|
|
android:orientation="vertical"
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="fill_parent">
|
|
|
|
<TextView android:id="@+id/definiteDueDate_label"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:text="@string/definiteDueDate_label"
|
|
style="@style/TextAppearance.EditEvent_Label"/>
|
|
|
|
<LinearLayout
|
|
android:orientation="horizontal"
|
|
android:paddingRight="10dip"
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="wrap_content">
|
|
|
|
<CheckBox android:id="@+id/definiteDueDate_notnull"
|
|
android:layout_marginRight="10dip"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"/>
|
|
|
|
<Button android:id="@+id/definiteDueDate_date"
|
|
android:layout_weight="0.7"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"/>
|
|
|
|
<Button android:id="@+id/definiteDueDate_time"
|
|
android:layout_weight="1"
|
|
android:layout_marginRight="10dip"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"/>
|
|
|
|
</LinearLayout>
|
|
|
|
<TextView android:id="@+id/preferredDueDate_label"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:text="@string/preferredDueDate_label"
|
|
style="@style/TextAppearance.EditEvent_Label"/>
|
|
|
|
<LinearLayout
|
|
android:orientation="horizontal"
|
|
android:paddingRight="10dip"
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="wrap_content">
|
|
|
|
<CheckBox android:id="@+id/preferredDueDate_notnull"
|
|
android:layout_marginRight="10dip"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"/>
|
|
|
|
<Button android:id="@+id/preferredDueDate_date"
|
|
android:layout_weight="0.7"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"/>
|
|
|
|
<Button android:id="@+id/preferredDueDate_time"
|
|
android:layout_weight="1"
|
|
android:layout_marginRight="10dip"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"/>
|
|
|
|
</LinearLayout>
|
|
|
|
<CheckBox android:id="@+id/add_to_calendar"
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="wrap_content"
|
|
android:text="@string/addToCalendar_label"/>
|
|
|
|
<TextView android:id="@+id/hiddenUntil_label"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:text="@string/hiddenUntil_label"
|
|
style="@style/TextAppearance.EditEvent_Label"/>
|
|
|
|
<LinearLayout
|
|
android:orientation="horizontal"
|
|
android:paddingRight="10dip"
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="wrap_content">
|
|
|
|
<CheckBox android:id="@+id/hiddenUntil_notnull"
|
|
android:layout_marginRight="10dip"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"/>
|
|
|
|
<Button android:id="@+id/hiddenUntil_date"
|
|
android:layout_weight="0.7"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"/>
|
|
|
|
<Button android:id="@+id/hiddenUntil_time"
|
|
android:layout_weight="1"
|
|
android:layout_marginRight="10dip"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"/>
|
|
|
|
</LinearLayout>
|
|
|
|
<TextView android:id="@+id/repeat_label"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:text="@string/repeat_label"
|
|
style="@style/TextAppearance.EditEvent_Label"/>
|
|
|
|
<LinearLayout
|
|
android:orientation="horizontal"
|
|
android:paddingRight="10dip"
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="wrap_content">
|
|
|
|
<Button android:id="@+id/repeat_value"
|
|
android:layout_weight="1"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"/>
|
|
|
|
<Spinner android:id="@+id/repeat_interval"
|
|
android:layout_weight="1"
|
|
android:layout_marginRight="10dip"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"/>
|
|
|
|
</LinearLayout>
|
|
|
|
<View
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="1dip"
|
|
android:padding="5dip"
|
|
android:background="@android:drawable/divider_horizontal_dark"
|
|
/>
|
|
|
|
<TextView android:id="@+id/elapsedDuration_label"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:text="@string/elapsedDuration_label"
|
|
style="@style/TextAppearance.EditEvent_Label"/>
|
|
|
|
<Button android:id="@+id/elapsedDuration"
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="wrap_content"/>
|
|
|
|
<LinearLayout
|
|
android:orientation="horizontal"
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="wrap_content"
|
|
android:paddingTop="5dip"
|
|
android:baselineAligned="false">
|
|
|
|
<Button android:id="@+id/save_dates"
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_weight="1"
|
|
android:text="@string/save_label"
|
|
/>
|
|
|
|
<Button android:id="@+id/discard_dates"
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_weight="1"
|
|
android:text="@string/discard_label"
|
|
/>
|
|
|
|
<Button android:id="@+id/delete_dates"
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_weight="1"
|
|
android:text="@string/delete_label"
|
|
/>
|
|
</LinearLayout>
|
|
</LinearLayout>
|
|
</ScrollView>
|
|
|
|
<ScrollView
|
|
android:id="@+id/tab_notification"
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="fill_parent">
|
|
<LinearLayout android:id="@+id/event"
|
|
android:paddingRight="8dip"
|
|
android:orientation="vertical"
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="fill_parent">
|
|
|
|
<TextView android:id="@+id/notification_label"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:text="@string/notification_label"
|
|
style="@style/TextAppearance.EditEvent_Label"/>
|
|
<Button android:id="@+id/notification"
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="wrap_content"/>
|
|
|
|
<TextView android:id="@+id/alerts_label"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:text="@string/alerts_label"
|
|
style="@style/TextAppearance.EditEvent_Label"/>
|
|
|
|
<LinearLayout android:id="@+id/alert_container"
|
|
android:orientation="vertical"
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="wrap_content">
|
|
</LinearLayout>
|
|
|
|
<Button android:id="@+id/addAlert"
|
|
android:text="@string/add_alert"
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="wrap_content"/>
|
|
|
|
|
|
<TextView android:id="@+id/flags_label"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:text="@string/flags_label"
|
|
style="@style/TextAppearance.EditEvent_Label"/>
|
|
<CheckBox android:id="@+id/flag_before"
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="wrap_content"
|
|
android:text="@string/flag_before"/>
|
|
<CheckBox android:id="@+id/flag_during"
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="wrap_content"
|
|
android:text="@string/flag_during"/>
|
|
<CheckBox android:id="@+id/flag_after"
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="wrap_content"
|
|
android:text="@string/flag_after"/>
|
|
|
|
<CheckBox android:id="@+id/flag_nonstop"
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="wrap_content"
|
|
android:text="@string/flag_nonstop"/>
|
|
|
|
<LinearLayout
|
|
android:orientation="horizontal"
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="wrap_content"
|
|
android:paddingTop="5dip"
|
|
android:baselineAligned="false">
|
|
|
|
<Button android:id="@+id/save_notify"
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_weight="1"
|
|
android:text="@string/save_label"
|
|
/>
|
|
|
|
<Button android:id="@+id/discard_notify"
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_weight="1"
|
|
android:text="@string/discard_label"
|
|
/>
|
|
|
|
<Button android:id="@+id/delete_notify"
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_weight="1"
|
|
android:text="@string/delete_label"
|
|
/>
|
|
</LinearLayout>
|
|
</LinearLayout>
|
|
</ScrollView>
|
|
|
|
</FrameLayout> |