changed default capitalization of task summary to the first letter of the sentence from first letter of every word.

pull/14/head
jon@todoroo.com 17 years ago
parent f781da3daf
commit d080833ba4

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