show an Add Person menu button at the top menu of conversations

This commit is contained in:
tibbi 2020-04-06 11:58:14 +02:00
parent 8379a753b2
commit cdfaa3cea9
6 changed files with 39 additions and 1 deletions

View file

@ -0,0 +1,9 @@
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="96dp"
android:height="96dp"
android:viewportWidth="128"
android:viewportHeight="128">
<path
android:fillColor="#FFFFFF"
android:pathData="m78.881,62.706c11.048,0 19.996,-8.948 19.996,-19.996 0,-11.048 -8.948,-19.996 -19.996,-19.996 -11.048,0 -19.996,8.948 -19.996,19.996 0,11.048 8.948,19.996 19.996,19.996zM33.891,52.708 L33.891,37.712 23.893,37.712 23.893,52.708 8.897,52.708 8.897,62.706 23.893,62.706 23.893,77.703 33.891,77.703 33.891,62.706 48.888,62.706 48.888,52.708zM78.881,72.704c-13.347,0 -39.991,6.699 -39.991,19.996l0,9.998 79.982,0 0,-9.998c0,-13.297 -26.644,-19.996 -39.991,-19.996z" />
</vector>

View file

@ -0,0 +1,9 @@
<?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/add_person"
android:icon="@drawable/add_person_vector"
android:title="@string/add_person"
app:showAsAction="ifRoom" />
</menu>

View file

@ -3,6 +3,7 @@
<string name="app_launcher_name">SMS Messenger</string>
<string name="type_a_message">Type a message…</string>
<string name="message_not_sent">Message has not been sent.</string>
<string name="add_person">Add Person</string>
<!-- New message -->
<string name="create_new_message">Create new message</string>