Add option to call contact in conversation

This commit is contained in:
Moez Bhatti
2017-11-30 02:01:58 -05:00
parent fd5af2714b
commit 7031f94875
11 changed files with 114 additions and 24 deletions
@@ -0,0 +1,9 @@
<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="M6.62,10.79c1.44,2.83 3.76,5.14 6.59,6.59l2.2,-2.2c0.27,-0.27 0.67,-0.36 1.02,-0.24 1.12,0.37 2.33,0.57 3.57,0.57 0.55,0 1,0.45 1,1V20c0,0.55 -0.45,1 -1,1 -9.39,0 -17,-7.61 -17,-17 0,-0.55 0.45,-1 1,-1h3.5c0.55,0 1,0.45 1,1 0,1.25 0.2,2.45 0.57,3.57 0.11,0.35 0.03,0.74 -0.25,1.02l-2.2,2.2z"/>
</vector>
+10
View File
@@ -0,0 +1,10 @@
<?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/call"
android:icon="@drawable/ic_call_black_24dp"
android:title="@string/menu_call"
android:visible="false"
app:showAsAction="always" />
</menu>
+2
View File
@@ -5,6 +5,8 @@
<string name="title_settings">Settings</string>
<string name="title_compose">Type a name or number</string>
<string name="menu_call">Call</string>
<string name="compose_hint">Write a message</string>
<string name="drawer_inbox">Inbox</string>