Skip to content
GitLab
Explore
Projects
Groups
Topics
Snippets
Projects
Groups
Topics
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
BC
public
linhome-android-old-big-globs
Commits
a2da689e
Commit
a2da689e
authored
4 years ago
by
Christophe Deschamps
Browse files
Options
Download
Patches
Plain Diff
Hide speaker button on iPad & reorder hangup/mute
parent
602243ad
master
develop
feature/fix_sip_ports
1.0.0
No related merge requests found
Pipeline
#23030
passed with stage
in 2 minutes and 29 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
app/src/main/res/layout-sw533dp/chunk_call_in_progress_controls.xml
+70
-0
...in/res/layout-sw533dp/chunk_call_in_progress_controls.xml
with
70 additions
and
0 deletions
app/src/main/res/layout-sw533dp/chunk_call_in_progress_controls.xml
0 → 100644
+
70
−
0
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>
This diff is collapsed.
Click to expand it.
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment
Menu
Explore
Projects
Groups
Topics
Snippets