Merge branch 'master' into unifiedtabletphone-ui
Conflicts: astrid/AndroidManifest.xml astrid/plugin-src/com/todoroo/astrid/actfm/TagViewActivity.java astrid/src/com/todoroo/astrid/activity/FilterListActivity.java astrid/src/com/todoroo/astrid/activity/TaskEditActivity.java astrid/src/com/todoroo/astrid/activity/TaskListActivity.java astrid/src/com/todoroo/astrid/welcome/SplashScreenLauncher.java astrid/src/com/todoroo/astrid/welcome/WelcomeGraphic.javapull/14/head
Before Width: | Height: | Size: 808 B After Width: | Height: | Size: 3.1 KiB |
After Width: | Height: | Size: 650 B |
After Width: | Height: | Size: 635 B |
After Width: | Height: | Size: 1.8 KiB |
Before Width: | Height: | Size: 1.8 KiB |
After Width: | Height: | Size: 4.7 KiB |
Before Width: | Height: | Size: 1.7 KiB |
After Width: | Height: | Size: 4.7 KiB |
Before Width: | Height: | Size: 808 B After Width: | Height: | Size: 3.1 KiB |
Before Width: | Height: | Size: 293 B After Width: | Height: | Size: 3.0 KiB |
After Width: | Height: | Size: 650 B |
Before Width: | Height: | Size: 871 B |
After Width: | Height: | Size: 635 B |
Before Width: | Height: | Size: 881 B |
Before Width: | Height: | Size: 3.0 KiB After Width: | Height: | Size: 3.0 KiB |
Before Width: | Height: | Size: 293 B After Width: | Height: | Size: 293 B |
Before Width: | Height: | Size: 2.0 KiB After Width: | Height: | Size: 1.9 KiB |
@ -1,26 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- Copyright (C) 2008 The Android Open Source Project
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
You may obtain a copy of the License at
|
||||
|
||||
http://www.apache.org/licenses/LICENSE-2.0
|
||||
|
||||
Unless required by applicable law or agreed to in writing, software
|
||||
distributed under the License is distributed on an "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
-->
|
||||
|
||||
<selector xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
|
||||
<item android:state_pressed="false" android:state_enabled="true"
|
||||
android:state_focused="false" android:drawable="@drawable/icn_arrow_right" />
|
||||
<item android:state_pressed="true" android:state_enabled="true"
|
||||
android:drawable="@drawable/icn_arrow_over" />
|
||||
<item android:state_pressed="false" android:state_enabled="true"
|
||||
android:state_focused="true" android:drawable="@drawable/icn_arrow_over" />
|
||||
|
||||
</selector>
|
After Width: | Height: | Size: 3.4 KiB |
After Width: | Height: | Size: 3.1 KiB |
After Width: | Height: | Size: 1.8 KiB |
@ -0,0 +1,14 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<shape xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:shape="rectangle">
|
||||
<stroke
|
||||
android:width="2dip"
|
||||
android:color="@android:color/black"/>
|
||||
<solid
|
||||
android:color="@android:color/white"/>
|
||||
<corners
|
||||
android:topLeftRadius="5dip"
|
||||
android:topRightRadius="5dip"
|
||||
android:bottomLeftRadius="5dip"
|
||||
android:bottomRightRadius="5dip"/>
|
||||
</shape>
|
@ -1,523 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<RelativeLayout
|
||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:astrid="http://schemas.android.com/apk/res/com.timsu.astrid"
|
||||
android:id="@+id/taskEditParent"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="fill_parent"
|
||||
style="@style/Content">
|
||||
|
||||
<View
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="2dip"
|
||||
android:background="@color/task_edit_selected" />
|
||||
|
||||
|
||||
<!-- ======================================================= tab: basic == -->
|
||||
<ScrollView
|
||||
android:id="@+id/tab_basic"
|
||||
android:layout_above="@id/edit_footer"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="fill_parent">
|
||||
<LinearLayout
|
||||
android:padding="4dip"
|
||||
android:orientation="vertical"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="fill_parent">
|
||||
<!-- title -->
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="@string/TEA_title_label"
|
||||
style="@style/TextAppearance.GEN_EditLabel" />
|
||||
<com.todoroo.astrid.ui.ErrorCatchingEditText
|
||||
android:id="@+id/title"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:hint="@string/TEA_title_hint"
|
||||
android:autoText="true"
|
||||
android:text=""
|
||||
android:capitalize="sentences"
|
||||
android:freezesText="true"/>
|
||||
<!-- importance -->
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="@string/TEA_importance_label"
|
||||
style="@style/TextAppearance.GEN_EditLabel" />
|
||||
<LinearLayout
|
||||
android:id="@+id/importance_container"
|
||||
android:orientation="horizontal"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="wrap_content">
|
||||
</LinearLayout>
|
||||
<!-- urgency -->
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="@string/TEA_urgency_label"
|
||||
style="@style/TextAppearance.GEN_EditLabel" />
|
||||
<LinearLayout
|
||||
android:orientation="horizontal"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="wrap_content">
|
||||
<Button
|
||||
android:id="@+id/urgency_date"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="1"
|
||||
android:drawableLeft="@drawable/gl_date" />
|
||||
<Button
|
||||
android:id="@+id/urgency_time"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="1"
|
||||
android:drawableLeft="@drawable/gl_time" />
|
||||
</LinearLayout>
|
||||
<!-- add-ons -->
|
||||
<LinearLayout
|
||||
android:id="@+id/addons_urgency"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="vertical" />
|
||||
<!-- tags -->
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="@string/TEA_tags_label"
|
||||
style="@style/TextAppearance.GEN_EditLabel" />
|
||||
<LinearLayout
|
||||
android:id="@+id/tags_container"
|
||||
android:orientation="vertical"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="wrap_content" />
|
||||
<Spinner
|
||||
android:id="@+id/tags_dropdown"
|
||||
android:paddingBottom="5dip"
|
||||
android:entries="@array/TEA_loading"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="wrap_content" />
|
||||
<!-- notes -->
|
||||
<TextView
|
||||
android:id="@+id/notes_label"
|
||||
android:paddingTop="5dip"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="@string/TEA_note_label"
|
||||
style="@style/TextAppearance.GEN_EditLabel" />
|
||||
<LinearLayout
|
||||
android:orientation="horizontal"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="wrap_content">
|
||||
<!-- Voice Add Note Button -->
|
||||
<ImageButton
|
||||
android:id="@+id/voiceAddNoteButton"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="1"
|
||||
android:src="@drawable/tango_microphone"
|
||||
android:scaleType="fitCenter"
|
||||
android:visibility="gone" />
|
||||
<EditText
|
||||
android:id="@+id/notes"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="100"
|
||||
android:scrollbars="vertical"
|
||||
android:gravity="top"
|
||||
android:hint="@string/TEA_notes_hint"
|
||||
android:autoText="true"
|
||||
android:capitalize="sentences"
|
||||
android:singleLine="false"
|
||||
android:freezesText="true" />
|
||||
</LinearLayout>
|
||||
<!-- buttons -->
|
||||
<LinearLayout android:id="@+id/edit_footer"
|
||||
android:orientation="horizontal"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="48dip"
|
||||
android:layout_marginTop="7dip"
|
||||
android:layout_alignParentBottom="true"
|
||||
android:padding="5dip"
|
||||
android:background="@drawable/footer_background"
|
||||
android:baselineAligned="false">
|
||||
<Button
|
||||
android:id="@+id/save"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="fill_parent"
|
||||
android:layout_marginRight="5dip"
|
||||
android:background="@drawable/footer_greenbtn"
|
||||
android:text="@string/DLG_save"
|
||||
android:textStyle="bold"
|
||||
style="@style/TextAppearance.TEA_action"
|
||||
android:layout_weight="1" />
|
||||
<Button
|
||||
android:id="@+id/discard"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="fill_parent"
|
||||
android:layout_marginLeft="5dip"
|
||||
android:background="@drawable/footer_redbtn"
|
||||
android:text="@android:string/cancel"
|
||||
style="@style/TextAppearance.TEA_action"
|
||||
android:layout_weight="1" />
|
||||
</LinearLayout>
|
||||
</LinearLayout>
|
||||
</ScrollView>
|
||||
|
||||
<!-- ===================================================== tab: sharing == -->
|
||||
<ScrollView
|
||||
android:id="@+id/tab_share"
|
||||
android:layout_above="@id/edit_footer"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="fill_parent">
|
||||
<LinearLayout
|
||||
android:padding="4dip"
|
||||
android:orientation="vertical"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="fill_parent">
|
||||
<TextView
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:paddingBottom="5dip"
|
||||
style="@style/TextAppearance.GEN_EditLabel"
|
||||
android:text="@string/actfm_EPA_assign_label" />
|
||||
<LinearLayout
|
||||
android:orientation="horizontal"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="wrap_content">
|
||||
<Spinner
|
||||
android:id="@+id/assigned_spinner"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="45dip"
|
||||
android:layout_weight="1"
|
||||
android:layout_gravity="center_vertical"
|
||||
android:hint="@string/actfm_person_hint" />
|
||||
<com.todoroo.astrid.ui.ContactsAutoComplete
|
||||
android:id="@+id/assigned_custom"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="1"
|
||||
android:layout_gravity="center_vertical"
|
||||
android:visibility="gone"
|
||||
android:hint="@string/actfm_person_hint" />
|
||||
<ImageButton
|
||||
android:id="@+id/assigned_clear"
|
||||
style="?android:attr/buttonStyleInset"
|
||||
android:src="@android:drawable/ic_delete"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="fill_parent"
|
||||
android:layout_marginTop="2dip"
|
||||
android:layout_marginRight="2dip"
|
||||
android:layout_marginBottom="2dip"
|
||||
android:visibility="gone"
|
||||
android:gravity="center_vertical" />
|
||||
</LinearLayout>
|
||||
<TextView
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:paddingTop="5dip"
|
||||
android:paddingBottom="5dip"
|
||||
style="@style/TextAppearance.GEN_EditLabel"
|
||||
android:text="@string/actfm_EPA_share_with" />
|
||||
<com.todoroo.astrid.ui.PeopleContainer
|
||||
android:id="@+id/share_container"
|
||||
android:orientation="vertical"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="wrap_content" />
|
||||
<LinearLayout
|
||||
android:id="@+id/share_additional"
|
||||
android:orientation="vertical"
|
||||
android:padding="5dip"
|
||||
android:visibility="gone"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="wrap_content">
|
||||
<View
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="1dip"
|
||||
android:background="@android:drawable/divider_horizontal_dark" />
|
||||
<TextView
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:paddingTop="5dip"
|
||||
android:paddingBottom="5dip"
|
||||
android:text="@string/actfm_EPA_message_text" />
|
||||
<EditText
|
||||
android:id="@+id/message"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:scrollbars="vertical"
|
||||
android:text="@string/actfm_EPA_message_body"
|
||||
android:autoText="true"
|
||||
android:capitalize="sentences"
|
||||
android:singleLine="false" />
|
||||
<TextView
|
||||
android:id="@+id/tag_label"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:paddingBottom="5dip"
|
||||
android:visibility="gone"
|
||||
android:text="@string/actfm_EPA_tag_label" />
|
||||
<EditText
|
||||
android:id="@+id/tag_name"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:visibility="gone"
|
||||
android:hint="@string/actfm_EPA_tag_hint" />
|
||||
<View
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="1dip"
|
||||
android:background="@android:drawable/divider_horizontal_dark" />
|
||||
</LinearLayout>
|
||||
<LinearLayout
|
||||
android:id="@+id/collaborators"
|
||||
android:orientation="vertical"
|
||||
android:padding="5dip"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="wrap_content" />
|
||||
<CheckBox
|
||||
style="@style/TextAppearance.GEN_EditLabel"
|
||||
android:id="@+id/checkbox_facebook"
|
||||
android:text="@string/actfm_EPA_facebook"
|
||||
android:paddingLeft="45dip"
|
||||
android:visibility="gone"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="wrap_content" />
|
||||
<CheckBox
|
||||
style="@style/TextAppearance.GEN_EditLabel"
|
||||
android:id="@+id/checkbox_twitter"
|
||||
android:text="@string/actfm_EPA_twitter"
|
||||
android:paddingLeft="45dip"
|
||||
android:visibility="gone"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="wrap_content" />
|
||||
<View
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="1dip"
|
||||
android:layout_margin="15dip"
|
||||
android:background="@android:drawable/divider_horizontal_dark" />
|
||||
<TextView
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:paddingTop="15dip"
|
||||
android:text="@string/actfm_EPA_intro"
|
||||
android:gravity="center"
|
||||
android:textColor="#ee9900" />
|
||||
<LinearLayout android:id="@+id/edit_footer2"
|
||||
android:orientation="horizontal"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="48dip"
|
||||
android:layout_marginTop="7dip"
|
||||
android:layout_alignParentBottom="true"
|
||||
android:padding="5dip"
|
||||
android:background="@drawable/footer_background"
|
||||
android:baselineAligned="false">
|
||||
<Button
|
||||
android:id="@+id/save2"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="fill_parent"
|
||||
android:layout_marginRight="5dip"
|
||||
android:background="@drawable/footer_greenbtn"
|
||||
android:text="@string/DLG_save"
|
||||
android:textStyle="bold"
|
||||
style="@style/TextAppearance.TEA_action"
|
||||
android:layout_weight="1" />
|
||||
<Button
|
||||
android:id="@+id/discard2"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="fill_parent"
|
||||
android:layout_marginLeft="5dip"
|
||||
android:background="@drawable/footer_redbtn"
|
||||
android:text="@android:string/cancel"
|
||||
style="@style/TextAppearance.TEA_action"
|
||||
android:layout_weight="1" />
|
||||
</LinearLayout>
|
||||
</LinearLayout>
|
||||
</ScrollView>
|
||||
|
||||
<!-- ====================================================== tab: alarms == -->
|
||||
<ScrollView
|
||||
android:id="@+id/tab_alarms"
|
||||
android:layout_above="@id/edit_footer"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="fill_parent">
|
||||
<LinearLayout
|
||||
android:padding="4dip"
|
||||
android:orientation="vertical"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="fill_parent">
|
||||
<!-- reminders -->
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="@string/TEA_reminder_label"
|
||||
style="@style/TextAppearance.GEN_EditLabel" />
|
||||
<CheckBox
|
||||
style="@style/TextAppearance.GEN_EditLabel"
|
||||
android:id="@+id/reminder_due"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginLeft="5dip"
|
||||
android:button="@drawable/btn_check_small"
|
||||
android:text="@string/TEA_reminder_due" />
|
||||
<CheckBox
|
||||
style="@style/TextAppearance.GEN_EditLabel"
|
||||
android:id="@+id/reminder_overdue"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginLeft="5dip"
|
||||
android:button="@drawable/btn_check_small"
|
||||
android:text="@string/TEA_reminder_overdue" />
|
||||
<LinearLayout
|
||||
android:orientation="horizontal"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="fill_parent">
|
||||
<CheckBox
|
||||
style="@style/TextAppearance.GEN_EditLabel"
|
||||
android:id="@+id/reminder_random"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginLeft="5dip"
|
||||
android:button="@drawable/btn_check_small"
|
||||
android:text="@string/TEA_reminder_random" />
|
||||
<Spinner
|
||||
android:id="@+id/reminder_random_interval"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="wrap_content" />
|
||||
</LinearLayout>
|
||||
<!-- reminder mode -->
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="@string/TEA_reminder_alarm_label"
|
||||
style="@style/TextAppearance.GEN_EditLabel" />
|
||||
<Spinner
|
||||
android:id="@+id/reminder_alarm"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="wrap_content" />
|
||||
<!-- add-ons -->
|
||||
<LinearLayout
|
||||
android:id="@+id/addons_alarms"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="vertical" />
|
||||
<LinearLayout android:id="@+id/edit_footer3"
|
||||
android:orientation="horizontal"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="48dip"
|
||||
android:layout_marginTop="7dip"
|
||||
android:layout_alignParentBottom="true"
|
||||
android:padding="5dip"
|
||||
android:background="@drawable/footer_background"
|
||||
android:baselineAligned="false">
|
||||
<Button
|
||||
android:id="@+id/save3"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="fill_parent"
|
||||
android:layout_marginRight="5dip"
|
||||
android:background="@drawable/footer_greenbtn"
|
||||
android:text="@string/DLG_save"
|
||||
android:textStyle="bold"
|
||||
style="@style/TextAppearance.TEA_action"
|
||||
android:layout_weight="1" />
|
||||
<Button
|
||||
android:id="@+id/discard3"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="fill_parent"
|
||||
android:layout_marginLeft="5dip"
|
||||
android:background="@drawable/footer_redbtn"
|
||||
android:text="@android:string/cancel"
|
||||
style="@style/TextAppearance.TEA_action"
|
||||
android:layout_weight="1" />
|
||||
</LinearLayout>
|
||||
</LinearLayout>
|
||||
</ScrollView>
|
||||
|
||||
<!-- ======================================================= tab: more == -->
|
||||
<ScrollView
|
||||
android:id="@+id/tab_more"
|
||||
android:layout_above="@id/edit_footer"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="fill_parent">
|
||||
<LinearLayout
|
||||
android:padding="4dip"
|
||||
android:orientation="vertical"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="fill_parent">
|
||||
<!-- hide until -->
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="@string/TEA_hideUntil_label"
|
||||
style="@style/TextAppearance.GEN_EditLabel" />
|
||||
<Spinner
|
||||
android:id="@+id/hideUntil"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="wrap_content" />
|
||||
<!-- add-ons -->
|
||||
<LinearLayout
|
||||
android:id="@+id/addons_more"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="fill_parent"
|
||||
android:orientation="vertical">
|
||||
<LinearLayout
|
||||
android:id="@+id/addons_empty"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="fill_parent"
|
||||
android:layout_weight="100"
|
||||
android:gravity="center"
|
||||
android:visibility="gone"
|
||||
android:orientation="vertical">
|
||||
<ImageView
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:padding="20dip"
|
||||
android:src="@drawable/icon_pp" />
|
||||
<TextView
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="@string/TEA_addons_text"
|
||||
android:padding="10dip"
|
||||
android:gravity="center"
|
||||
style="@style/TextAppearance.TLA_NoItems" />
|
||||
<Button
|
||||
android:id="@+id/addons_button"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:padding="10dip"
|
||||
android:text="@string/TEA_addons_button" />
|
||||
</LinearLayout>
|
||||
</LinearLayout>
|
||||
<LinearLayout android:id="@+id/edit_footer4"
|
||||
android:orientation="horizontal"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="48dip"
|
||||
android:layout_marginTop="7dip"
|
||||
android:layout_alignParentBottom="true"
|
||||
android:padding="5dip"
|
||||
android:background="@drawable/footer_background"
|
||||
android:baselineAligned="false">
|
||||
<Button
|
||||
android:id="@+id/save4"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="fill_parent"
|
||||
android:layout_marginRight="5dip"
|
||||
android:background="@drawable/footer_greenbtn"
|
||||
android:text="@string/DLG_save"
|
||||
android:textStyle="bold"
|
||||
style="@style/TextAppearance.TEA_action"
|
||||
android:layout_weight="1" />
|
||||
<Button
|
||||
android:id="@+id/discard4"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="fill_parent"
|
||||
android:layout_marginLeft="5dip"
|
||||
android:background="@drawable/footer_redbtn"
|
||||
android:text="@android:string/cancel"
|
||||
style="@style/TextAppearance.TEA_action"
|
||||
android:layout_weight="1" />
|
||||
</LinearLayout>
|
||||
</LinearLayout>
|
||||
</ScrollView>
|
||||
|
||||
|
||||
</RelativeLayout>
|
@ -0,0 +1,12 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<CheckedTextView xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:id="@android:id/text1"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="?android:attr/listPreferredItemHeight"
|
||||
android:textAppearance="?android:attr/textAppearanceLarge"
|
||||
android:gravity="center_vertical"
|
||||
android:checkMark="?android:attr/listChoiceIndicatorMultiple"
|
||||
android:paddingLeft="8dip"
|
||||
android:paddingRight="8dip"
|
||||
android:textColor="?attr/asTextColor"
|
||||
/>
|
@ -1,205 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<RelativeLayout
|
||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:astrid="http://schemas.android.com/apk/res/com.timsu.astrid"
|
||||
android:id="@+id/taskEditParent"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="fill_parent"
|
||||
style="@style/Content">
|
||||
|
||||
<!-- Header -->
|
||||
<LinearLayout
|
||||
android:id="@+id/edit_header"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="43dip"
|
||||
android:layout_weight="1"
|
||||
android:orientation="horizontal"
|
||||
android:layout_alignParentTop="true">
|
||||
|
||||
<LinearLayout
|
||||
style="@style/Header"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="fill_parent"
|
||||
android:layout_weight="1"
|
||||
android:orientation="horizontal">
|
||||
|
||||
|
||||
<!-- Header Logo -->
|
||||
<ImageView android:id="@+id/headerLogo"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="fill_parent"
|
||||
android:layout_weight="100"
|
||||
android:gravity="center"
|
||||
android:paddingRight="43dip"
|
||||
android:src="@drawable/header_logo_new"
|
||||
android:scaleType="center"
|
||||
android:visibility="gone"/>
|
||||
|
||||
<!-- List Label -->
|
||||
<TextView android:id="@+id/taskLabel"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="fill_parent"
|
||||
android:layout_weight="100"
|
||||
android:singleLine="true"
|
||||
android:ellipsize="end"
|
||||
android:gravity="center"
|
||||
style="@style/TextAppearance.TLA_Header"/>
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
<LinearLayout android:id="@+id/activityContainer"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="fill_parent"
|
||||
android:visibility="gone">
|
||||
<View
|
||||
android:layout_width="0.5dip"
|
||||
android:layout_height="fill_parent"
|
||||
android:background="#ff222222"/>
|
||||
|
||||
<ImageView android:id="@+id/activity"
|
||||
android:layout_height="fill_parent"
|
||||
android:layout_width="43dip"
|
||||
android:background="?attr/asHeaderButtonBackground"
|
||||
android:padding="7dip"
|
||||
android:src="@drawable/icn_cmmt_off"
|
||||
android:scaleType="fitCenter" />
|
||||
</LinearLayout>
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
<!-- buttons -->
|
||||
<LinearLayout android:id="@+id/edit_footer"
|
||||
android:orientation="horizontal"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="48dip"
|
||||
android:layout_alignParentBottom="true"
|
||||
android:padding="5dip"
|
||||
android:background="@drawable/footer_background"
|
||||
android:baselineAligned="false">
|
||||
<Button
|
||||
android:id="@+id/save"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="fill_parent"
|
||||
android:layout_marginRight="5dip"
|
||||
android:background="@drawable/footer_editbutton"
|
||||
android:text="@string/DLG_save"
|
||||
android:textStyle="bold"
|
||||
style="@style/TextAppearance.TEA_action"
|
||||
android:layout_weight="1" />
|
||||
<Button
|
||||
android:id="@+id/discard"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="fill_parent"
|
||||
android:layout_marginLeft="5dip"
|
||||
android:background="@drawable/footer_editbutton"
|
||||
android:text="@android:string/cancel"
|
||||
style="@style/TextAppearance.TEA_action"
|
||||
android:textColor="#000000"
|
||||
android:layout_weight="1" />
|
||||
</LinearLayout>
|
||||
|
||||
<ScrollView
|
||||
android:id="@+id/edit_scroll"
|
||||
android:layout_below="@id/edit_header"
|
||||
android:layout_above="@id/edit_footer"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="fill_parent"
|
||||
style="@style/Content">
|
||||
|
||||
<LinearLayout
|
||||
android:orientation="vertical"
|
||||
android:padding="10dip"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="fill_parent">
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/basic_controls"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="fill_parent"
|
||||
android:orientation="vertical">
|
||||
</LinearLayout>
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/when_container"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="vertical">
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/when_header"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="50dip"
|
||||
android:gravity="center_vertical">
|
||||
<LinearLayout
|
||||
android:id="@+id/when_shortcut_container"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="fill_parent"
|
||||
android:orientation="horizontal"
|
||||
android:gravity="center_vertical">
|
||||
<ImageView
|
||||
android:id="@+id/when_image"
|
||||
style="@style/EditRowImage"
|
||||
android:src="@drawable/icn_edit_when"/>
|
||||
<TextView
|
||||
android:id="@+id/when_label"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
style="@style/TextAppearance.GEN_EditLabel"
|
||||
android:text="@string/TEA_when_header_label"/>
|
||||
</LinearLayout>
|
||||
<TextView
|
||||
android:id="@+id/aux_date"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="100"
|
||||
android:gravity="right"
|
||||
style="@style/TextAppearance.EditRowDisplay"/>
|
||||
<include layout="@layout/task_edit_arrow"/>
|
||||
</LinearLayout>
|
||||
|
||||
<View
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="1px"
|
||||
android:padding="5dip"
|
||||
style="@style/TEA_Separator" />
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="vertical">
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/more_header"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="fill_parent"
|
||||
android:orientation="vertical">
|
||||
|
||||
<TextView
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="50dip"
|
||||
android:layout_gravity="center_vertical"
|
||||
android:gravity="center"
|
||||
style="@style/TextAppearance.EditRowDisplay"
|
||||
android:textStyle="bold"
|
||||
android:text="@string/TEA_more"/>
|
||||
<View
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="1px"
|
||||
android:padding="5dip"
|
||||
style="@style/TEA_Separator" />
|
||||
</LinearLayout>
|
||||
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/more_controls"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="fill_parent"
|
||||
android:orientation="vertical"
|
||||
android:visibility="gone"/>
|
||||
|
||||
</LinearLayout>
|
||||
</LinearLayout>
|
||||
</ScrollView>
|
||||
</RelativeLayout>
|
@ -1,206 +1,66 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- See the file "LICENSE" for the full license governing this code. -->
|
||||
<TabHost xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:astrid="http://schemas.android.com/apk/res/com.timsu.astrid"
|
||||
android:id="@android:id/tabhost"
|
||||
<LinearLayout
|
||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:orientation="vertical"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="100">
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="100">
|
||||
|
||||
<LinearLayout
|
||||
android:orientation="vertical"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="fill_parent">
|
||||
|
||||
<TabWidget
|
||||
android:id="@android:id/tabs"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginLeft="-2dp"
|
||||
android:layout_marginRight="-2dp"
|
||||
android:layout_weight="1"
|
||||
android:background="@null" />
|
||||
|
||||
<FrameLayout
|
||||
android:id="@android:id/tabcontent"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="100">
|
||||
|
||||
<!-- task list body automatically inserted -->
|
||||
|
||||
<!-- updates tab -->
|
||||
<ListView
|
||||
android:id="@+id/tab_updates"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="fill_parent" />
|
||||
|
||||
<!-- settings tab -->
|
||||
<ScrollView
|
||||
android:id="@+id/tab_settings"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="fill_parent">
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="fill_parent"
|
||||
android:padding="5dip"
|
||||
android:orientation="vertical">
|
||||
|
||||
<RelativeLayout
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:paddingBottom="10dip">
|
||||
|
||||
<greendroid.widget.AsyncImageView
|
||||
android:id="@+id/picture"
|
||||
android:layout_width="80dip"
|
||||
android:layout_height="80dip"
|
||||
android:layout_alignParentLeft="true"
|
||||
android:layout_alignParentTop="true"
|
||||
android:scaleType="fitCenter"
|
||||
android:paddingRight="10dip"
|
||||
android:visibility="gone"
|
||||
astrid:defaultSrc="@android:drawable/ic_menu_gallery" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tag_label"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_toRightOf="@id/picture"
|
||||
android:layout_alignParentTop="true"
|
||||
android:layout_marginTop="10dip"
|
||||
style="@style/TextAppearance.GEN_EditLabel"
|
||||
android:text="@string/actfm_TVA_tag_label" />
|
||||
|
||||
<EditText
|
||||
android:id="@+id/tag_name"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_toRightOf="@id/picture"
|
||||
android:layout_below="@id/tag_label"
|
||||
android:layout_marginTop="10dip" />
|
||||
|
||||
</RelativeLayout>
|
||||
|
||||
<View
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="1dip"
|
||||
android:background="@android:drawable/divider_horizontal_dark" />
|
||||
|
||||
<TextView
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:paddingTop="10dip"
|
||||
android:paddingBottom="5dip"
|
||||
style="@style/TextAppearance.GEN_EditLabel"
|
||||
android:text="@string/actfm_TVA_members_label" />
|
||||
|
||||
<com.todoroo.astrid.ui.PeopleContainer
|
||||
android:id="@+id/members_container"
|
||||
android:orientation="vertical"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="wrap_content" />
|
||||
|
||||
|
||||
<!-- Footer -->
|
||||
<LinearLayout
|
||||
android:id="@+id/listSettingsMore"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="10dip"
|
||||
android:orientation="vertical"
|
||||
android:visibility="gone">
|
||||
|
||||
<View
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="1dip"
|
||||
android:background="@android:drawable/divider_horizontal_dark" />
|
||||
|
||||
<TextView
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="10dip"
|
||||
style="@style/TextAppearance.GEN_EditLabel"
|
||||
android:text="@string/actfm_TVA_tag_owner_label" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tag_owner"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginBottom="10dip"
|
||||
android:textSize="20sp"/>
|
||||
|
||||
<CheckBox
|
||||
android:id="@+id/tag_silenced"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="10dip"
|
||||
android:paddingLeft="45dip"
|
||||
style="@style/TextAppearance"
|
||||
android:text="@string/actfm_TVA_silence_label" />
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
</ScrollView>
|
||||
|
||||
</FrameLayout>
|
||||
|
||||
<!-- Footer -->
|
||||
<LinearLayout
|
||||
android:id="@+id/updatesFooter"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="1"
|
||||
android:visibility="gone"
|
||||
android:orientation="horizontal">
|
||||
|
||||
<!-- Add Button -->
|
||||
<ImageButton android:id="@+id/commentButton"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="1"
|
||||
android:visibility="gone"
|
||||
android:src="@drawable/tango_chat"
|
||||
android:scaleType="fitCenter"/>
|
||||
|
||||
<!-- Comment Field -->
|
||||
<EditText android:id="@+id/commentField"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="fill_parent"
|
||||
android:layout_weight="100"
|
||||
android:hint="@string/TVA_add_comment"
|
||||
android:singleLine="true"
|
||||
android:autoText="true"
|
||||
android:capitalize="sentences"/>
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/membersFooter"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="1"
|
||||
android:visibility="gone"
|
||||
android:layout_marginTop="10dip"
|
||||
android:padding="5dip"
|
||||
android:background="@drawable/footer_background"
|
||||
android:orientation="horizontal"
|
||||
android:baselineAligned="false">
|
||||
|
||||
<ImageButton
|
||||
android:id="@+id/saveMembers"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="1"
|
||||
android:src="@drawable/tango_save" />
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
</TabHost>
|
||||
|
||||
|
||||
android:orientation="vertical">
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="43dip"
|
||||
android:layout_weight="1"
|
||||
android:background="?attr/asMembersHeaderBackground">
|
||||
<HorizontalScrollView
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="43dip"
|
||||
android:layout_weight="100"
|
||||
android:scrollbars="none">
|
||||
<LinearLayout
|
||||
android:id="@+id/shared_with"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="fill_parent">
|
||||
<TextView
|
||||
android:id="@+id/no_members"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="fill_parent"
|
||||
android:gravity="center_vertical"
|
||||
android:layout_marginLeft="10dip"
|
||||
style="@style/TextAppearance"
|
||||
android:textStyle="bold"
|
||||
android:textColor="#333333"
|
||||
android:text="@string/actfm_TVA_no_members_alert"/>
|
||||
</LinearLayout>
|
||||
</HorizontalScrollView>
|
||||
<ImageView
|
||||
android:id="@+id/members_edit"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="fill_parent"
|
||||
android:layout_weight="1"
|
||||
android:padding="10dip"
|
||||
android:src="@drawable/members_arrow"
|
||||
android:scaleType="fitCenter"/>
|
||||
</LinearLayout>
|
||||
|
||||
<TextView
|
||||
android:id="@+id/filter_assigned"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="1"
|
||||
android:gravity="center"
|
||||
android:paddingTop="3dip"
|
||||
android:paddingBottom="3dip"
|
||||
style="@style/TextAppearance"
|
||||
android:background="@android:color/darker_gray"
|
||||
android:visibility="gone"/>
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
<!-- List body goes here -->
|
||||
|
||||
</LinearLayout>
|
||||
|
@ -1,65 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<LinearLayout
|
||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:orientation="vertical"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="100">
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="vertical">
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="43dip"
|
||||
android:layout_weight="1"
|
||||
android:background="?attr/asMembersHeaderBackground">
|
||||
<HorizontalScrollView
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="43dip"
|
||||
android:layout_weight="15"
|
||||
android:scrollbars="none">
|
||||
<LinearLayout
|
||||
android:id="@+id/shared_with"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="fill_parent">
|
||||
<TextView
|
||||
android:id="@+id/no_members"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="fill_parent"
|
||||
android:gravity="center_vertical"
|
||||
android:layout_marginLeft="10dip"
|
||||
style="@style/TextAppearance"
|
||||
android:textStyle="bold"
|
||||
android:text="@string/actfm_TVA_no_members_alert"/>
|
||||
</LinearLayout>
|
||||
</HorizontalScrollView>
|
||||
<ImageView
|
||||
android:id="@+id/members_edit"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="fill_parent"
|
||||
android:layout_weight="85"
|
||||
android:padding="7dip"
|
||||
android:src="?attr/asMembersHeaderArrow"
|
||||
android:scaleType="fitCenter"/>
|
||||
</LinearLayout>
|
||||
|
||||
<TextView
|
||||
android:id="@+id/filter_assigned"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="1"
|
||||
android:gravity="center"
|
||||
android:paddingTop="3dip"
|
||||
android:paddingBottom="3dip"
|
||||
style="@style/TextAppearance"
|
||||
android:background="@android:color/darker_gray"
|
||||
android:visibility="gone"/>
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
<!-- List body goes here -->
|
||||
|
||||
</LinearLayout>
|