Commit b81a0c1e authored by Ricki Hirner's avatar Ricki Hirner

Change tasks icon, add some view descriptions

parent 37a28df7
......@@ -159,7 +159,7 @@ class StartupDialogFragment: DialogFragment(), LoaderManager.LoaderCallbacks<ISe
if (Build.VERSION.SDK_INT < 23)
builder.append("\n\n").append(getString(R.string.startup_opentasks_reinstall_davdroid))
return AlertDialog.Builder(activity)
.setIcon(R.drawable.ic_alarm_on_dark)
.setIcon(R.drawable.ic_playlist_add_check_dark)
.setTitle(R.string.startup_opentasks_not_installed)
.setMessage(builder.toString())
.setPositiveButton(android.R.string.ok, { _, _ -> })
......
<!--
~ Copyright © 2013 – 2016 Ricki Hirner (bitfire web engineering).
~ All rights reserved. This program and the accompanying materials
~ are made available under the terms of the GNU Public License v3.0
~ which accompanies this distribution, and is available at
~ http://www.gnu.org/licenses/gpl.html
-->
<vector android:alpha="0.54" android:height="32dp"
android:viewportHeight="24.0" android:viewportWidth="24.0"
android:width="32dp" xmlns:android="http://schemas.android.com/apk/res/android">
<path android:fillColor="#FF000000" android:pathData="M22,5.72l-4.6,-3.86 -1.29,1.53 4.6,3.86L22,5.72zM7.88,3.39L6.6,1.86 2,5.71l1.29,1.53 4.59,-3.85zM12,4c-4.97,0 -9,4.03 -9,9s4.02,9 9,9c4.97,0 9,-4.03 9,-9s-4.03,-9 -9,-9zm0,16c-3.87,0 -7,-3.13 -7,-7s3.13,-7 7,-7 7,3.13 7,7 -3.13,7 -7,7zm-1.46,-5.47L8.41,12.4l-1.06,1.06 3.18,3.18 6,-6 -1.06,-1.06 -4.93,4.95z"/>
</vector>
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="24dp"
android:height="24dp"
android:viewportWidth="24.0"
android:viewportHeight="24.0">
<path
android:fillColor="#FF000000"
android:pathData="M14,10L2,10v2h12v-2zM14,6L2,6v2h12L14,6zM2,16h8v-2L2,14v2zM21.5,11.5L23,13l-6.99,7 -4.51,-4.5L13,14l3.01,3 5.49,-5.5z"/>
</vector>
......@@ -23,6 +23,7 @@
android:focusable="false"
android:focusableInTouchMode="false"
android:clickable="false"
android:contentDescription="@string/account_synchronize_this_collection"
android:layout_marginRight="4dp"/>
<View
......@@ -59,18 +60,21 @@
android:id="@+id/read_only"
android:layout_width="32dp"
android:layout_height="32dp"
android:contentDescription="@string/account_read_only"
app:srcCompat="@drawable/ic_remove_circle_dark"/>
<ImageView
android:id="@+id/events"
android:layout_width="32dp"
android:layout_height="32dp"
android:contentDescription="@string/account_calendar"
app:srcCompat="@drawable/ic_today_dark"/>
<ImageView
android:id="@+id/tasks"
android:layout_width="32dp"
android:layout_height="32dp"
app:srcCompat="@drawable/ic_alarm_on_dark"/>
android:contentDescription="@string/account_task_list"
app:srcCompat="@drawable/ic_playlist_add_check_dark"/>
</LinearLayout>
......@@ -112,6 +112,10 @@
<string name="account_carddav">CardDAV</string>
<string name="account_caldav">CalDAV</string>
<string name="account_webcal">Webcal</string>
<string name="account_synchronize_this_collection">synchronize this collection</string>
<string name="account_read_only">read-only</string>
<string name="account_calendar">calendar</string>
<string name="account_task_list">task list</string>
<string name="account_refresh_address_book_list">Refresh address book list</string>
<string name="account_create_new_address_book">Create new address book</string>
<string name="account_refresh_calendar_list">Refresh calendar list</string>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment