Move send action from FAB into toolbar

This commit is contained in:
str4d
2016-07-16 02:01:34 +00:00
committed by Torsten Grote
parent 23eb5acafa
commit 827fd0aebb
4 changed files with 43 additions and 24 deletions

View File

@@ -118,19 +118,5 @@
android:indeterminate="true"
android:visibility="gone"/>
<android.support.design.widget.FloatingActionButton
android:id="@+id/share_dev_report"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentBottom="true"
android:layout_alignParentEnd="true"
android:layout_alignParentRight="true"
android:layout_marginBottom="@dimen/margin_large"
android:layout_marginEnd="@dimen/margin_large"
android:layout_marginRight="@dimen/margin_large"
android:background="@color/briar_accent"
android:src="@drawable/social_share"
android:tint="@color/action_bar_text"/>
</RelativeLayout>
</LinearLayout>

View File

@@ -0,0 +1,12 @@
<?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:id="@+id/action_send_report"
android:icon="@drawable/social_send_now_white"
android:title="@string/send_report"
app:showAsAction="always"/>
</menu>

View File

@@ -11,6 +11,7 @@
<string name="debug_report">Debug report:</string>
<string name="include_debug_report">Include debug report?</string>
<string name="could_not_load_report_data">Could not load report data.</string>
<string name="send_report">Send report</string>
<string name="dev_report_saved">Report saved. It will be sent the next time you log into Briar.</string>
<string name="ongoing_notification_title">Signed into Briar</string>
<string name="ongoing_notification_text">Touch to open Briar.</string>