Loading AndroidManifest.xml +23 −11 Original line number Diff line number Diff line Loading @@ -91,11 +91,12 @@ <!-- Voice command "note to self" in google search --> <intent-filter android:label="@string/activity_add_task_title" > <action android:name="com.google.android.gm.action.AUTO_SEND" /> <category android:name="android.intent.category.DEFAULT" /> <data android:mimeType="text/*" /> </intent-filter> <!-- Intent filter for share intents --> <intent-filter android:label="@string/activity_add_task_title" > <action android:name="android.intent.action.SEND" /> Loading @@ -106,12 +107,16 @@ </intent-filter> <intent-filter android:label="@string/activity_add_task_title" > <action android:name="android.intent.action.INSERT" /> <category android:name="android.intent.category.DEFAULT" /> <data android:mimeType="vnd.android.cursor.dir/org.dmfs.tasks.tasks" /> </intent-filter> <intent-filter android:label="@string/activity_add_task_title" > <action android:name="android.intent.action.INSERT_OR_EDIT" /> <category android:name="android.intent.category.DEFAULT" /> <data android:mimeType="vnd.android.cursor.dir/org.dmfs.tasks.tasks" /> <data android:host="@string/org_dmfs_tasks_authority" Loading @@ -137,6 +142,14 @@ android:value="org.dmfs.tasks.TaskListActivity" /> </activity> <activity android:name="org.dmfs.tasks.homescreen.TaskListWidgetSettingsActivity" android:theme="@style/Theme.Dialog" android:label="@string/task_list_selection_title"> <intent-filter> <action android:name="android.appwidget.action.APPWIDGET_CONFIGURE" /> </intent-filter> </activity> <service android:name="org.dmfs.tasks.homescreen.TaskListWidgetUpdaterService" android:permission="android.permission.BIND_REMOTEVIEWS" > Loading Loading @@ -257,8 +270,7 @@ </receiver> <!-- notification --> <service android:name="org.dmfs.tasks.notification.NotificationActionIntentService"> <service android:name="org.dmfs.tasks.notification.NotificationActionIntentService" > <intent-filter> <action android:name="org.dmfs.tasks.action.notification.COMPLETE" /> </intent-filter> Loading res/drawable/shape_color_circle.xml 0 → 100644 +13 −0 Original line number Diff line number Diff line <?xml version="1.0" encoding="utf-8"?> <shape xmlns:android="http://schemas.android.com/apk/res/android" android:shape="oval" > <solid android:color="#FFFF00" /> <padding android:bottom="7dp" android:left="7dp" android:right="7dp" android:top="7dp" /> </shape> No newline at end of file res/layout-v11/fragment_task_list_selection.xml 0 → 100644 +69 −0 Original line number Diff line number Diff line <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="wrap_content" android:layout_height="wrap_content" android:background="@android:color/white" android:orientation="vertical" android:windowMinWidthMajor="@android:dimen/dialog_min_width_major" > <LinearLayout android:layout_width="match_parent" android:layout_height="wrap_content" android:orientation="vertical" android:padding="24dp" > <ListView android:id="@id/android:list" android:layout_width="match_parent" android:layout_height="wrap_content" android:layout_weight="1" android:divider="@null" android:dividerHeight="0px" android:drawSelectorOnTop="false" /> <TextView android:id="@id/android:empty" android:layout_width="match_parent" android:layout_height="wrap_content" android:text="@string/task_list_selection_empty" /> </LinearLayout> <LinearLayout android:layout_width="match_parent" android:layout_height="56dp" android:gravity="center|right" android:orientation="horizontal" android:paddingBottom="8dip" android:paddingRight="8dip" > <Button android:id="@android:id/button1" style="?android:attr/borderlessButtonStyle" android:layout_width="wrap_content" android:layout_height="wrap_content" android:background="?android:attr/selectableItemBackground" android:gravity="center" android:minHeight="36dp" android:minWidth="88dp" android:padding="16dip" android:text="@string/task_list_selection_cancel" android:textAllCaps="true" android:textSize="14sp" android:textStyle="bold" /> <Button android:id="@android:id/button2" style="?android:attr/borderlessButtonStyle" android:layout_width="wrap_content" android:layout_height="wrap_content" android:background="?android:attr/selectableItemBackground" android:gravity="center" android:minHeight="36dp" android:minWidth="88dp" android:padding="16dip" android:text="@string/task_list_selection_ok" android:textAllCaps="true" android:textSize="14sp" android:textStyle="bold" /> </LinearLayout> </LinearLayout> No newline at end of file res/layout/activity_widget_configuration.xml 0 → 100644 +8 −0 Original line number Diff line number Diff line <FrameLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" android:id="@+id/task_list_selection_container" android:layout_width="match_parent" android:layout_height="match_parent" android:background="@android:color/white" tools:context=".AddTaskActivity" tools:ignore="MergeRootFrame" /> res/layout/fragment_task_list_selection.xml 0 → 100644 +65 −0 Original line number Diff line number Diff line <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="wrap_content" android:layout_height="wrap_content" android:background="@android:color/white" android:orientation="vertical" android:windowMinWidthMajor="@android:dimen/dialog_min_width_major" > <LinearLayout android:layout_width="match_parent" android:layout_height="wrap_content" android:orientation="vertical" android:padding="24dp" > <ListView android:id="@id/android:list" android:layout_width="match_parent" android:layout_height="match_parent" android:layout_weight="1" android:divider="@null" android:dividerHeight="0px" android:drawSelectorOnTop="false" /> <TextView android:id="@id/android:empty" android:layout_width="match_parent" android:layout_height="match_parent" android:text="@string/task_list_selection_empty" /> </LinearLayout> <LinearLayout android:layout_width="match_parent" android:layout_height="36dp" android:gravity="center|right" android:orientation="horizontal" android:paddingBottom="16dp" android:paddingLeft="16dp" android:paddingRight="16dp" > <Button android:id="@android:id/button1" android:layout_width="wrap_content" android:layout_height="wrap_content" android:background="@android:color/transparent" android:gravity="center" android:minHeight="36dp" android:minWidth="88dp" android:text="@string/task_list_selection_cancel" android:textAllCaps="true" android:textSize="14sp" android:textStyle="bold" /> <Button android:id="@android:id/button2" android:layout_width="wrap_content" android:layout_height="wrap_content" android:background="@android:color/transparent" android:gravity="center" android:minHeight="36dp" android:minWidth="88dp" android:textAllCaps="true" android:textSize="14sp" android:textStyle="bold" /> </LinearLayout> </LinearLayout> No newline at end of file Loading
AndroidManifest.xml +23 −11 Original line number Diff line number Diff line Loading @@ -91,11 +91,12 @@ <!-- Voice command "note to self" in google search --> <intent-filter android:label="@string/activity_add_task_title" > <action android:name="com.google.android.gm.action.AUTO_SEND" /> <category android:name="android.intent.category.DEFAULT" /> <data android:mimeType="text/*" /> </intent-filter> <!-- Intent filter for share intents --> <intent-filter android:label="@string/activity_add_task_title" > <action android:name="android.intent.action.SEND" /> Loading @@ -106,12 +107,16 @@ </intent-filter> <intent-filter android:label="@string/activity_add_task_title" > <action android:name="android.intent.action.INSERT" /> <category android:name="android.intent.category.DEFAULT" /> <data android:mimeType="vnd.android.cursor.dir/org.dmfs.tasks.tasks" /> </intent-filter> <intent-filter android:label="@string/activity_add_task_title" > <action android:name="android.intent.action.INSERT_OR_EDIT" /> <category android:name="android.intent.category.DEFAULT" /> <data android:mimeType="vnd.android.cursor.dir/org.dmfs.tasks.tasks" /> <data android:host="@string/org_dmfs_tasks_authority" Loading @@ -137,6 +142,14 @@ android:value="org.dmfs.tasks.TaskListActivity" /> </activity> <activity android:name="org.dmfs.tasks.homescreen.TaskListWidgetSettingsActivity" android:theme="@style/Theme.Dialog" android:label="@string/task_list_selection_title"> <intent-filter> <action android:name="android.appwidget.action.APPWIDGET_CONFIGURE" /> </intent-filter> </activity> <service android:name="org.dmfs.tasks.homescreen.TaskListWidgetUpdaterService" android:permission="android.permission.BIND_REMOTEVIEWS" > Loading Loading @@ -257,8 +270,7 @@ </receiver> <!-- notification --> <service android:name="org.dmfs.tasks.notification.NotificationActionIntentService"> <service android:name="org.dmfs.tasks.notification.NotificationActionIntentService" > <intent-filter> <action android:name="org.dmfs.tasks.action.notification.COMPLETE" /> </intent-filter> Loading
res/drawable/shape_color_circle.xml 0 → 100644 +13 −0 Original line number Diff line number Diff line <?xml version="1.0" encoding="utf-8"?> <shape xmlns:android="http://schemas.android.com/apk/res/android" android:shape="oval" > <solid android:color="#FFFF00" /> <padding android:bottom="7dp" android:left="7dp" android:right="7dp" android:top="7dp" /> </shape> No newline at end of file
res/layout-v11/fragment_task_list_selection.xml 0 → 100644 +69 −0 Original line number Diff line number Diff line <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="wrap_content" android:layout_height="wrap_content" android:background="@android:color/white" android:orientation="vertical" android:windowMinWidthMajor="@android:dimen/dialog_min_width_major" > <LinearLayout android:layout_width="match_parent" android:layout_height="wrap_content" android:orientation="vertical" android:padding="24dp" > <ListView android:id="@id/android:list" android:layout_width="match_parent" android:layout_height="wrap_content" android:layout_weight="1" android:divider="@null" android:dividerHeight="0px" android:drawSelectorOnTop="false" /> <TextView android:id="@id/android:empty" android:layout_width="match_parent" android:layout_height="wrap_content" android:text="@string/task_list_selection_empty" /> </LinearLayout> <LinearLayout android:layout_width="match_parent" android:layout_height="56dp" android:gravity="center|right" android:orientation="horizontal" android:paddingBottom="8dip" android:paddingRight="8dip" > <Button android:id="@android:id/button1" style="?android:attr/borderlessButtonStyle" android:layout_width="wrap_content" android:layout_height="wrap_content" android:background="?android:attr/selectableItemBackground" android:gravity="center" android:minHeight="36dp" android:minWidth="88dp" android:padding="16dip" android:text="@string/task_list_selection_cancel" android:textAllCaps="true" android:textSize="14sp" android:textStyle="bold" /> <Button android:id="@android:id/button2" style="?android:attr/borderlessButtonStyle" android:layout_width="wrap_content" android:layout_height="wrap_content" android:background="?android:attr/selectableItemBackground" android:gravity="center" android:minHeight="36dp" android:minWidth="88dp" android:padding="16dip" android:text="@string/task_list_selection_ok" android:textAllCaps="true" android:textSize="14sp" android:textStyle="bold" /> </LinearLayout> </LinearLayout> No newline at end of file
res/layout/activity_widget_configuration.xml 0 → 100644 +8 −0 Original line number Diff line number Diff line <FrameLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" android:id="@+id/task_list_selection_container" android:layout_width="match_parent" android:layout_height="match_parent" android:background="@android:color/white" tools:context=".AddTaskActivity" tools:ignore="MergeRootFrame" />
res/layout/fragment_task_list_selection.xml 0 → 100644 +65 −0 Original line number Diff line number Diff line <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="wrap_content" android:layout_height="wrap_content" android:background="@android:color/white" android:orientation="vertical" android:windowMinWidthMajor="@android:dimen/dialog_min_width_major" > <LinearLayout android:layout_width="match_parent" android:layout_height="wrap_content" android:orientation="vertical" android:padding="24dp" > <ListView android:id="@id/android:list" android:layout_width="match_parent" android:layout_height="match_parent" android:layout_weight="1" android:divider="@null" android:dividerHeight="0px" android:drawSelectorOnTop="false" /> <TextView android:id="@id/android:empty" android:layout_width="match_parent" android:layout_height="match_parent" android:text="@string/task_list_selection_empty" /> </LinearLayout> <LinearLayout android:layout_width="match_parent" android:layout_height="36dp" android:gravity="center|right" android:orientation="horizontal" android:paddingBottom="16dp" android:paddingLeft="16dp" android:paddingRight="16dp" > <Button android:id="@android:id/button1" android:layout_width="wrap_content" android:layout_height="wrap_content" android:background="@android:color/transparent" android:gravity="center" android:minHeight="36dp" android:minWidth="88dp" android:text="@string/task_list_selection_cancel" android:textAllCaps="true" android:textSize="14sp" android:textStyle="bold" /> <Button android:id="@android:id/button2" android:layout_width="wrap_content" android:layout_height="wrap_content" android:background="@android:color/transparent" android:gravity="center" android:minHeight="36dp" android:minWidth="88dp" android:textAllCaps="true" android:textSize="14sp" android:textStyle="bold" /> </LinearLayout> </LinearLayout> No newline at end of file