mirror of
https://github.com/element-hq/element-android
synced 2024-11-28 05:31:21 +03:00
Add screen sharing option to call menu.
This commit is contained in:
parent
614c2a347c
commit
00bbb94b3b
3 changed files with 20 additions and 0 deletions
10
vector/src/main/res/drawable/ic_share_screen.xml
Normal file
10
vector/src/main/res/drawable/ic_share_screen.xml
Normal file
|
@ -0,0 +1,10 @@
|
|||
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:width="24dp"
|
||||
android:height="24dp"
|
||||
android:viewportWidth="24"
|
||||
android:viewportHeight="24">
|
||||
<path
|
||||
android:pathData="M3.4,4C2.0745,4 1,5.0745 1,6.4V17.6C1,18.9255 2.0745,20 3.4,20H20.6C21.9255,20 23,18.9255 23,17.6V6.4C23,5.0745 21.9255,4 20.6,4H3.4ZM11.9999,16C11.6464,16 11.3599,15.7135 11.3599,15.36V10.2049L9.3841,12.2166C9.1364,12.4688 8.7348,12.4688 8.4872,12.2166C8.2395,11.9644 8.2395,11.5556 8.4872,11.3034L11.5514,8.1834C11.7991,7.9312 12.2007,7.9312 12.4484,8.1834L15.5126,11.3034C15.7603,11.5556 15.7603,11.9644 15.5126,12.2166C15.265,12.4688 14.8634,12.4688 14.6157,12.2166L12.6399,10.2049V15.36C12.6399,15.7135 12.3534,16 11.9999,16Z"
|
||||
android:fillColor="#737D8C"
|
||||
android:fillType="evenOdd"/>
|
||||
</vector>
|
|
@ -7,6 +7,15 @@
|
|||
android:background="?colorSurface"
|
||||
android:orientation="vertical">
|
||||
|
||||
<im.vector.app.core.ui.views.BottomSheetActionButton
|
||||
android:id="@+id/callControlsShareScreen"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
app:actionTitle="@string/call_share_screen"
|
||||
app:leftIcon="@drawable/ic_share_screen"
|
||||
app:tint="?vctr_content_primary"
|
||||
app:titleTextColor="?vctr_content_primary" />
|
||||
|
||||
<im.vector.app.core.ui.views.BottomSheetActionButton
|
||||
android:id="@+id/callControlsSwitchCamera"
|
||||
android:layout_width="match_parent"
|
||||
|
|
|
@ -480,6 +480,7 @@
|
|||
<string name="call_camera_back">Back</string>
|
||||
<string name="call_format_turn_hd_off">Turn HD off</string>
|
||||
<string name="call_format_turn_hd_on">Turn HD on</string>
|
||||
<string name="call_share_screen">Share screen</string>
|
||||
|
||||
<string name="option_send_files">Send files</string>
|
||||
<string name="option_send_sticker">Send sticker</string>
|
||||
|
|
Loading…
Reference in a new issue