Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
BC
public
Linhome-Android
Commits
a2da689e
Commit
a2da689e
authored
Dec 05, 2020
by
Christophe Deschamps
Browse files
Hide speaker button on iPad & reorder hangup/mute
parent
602243ad
Pipeline
#28992
failed with stage
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
app/src/main/res/layout-sw533dp/chunk_call_in_progress_controls.xml
0 → 100644
View file @
a2da689e
<layout
xmlns:android=
"http://schemas.android.com/apk/res/android"
xmlns:bind=
"http://schemas.android.com/tools"
>
<data>
<import
type=
"android.view.View"
/>
<variable
name=
"callmodel"
type=
"org.linhome.ui.call.CallViewModel"
/>
</data>
<LinearLayout
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:gravity=
"center"
android:orientation=
"horizontal"
>
<include
layout=
"@layout/widget_call_button"
android:layout_width=
"150dp"
android:layout_height=
"wrap_content"
android:layout_marginStart=
"10dp"
android:layout_marginEnd=
"10dp"
android:layout_weight=
"1"
bind:backgroundeffect=
'@{"decline_call_button"}'
bind:icon=
'@{"icons/decline"}'
bind:onClick=
"@{()->callmodel.terminate()}"
bind:outline=
'@{false}'
bind:text=
'@{"call_button_hangup"}'
bind:tint=
'@{"color_c"}'
/>
<include
layout=
"@layout/widget_call_button"
android:layout_width=
"150dp"
android:layout_height=
"wrap_content"
android:layout_marginStart=
"10dp"
android:layout_marginEnd=
"10dp"
android:layout_weight=
"1"
bind:backgroundeffect=
'@{"incall_call_button"}'
bind:icon=
'@{"icons/mic"}'
bind:off=
"@{callmodel.microphoneMuted}"
bind:onClick=
"@{()->callmodel.toggleMute()}"
bind:outline=
'@{true}'
bind:text=
'@{"call_button_mute"}'
bind:textOff=
'@{"call_button_unmute"}'
bind:tint=
'@{"color_c"}'
/>
<include
android:visibility=
"invisible"
layout=
"@layout/widget_call_button"
android:layout_width=
"150dp"
android:layout_height=
"wrap_content"
android:layout_marginStart=
"10dp"
android:layout_marginEnd=
"10dp"
android:layout_weight=
"1"
bind:backgroundeffect=
'@{"incall_call_button"}'
bind:icon=
'@{"icons/speaker"}'
bind:off=
"@{callmodel.speakerDisabled}"
bind:onClick=
"@{()->callmodel.toggleSpeaker()}"
bind:outline=
'@{true}'
bind:text=
'@{"call_button_disable_speaker"}'
bind:textOff=
'@{"call_button_enable_speaker"}'
bind:tint=
'@{"color_c"}'
/>
</LinearLayout>
</layout>
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment