mirror of
https://gitlab.linphone.org/BC/public/linphone-android.git
synced 2026-01-17 03:18:06 +00:00
Added missing content descriptions
This commit is contained in:
parent
86beb60507
commit
65a3d0520f
122 changed files with 363 additions and 21 deletions
|
|
@ -46,6 +46,7 @@
|
|||
android:background="@drawable/in_call_button_background_red"
|
||||
android:padding="@dimen/call_button_icon_padding"
|
||||
android:src="@drawable/phone_transfer"
|
||||
android:contentDescription="@{callsViewModel.callsCount == 1 ? @string/call_action_blind_transfer : @string/call_action_attended_transfer}"
|
||||
app:layout_constraintDimensionRatio="1:1"
|
||||
app:layout_constraintEnd_toEndOf="@id/transfer_label"
|
||||
app:layout_constraintStart_toStartOf="@id/transfer_label"
|
||||
|
|
@ -61,6 +62,7 @@
|
|||
android:background="@drawable/in_call_button_background_red"
|
||||
android:padding="@dimen/call_button_icon_padding"
|
||||
android:src="@drawable/phone_plus"
|
||||
android:contentDescription="@string/call_action_start_new_call"
|
||||
app:layout_constraintDimensionRatio="1:1"
|
||||
app:layout_constraintEnd_toEndOf="@id/new_call_label"
|
||||
app:layout_constraintStart_toStartOf="@id/new_call_label"
|
||||
|
|
@ -76,6 +78,7 @@
|
|||
android:background="@drawable/in_call_button_background_red"
|
||||
android:padding="@dimen/call_button_icon_padding"
|
||||
android:src="@drawable/phone_list"
|
||||
android:contentDescription="@string/call_action_go_to_calls_list"
|
||||
app:layout_constraintDimensionRatio="1:1"
|
||||
app:layout_constraintEnd_toEndOf="@id/calls_list_label"
|
||||
app:layout_constraintStart_toStartOf="@id/calls_list_label"
|
||||
|
|
@ -110,6 +113,7 @@
|
|||
android:background="@drawable/in_call_button_background_red"
|
||||
android:padding="@dimen/call_button_icon_padding"
|
||||
android:src="@drawable/numpad"
|
||||
android:contentDescription="@string/call_action_show_dialer"
|
||||
app:layout_constraintDimensionRatio="1:1"
|
||||
app:layout_constraintEnd_toEndOf="@id/numpad_label"
|
||||
app:layout_constraintStart_toStartOf="@id/numpad_label"
|
||||
|
|
@ -125,6 +129,7 @@
|
|||
android:background="@drawable/in_call_button_background_red"
|
||||
android:padding="@dimen/call_button_icon_padding"
|
||||
android:src="@drawable/chat_teardrop_text"
|
||||
android:contentDescription="@string/call_action_show_messages"
|
||||
android:enabled="@{!viewModel.operationInProgress}"
|
||||
app:layout_constraintDimensionRatio="1:1"
|
||||
app:layout_constraintEnd_toEndOf="@id/chat_label"
|
||||
|
|
@ -155,6 +160,7 @@
|
|||
android:layout_marginTop="@dimen/call_extra_button_top_margin"
|
||||
android:background="@drawable/in_call_button_background_green"
|
||||
android:padding="@dimen/call_button_icon_padding"
|
||||
android:contentDescription="@{viewModel.isPaused ? @string/call_action_resume_call : @string/call_action_pause_call}"
|
||||
android:src="@{viewModel.isPaused ? @drawable/play : @drawable/pause, default=@drawable/pause}"
|
||||
app:layout_constraintDimensionRatio="1:1"
|
||||
app:layout_constraintEnd_toEndOf="@id/pause_call_label"
|
||||
|
|
@ -172,6 +178,7 @@
|
|||
android:background="@drawable/in_call_button_background_red"
|
||||
android:padding="@dimen/call_button_icon_padding"
|
||||
android:src="@drawable/record_fill"
|
||||
android:contentDescription="@string/call_action_record_call"
|
||||
android:selected="@{viewModel.isRecording()}"
|
||||
app:layout_constraintDimensionRatio="1:1"
|
||||
app:layout_constraintEnd_toEndOf="@id/record_call_label"
|
||||
|
|
|
|||
|
|
@ -44,6 +44,7 @@
|
|||
android:layout_marginTop="@dimen/call_extra_button_top_margin"
|
||||
android:padding="@dimen/call_button_icon_padding"
|
||||
android:src="@drawable/monitor_arrow_up"
|
||||
android:contentDescription="@string/conference_action_screen_sharing"
|
||||
android:background="@drawable/shape_round_in_call_disabled_button_background"
|
||||
app:tint="?attr/color_grey_500"
|
||||
app:layout_constraintDimensionRatio="1:1"
|
||||
|
|
@ -60,6 +61,7 @@
|
|||
android:padding="@dimen/call_button_icon_padding"
|
||||
android:background="@drawable/in_call_button_background_red"
|
||||
android:src="@drawable/users"
|
||||
android:contentDescription="@string/conference_action_show_participants"
|
||||
app:tint="@color/in_call_button_tint_color"
|
||||
app:layout_constraintDimensionRatio="1:1"
|
||||
app:layout_constraintStart_toStartOf="@id/participants_label"
|
||||
|
|
@ -75,6 +77,7 @@
|
|||
android:padding="@dimen/call_button_icon_padding"
|
||||
android:background="@drawable/in_call_button_background_red"
|
||||
android:src="@drawable/phone_list"
|
||||
android:contentDescription="@string/call_action_go_to_calls_list"
|
||||
app:tint="@color/in_call_button_tint_color"
|
||||
app:layout_constraintDimensionRatio="1:1"
|
||||
app:layout_constraintStart_toStartOf="@id/calls_list_label"
|
||||
|
|
@ -108,6 +111,7 @@
|
|||
android:padding="@dimen/call_button_icon_padding"
|
||||
android:background="@drawable/in_call_button_background_red"
|
||||
android:src="@drawable/notebook"
|
||||
android:contentDescription="@string/call_action_change_layout"
|
||||
app:tint="@color/in_call_button_tint_color"
|
||||
app:layout_constraintDimensionRatio="1:1"
|
||||
app:layout_constraintStart_toStartOf="@id/layout_label"
|
||||
|
|
@ -121,6 +125,7 @@
|
|||
android:layout_marginTop="@dimen/call_extra_button_top_margin"
|
||||
android:padding="@dimen/call_button_icon_padding"
|
||||
android:src="@drawable/chat_teardrop_text"
|
||||
android:contentDescription="@string/call_action_show_messages"
|
||||
android:background="@drawable/shape_round_in_call_disabled_button_background"
|
||||
app:tint="?attr/color_grey_500"
|
||||
app:layout_constraintDimensionRatio="1:1"
|
||||
|
|
@ -137,6 +142,7 @@
|
|||
android:layout_height="@dimen/call_button_size"
|
||||
android:layout_marginTop="@dimen/call_extra_button_top_margin"
|
||||
android:padding="@dimen/call_button_icon_padding"
|
||||
android:contentDescription="@{viewModel.isPaused ? @string/call_action_resume_call : @string/call_action_pause_call}"
|
||||
android:src="@{viewModel.isPaused ? @drawable/play : @drawable/pause, default=@drawable/pause}"
|
||||
android:background="@drawable/in_call_button_background_green"
|
||||
app:tint="@color/in_call_button_tint_color"
|
||||
|
|
@ -153,6 +159,7 @@
|
|||
android:padding="@dimen/call_button_icon_padding"
|
||||
android:enabled="@{viewModel.isRecordingEnabled}"
|
||||
android:src="@drawable/record_fill"
|
||||
android:contentDescription="@string/call_action_record_call"
|
||||
android:selected="@{viewModel.isRecording()}"
|
||||
android:background="@drawable/in_call_button_background_red"
|
||||
app:tint="@color/in_call_button_tint_color"
|
||||
|
|
|
|||
|
|
@ -138,6 +138,7 @@
|
|||
android:layout_marginEnd="18dp"
|
||||
android:padding="2dp"
|
||||
android:src="@drawable/microphone_slash"
|
||||
android:contentDescription="@string/content_description_conference_participant_muted"
|
||||
android:background="@drawable/shape_circle_white_call_background"
|
||||
android:visibility="@{conferenceViewModel.activeSpeaker.isMuted ? View.VISIBLE : View.GONE}"
|
||||
app:layout_constraintTop_toTopOf="parent"
|
||||
|
|
|
|||
|
|
@ -62,6 +62,7 @@
|
|||
android:layout_width="0dp"
|
||||
android:layout_height="0dp"
|
||||
android:src="?attr/color_main2_000"
|
||||
android:contentDescription="@null"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintStart_toEndOf="@id/bottom_nav_bar"
|
||||
|
|
@ -71,8 +72,9 @@
|
|||
android:id="@+id/no_conversation_image"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:src="@drawable/illu"
|
||||
android:layout_margin="10dp"
|
||||
android:src="@drawable/illu"
|
||||
android:contentDescription="@null"
|
||||
app:layout_constraintHeight_max="200dp"
|
||||
app:layout_constraintBottom_toTopOf="@id/no_conversation_label"
|
||||
app:layout_constraintDimensionRatio="1:1"
|
||||
|
|
@ -118,6 +120,7 @@
|
|||
android:layout_gravity="end|bottom"
|
||||
android:layout_margin="16dp"
|
||||
android:src="@drawable/chat_teardrop_plus"
|
||||
android:contentDescription="@string/content_description_chat_create"
|
||||
app:tint="?attr/color_on_main"
|
||||
app:backgroundTint="?attr/color_main1_500"
|
||||
app:shapeAppearanceOverlay="@style/rounded"
|
||||
|
|
|
|||
|
|
@ -73,6 +73,7 @@
|
|||
android:layout_width="@dimen/avatar_big_size"
|
||||
android:layout_height="@dimen/avatar_big_size"
|
||||
android:layout_marginTop="8dp"
|
||||
android:contentDescription="@null"
|
||||
coil="@{viewModel.picturePath}"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
|
|
@ -84,6 +85,7 @@
|
|||
android:layout_height="0dp"
|
||||
android:padding="10dp"
|
||||
android:src="@drawable/smiley"
|
||||
android:contentDescription="@null"
|
||||
android:visibility="@{viewModel.picturePath.empty ? View.VISIBLE : View.GONE}"
|
||||
app:tint="@color/gray_main2_600"
|
||||
app:layout_constraintEnd_toEndOf="@id/avatar"
|
||||
|
|
@ -363,6 +365,7 @@
|
|||
android:layout_gravity="end|bottom"
|
||||
android:layout_margin="16dp"
|
||||
android:src="@drawable/check"
|
||||
android:contentDescription="@string/content_description_save_changes"
|
||||
app:tint="?attr/color_on_main"
|
||||
app:backgroundTint="?attr/color_main1_500"
|
||||
app:shapeAppearanceOverlay="@style/rounded"
|
||||
|
|
|
|||
|
|
@ -64,6 +64,7 @@
|
|||
android:layout_height="0dp"
|
||||
android:layout_marginEnd="9dp"
|
||||
android:src="@drawable/funnel"
|
||||
android:contentDescription="@string/content_description_contacts_list_filters"
|
||||
android:visibility="@{viewModel.searchBarVisible ? View.GONE : View.VISIBLE}"
|
||||
app:tint="?attr/color_on_main"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
|
|
@ -126,8 +127,9 @@
|
|||
android:id="@+id/no_contacts_image"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:src="@drawable/illu"
|
||||
android:layout_margin="10dp"
|
||||
android:src="@drawable/illu"
|
||||
android:contentDescription="@null"
|
||||
app:layout_constraintHeight_max="200dp"
|
||||
app:layout_constraintBottom_toTopOf="@id/no_contacts_label"
|
||||
app:layout_constraintDimensionRatio="1:1"
|
||||
|
|
@ -166,6 +168,7 @@
|
|||
android:layout_gravity="end|bottom"
|
||||
android:layout_margin="16dp"
|
||||
android:src="@drawable/user_plus"
|
||||
android:contentDescription="@string/content_description_contact_create"
|
||||
app:tint="?attr/color_on_main"
|
||||
app:backgroundTint="?attr/color_main1_500"
|
||||
app:shapeAppearanceOverlay="@style/rounded"
|
||||
|
|
|
|||
|
|
@ -24,6 +24,7 @@
|
|||
android:layout_marginEnd="12dp"
|
||||
android:layout_marginBottom="2dp"
|
||||
android:src="@drawable/shape_dialog_background"
|
||||
android:contentDescription="@null"
|
||||
app:layout_constraintBottom_toBottomOf="@id/anchor"
|
||||
app:layout_constraintWidth_max="@dimen/dialog_max_width"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
|
|
|
|||
|
|
@ -70,6 +70,7 @@
|
|||
android:layout_height="0dp"
|
||||
android:layout_marginEnd="9dp"
|
||||
android:src="@drawable/dots_three_vertical"
|
||||
android:contentDescription="@string/content_description_show_popup_menu"
|
||||
android:visibility="@{viewModel.searchBarVisible ? View.GONE : View.VISIBLE}"
|
||||
app:tint="?attr/color_on_main"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
|
|
@ -81,6 +82,7 @@
|
|||
android:layout_width="0dp"
|
||||
android:layout_height="0dp"
|
||||
android:src="?attr/color_main2_000"
|
||||
android:contentDescription="@null"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintStart_toEndOf="@id/bottom_nav_bar"
|
||||
|
|
@ -90,8 +92,9 @@
|
|||
android:id="@+id/no_calls_image"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:src="@drawable/illu"
|
||||
android:layout_margin="10dp"
|
||||
android:src="@drawable/illu"
|
||||
android:contentDescription="@null"
|
||||
app:layout_constraintHeight_max="200dp"
|
||||
app:layout_constraintBottom_toTopOf="@id/no_calls_label"
|
||||
app:layout_constraintDimensionRatio="1:1"
|
||||
|
|
@ -137,6 +140,7 @@
|
|||
android:layout_gravity="end|bottom"
|
||||
android:layout_margin="16dp"
|
||||
android:src="@drawable/phone_plus"
|
||||
android:contentDescription="@string/content_description_call_start"
|
||||
app:tint="?attr/color_on_main"
|
||||
app:backgroundTint="?attr/color_main1_500"
|
||||
app:shapeAppearanceOverlay="@style/rounded"
|
||||
|
|
|
|||
|
|
@ -123,6 +123,7 @@
|
|||
android:layout_marginTop="10dp"
|
||||
android:visibility="@{viewModel.isVideoAvailable && viewModel.isVideoEnabled && viewModel.isSwitchCameraAvailable ? View.VISIBLE : View.GONE}"
|
||||
android:src="@drawable/camera_rotate"
|
||||
android:contentDescription="@string/content_description_change_camera"
|
||||
app:tint="@color/white"
|
||||
app:layout_constraintTop_toTopOf="@id/video_preview"
|
||||
app:layout_constraintEnd_toEndOf="@id/video_preview" />
|
||||
|
|
@ -139,6 +140,7 @@
|
|||
android:visibility="@{viewModel.hideVideo ? View.GONE : View.VISIBLE}"
|
||||
android:src="@{viewModel.isVideoEnabled ? @drawable/video_camera : @drawable/video_camera_slash, default=@drawable/video_camera}"
|
||||
android:background="@drawable/in_call_button_background_red"
|
||||
android:contentDescription="@string/content_description_toggle_video"
|
||||
app:tint="@color/in_call_button_tint_color"
|
||||
app:layout_constraintHorizontal_chainStyle="packed"
|
||||
app:layout_constraintBottom_toBottomOf="@id/join"
|
||||
|
|
@ -155,6 +157,7 @@
|
|||
android:padding="@dimen/call_button_icon_padding"
|
||||
android:src="@{viewModel.isMicrophoneMuted ? @drawable/microphone_slash : @drawable/microphone, default=@drawable/microphone}"
|
||||
android:background="@drawable/in_call_button_background_red"
|
||||
android:contentDescription="@string/content_description_toggle_microphone"
|
||||
app:tint="@color/in_call_button_tint_color"
|
||||
app:layout_constraintBottom_toBottomOf="@id/join"
|
||||
app:layout_constraintStart_toEndOf="@id/toggle_video"
|
||||
|
|
@ -169,6 +172,7 @@
|
|||
android:padding="@dimen/call_button_icon_padding"
|
||||
android:src="@{viewModel.isHeadsetEnabled ? @drawable/headset : viewModel.isBluetoothEnabled ? @drawable/bluetooth : viewModel.isSpeakerEnabled ? @drawable/speaker_high : @drawable/speaker_slash, default=@drawable/speaker_slash}"
|
||||
android:background="@drawable/in_call_button_background_red"
|
||||
android:contentDescription="@string/content_description_change_output_audio_device"
|
||||
app:tint="@color/in_call_button_tint_color"
|
||||
app:layout_constraintBottom_toBottomOf="@id/join"
|
||||
app:layout_constraintStart_toEndOf="@id/toggle_mute_mic"
|
||||
|
|
|
|||
|
|
@ -67,6 +67,7 @@
|
|||
android:layout_height="0dp"
|
||||
android:layout_marginEnd="9dp"
|
||||
android:src="@drawable/calendar"
|
||||
android:contentDescription="@string/content_description_meeting_today"
|
||||
android:visibility="@{viewModel.searchBarVisible ? View.GONE : View.VISIBLE}"
|
||||
app:tint="?attr/color_on_main"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
|
|
@ -78,6 +79,7 @@
|
|||
android:layout_width="0dp"
|
||||
android:layout_height="0dp"
|
||||
android:src="?attr/color_main2_000"
|
||||
android:contentDescription="@null"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintStart_toEndOf="@id/bottom_nav_bar"
|
||||
|
|
@ -87,8 +89,9 @@
|
|||
android:id="@+id/no_meeting_image"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:src="@drawable/illu"
|
||||
android:layout_margin="10dp"
|
||||
android:src="@drawable/illu"
|
||||
android:contentDescription="@null"
|
||||
app:layout_constraintHeight_max="200dp"
|
||||
app:layout_constraintBottom_toTopOf="@id/no_meeting_label"
|
||||
app:layout_constraintDimensionRatio="1:1"
|
||||
|
|
@ -134,6 +137,7 @@
|
|||
android:layout_gravity="end|bottom"
|
||||
android:layout_margin="16dp"
|
||||
android:src="@drawable/video_conference_plus"
|
||||
android:contentDescription="@string/content_description_schedule_meeting"
|
||||
app:tint="?attr/color_on_main"
|
||||
app:backgroundTint="?attr/color_main1_500"
|
||||
app:shapeAppearanceOverlay="@style/rounded"
|
||||
|
|
|
|||
|
|
@ -14,6 +14,7 @@
|
|||
android:layout_width="match_parent"
|
||||
android:layout_height="0dp"
|
||||
android:src="@drawable/mountains"
|
||||
android:contentDescription="@null"
|
||||
android:adjustViewBounds="true"
|
||||
android:scaleType="centerCrop"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
|
|
@ -52,6 +53,7 @@
|
|||
android:layout_height="@dimen/welcome_icon_size"
|
||||
android:layout_marginStart="32dp"
|
||||
android:src="@drawable/welcome_linphone_logo"
|
||||
android:contentDescription="@null"
|
||||
app:layout_constraintDimensionRatio="1:1"
|
||||
app:layout_constraintTop_toBottomOf="@id/title_second_line"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
|
|
|
|||
|
|
@ -14,6 +14,7 @@
|
|||
android:layout_width="match_parent"
|
||||
android:layout_height="0dp"
|
||||
android:src="@drawable/mountains"
|
||||
android:contentDescription="@null"
|
||||
android:adjustViewBounds="true"
|
||||
android:scaleType="centerCrop"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
|
|
@ -52,6 +53,7 @@
|
|||
android:layout_height="@dimen/welcome_icon_size"
|
||||
android:layout_marginStart="32dp"
|
||||
android:src="@drawable/welcome_secured_logo"
|
||||
android:contentDescription="@null"
|
||||
app:layout_constraintDimensionRatio="1:1"
|
||||
app:layout_constraintTop_toBottomOf="@id/title_second_line"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
|
|
|
|||
|
|
@ -14,6 +14,7 @@
|
|||
android:layout_width="match_parent"
|
||||
android:layout_height="0dp"
|
||||
android:src="@drawable/mountains"
|
||||
android:contentDescription="@null"
|
||||
android:adjustViewBounds="true"
|
||||
android:scaleType="centerCrop"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
|
|
@ -52,6 +53,7 @@
|
|||
android:layout_height="@dimen/welcome_icon_size"
|
||||
android:layout_marginStart="32dp"
|
||||
android:src="@drawable/welcome_open_source_logo"
|
||||
android:contentDescription="@null"
|
||||
app:layout_constraintDimensionRatio="1:1"
|
||||
app:layout_constraintTop_toBottomOf="@id/title_second_line"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
|
|
|
|||
|
|
@ -277,6 +277,7 @@
|
|||
android:layout_height="wrap_content"
|
||||
android:layout_marginStart="8dp"
|
||||
android:src="@drawable/info"
|
||||
android:contentDescription="@string/content_description_click_for_more_info"
|
||||
app:tint="@color/black"
|
||||
app:layout_constraintTop_toTopOf="@id/prefix_label"
|
||||
app:layout_constraintBottom_toBottomOf="@id/prefix_label"
|
||||
|
|
|
|||
|
|
@ -102,6 +102,7 @@
|
|||
android:layout_height="wrap_content"
|
||||
android:layout_marginStart="8dp"
|
||||
android:src="@drawable/info"
|
||||
android:contentDescription="@string/content_description_click_for_more_info"
|
||||
app:tint="?attr/color_main2_900"
|
||||
app:layout_constraintTop_toTopOf="@id/default_mode"
|
||||
app:layout_constraintBottom_toBottomOf="@id/default_mode"
|
||||
|
|
@ -163,6 +164,7 @@
|
|||
android:layout_height="wrap_content"
|
||||
android:layout_marginStart="8dp"
|
||||
android:src="@drawable/info"
|
||||
android:contentDescription="@string/content_description_click_for_more_info"
|
||||
app:tint="?attr/color_main2_900"
|
||||
app:layout_constraintTop_toTopOf="@id/interop_mode"
|
||||
app:layout_constraintBottom_toBottomOf="@id/interop_mode"
|
||||
|
|
|
|||
|
|
@ -35,6 +35,7 @@
|
|||
android:src="@drawable/x"
|
||||
android:padding="5dp"
|
||||
android:background="@drawable/shape_circle_gray_100_background"
|
||||
android:contentDescription="@string/content_description_click_to_remove_participant"
|
||||
app:tint="?attr/color_main2_500"
|
||||
app:layout_constraintTop_toTopOf="@id/avatar"
|
||||
app:layout_constraintEnd_toEndOf="parent"/>
|
||||
|
|
|
|||
|
|
@ -145,6 +145,7 @@
|
|||
android:layout_height="0dp"
|
||||
android:padding="4dp"
|
||||
android:layout_marginEnd="20dp"
|
||||
android:contentDescription="@string/content_description_toggle_password_visibility"
|
||||
android:src="@{viewModel.showPassword ? @drawable/eye_slash : @drawable/eye, default=@drawable/eye}"
|
||||
app:tint="?attr/color_main2_500"
|
||||
app:layout_constraintEnd_toEndOf="@id/password"
|
||||
|
|
|
|||
|
|
@ -135,6 +135,7 @@
|
|||
android:layout_height="0dp"
|
||||
android:padding="4dp"
|
||||
android:layout_marginEnd="20dp"
|
||||
android:contentDescription="@string/content_description_toggle_password_visibility"
|
||||
android:src="@{viewModel.showPassword ? @drawable/eye_slash : @drawable/eye, default=@drawable/eye}"
|
||||
app:tint="?attr/color_main2_500"
|
||||
app:layout_constraintEnd_toEndOf="@id/password"
|
||||
|
|
|
|||
|
|
@ -260,6 +260,7 @@
|
|||
android:layout_height="0dp"
|
||||
android:padding="4dp"
|
||||
android:layout_marginEnd="20dp"
|
||||
android:contentDescription="@string/content_description_toggle_password_visibility"
|
||||
android:src="@{viewModel.showPassword ? @drawable/eye_slash : @drawable/eye, default=@drawable/eye}"
|
||||
app:tint="?attr/color_main2_500"
|
||||
app:layout_constraintEnd_toEndOf="@id/password"
|
||||
|
|
|
|||
|
|
@ -109,6 +109,7 @@
|
|||
android:layout_height="wrap_content"
|
||||
android:layout_marginStart="8dp"
|
||||
android:src="@drawable/info"
|
||||
android:contentDescription="@string/content_description_click_for_more_info"
|
||||
app:tint="?attr/color_main2_900"
|
||||
app:layout_constraintTop_toTopOf="@id/default_mode"
|
||||
app:layout_constraintBottom_toBottomOf="@id/default_mode"
|
||||
|
|
@ -161,6 +162,7 @@
|
|||
android:layout_height="wrap_content"
|
||||
android:layout_marginStart="8dp"
|
||||
android:src="@drawable/info"
|
||||
android:contentDescription="@string/content_description_click_for_more_info"
|
||||
app:tint="?attr/color_main2_900"
|
||||
app:layout_constraintTop_toTopOf="@id/interop_mode"
|
||||
app:layout_constraintBottom_toBottomOf="@id/interop_mode"
|
||||
|
|
|
|||
|
|
@ -133,6 +133,7 @@
|
|||
android:layout_height="0dp"
|
||||
android:layout_marginEnd="20dp"
|
||||
android:padding="4dp"
|
||||
android:contentDescription="@string/content_description_toggle_password_visibility"
|
||||
android:src="@{viewModel.showPassword ? @drawable/eye_slash : @drawable/eye, default=@drawable/eye}"
|
||||
app:tint="?attr/color_main2_500"
|
||||
app:layout_constraintEnd_toEndOf="@id/password"
|
||||
|
|
|
|||
|
|
@ -62,6 +62,7 @@
|
|||
android:background="@drawable/circle_light_blue_button_background"
|
||||
android:padding="16dp"
|
||||
android:src="@drawable/chat_teardrop_slash"
|
||||
android:contentDescription="@null"
|
||||
app:tint="?attr/color_main2_500"
|
||||
app:layout_constraintHorizontal_chainStyle="packed"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
|
|
@ -76,6 +77,7 @@
|
|||
android:background="@drawable/circle_light_blue_button_background"
|
||||
android:padding="16dp"
|
||||
android:src="@drawable/video_camera_slash"
|
||||
android:contentDescription="@null"
|
||||
app:tint="?attr/color_main2_500"
|
||||
app:layout_constraintStart_toEndOf="@id/no_chat"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
|
|
|
|||
|
|
@ -46,6 +46,7 @@
|
|||
android:padding="@dimen/call_button_icon_padding"
|
||||
android:background="@drawable/in_call_button_background_red"
|
||||
android:src="@drawable/phone_transfer"
|
||||
android:contentDescription="@{callsViewModel.callsCount == 1 ? @string/call_action_blind_transfer : @string/call_action_attended_transfer}"
|
||||
app:tint="@color/in_call_button_tint_color"
|
||||
app:layout_constraintDimensionRatio="1:1"
|
||||
app:layout_constraintStart_toStartOf="@id/transfer_label"
|
||||
|
|
@ -61,6 +62,7 @@
|
|||
android:padding="@dimen/call_button_icon_padding"
|
||||
android:background="@drawable/in_call_button_background_red"
|
||||
android:src="@drawable/phone_plus"
|
||||
android:contentDescription="@string/call_action_start_new_call"
|
||||
app:tint="@color/in_call_button_tint_color"
|
||||
app:layout_constraintDimensionRatio="1:1"
|
||||
app:layout_constraintStart_toStartOf="@id/new_call_label"
|
||||
|
|
@ -76,6 +78,7 @@
|
|||
android:padding="@dimen/call_button_icon_padding"
|
||||
android:background="@drawable/in_call_button_background_red"
|
||||
android:src="@drawable/phone_list"
|
||||
android:contentDescription="@string/call_action_go_to_calls_list"
|
||||
app:tint="@color/in_call_button_tint_color"
|
||||
app:layout_constraintDimensionRatio="1:1"
|
||||
app:layout_constraintStart_toStartOf="@id/calls_list_label"
|
||||
|
|
@ -110,6 +113,7 @@
|
|||
android:padding="@dimen/call_button_icon_padding"
|
||||
android:background="@drawable/in_call_button_background_red"
|
||||
android:src="@drawable/numpad"
|
||||
android:contentDescription="@string/call_action_show_dialer"
|
||||
app:tint="@color/in_call_button_tint_color"
|
||||
app:layout_constraintDimensionRatio="1:1"
|
||||
app:layout_constraintStart_toStartOf="@id/layout_label"
|
||||
|
|
@ -124,6 +128,7 @@
|
|||
android:layout_marginTop="@dimen/call_extra_button_top_margin"
|
||||
android:padding="@dimen/call_button_icon_padding"
|
||||
android:src="@drawable/chat_teardrop_text"
|
||||
android:contentDescription="@string/call_action_show_messages"
|
||||
android:background="@drawable/in_call_button_background_red"
|
||||
android:enabled="@{!viewModel.operationInProgress}"
|
||||
app:tint="@color/in_call_button_tint_color"
|
||||
|
|
@ -155,6 +160,7 @@
|
|||
android:layout_marginTop="@dimen/call_extra_button_top_margin"
|
||||
android:padding="@dimen/call_button_icon_padding"
|
||||
android:background="@drawable/in_call_button_background_green"
|
||||
android:contentDescription="@{viewModel.isPaused ? @string/call_action_resume_call : @string/call_action_pause_call}"
|
||||
android:src="@{viewModel.isPaused ? @drawable/play : @drawable/pause, default=@drawable/pause}"
|
||||
app:tint="@color/in_call_button_tint_color"
|
||||
app:layout_constraintDimensionRatio="1:1"
|
||||
|
|
@ -172,6 +178,7 @@
|
|||
android:padding="@dimen/call_button_icon_padding"
|
||||
android:background="@drawable/in_call_button_background_red"
|
||||
android:src="@drawable/record_fill"
|
||||
android:contentDescription="@string/call_action_record_call"
|
||||
android:selected="@{viewModel.isRecording()}"
|
||||
app:tint="@color/in_call_button_tint_color"
|
||||
app:layout_constraintDimensionRatio="1:1"
|
||||
|
|
|
|||
|
|
@ -22,6 +22,7 @@
|
|||
android:layout_height="wrap_content"
|
||||
android:padding="11dp"
|
||||
android:src="@drawable/animated_caret_to_handle"
|
||||
android:contentDescription="@string/content_description_toggle_bottom_sheet"
|
||||
app:tint="@color/white"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
|
|
@ -38,6 +39,7 @@
|
|||
android:paddingTop="15dp"
|
||||
android:paddingBottom="15dp"
|
||||
android:src="@drawable/phone_disconnect"
|
||||
android:contentDescription="@string/content_description_hang_up_call"
|
||||
android:background="@drawable/squircle_red_button_background"
|
||||
app:tint="@color/white"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
|
|
@ -54,6 +56,7 @@
|
|||
android:visibility="@{viewModel.hideVideo ? View.GONE : View.VISIBLE}"
|
||||
android:src="@{viewModel.isSendingVideo ? @drawable/video_camera : @drawable/video_camera_slash, default=@drawable/video_camera}"
|
||||
android:background="@drawable/in_call_button_background_red"
|
||||
android:contentDescription="@string/content_description_toggle_video"
|
||||
app:tint="@color/in_call_button_tint_color"
|
||||
app:layout_constraintHorizontal_bias="1"
|
||||
app:layout_constraintHorizontal_chainStyle="packed"
|
||||
|
|
@ -71,6 +74,7 @@
|
|||
android:selected="@{viewModel.isMicrophoneMuted}"
|
||||
android:src="@{viewModel.isMicrophoneMuted ? @drawable/microphone_slash : @drawable/microphone, default=@drawable/microphone}"
|
||||
android:background="@drawable/in_call_button_background_red"
|
||||
android:contentDescription="@string/content_description_toggle_microphone"
|
||||
app:tint="@color/in_call_button_tint_color"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
app:layout_constraintStart_toEndOf="@id/toggle_video"
|
||||
|
|
@ -85,6 +89,7 @@
|
|||
android:padding="@dimen/call_button_icon_padding"
|
||||
android:src="@{viewModel.isHeadsetEnabled ? @drawable/headset : viewModel.isBluetoothEnabled ? @drawable/bluetooth : viewModel.isSpeakerEnabled ? @drawable/speaker_high : @drawable/speaker_slash, default=@drawable/speaker_slash}"
|
||||
android:background="@drawable/in_call_button_background_red"
|
||||
android:contentDescription="@string/content_description_change_output_audio_device"
|
||||
app:tint="@color/in_call_button_tint_color"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
app:layout_constraintStart_toEndOf="@id/toggle_mute_mic"
|
||||
|
|
|
|||
|
|
@ -129,6 +129,7 @@
|
|||
android:layout_marginStart="5dp"
|
||||
android:layout_marginEnd="5dp"
|
||||
android:src="@drawable/camera_rotate"
|
||||
android:contentDescription="@string/content_description_change_camera"
|
||||
android:visibility="@{!viewModel.fullScreenMode && !viewModel.pipMode && viewModel.showSwitchCamera && conferenceViewModel.isMeParticipantSendingVideo ? View.VISIBLE : View.GONE}"
|
||||
app:tint="@color/white"
|
||||
app:layout_constraintTop_toTopOf="@id/back"
|
||||
|
|
@ -141,6 +142,7 @@
|
|||
android:layout_height="0dp"
|
||||
android:padding="10dp"
|
||||
android:src="@drawable/pause"
|
||||
android:contentDescription="@string/content_description_paused_call"
|
||||
android:visibility="@{!viewModel.fullScreenMode && !viewModel.pipMode && conferenceViewModel.isPaused ? View.VISIBLE : View.GONE, default=gone}"
|
||||
app:tint="@color/main1_500"
|
||||
app:layout_constraintTop_toTopOf="@id/back"
|
||||
|
|
@ -154,6 +156,7 @@
|
|||
android:layout_height="0dp"
|
||||
android:padding="10dp"
|
||||
android:src="@{viewModel.qualityIcon, default=@drawable/cell_signal_full}"
|
||||
android:contentDescription="@string/content_description_show_call_statistics"
|
||||
android:visibility="@{!viewModel.fullScreenMode && !viewModel.pipMode && !conferenceViewModel.isPaused ? View.VISIBLE : View.GONE}"
|
||||
android:tint="@{viewModel.qualityValue >= 2 ? @color/white : viewModel.qualityValue >= 1 ? @color/orange_warning_600 : @color/red_danger_500, default=@color/white}"
|
||||
app:layout_constraintTop_toTopOf="@id/back"
|
||||
|
|
@ -272,6 +275,7 @@
|
|||
android:layout_marginTop="10dp"
|
||||
android:layout_marginStart="10dp"
|
||||
android:src="@drawable/record_fill"
|
||||
android:contentDescription="@string/content_description_call_is_being_recorded"
|
||||
android:visibility="@{viewModel.isRecording ? View.VISIBLE : View.GONE, default=gone}"
|
||||
app:layout_constraintTop_toBottomOf="@id/media_encryption_icon"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
|
|
|
|||
|
|
@ -194,6 +194,7 @@
|
|||
android:layout_marginStart="5dp"
|
||||
android:layout_marginEnd="5dp"
|
||||
android:src="@drawable/camera_rotate"
|
||||
android:contentDescription="@string/content_description_change_camera"
|
||||
android:visibility="@{!viewModel.fullScreenMode && !viewModel.pipMode && viewModel.isSendingVideo && viewModel.showSwitchCamera ? View.VISIBLE : View.GONE}"
|
||||
app:tint="@color/white"
|
||||
app:layout_constraintTop_toTopOf="@id/back"
|
||||
|
|
@ -206,6 +207,7 @@
|
|||
android:layout_height="0dp"
|
||||
android:padding="10dp"
|
||||
android:src="@drawable/pause"
|
||||
android:contentDescription="@string/content_description_paused_call"
|
||||
android:visibility="@{!viewModel.fullScreenMode && !viewModel.pipMode && (viewModel.isPaused || viewModel.isPausedByRemote) ? View.VISIBLE : View.GONE, default=gone}"
|
||||
app:tint="@color/main1_500"
|
||||
app:layout_constraintTop_toTopOf="@id/back"
|
||||
|
|
@ -219,6 +221,7 @@
|
|||
android:layout_height="0dp"
|
||||
android:padding="10dp"
|
||||
android:src="@{viewModel.qualityIcon, default=@drawable/cell_signal_full}"
|
||||
android:contentDescription="@string/content_description_show_call_statistics"
|
||||
android:visibility="@{!viewModel.fullScreenMode && !viewModel.pipMode && !(viewModel.isPaused || viewModel.isPausedByRemote) ? View.VISIBLE : View.GONE}"
|
||||
android:tint="@{viewModel.qualityValue >= 2 ? @color/white : viewModel.qualityValue >= 1 ? @color/orange_warning_600 : @color/red_danger_500, default=@color/white}"
|
||||
app:layout_constraintTop_toTopOf="@id/back"
|
||||
|
|
@ -280,6 +283,7 @@
|
|||
android:layout_marginTop="10dp"
|
||||
android:layout_marginStart="10dp"
|
||||
android:src="@drawable/record_fill"
|
||||
android:contentDescription="@string/content_description_call_is_being_recorded"
|
||||
android:visibility="@{viewModel.isRecording ? View.VISIBLE : View.GONE, default=gone}"
|
||||
app:layout_constraintTop_toBottomOf="@id/media_encryption_icon"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
|
|
|
|||
|
|
@ -23,6 +23,7 @@
|
|||
android:layout_marginStart="16dp"
|
||||
android:layout_marginEnd="10dp"
|
||||
android:src="@{viewModel.callsTopBarIcon, default=@drawable/phone_pause}"
|
||||
android:contentDescription="@null"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toTopOf="@id/call_display_name"
|
||||
app:layout_constraintBottom_toBottomOf="@id/call_display_name"
|
||||
|
|
|
|||
|
|
@ -44,6 +44,7 @@
|
|||
android:layout_marginTop="@dimen/call_extra_button_top_margin"
|
||||
android:padding="@dimen/call_button_icon_padding"
|
||||
android:src="@drawable/monitor_arrow_up"
|
||||
android:contentDescription="@string/conference_action_screen_sharing"
|
||||
android:background="@drawable/shape_round_in_call_disabled_button_background"
|
||||
app:tint="?attr/color_grey_500"
|
||||
app:layout_constraintDimensionRatio="1:1"
|
||||
|
|
@ -60,6 +61,7 @@
|
|||
android:padding="@dimen/call_button_icon_padding"
|
||||
android:background="@drawable/in_call_button_background_red"
|
||||
android:src="@drawable/users"
|
||||
android:contentDescription="@string/conference_action_show_participants"
|
||||
app:tint="@color/in_call_button_tint_color"
|
||||
app:layout_constraintDimensionRatio="1:1"
|
||||
app:layout_constraintStart_toStartOf="@id/participants_label"
|
||||
|
|
@ -75,6 +77,7 @@
|
|||
android:padding="@dimen/call_button_icon_padding"
|
||||
android:background="@drawable/in_call_button_background_red"
|
||||
android:src="@drawable/phone_list"
|
||||
android:contentDescription="@string/call_action_go_to_calls_list"
|
||||
app:tint="@color/in_call_button_tint_color"
|
||||
app:layout_constraintDimensionRatio="1:1"
|
||||
app:layout_constraintStart_toStartOf="@id/calls_list_label"
|
||||
|
|
@ -108,6 +111,7 @@
|
|||
android:padding="@dimen/call_button_icon_padding"
|
||||
android:background="@drawable/in_call_button_background_red"
|
||||
android:src="@drawable/notebook"
|
||||
android:contentDescription="@string/call_action_change_layout"
|
||||
app:tint="@color/in_call_button_tint_color"
|
||||
app:layout_constraintDimensionRatio="1:1"
|
||||
app:layout_constraintStart_toStartOf="@id/layout_label"
|
||||
|
|
@ -121,6 +125,7 @@
|
|||
android:layout_marginTop="@dimen/call_extra_button_top_margin"
|
||||
android:padding="@dimen/call_button_icon_padding"
|
||||
android:src="@drawable/chat_teardrop_text"
|
||||
android:contentDescription="@string/call_action_show_messages"
|
||||
android:background="@drawable/shape_round_in_call_disabled_button_background"
|
||||
app:tint="?attr/color_grey_500"
|
||||
app:layout_constraintDimensionRatio="1:1"
|
||||
|
|
@ -137,6 +142,7 @@
|
|||
android:layout_height="@dimen/call_button_size"
|
||||
android:layout_marginTop="@dimen/call_extra_button_top_margin"
|
||||
android:padding="@dimen/call_button_icon_padding"
|
||||
android:contentDescription="@{viewModel.isPaused ? @string/call_action_resume_call : @string/call_action_pause_call}"
|
||||
android:src="@{viewModel.isPaused ? @drawable/play : @drawable/pause, default=@drawable/pause}"
|
||||
android:background="@drawable/in_call_button_background_green"
|
||||
app:tint="@color/in_call_button_tint_color"
|
||||
|
|
@ -153,6 +159,7 @@
|
|||
android:padding="@dimen/call_button_icon_padding"
|
||||
android:enabled="@{viewModel.isRecordingEnabled}"
|
||||
android:src="@drawable/record_fill"
|
||||
android:contentDescription="@string/call_action_record_call"
|
||||
android:selected="@{viewModel.isRecording()}"
|
||||
android:background="@drawable/in_call_button_background_red"
|
||||
app:tint="@color/in_call_button_tint_color"
|
||||
|
|
|
|||
|
|
@ -112,6 +112,7 @@
|
|||
android:layout_marginEnd="10dp"
|
||||
android:padding="2dp"
|
||||
android:src="@drawable/microphone_slash"
|
||||
android:contentDescription="@string/content_description_conference_participant_muted"
|
||||
android:background="@drawable/shape_circle_white_call_background"
|
||||
android:visibility="@{model.isMuted ? View.VISIBLE : View.GONE}"
|
||||
app:layout_constraintTop_toTopOf="parent"
|
||||
|
|
@ -139,6 +140,7 @@
|
|||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:src="@drawable/shape_squircle_main2_200_call_border"
|
||||
android:contentDescription="@string/content_description_conference_participant_speaking"
|
||||
android:visibility="@{model.isSpeaking ? View.VISIBLE : View.GONE}" />
|
||||
|
||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
||||
|
|
|
|||
|
|
@ -137,6 +137,7 @@
|
|||
android:layout_marginEnd="10dp"
|
||||
android:padding="2dp"
|
||||
android:src="@drawable/microphone_slash"
|
||||
android:contentDescription="@string/content_description_conference_participant_muted"
|
||||
android:background="@drawable/shape_circle_white_call_background"
|
||||
android:visibility="@{conferenceViewModel.activeSpeaker.isMuted ? View.VISIBLE : View.GONE}"
|
||||
app:layout_constraintTop_toTopOf="parent"
|
||||
|
|
|
|||
|
|
@ -45,6 +45,7 @@
|
|||
android:layout_marginEnd="10dp"
|
||||
android:padding="2dp"
|
||||
android:src="@drawable/microphone_slash"
|
||||
android:contentDescription="@string/content_description_conference_participant_muted"
|
||||
android:background="@drawable/shape_circle_white_call_background"
|
||||
android:visibility="@{model.isMuted ? View.VISIBLE : View.GONE}"
|
||||
app:layout_constraintTop_toTopOf="parent"
|
||||
|
|
@ -100,6 +101,7 @@
|
|||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:src="@drawable/shape_squircle_main2_200_call_border"
|
||||
android:contentDescription="@string/content_description_conference_participant_speaking"
|
||||
android:visibility="@{model.isSpeaking ? View.VISIBLE : View.GONE}" />
|
||||
|
||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
||||
|
|
|
|||
|
|
@ -112,6 +112,7 @@
|
|||
android:layout_marginEnd="10dp"
|
||||
android:padding="2dp"
|
||||
android:src="@drawable/microphone_slash"
|
||||
android:contentDescription="@string/content_description_conference_participant_muted"
|
||||
android:background="@drawable/shape_circle_white_call_background"
|
||||
android:visibility="@{model.isMuted ? View.VISIBLE : View.GONE}"
|
||||
app:layout_constraintTop_toTopOf="parent"
|
||||
|
|
@ -139,6 +140,7 @@
|
|||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:src="@drawable/shape_squircle_main2_200_call_border"
|
||||
android:contentDescription="@string/content_description_conference_participant_speaking"
|
||||
android:visibility="@{model.isSpeaking ? View.VISIBLE : View.GONE}" />
|
||||
|
||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
||||
|
|
|
|||
|
|
@ -99,6 +99,7 @@
|
|||
android:layout_height="@dimen/icon_size"
|
||||
android:layout_marginStart="10dp"
|
||||
android:src="@drawable/x"
|
||||
android:contentDescription="@string/content_description_click_to_remove_participant"
|
||||
android:visibility="@{model.isMeAdmin ? (model.isMyself ? View.INVISIBLE : View.VISIBLE) : View.GONE, default=gone}"
|
||||
app:layout_constraintStart_toEndOf="@id/admin_toggle"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
|
|
|
|||
|
|
@ -64,6 +64,7 @@
|
|||
android:layout_gravity="end|bottom"
|
||||
android:layout_margin="16dp"
|
||||
android:src="@drawable/plus_circle"
|
||||
android:contentDescription="@string/content_description_add_participants"
|
||||
android:visibility="@{viewModel.conferenceModel.isMeAdmin ? View.VISIBLE : View.GONE, default=gone}"
|
||||
app:tint="?attr/color_on_main"
|
||||
app:backgroundTint="?attr/color_main1_500"
|
||||
|
|
|
|||
|
|
@ -25,6 +25,7 @@
|
|||
android:paddingTop="15dp"
|
||||
android:paddingBottom="15dp"
|
||||
android:src="@drawable/phone_disconnect"
|
||||
android:contentDescription="@null"
|
||||
android:background="@drawable/shape_squircle_red_disabled_background"
|
||||
app:tint="@color/gray_400"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
|
|
@ -38,6 +39,7 @@
|
|||
android:padding="@dimen/call_button_icon_padding"
|
||||
android:enabled="false"
|
||||
android:src="@drawable/video_camera_slash"
|
||||
android:contentDescription="@null"
|
||||
android:background="@drawable/shape_round_in_call_disabled_button_background"
|
||||
android:visibility="@{viewModel.hideVideo ? View.GONE : View.VISIBLE}"
|
||||
app:tint="@color/gray_400"
|
||||
|
|
@ -54,6 +56,7 @@
|
|||
android:layout_marginEnd="16dp"
|
||||
android:padding="@dimen/call_button_icon_padding"
|
||||
android:src="@drawable/microphone_slash"
|
||||
android:contentDescription="@null"
|
||||
android:background="@drawable/shape_round_in_call_disabled_button_background"
|
||||
app:tint="@color/gray_400"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
|
|
@ -67,6 +70,7 @@
|
|||
android:layout_marginEnd="16dp"
|
||||
android:padding="@dimen/call_button_icon_padding"
|
||||
android:src="@drawable/speaker_slash"
|
||||
android:contentDescription="@null"
|
||||
android:background="@drawable/shape_round_in_call_disabled_button_background"
|
||||
app:tint="@color/gray_400"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
|
|
|
|||
|
|
@ -22,6 +22,7 @@
|
|||
android:adjustViewBounds="true"
|
||||
android:padding="15dp"
|
||||
android:src="@drawable/caret_left"
|
||||
android:contentDescription="@string/content_description_go_back_icon"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toTopOf="parent"
|
||||
app:tint="@color/white" />
|
||||
|
|
|
|||
|
|
@ -28,6 +28,7 @@
|
|||
android:paddingEnd="30dp"
|
||||
android:paddingBottom="15dp"
|
||||
android:src="@drawable/phone_disconnect"
|
||||
android:contentDescription="@string/content_description_hang_up_call"
|
||||
app:layout_constraintHorizontal_chainStyle="packed"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
app:layout_constraintEnd_toStartOf="@id/answer_call"
|
||||
|
|
@ -45,6 +46,7 @@
|
|||
android:paddingEnd="30dp"
|
||||
android:paddingBottom="15dp"
|
||||
android:src="@drawable/phone"
|
||||
android:contentDescription="@string/content_description_answer_call"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintStart_toEndOf="@id/hang_up"
|
||||
|
|
|
|||
|
|
@ -22,6 +22,7 @@
|
|||
android:layout_marginStart="10dp"
|
||||
android:adjustViewBounds="true"
|
||||
android:src="@drawable/incoming_call"
|
||||
android:contentDescription="@null"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toTopOf="@id/call_direction_label"
|
||||
app:layout_constraintBottom_toBottomOf="@id/call_direction_label"/>
|
||||
|
|
|
|||
|
|
@ -55,6 +55,7 @@
|
|||
android:layout_width="24dp"
|
||||
android:layout_height="24dp"
|
||||
android:layout_marginEnd="5dp"
|
||||
android:contentDescription="@null"
|
||||
android:src="@{model.isPaused ? @drawable/phone_pause : @drawable/phone_call, default=@drawable/phone_pause}"
|
||||
app:tint="?attr/color_main2_500"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
|
|
|
|||
|
|
@ -62,6 +62,7 @@
|
|||
android:layout_marginTop="16dp"
|
||||
android:layout_marginEnd="30dp"
|
||||
android:src="@drawable/backspace_fill"
|
||||
android:contentDescription="@string/content_description_erase_last_input"
|
||||
android:padding="20dp"
|
||||
android:elevation="3dp"
|
||||
app:tint="@color/white"
|
||||
|
|
|
|||
|
|
@ -26,6 +26,7 @@
|
|||
android:paddingTop="15dp"
|
||||
android:paddingBottom="15dp"
|
||||
android:src="@drawable/phone_disconnect"
|
||||
android:contentDescription="@string/content_description_hang_up_call"
|
||||
android:background="@drawable/squircle_red_button_background"
|
||||
app:tint="@color/white"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
|
|
@ -38,6 +39,7 @@
|
|||
android:layout_marginEnd="16dp"
|
||||
android:padding="@dimen/call_button_icon_padding"
|
||||
android:visibility="@{viewModel.hideVideo ? View.GONE : View.VISIBLE}"
|
||||
android:contentDescription="@null"
|
||||
android:src="@{viewModel.isVideoEnabled ? @drawable/video_camera : @drawable/video_camera_slash, default=@drawable/video_camera}"
|
||||
android:background="@drawable/shape_round_in_call_disabled_button_background"
|
||||
app:tint="@color/gray_400"
|
||||
|
|
@ -54,6 +56,7 @@
|
|||
android:layout_height="@dimen/call_button_size"
|
||||
android:layout_marginEnd="16dp"
|
||||
android:padding="@dimen/call_button_icon_padding"
|
||||
android:contentDescription="@string/content_description_toggle_microphone"
|
||||
android:src="@{viewModel.isMicrophoneMuted ? @drawable/microphone_slash : @drawable/microphone, default=@drawable/microphone}"
|
||||
android:background="@drawable/in_call_button_background_red"
|
||||
app:tint="@color/in_call_button_tint_color"
|
||||
|
|
@ -69,6 +72,7 @@
|
|||
android:layout_marginEnd="16dp"
|
||||
android:padding="@dimen/call_button_icon_padding"
|
||||
android:enabled="@{viewModel.isOutgoingRinging}"
|
||||
android:contentDescription="@string/content_description_change_output_audio_device"
|
||||
android:src="@{viewModel.isHeadsetEnabled ? @drawable/headset : viewModel.isBluetoothEnabled ? @drawable/bluetooth : viewModel.isSpeakerEnabled ? @drawable/speaker_high : @drawable/speaker_slash, default=@drawable/speaker_slash}"
|
||||
android:background="@drawable/in_call_button_background_red"
|
||||
app:tint="@color/in_call_button_tint_color"
|
||||
|
|
|
|||
|
|
@ -22,6 +22,7 @@
|
|||
android:layout_marginStart="10dp"
|
||||
android:adjustViewBounds="true"
|
||||
android:src="@drawable/outgoing_call"
|
||||
android:contentDescription="@null"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toTopOf="@id/call_direction_label"
|
||||
app:layout_constraintBottom_toBottomOf="@id/call_direction_label"/>
|
||||
|
|
|
|||
|
|
@ -54,6 +54,7 @@
|
|||
android:padding="15dp"
|
||||
android:adjustViewBounds="true"
|
||||
android:src="@drawable/arrows_merge"
|
||||
android:contentDescription="@string/content_description_merge_calls_into_conference"
|
||||
android:visibility="@{viewModel.callsCount > 1 ? View.VISIBLE : View.GONE}"
|
||||
app:tint="?attr/color_main1_500"
|
||||
app:layout_constraintBottom_toBottomOf="@id/title"
|
||||
|
|
|
|||
|
|
@ -34,6 +34,7 @@
|
|||
android:layout_height="@dimen/chat_bubble_grid_image_size"
|
||||
android:adjustViewBounds="true"
|
||||
android:scaleType="centerCrop"
|
||||
android:contentDescription="@{model.isVideoPreview ? @string/content_description_chat_bubble_video : @string/content_description_chat_bubble_image}"
|
||||
android:visibility="@{model.isImage || model.isVideoPreview ? View.VISIBLE : View.GONE}"
|
||||
coilBubbleGrid="@{model.file}"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
|
|
@ -57,6 +58,7 @@
|
|||
android:layout_width="@dimen/icon_size"
|
||||
android:layout_height="@dimen/icon_size"
|
||||
android:src="@drawable/play_fill"
|
||||
android:contentDescription="@null"
|
||||
android:visibility="@{model.isVideoPreview ? View.VISIBLE : View.GONE, default=gone}"
|
||||
app:layout_constraintTop_toTopOf="@id/image"
|
||||
app:layout_constraintBottom_toBottomOf="@id/image"
|
||||
|
|
@ -74,6 +76,7 @@
|
|||
android:onLongClick="@{onLongClickListener}"
|
||||
android:adjustViewBounds="true"
|
||||
android:padding="18dp"
|
||||
android:contentDescription="@string/content_description_chat_bubble_file"
|
||||
android:src="@{model.isWaitingToBeDownloaded ? @drawable/download_simple : model.isPdf ? @drawable/file_pdf : model.isAudio ? @drawable/file_audio : @drawable/file, default=@drawable/file_pdf}"
|
||||
android:background="@drawable/shape_squircle_main2_200_left"
|
||||
app:layout_constraintTop_toTopOf="parent"
|
||||
|
|
|
|||
|
|
@ -85,6 +85,7 @@
|
|||
android:layout_height="@dimen/small_icon_size"
|
||||
android:layout_marginStart="8dp"
|
||||
android:src="@drawable/reply"
|
||||
android:contentDescription="@string/content_description_chat_bubble_reply"
|
||||
app:layout_constraintStart_toStartOf="@id/reply"
|
||||
app:layout_constraintTop_toTopOf="@id/reply_name"
|
||||
app:layout_constraintBottom_toBottomOf="@id/reply_name" />
|
||||
|
|
@ -139,6 +140,7 @@
|
|||
android:layout_height="@dimen/small_icon_size"
|
||||
android:layout_marginStart="8dp"
|
||||
android:src="@drawable/forward"
|
||||
android:contentDescription="@string/content_description_chat_bubble_forward"
|
||||
android:visibility="@{model.isForward ? View.VISIBLE : View.GONE, default=gone}"
|
||||
app:layout_constraintStart_toStartOf="@id/bubble"
|
||||
app:layout_constraintTop_toTopOf="@id/forward_label"
|
||||
|
|
@ -240,6 +242,7 @@
|
|||
android:layout_height="@dimen/small_icon_size"
|
||||
android:layout_marginStart="5dp"
|
||||
android:layout_marginTop="2dp"
|
||||
android:contentDescription="@string/content_description_chat_bubble_delivery_status"
|
||||
android:src="@{model.statusIcon, default=@drawable/checks}"
|
||||
android:visibility="@{model.isFromGroup ? View.VISIBLE : View.GONE}"
|
||||
app:tint="?attr/color_main1_500" />
|
||||
|
|
|
|||
|
|
@ -102,6 +102,7 @@
|
|||
android:layout_width="32dp"
|
||||
android:layout_height="32dp"
|
||||
android:src="@drawable/shape_circle_primary_background"
|
||||
android:contentDescription="@null"
|
||||
app:layout_constraintStart_toStartOf="@id/day_background"
|
||||
app:layout_constraintEnd_toEndOf="@id/day_background"
|
||||
app:layout_constraintTop_toBottomOf="@id/header_day" />
|
||||
|
|
|
|||
|
|
@ -60,6 +60,7 @@
|
|||
android:layout_height="@dimen/small_icon_size"
|
||||
android:layout_marginEnd="5dp"
|
||||
android:src="@drawable/reply"
|
||||
android:contentDescription="@string/content_description_chat_bubble_reply"
|
||||
app:layout_constraintEnd_toStartOf="@id/reply_name"
|
||||
app:layout_constraintTop_toTopOf="@id/reply_name"
|
||||
app:layout_constraintBottom_toBottomOf="@id/reply_name" />
|
||||
|
|
@ -114,6 +115,7 @@
|
|||
android:layout_height="@dimen/small_icon_size"
|
||||
android:layout_marginEnd="5dp"
|
||||
android:src="@drawable/forward"
|
||||
android:contentDescription="@string/content_description_chat_bubble_forward"
|
||||
android:visibility="@{model.isForward ? View.VISIBLE : View.GONE, default=gone}"
|
||||
app:layout_constraintEnd_toStartOf="@id/forward_label"
|
||||
app:layout_constraintTop_toTopOf="@id/forward_label"
|
||||
|
|
@ -216,6 +218,7 @@
|
|||
android:layout_marginStart="5dp"
|
||||
android:layout_marginTop="2dp"
|
||||
android:src="@{model.statusIcon, default=@drawable/checks}"
|
||||
android:contentDescription="@string/content_description_chat_bubble_delivery_status"
|
||||
app:tint="?attr/color_main1_500" />
|
||||
|
||||
</LinearLayout>
|
||||
|
|
|
|||
|
|
@ -29,6 +29,7 @@
|
|||
android:layout_height="wrap_content"
|
||||
android:adjustViewBounds="true"
|
||||
android:scaleType="fitCenter"
|
||||
android:contentDescription="@{model.isVideoPreview ? @string/content_description_chat_bubble_video : @string/content_description_chat_bubble_image}"
|
||||
coilBubble="@{model.file}"
|
||||
app:layout_constraintHeight_max="@dimen/chat_bubble_big_image_max_size"
|
||||
app:layout_constraintTop_toTopOf="parent"
|
||||
|
|
@ -54,6 +55,7 @@
|
|||
android:layout_width="@dimen/icon_size"
|
||||
android:layout_height="@dimen/icon_size"
|
||||
android:src="@drawable/play_fill"
|
||||
android:contentDescription="@null"
|
||||
android:visibility="@{model.isVideoPreview ? View.VISIBLE : View.GONE, default=gone}"
|
||||
app:layout_constraintTop_toTopOf="@id/image"
|
||||
app:layout_constraintBottom_toBottomOf="@id/image"
|
||||
|
|
|
|||
|
|
@ -44,6 +44,7 @@
|
|||
android:layout_marginStart="10dp"
|
||||
android:onClick="@{() -> model.togglePlayPauseVoiceRecord()}"
|
||||
android:padding="8dp"
|
||||
android:contentDescription="@string/content_description_chat_bubble_toggle_voice_message_play_pause"
|
||||
android:src="@{model.isPlayingVoiceRecord ? @drawable/pause_fill : @drawable/play_fill, default=@drawable/play_fill}"
|
||||
android:background="@drawable/circle_white_button_background"
|
||||
app:layout_constraintDimensionRatio="1:1"
|
||||
|
|
|
|||
|
|
@ -42,6 +42,7 @@
|
|||
android:layout_marginTop="10dp"
|
||||
android:layout_marginEnd="10dp"
|
||||
android:src="@drawable/x"
|
||||
android:contentDescription="@string/content_description_chat_remove_attachments"
|
||||
app:tint="@color/icon_color_selector"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintTop_toBottomOf="@id/separator" />
|
||||
|
|
|
|||
|
|
@ -124,6 +124,7 @@
|
|||
android:layout_height="@dimen/small_icon_size"
|
||||
android:layout_marginEnd="5dp"
|
||||
android:src="@drawable/bell_simple_slash"
|
||||
android:contentDescription="@string/content_description_chat_muted"
|
||||
android:visibility="@{viewModel.isMuted ? View.VISIBLE : View.GONE, default=gone}"
|
||||
app:layout_constraintStart_toStartOf="@id/title"
|
||||
app:layout_constraintEnd_toStartOf="@id/ephemeral_enabled"
|
||||
|
|
@ -137,6 +138,7 @@
|
|||
android:layout_height="@dimen/small_icon_size"
|
||||
android:layout_marginEnd="5dp"
|
||||
android:src="@drawable/clock_countdown"
|
||||
android:contentDescription="@string/content_description_chat_ephemeral_enabled"
|
||||
android:visibility="@{viewModel.ephemeralLifetime > 0L ? View.VISIBLE : View.GONE, default=gone}"
|
||||
app:layout_constraintStart_toEndOf="@id/muted"
|
||||
app:layout_constraintTop_toBottomOf="@id/title"
|
||||
|
|
@ -151,6 +153,7 @@
|
|||
android:padding="15dp"
|
||||
android:adjustViewBounds="true"
|
||||
android:src="@drawable/dots_three_vertical"
|
||||
android:contentDescription="@string/content_description_show_popup_menu"
|
||||
android:visibility="@{viewModel.isInCallConversation ? View.GONE : View.VISIBLE}"
|
||||
app:layout_constraintTop_toTopOf="parent"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
|
|
@ -163,6 +166,7 @@
|
|||
android:layout_height="@dimen/top_bar_height"
|
||||
android:padding="15dp"
|
||||
android:src="@drawable/phone"
|
||||
android:contentDescription="@string/content_description_call_start"
|
||||
android:visibility="@{viewModel.isInCallConversation || viewModel.isReadOnly || viewModel.searchBarVisible ? View.GONE : View.VISIBLE}"
|
||||
app:layout_constraintTop_toTopOf="parent"
|
||||
app:layout_constraintEnd_toStartOf="@id/show_menu"
|
||||
|
|
@ -175,6 +179,7 @@
|
|||
android:layout_height="0dp"
|
||||
android:padding="15dp"
|
||||
android:src="@drawable/caret_left"
|
||||
android:contentDescription="@string/content_description_cancel_filter"
|
||||
app:layout_constraintBottom_toBottomOf="@id/search"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toTopOf="@id/search"
|
||||
|
|
@ -217,6 +222,7 @@
|
|||
android:padding="6dp"
|
||||
android:layout_marginEnd="9dp"
|
||||
android:src="@drawable/x"
|
||||
android:contentDescription="@string/content_description_clear_filter"
|
||||
app:layout_constraintBottom_toBottomOf="@id/search"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintTop_toTopOf="@id/search"
|
||||
|
|
@ -301,6 +307,7 @@
|
|||
android:layout_gravity="end|bottom"
|
||||
android:layout_margin="16dp"
|
||||
android:src="@drawable/caret_double_down"
|
||||
android:contentDescription="@string/content_description_chat_scroll_to_bottom_or_first_unread"
|
||||
android:visibility="@{viewModel.isUserScrollingUp ? View.VISIBLE : View.GONE}"
|
||||
app:tint="?attr/color_on_main"
|
||||
app:backgroundTint="?attr/color_main1_500"
|
||||
|
|
|
|||
|
|
@ -48,6 +48,7 @@
|
|||
android:layout_marginTop="10dp"
|
||||
android:layout_marginEnd="10dp"
|
||||
android:src="@drawable/x"
|
||||
android:contentDescription="@string/content_description_chat_close_participants_list"
|
||||
app:tint="@color/icon_color_selector"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintTop_toBottomOf="@id/separator" />
|
||||
|
|
|
|||
|
|
@ -22,6 +22,7 @@
|
|||
android:onClick="@{() -> viewModel.cancelVoiceMessageRecording()}"
|
||||
android:padding="8dp"
|
||||
android:src="@drawable/x"
|
||||
android:contentDescription="@string/content_description_cancel_voice_message_recording"
|
||||
android:background="@drawable/circle_white_button_background"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
|
|
@ -52,6 +53,7 @@
|
|||
android:onClick="@{() -> viewModel.stopVoiceMessageRecording()}"
|
||||
android:padding="8dp"
|
||||
android:src="@drawable/stop_fill"
|
||||
android:contentDescription="@string/content_description_stop_voice_message_recording"
|
||||
android:background="@drawable/circle_white_button_background"
|
||||
android:visibility="@{viewModel.isVoiceRecordingInProgress ? View.VISIBLE : View.GONE}"
|
||||
app:layout_constraintDimensionRatio="1:1"
|
||||
|
|
@ -69,6 +71,7 @@
|
|||
android:padding="8dp"
|
||||
android:src="@{viewModel.isPlayingVoiceRecord ? @drawable/pause_fill : @drawable/play_fill, default=@drawable/play_fill}"
|
||||
android:background="@drawable/circle_white_button_background"
|
||||
android:contentDescription="@string/content_description_chat_bubble_toggle_voice_message_play_pause"
|
||||
android:visibility="@{!viewModel.isVoiceRecordingInProgress ? View.VISIBLE : View.GONE}"
|
||||
app:layout_constraintDimensionRatio="1:1"
|
||||
app:layout_constraintBottom_toBottomOf="@id/voice_record_duration"
|
||||
|
|
@ -125,6 +128,7 @@
|
|||
android:onClick="@{() -> viewModel.sendMessage()}"
|
||||
android:padding="8dp"
|
||||
android:src="@drawable/paper_plane_right"
|
||||
android:contentDescription="@string/content_description_chat_send_message"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintTop_toTopOf="parent"
|
||||
|
|
|
|||
|
|
@ -28,6 +28,7 @@
|
|||
android:layout_height="@dimen/icon_size"
|
||||
android:layout_marginEnd="10dp"
|
||||
android:src="@drawable/x"
|
||||
android:contentDescription="@string/content_description_chat_cancel_reply"
|
||||
app:tint="@color/icon_color_selector"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintTop_toTopOf="parent"
|
||||
|
|
|
|||
|
|
@ -84,6 +84,7 @@
|
|||
android:layout_marginStart="5dp"
|
||||
android:onClick="@{() -> viewModel.toggleEmojiPickerVisibility()}"
|
||||
android:padding="8dp"
|
||||
android:contentDescription="@string/content_description_chat_open_emoji_picker"
|
||||
android:src="@{viewModel.isEmojiPickerOpen ? @drawable/x : @drawable/smiley, default=@drawable/smiley}"
|
||||
app:layout_constraintBottom_toBottomOf="@id/message_area_background"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
|
|
@ -98,6 +99,7 @@
|
|||
android:onClick="@{openFilePickerClickListener}"
|
||||
android:padding="8dp"
|
||||
android:src="@drawable/paperclip"
|
||||
android:contentDescription="@string/content_description_chat_attach_media"
|
||||
app:layout_constraintBottom_toBottomOf="@id/message_area_background"
|
||||
app:layout_constraintEnd_toStartOf="@id/capture_image"
|
||||
app:layout_constraintStart_toEndOf="@id/emoji_picker_toggle"
|
||||
|
|
@ -112,6 +114,7 @@
|
|||
android:onClick="@{openCameraClickListener}"
|
||||
android:padding="8dp"
|
||||
android:src="@drawable/camera"
|
||||
android:contentDescription="@string/content_description_chat_take_picture"
|
||||
app:layout_constraintBottom_toBottomOf="@id/message_area_background"
|
||||
app:layout_constraintEnd_toStartOf="@id/message_area_background"
|
||||
app:layout_constraintStart_toEndOf="@id/attach_file"
|
||||
|
|
@ -125,6 +128,7 @@
|
|||
android:layout_marginStart="5dp"
|
||||
android:layout_marginEnd="16dp"
|
||||
android:src="@drawable/edit_text_background"
|
||||
android:contentDescription="@null"
|
||||
app:layout_constraintBottom_toBottomOf="@id/message_to_send"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintStart_toEndOf="@id/capture_image"
|
||||
|
|
@ -171,6 +175,7 @@
|
|||
android:onClick="@{() -> viewModel.sendMessage()}"
|
||||
android:padding="8dp"
|
||||
android:src="@drawable/paper_plane_right"
|
||||
android:contentDescription="@string/content_description_chat_send_message"
|
||||
app:layout_constraintBottom_toBottomOf="@id/message_area_background"
|
||||
app:layout_constraintEnd_toEndOf="@id/message_area_background"
|
||||
app:layout_constraintTop_toTopOf="@id/message_area_background"
|
||||
|
|
@ -185,6 +190,7 @@
|
|||
android:onClick="@{() -> viewModel.startVoiceMessageRecording()}"
|
||||
android:padding="8dp"
|
||||
android:src="@drawable/microphone"
|
||||
android:contentDescription="@string/content_description_chat_start_voice_message_recording"
|
||||
app:layout_constraintBottom_toBottomOf="@id/message_area_background"
|
||||
app:layout_constraintEnd_toEndOf="@id/message_area_background"
|
||||
app:layout_constraintTop_toTopOf="@id/message_area_background"
|
||||
|
|
|
|||
|
|
@ -25,6 +25,7 @@
|
|||
android:onClick="@{() -> model.onClick()}"
|
||||
android:adjustViewBounds="true"
|
||||
android:padding="18dp"
|
||||
android:contentDescription="@string/content_description_chat_bubble_file"
|
||||
android:src="@{model.isWaitingToBeDownloaded ? @drawable/download_simple : model.isPdf ? @drawable/file_pdf : model.isAudio ? @drawable/file_audio : @drawable/file, default=@drawable/file_pdf}"
|
||||
android:background="@drawable/shape_squircle_main2_200_left"
|
||||
app:layout_constraintTop_toTopOf="parent"
|
||||
|
|
|
|||
|
|
@ -23,6 +23,7 @@
|
|||
android:layout_marginStart="16dp"
|
||||
android:layout_marginEnd="16dp"
|
||||
android:src="@drawable/shape_squircle_white_background"
|
||||
android:contentDescription="@null"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintTop_toTopOf="parent"/>
|
||||
|
|
@ -111,6 +112,7 @@
|
|||
android:layout_marginStart="10dp"
|
||||
android:layout_marginEnd="16dp"
|
||||
android:src="@drawable/plus_circle"
|
||||
android:contentDescription="@string/content_description_chat_open_emoji_picker"
|
||||
app:layout_constraintStart_toEndOf="@id/tear"
|
||||
app:layout_constraintEnd_toEndOf="@id/emojis_background"
|
||||
app:layout_constraintTop_toTopOf="@id/thumbs_up"
|
||||
|
|
|
|||
|
|
@ -64,6 +64,7 @@
|
|||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="25dp"
|
||||
android:src="@drawable/chat_ephemeral_logo"
|
||||
android:contentDescription="@null"
|
||||
app:layout_constraintTop_toTopOf="parent"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintEnd_toEndOf="parent"/>
|
||||
|
|
|
|||
|
|
@ -112,6 +112,7 @@
|
|||
android:layout_marginStart="8dp"
|
||||
android:onClick="@{editSubjectClickListener}"
|
||||
android:src="@drawable/pencil_simple"
|
||||
android:contentDescription="@string/content_description_chat_edit_conversation_subject"
|
||||
android:visibility="@{!viewModel.isGroup || viewModel.isReadOnly || !viewModel.isMyselfAdmin ? View.GONE : View.VISIBLE}"
|
||||
app:tint="?attr/color_grey_600"
|
||||
app:layout_constraintBottom_toBottomOf="@id/title"
|
||||
|
|
@ -156,6 +157,7 @@
|
|||
android:background="@drawable/circle_light_blue_button_background"
|
||||
android:onClick="@{() -> viewModel.toggleMute()}"
|
||||
android:padding="16dp"
|
||||
android:contentDescription="@string/content_description_chat_toggle_mute"
|
||||
android:src="@{viewModel.isMuted ? @drawable/bell_simple : @drawable/bell_simple_slash, default=@drawable/bell_simple_slash}"
|
||||
android:visibility="@{viewModel.isReadOnly ? View.GONE : View.VISIBLE}"
|
||||
app:layout_constraintEnd_toStartOf="@id/call"
|
||||
|
|
@ -186,6 +188,7 @@
|
|||
android:onClick="@{() -> viewModel.call()}"
|
||||
android:padding="16dp"
|
||||
android:src="@drawable/phone"
|
||||
android:contentDescription="@string/content_description_call_start"
|
||||
android:visibility="@{viewModel.isReadOnly ? View.GONE : View.VISIBLE}"
|
||||
app:layout_constraintEnd_toStartOf="@id/meeting"
|
||||
app:layout_constraintStart_toEndOf="@id/mute"
|
||||
|
|
@ -215,6 +218,7 @@
|
|||
android:onClick="@{() -> viewModel.scheduleMeeting()}"
|
||||
android:padding="16dp"
|
||||
android:src="@drawable/video_conference"
|
||||
android:contentDescription="@string/content_description_schedule_meeting"
|
||||
android:visibility="@{viewModel.isReadOnly ? View.GONE : View.VISIBLE}"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintStart_toEndOf="@id/call"
|
||||
|
|
@ -329,6 +333,7 @@
|
|||
android:layout_marginStart="16dp"
|
||||
android:layout_marginEnd="16dp"
|
||||
android:src="@drawable/shape_squircle_white_background"
|
||||
android:contentDescription="@null"
|
||||
app:layout_constraintBottom_toBottomOf="@id/action_delete"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
|
|
|
|||
|
|
@ -44,6 +44,7 @@
|
|||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:src="@drawable/animated_in_progress"
|
||||
android:contentDescription="@string/content_description_chat_removal_in_progress"
|
||||
android:visibility="@{model.isBeingDeleted ? View.VISIBLE : View.GONE, default=gone}"
|
||||
animatedDrawable="@{true}"
|
||||
app:layout_constraintBottom_toBottomOf="@id/avatar"
|
||||
|
|
@ -129,6 +130,7 @@
|
|||
android:layout_width="@dimen/small_icon_size"
|
||||
android:layout_height="@dimen/small_icon_size"
|
||||
android:layout_marginEnd="10dp"
|
||||
android:contentDescription="@string/content_description_chat_bubble_delivery_status"
|
||||
android:src="@{model.lastMessageIcon, default=@drawable/animated_in_progress}"
|
||||
android:visibility="@{model.isLastMessageOutgoing ? View.VISIBLE : View.GONE}"
|
||||
app:layout_constraintEnd_toStartOf="@id/notifications_count"
|
||||
|
|
@ -142,6 +144,7 @@
|
|||
android:layout_height="@dimen/small_icon_size"
|
||||
android:layout_marginEnd="10dp"
|
||||
android:src="@drawable/bell_simple_slash"
|
||||
android:contentDescription="@string/content_description_chat_muted"
|
||||
android:visibility="@{model.isMuted ? View.VISIBLE : View.GONE}"
|
||||
app:layout_constraintEnd_toStartOf="@id/last_sent_message_status"
|
||||
app:layout_constraintTop_toBottomOf="@id/date_time"
|
||||
|
|
@ -154,6 +157,7 @@
|
|||
android:layout_height="@dimen/small_icon_size"
|
||||
android:layout_marginEnd="10dp"
|
||||
android:src="@drawable/clock_countdown"
|
||||
android:contentDescription="@string/content_description_chat_ephemeral_enabled"
|
||||
android:visibility="@{model.isEphemeral ? View.VISIBLE : View.GONE}"
|
||||
app:layout_constraintEnd_toStartOf="@id/muted"
|
||||
app:layout_constraintTop_toBottomOf="@id/date_time"
|
||||
|
|
@ -167,6 +171,7 @@
|
|||
android:layout_marginStart="5dp"
|
||||
android:layout_marginEnd="10dp"
|
||||
android:src="@drawable/lock_simple_open_bold"
|
||||
android:contentDescription="@string/content_description_chat_unsecured"
|
||||
android:visibility="@{model.isEncrypted ? View.GONE : View.VISIBLE}"
|
||||
app:layout_constraintTop_toBottomOf="@id/date_time"
|
||||
app:layout_constraintBottom_toTopOf="@id/separator"
|
||||
|
|
|
|||
|
|
@ -52,6 +52,7 @@
|
|||
android:layout_width="0dp"
|
||||
android:layout_height="0dp"
|
||||
android:src="?attr/color_main2_000"
|
||||
android:contentDescription="@null"
|
||||
app:layout_constraintBottom_toTopOf="@id/bottom_nav_bar"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
|
|
@ -61,8 +62,9 @@
|
|||
android:id="@+id/no_conversation_image"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:src="@drawable/illu"
|
||||
android:layout_margin="10dp"
|
||||
android:src="@drawable/illu"
|
||||
android:contentDescription="@null"
|
||||
app:layout_constraintHeight_max="200dp"
|
||||
app:layout_constraintBottom_toTopOf="@id/no_conversation_label"
|
||||
app:layout_constraintDimensionRatio="1:1"
|
||||
|
|
@ -119,6 +121,7 @@
|
|||
android:layout_gravity="end|bottom"
|
||||
android:layout_margin="16dp"
|
||||
android:src="@drawable/chat_teardrop_plus"
|
||||
android:contentDescription="@string/content_description_chat_create"
|
||||
app:tint="?attr/color_on_main"
|
||||
app:backgroundTint="?attr/color_main1_500"
|
||||
app:shapeAppearanceOverlay="@style/rounded"
|
||||
|
|
|
|||
|
|
@ -22,6 +22,7 @@
|
|||
android:layout_margin="1dp"
|
||||
android:adjustViewBounds="true"
|
||||
android:scaleType="centerCrop"
|
||||
android:contentDescription="@{model.isVideoPreview ? @string/content_description_chat_bubble_video : @string/content_description_chat_bubble_image}"
|
||||
coilBubbleGrid="@{model.file}"
|
||||
app:layout_constraintDimensionRatio="1:1"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
|
|
@ -47,6 +48,7 @@
|
|||
android:layout_width="@dimen/icon_size"
|
||||
android:layout_height="@dimen/icon_size"
|
||||
android:src="@drawable/play_fill"
|
||||
android:contentDescription="@null"
|
||||
android:visibility="@{model.isVideoPreview ? View.VISIBLE : View.GONE, default=gone}"
|
||||
app:layout_constraintTop_toTopOf="@id/image"
|
||||
app:layout_constraintBottom_toBottomOf="@id/image"
|
||||
|
|
|
|||
|
|
@ -64,6 +64,7 @@
|
|||
android:layout_width="@dimen/icon_size"
|
||||
android:layout_height="@dimen/icon_size"
|
||||
android:src="@drawable/dots_three_vertical"
|
||||
android:contentDescription="@string/content_description_show_popup_menu"
|
||||
android:visibility="@{model.showMenu ? View.VISIBLE : View.GONE}"
|
||||
app:tint="?attr/color_grey_600"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
|
|
|
|||
|
|
@ -47,6 +47,7 @@
|
|||
android:layout_height="@dimen/icon_size"
|
||||
android:layout_marginEnd="10dp"
|
||||
android:src="@drawable/trusted"
|
||||
android:contentDescription="@string/content_description_contact_device_trusted"
|
||||
app:layout_constraintTop_toTopOf="parent"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
app:layout_constraintEnd_toEndOf="parent" />
|
||||
|
|
|
|||
|
|
@ -64,6 +64,7 @@
|
|||
android:padding="15dp"
|
||||
android:adjustViewBounds="true"
|
||||
android:src="@drawable/pencil_simple"
|
||||
android:contentDescription="@string/content_description_contact_edit"
|
||||
android:visibility="@{viewModel.isStored ? View.VISIBLE : View.GONE}"
|
||||
app:tint="?attr/color_main1_500"
|
||||
app:layout_constraintBottom_toBottomOf="@id/invisible_title"
|
||||
|
|
@ -149,6 +150,7 @@
|
|||
android:background="@drawable/circle_light_blue_button_background"
|
||||
android:padding="16dp"
|
||||
android:src="@drawable/phone"
|
||||
android:contentDescription="@string/content_description_call_start"
|
||||
app:tint="?attr/color_main2_500"
|
||||
app:layout_constraintEnd_toStartOf="@id/chat"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
|
|
@ -177,6 +179,7 @@
|
|||
android:background="@drawable/circle_light_blue_button_background"
|
||||
android:padding="16dp"
|
||||
android:src="@drawable/chat_teardrop_text"
|
||||
android:contentDescription="@string/content_description_chat_create"
|
||||
app:tint="?attr/color_main2_500"
|
||||
app:layout_constraintEnd_toStartOf="@id/video_call"
|
||||
app:layout_constraintStart_toEndOf="@id/call"
|
||||
|
|
@ -206,6 +209,7 @@
|
|||
android:background="@drawable/circle_light_blue_button_background"
|
||||
android:padding="16dp"
|
||||
android:src="@drawable/video_camera"
|
||||
android:contentDescription="@string/content_description_call_start_video"
|
||||
app:tint="?attr/color_main2_500"
|
||||
app:layout_constraintStart_toEndOf="@id/chat"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
|
|
@ -267,6 +271,7 @@
|
|||
android:layout_marginStart="16dp"
|
||||
android:layout_marginEnd="16dp"
|
||||
android:src="@drawable/shape_squircle_white_background"
|
||||
android:contentDescription="@null"
|
||||
android:visibility="@{viewModel.title.length() > 0 || viewModel.company.length() > 0 ? View.VISIBLE : View.GONE}"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
|
|
@ -377,6 +382,7 @@
|
|||
android:layout_marginStart="16dp"
|
||||
android:layout_marginEnd="16dp"
|
||||
android:src="@drawable/shape_squircle_white_background"
|
||||
android:contentDescription="@null"
|
||||
android:visibility="@{viewModel.expandDevicesTrust ? View.VISIBLE : View.GONE}"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
|
|
@ -472,19 +478,6 @@
|
|||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintTop_toBottomOf="@id/trust_background"/>
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/actions_background"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="0dp"
|
||||
android:layout_marginTop="8dp"
|
||||
android:layout_marginStart="16dp"
|
||||
android:layout_marginBottom="@dimen/screen_bottom_margin"
|
||||
android:layout_marginEnd="16dp"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintTop_toBottomOf="@id/actions"
|
||||
app:layout_constraintBottom_toBottomOf="parent" />
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="wrap_content"
|
||||
|
|
|
|||
|
|
@ -34,6 +34,7 @@
|
|||
android:layout_height="0dp"
|
||||
android:layout_marginStart="5dp"
|
||||
android:src="@drawable/primary_cell_background"
|
||||
android:contentDescription="@null"
|
||||
app:layout_constraintStart_toEndOf="@id/header"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintTop_toTopOf="parent"
|
||||
|
|
|
|||
|
|
@ -45,6 +45,7 @@
|
|||
android:layout_height="@dimen/icon_size"
|
||||
android:layout_marginStart="10dp"
|
||||
android:src="@drawable/x"
|
||||
android:contentDescription="@string/content_description_contact_remove_field"
|
||||
app:tint="?attr/color_main2_700"
|
||||
app:layout_constraintStart_toEndOf="@id/field"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
|
|
|
|||
|
|
@ -73,6 +73,7 @@
|
|||
android:layout_width="@dimen/avatar_big_size"
|
||||
android:layout_height="@dimen/avatar_big_size"
|
||||
android:layout_marginTop="8dp"
|
||||
android:contentDescription="@null"
|
||||
coil="@{viewModel.picturePath}"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
|
|
@ -84,6 +85,7 @@
|
|||
android:layout_height="0dp"
|
||||
android:padding="10dp"
|
||||
android:src="@drawable/smiley"
|
||||
android:contentDescription="@null"
|
||||
android:visibility="@{viewModel.picturePath.empty ? View.VISIBLE : View.GONE}"
|
||||
app:tint="@color/gray_main2_600"
|
||||
app:layout_constraintEnd_toEndOf="@id/avatar"
|
||||
|
|
@ -341,6 +343,7 @@
|
|||
android:layout_gravity="end|bottom"
|
||||
android:layout_margin="16dp"
|
||||
android:src="@drawable/check"
|
||||
android:contentDescription="@string/content_description_save_changes"
|
||||
app:tint="?attr/color_on_main"
|
||||
app:backgroundTint="?attr/color_main1_500"
|
||||
app:shapeAppearanceOverlay="@style/rounded"
|
||||
|
|
|
|||
|
|
@ -52,6 +52,7 @@
|
|||
android:layout_height="wrap_content"
|
||||
android:layout_marginEnd="10dp"
|
||||
android:src="@drawable/phone"
|
||||
android:contentDescription="@string/content_description_call_start"
|
||||
android:visibility="@{model.enabled ? View.VISIBLE : View.GONE}"
|
||||
app:tint="?attr/color_main2_600"
|
||||
app:layout_constraintTop_toTopOf="@id/header"
|
||||
|
|
|
|||
|
|
@ -54,6 +54,7 @@
|
|||
android:layout_height="0dp"
|
||||
android:layout_marginEnd="9dp"
|
||||
android:src="@drawable/funnel"
|
||||
android:contentDescription="@string/content_description_contacts_list_filters"
|
||||
android:visibility="@{viewModel.searchBarVisible ? View.GONE : View.VISIBLE}"
|
||||
app:tint="?attr/color_on_main"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
|
|
@ -118,8 +119,9 @@
|
|||
android:id="@+id/no_contacts_image"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:src="@drawable/illu"
|
||||
android:layout_margin="10dp"
|
||||
android:src="@drawable/illu"
|
||||
android:contentDescription="@null"
|
||||
app:layout_constraintHeight_max="200dp"
|
||||
app:layout_constraintBottom_toTopOf="@id/no_contacts_label"
|
||||
app:layout_constraintDimensionRatio="1:1"
|
||||
|
|
@ -168,6 +170,7 @@
|
|||
android:layout_gravity="end|bottom"
|
||||
android:layout_margin="16dp"
|
||||
android:src="@drawable/user_plus"
|
||||
android:contentDescription="@string/content_description_contact_create"
|
||||
app:tint="?attr/color_on_main"
|
||||
app:backgroundTint="?attr/color_main1_500"
|
||||
app:shapeAppearanceOverlay="@style/rounded"
|
||||
|
|
|
|||
|
|
@ -26,6 +26,7 @@
|
|||
android:layout_marginEnd="12dp"
|
||||
android:layout_marginBottom="2dp"
|
||||
android:src="@drawable/shape_dialog_background"
|
||||
android:contentDescription="@null"
|
||||
app:layout_constraintWidth_max="@dimen/dialog_max_width"
|
||||
app:layout_constraintBottom_toBottomOf="@id/anchor"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
|
|
|
|||
|
|
@ -23,6 +23,7 @@
|
|||
android:layout_marginEnd="12dp"
|
||||
android:layout_marginBottom="2dp"
|
||||
android:src="@drawable/shape_dialog_background"
|
||||
android:contentDescription="@null"
|
||||
android:clickable="true"
|
||||
android:focusable="true"
|
||||
app:layout_constraintWidth_max="@dimen/dialog_max_width"
|
||||
|
|
|
|||
|
|
@ -23,6 +23,7 @@
|
|||
android:layout_marginEnd="12dp"
|
||||
android:layout_marginBottom="2dp"
|
||||
android:src="@drawable/shape_dialog_background"
|
||||
android:contentDescription="@null"
|
||||
app:layout_constraintWidth_max="@dimen/dialog_max_width"
|
||||
app:layout_constraintBottom_toBottomOf="@id/anchor"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
|
|
|
|||
|
|
@ -24,6 +24,7 @@
|
|||
android:layout_marginEnd="12dp"
|
||||
android:layout_marginBottom="2dp"
|
||||
android:src="@drawable/shape_dialog_background"
|
||||
android:contentDescription="@null"
|
||||
app:layout_constraintWidth_max="@dimen/dialog_max_width"
|
||||
app:layout_constraintBottom_toBottomOf="@id/anchor"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
|
|
|
|||
|
|
@ -24,6 +24,7 @@
|
|||
android:layout_marginEnd="12dp"
|
||||
android:layout_marginBottom="2dp"
|
||||
android:src="@drawable/shape_dialog_background"
|
||||
android:contentDescription="@null"
|
||||
app:layout_constraintWidth_max="@dimen/dialog_max_width"
|
||||
app:layout_constraintBottom_toBottomOf="@id/anchor"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
|
|
|
|||
|
|
@ -24,6 +24,7 @@
|
|||
android:layout_marginEnd="12dp"
|
||||
android:layout_marginBottom="2dp"
|
||||
android:src="@drawable/shape_dialog_background"
|
||||
android:contentDescription="@null"
|
||||
app:layout_constraintBottom_toBottomOf="@id/anchor"
|
||||
app:layout_constraintWidth_max="@dimen/dialog_max_width"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
|
|
|
|||
|
|
@ -23,6 +23,7 @@
|
|||
android:layout_marginEnd="12dp"
|
||||
android:layout_marginBottom="2dp"
|
||||
android:src="@drawable/shape_dialog_background"
|
||||
android:contentDescription="@null"
|
||||
app:layout_constraintWidth_max="@dimen/dialog_max_width"
|
||||
app:layout_constraintBottom_toBottomOf="@id/anchor"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
|
|
|
|||
|
|
@ -23,6 +23,7 @@
|
|||
android:layout_marginEnd="12dp"
|
||||
android:layout_marginBottom="2dp"
|
||||
android:src="@drawable/shape_dialog_background"
|
||||
android:contentDescription="@null"
|
||||
app:layout_constraintWidth_max="@dimen/dialog_max_width"
|
||||
app:layout_constraintBottom_toBottomOf="@id/anchor"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
|
|
|
|||
|
|
@ -24,6 +24,7 @@
|
|||
android:layout_marginEnd="12dp"
|
||||
android:layout_marginBottom="2dp"
|
||||
android:src="@drawable/shape_dialog_background"
|
||||
android:contentDescription="@null"
|
||||
app:layout_constraintWidth_max="@dimen/dialog_max_width"
|
||||
app:layout_constraintBottom_toBottomOf="@id/anchor"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
|
|
|
|||
|
|
@ -24,6 +24,7 @@
|
|||
android:layout_marginEnd="12dp"
|
||||
android:layout_marginBottom="2dp"
|
||||
android:src="@drawable/shape_dialog_background"
|
||||
android:contentDescription="@null"
|
||||
app:layout_constraintWidth_max="@dimen/dialog_max_width"
|
||||
app:layout_constraintBottom_toBottomOf="@id/anchor"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
|
|
|
|||
|
|
@ -23,6 +23,7 @@
|
|||
android:layout_marginEnd="12dp"
|
||||
android:layout_marginBottom="2dp"
|
||||
android:src="@drawable/shape_dialog_background"
|
||||
android:contentDescription="@null"
|
||||
app:layout_constraintWidth_max="@dimen/dialog_max_width"
|
||||
app:layout_constraintBottom_toBottomOf="@id/anchor"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
|
|
|
|||
|
|
@ -24,6 +24,7 @@
|
|||
android:layout_marginEnd="12dp"
|
||||
android:layout_marginBottom="2dp"
|
||||
android:src="@drawable/shape_dialog_background"
|
||||
android:contentDescription="@null"
|
||||
app:layout_constraintWidth_max="@dimen/dialog_max_width"
|
||||
app:layout_constraintBottom_toBottomOf="@id/anchor"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
|
|
|
|||
|
|
@ -24,6 +24,7 @@
|
|||
android:layout_marginEnd="12dp"
|
||||
android:layout_marginBottom="2dp"
|
||||
android:src="@drawable/shape_dialog_background"
|
||||
android:contentDescription="@null"
|
||||
app:layout_constraintWidth_max="@dimen/dialog_max_width"
|
||||
app:layout_constraintBottom_toBottomOf="@id/anchor"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
|
|
|
|||
|
|
@ -24,6 +24,7 @@
|
|||
android:layout_marginEnd="12dp"
|
||||
android:layout_marginBottom="2dp"
|
||||
android:src="@drawable/shape_dialog_background"
|
||||
android:contentDescription="@null"
|
||||
app:layout_constraintWidth_max="@dimen/dialog_max_width"
|
||||
app:layout_constraintBottom_toBottomOf="@id/anchor"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
|
|
|
|||
|
|
@ -24,6 +24,7 @@
|
|||
android:layout_marginEnd="12dp"
|
||||
android:layout_marginBottom="2dp"
|
||||
android:src="@drawable/shape_dialog_background"
|
||||
android:contentDescription="@null"
|
||||
app:layout_constraintWidth_max="@dimen/dialog_max_width"
|
||||
app:layout_constraintBottom_toBottomOf="@id/anchor"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
|
|
|
|||
|
|
@ -24,6 +24,7 @@
|
|||
android:layout_marginEnd="12dp"
|
||||
android:layout_marginBottom="2dp"
|
||||
android:src="@drawable/shape_dialog_background"
|
||||
android:contentDescription="@null"
|
||||
app:layout_constraintWidth_max="@dimen/dialog_max_width"
|
||||
app:layout_constraintBottom_toBottomOf="@id/anchor"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
|
|
|
|||
|
|
@ -24,6 +24,7 @@
|
|||
android:layout_marginEnd="12dp"
|
||||
android:layout_marginBottom="2dp"
|
||||
android:src="@drawable/shape_dialog_background"
|
||||
android:contentDescription="@null"
|
||||
app:layout_constraintWidth_max="@dimen/dialog_max_width"
|
||||
app:layout_constraintBottom_toBottomOf="@id/anchor"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
|
|
|
|||
|
|
@ -25,6 +25,7 @@
|
|||
android:layout_marginEnd="12dp"
|
||||
android:layout_marginBottom="2dp"
|
||||
android:src="@drawable/shape_dialog_background"
|
||||
android:contentDescription="@null"
|
||||
app:layout_constraintWidth_max="@dimen/dialog_max_width"
|
||||
app:layout_constraintBottom_toBottomOf="@id/anchor"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
|
|
@ -92,6 +93,7 @@
|
|||
android:layout_height="0dp"
|
||||
android:padding="4dp"
|
||||
android:layout_marginEnd="20dp"
|
||||
android:contentDescription="@string/content_description_toggle_password_visibility"
|
||||
android:src="@{viewModel.showPassword ? @drawable/eye_slash : @drawable/eye, default=@drawable/eye}"
|
||||
app:tint="?attr/color_main2_500"
|
||||
app:layout_constraintEnd_toEndOf="@id/password"
|
||||
|
|
|
|||
|
|
@ -24,6 +24,7 @@
|
|||
android:layout_marginEnd="12dp"
|
||||
android:layout_marginBottom="2dp"
|
||||
android:src="@drawable/shape_dialog_background"
|
||||
android:contentDescription="@null"
|
||||
app:layout_constraintWidth_max="@dimen/dialog_max_width"
|
||||
app:layout_constraintBottom_toBottomOf="@id/anchor"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
|
|
|
|||
|
|
@ -32,6 +32,7 @@
|
|||
android:layout_marginStart="26dp"
|
||||
android:layout_marginTop="30dp"
|
||||
android:src="@drawable/linphone_notification"
|
||||
android:contentDescription="@string/app_name"
|
||||
app:layout_constraintTop_toTopOf="parent"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:tint="@color/main1_500" />
|
||||
|
|
@ -79,6 +80,7 @@
|
|||
android:layout_height="wrap_content"
|
||||
android:src="@drawable/illu"
|
||||
android:layout_margin="10dp"
|
||||
android:contentDescription="@null"
|
||||
app:layout_constraintHeight_max="200dp"
|
||||
app:layout_constraintBottom_toTopOf="@id/no_contacts_label"
|
||||
app:layout_constraintDimensionRatio="1:1"
|
||||
|
|
|
|||
|
|
@ -32,6 +32,7 @@
|
|||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:padding="8dp"
|
||||
android:contentDescription="@string/content_description_play_pause_video_playback"
|
||||
android:src="@{viewModel.isVideoPlaying ? @drawable/pause_fill : @drawable/play_fill, default=@drawable/play_fill}"
|
||||
android:visibility="@{viewModel.isVideo && !viewModel.fullScreenMode ? View.VISIBLE : View.GONE, default=gone}"
|
||||
app:layout_constraintTop_toTopOf="parent"
|
||||
|
|
|
|||
|
|
@ -67,6 +67,7 @@
|
|||
android:adjustViewBounds="true"
|
||||
android:padding="15dp"
|
||||
android:src="@drawable/share_network"
|
||||
android:contentDescription="@string/content_description_share_file"
|
||||
android:visibility="@{viewModel.fullScreenMode ? View.GONE : View.VISIBLE}"
|
||||
app:tint="?attr/color_main1_500"
|
||||
app:layout_constraintBottom_toBottomOf="@id/title"
|
||||
|
|
@ -82,6 +83,7 @@
|
|||
android:adjustViewBounds="true"
|
||||
android:padding="15dp"
|
||||
android:src="@drawable/download_simple"
|
||||
android:contentDescription="@string/content_description_save_file"
|
||||
android:visibility="@{viewModel.fullScreenMode ? View.GONE : View.VISIBLE}"
|
||||
app:tint="?attr/color_main1_500"
|
||||
app:layout_constraintBottom_toBottomOf="@id/title"
|
||||
|
|
|
|||
|
|
@ -108,6 +108,7 @@
|
|||
android:adjustViewBounds="true"
|
||||
android:padding="15dp"
|
||||
android:src="@drawable/share_network"
|
||||
android:contentDescription="@string/content_description_share_file"
|
||||
android:visibility="@{viewModel.fullScreenMode ? View.GONE : View.VISIBLE}"
|
||||
app:tint="?attr/color_main1_500"
|
||||
app:layout_constraintBottom_toBottomOf="@id/title"
|
||||
|
|
@ -123,6 +124,7 @@
|
|||
android:adjustViewBounds="true"
|
||||
android:padding="15dp"
|
||||
android:src="@drawable/download_simple"
|
||||
android:contentDescription="@string/content_description_save_file"
|
||||
android:visibility="@{viewModel.fullScreenMode ? View.GONE : View.VISIBLE}"
|
||||
app:tint="?attr/color_main1_500"
|
||||
app:layout_constraintBottom_toBottomOf="@id/title"
|
||||
|
|
|
|||
|
|
@ -120,6 +120,7 @@
|
|||
android:layout_marginEnd="15dp"
|
||||
android:onClick="@{() -> viewModel.clearFilter()}"
|
||||
android:src="@drawable/x"
|
||||
android:contentDescription="@string/content_description_clear_filter"
|
||||
android:visibility="@{viewModel.searchFilter.length() > 0 ? View.VISIBLE : View.GONE, default=gone}"
|
||||
app:layout_constraintBottom_toBottomOf="@id/search_bar"
|
||||
app:layout_constraintEnd_toEndOf="@id/search_bar"
|
||||
|
|
@ -132,6 +133,7 @@
|
|||
android:layout_height="0dp"
|
||||
android:layout_margin="10dp"
|
||||
android:src="@drawable/illu"
|
||||
android:contentDescription="@null"
|
||||
android:visibility="@{viewModel.contactsAndSuggestionsList.size() == 0 ? View.VISIBLE : View.GONE}"
|
||||
app:layout_constraintDimensionRatio="1:1"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
|
|
@ -173,6 +175,7 @@
|
|||
android:layout_margin="16dp"
|
||||
android:visibility="@{viewModel.selection.size() > 0 ? View.VISIBLE : View.GONE}"
|
||||
android:src="@drawable/check"
|
||||
android:contentDescription="@string/content_description_confirm_new_participants_list"
|
||||
app:tint="?attr/color_on_main"
|
||||
app:backgroundTint="?attr/color_main1_500"
|
||||
app:shapeAppearanceOverlay="@style/rounded"
|
||||
|
|
|
|||
|
|
@ -140,6 +140,7 @@
|
|||
android:layout_height="32dp"
|
||||
android:layout_marginStart="16dp"
|
||||
android:src="@drawable/info"
|
||||
android:contentDescription="@null"
|
||||
app:tint="?attr/color_main1_500"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintEnd_toStartOf="@id/app_version_title"
|
||||
|
|
@ -179,6 +180,7 @@
|
|||
android:layout_height="32dp"
|
||||
android:layout_marginStart="16dp"
|
||||
android:src="@drawable/info"
|
||||
android:contentDescription="@null"
|
||||
app:tint="?attr/color_main1_500"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintEnd_toStartOf="@id/sdk_version_title"
|
||||
|
|
|
|||
|
|
@ -81,6 +81,7 @@
|
|||
android:layout_height="32dp"
|
||||
android:layout_marginStart="16dp"
|
||||
android:src="@drawable/detective"
|
||||
android:contentDescription="@null"
|
||||
app:tint="?attr/color_main1_500"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintEnd_toStartOf="@id/privacy_policy_title"
|
||||
|
|
@ -122,6 +123,7 @@
|
|||
android:layout_height="32dp"
|
||||
android:layout_marginStart="16dp"
|
||||
android:src="@drawable/info"
|
||||
android:contentDescription="@null"
|
||||
app:tint="?attr/color_main1_500"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintEnd_toStartOf="@id/version_title"
|
||||
|
|
@ -184,6 +186,7 @@
|
|||
android:layout_height="32dp"
|
||||
android:layout_marginStart="16dp"
|
||||
android:src="@drawable/check_square_offset"
|
||||
android:contentDescription="@null"
|
||||
app:tint="?attr/color_main1_500"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintEnd_toStartOf="@id/open_source_licenses_title"
|
||||
|
|
@ -226,6 +229,7 @@
|
|||
android:layout_height="32dp"
|
||||
android:layout_marginStart="16dp"
|
||||
android:src="@drawable/globe_hemisphere_west"
|
||||
android:contentDescription="@null"
|
||||
app:tint="?attr/color_main1_500"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintEnd_toStartOf="@id/translate_title"
|
||||
|
|
@ -265,6 +269,7 @@
|
|||
android:layout_height="32dp"
|
||||
android:layout_marginStart="16dp"
|
||||
android:src="@drawable/wrench"
|
||||
android:contentDescription="@null"
|
||||
app:tint="?attr/color_main1_500"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintEnd_toStartOf="@id/debug_title"
|
||||
|
|
|
|||
|
|
@ -25,6 +25,7 @@
|
|||
android:layout_height="12dp"
|
||||
android:layout_marginStart="2dp"
|
||||
android:src="@{model.iconResId, default=@drawable/outgoing_call}"
|
||||
android:contentDescription="@null"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toTopOf="parent" />
|
||||
|
||||
|
|
|
|||
|
|
@ -61,6 +61,7 @@
|
|||
android:padding="15dp"
|
||||
android:adjustViewBounds="true"
|
||||
android:src="@drawable/dots_three_vertical"
|
||||
android:contentDescription="@string/content_description_show_popup_menu"
|
||||
app:tint="?attr/color_main1_500"
|
||||
app:layout_constraintBottom_toBottomOf="@id/title"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
|
|
@ -155,6 +156,7 @@
|
|||
android:background="@drawable/circle_light_blue_button_background"
|
||||
android:padding="16dp"
|
||||
android:src="@drawable/phone"
|
||||
android:contentDescription="@string/content_description_call_start"
|
||||
android:visibility="@{viewModel.isConferenceCallLog ? View.GONE : View.VISIBLE}"
|
||||
app:tint="?attr/color_main2_500"
|
||||
app:layout_constraintEnd_toStartOf="@id/chat"
|
||||
|
|
@ -184,6 +186,7 @@
|
|||
android:background="@drawable/circle_light_blue_button_background"
|
||||
android:padding="16dp"
|
||||
android:src="@drawable/chat_teardrop_text"
|
||||
android:contentDescription="@string/content_description_chat_create"
|
||||
android:visibility="@{viewModel.chatDisabled || viewModel.isConferenceCallLog ? View.GONE : View.VISIBLE}"
|
||||
app:tint="?attr/color_main2_500"
|
||||
app:layout_constraintEnd_toStartOf="@id/video_call"
|
||||
|
|
@ -213,6 +216,7 @@
|
|||
android:background="@drawable/circle_light_blue_button_background"
|
||||
android:padding="16dp"
|
||||
android:src="@drawable/video_camera"
|
||||
android:contentDescription="@string/content_description_call_start_video"
|
||||
android:visibility="@{viewModel.videoCallDisabled || viewModel.isConferenceCallLog ? View.GONE : View.VISIBLE}"
|
||||
app:tint="?attr/color_main2_500"
|
||||
app:layout_constraintStart_toEndOf="@id/chat"
|
||||
|
|
@ -242,6 +246,7 @@
|
|||
android:background="@drawable/circle_light_blue_button_background"
|
||||
android:padding="16dp"
|
||||
android:src="@drawable/video_conference"
|
||||
android:contentDescription="@string/content_description_join_conference"
|
||||
android:visibility="@{viewModel.isConferenceCallLog ? View.VISIBLE : View.GONE, default=gone}"
|
||||
app:tint="?attr/color_main2_500"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
|
|
|
|||
|
|
@ -62,6 +62,7 @@
|
|||
android:layout_height="12dp"
|
||||
android:layout_marginBottom="10dp"
|
||||
android:src="@{model.iconResId, default=@drawable/outgoing_call}"
|
||||
android:contentDescription="@null"
|
||||
app:layout_constraintStart_toStartOf="@id/name"
|
||||
app:layout_constraintTop_toBottomOf="@id/name"
|
||||
app:layout_constraintBottom_toTopOf="@id/separator" />
|
||||
|
|
@ -87,6 +88,7 @@
|
|||
android:layout_height="@dimen/icon_size"
|
||||
android:layout_marginEnd="6dp"
|
||||
android:src="@drawable/phone"
|
||||
android:contentDescription="@string/content_description_call_start"
|
||||
app:tint="?attr/color_main2_500"
|
||||
android:visibility="@{model.wasConference ? View.GONE : View.VISIBLE}"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
|
|
|
|||
|
|
@ -60,6 +60,7 @@
|
|||
android:layout_height="0dp"
|
||||
android:layout_marginEnd="9dp"
|
||||
android:src="@drawable/dots_three_vertical"
|
||||
android:contentDescription="@string/content_description_show_popup_menu"
|
||||
android:visibility="@{viewModel.searchBarVisible ? View.GONE : View.VISIBLE}"
|
||||
app:tint="?attr/color_on_main"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
|
|
@ -71,6 +72,7 @@
|
|||
android:layout_width="0dp"
|
||||
android:layout_height="0dp"
|
||||
android:src="?attr/color_main2_000"
|
||||
android:contentDescription="@null"
|
||||
app:layout_constraintBottom_toTopOf="@id/bottom_nav_bar"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
|
|
@ -80,8 +82,9 @@
|
|||
android:id="@+id/no_calls_image"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:src="@drawable/illu"
|
||||
android:layout_margin="10dp"
|
||||
android:src="@drawable/illu"
|
||||
android:contentDescription="@null"
|
||||
app:layout_constraintHeight_max="200dp"
|
||||
app:layout_constraintBottom_toTopOf="@id/no_calls_label"
|
||||
app:layout_constraintDimensionRatio="1:1"
|
||||
|
|
@ -138,6 +141,7 @@
|
|||
android:layout_gravity="end|bottom"
|
||||
android:layout_margin="16dp"
|
||||
android:src="@drawable/phone_plus"
|
||||
android:contentDescription="@string/content_description_call_start"
|
||||
app:tint="?attr/color_on_main"
|
||||
app:backgroundTint="?attr/color_main1_500"
|
||||
app:shapeAppearanceOverlay="@style/rounded"
|
||||
|
|
|
|||
Some files were not shown because too many files have changed in this diff Show more
Loading…
Add table
Reference in a new issue