mirror of
https://github.com/ArcaneChat/android.git
synced 2026-07-03 14:05:24 +02:00
be56cb380e
* allow to copy QR data and to read QR data from clipboard * add share option * allow to scan QR from gallery * use menu_copy_to_clipboard instead of menu_copy_link_to_clipboard * use AttachmentManager * reuse Bitmap * change REQUEST_CODE_IMAGE value * use getCacheDir() * replace handleOpenPgp4Fpr with handleQrData * show error message if scanning QR failed * use Log.e() instead of Log.w() * Revert "use getCacheDir()" This reverts commit 2a2a801b311e7c4929f5063d3340234413528b93. the impact of this change is eaasily larger than expected, see comments at https://github.com/deltachat/deltachat-android/pull/2103 if needed, we can discuss and re-add that in a separate, more focused pr. Co-authored-by: B. Petersen <r10s@b44t.com>
15 lines
468 B
XML
15 lines
468 B
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
<menu xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto">
|
|
|
|
<item android:title="@string/menu_share"
|
|
android:id="@+id/share"
|
|
android:icon="@drawable/ic_share_white_24dp"
|
|
app:showAsAction="ifRoom"/>
|
|
|
|
<item android:title="@string/menu_copy_to_clipboard"
|
|
android:id="@+id/copy"
|
|
app:showAsAction="never"/>
|
|
|
|
</menu>
|