mirror of
https://gitlab.linphone.org/BC/public/linphone-android.git
synced 2026-01-17 03:18:06 +00:00
Added pressed/hover effect to icons that can be clicked
This commit is contained in:
parent
c25ed404dc
commit
496279d724
70 changed files with 280 additions and 76 deletions
|
|
@ -76,8 +76,13 @@ class RecordingsListViewModel
|
|||
|
||||
@UiThread
|
||||
fun clearFilter() {
|
||||
if (searchFilter.value.orEmpty().isEmpty()) {
|
||||
searchBarVisible.value = false
|
||||
focusSearchBarEvent.value = Event(false)
|
||||
} else {
|
||||
searchFilter.value = ""
|
||||
}
|
||||
}
|
||||
|
||||
@UiThread
|
||||
fun applyFilter(filter: String) {
|
||||
|
|
|
|||
11
app/src/main/res/drawable/account_list_background.xml
Normal file
11
app/src/main/res/drawable/account_list_background.xml
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<selector xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<item android:state_selected="true"
|
||||
android:drawable="@drawable/shape_rectangle_gray_background" />
|
||||
<item android:state_pressed="true"
|
||||
android:drawable="@drawable/shape_rectangle_gray_background" />
|
||||
<item android:state_hovered="true"
|
||||
android:drawable="@drawable/shape_rectangle_gray_background" />
|
||||
<item
|
||||
android:drawable="@drawable/shape_rectangle_white_background" />
|
||||
</selector>
|
||||
|
|
@ -0,0 +1,9 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<selector xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<item android:state_pressed="true"
|
||||
android:drawable="@drawable/shape_circle_light_blue_background" />
|
||||
<item android:state_hovered="true"
|
||||
android:drawable="@drawable/shape_circle_light_blue_background" />
|
||||
<item
|
||||
android:drawable="@drawable/shape_circle_transparent_background" />
|
||||
</selector>
|
||||
|
|
@ -0,0 +1,9 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<selector xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<item android:state_pressed="true"
|
||||
android:drawable="@drawable/shape_circle_dark_pressed_background" />
|
||||
<item android:state_hovered="true"
|
||||
android:drawable="@drawable/shape_circle_dark_pressed_background" />
|
||||
<item
|
||||
android:drawable="@drawable/shape_circle_transparent_background" />
|
||||
</selector>
|
||||
|
|
@ -0,0 +1,5 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<shape xmlns:android="http://schemas.android.com/apk/res/android" android:shape="oval">
|
||||
<size android:width="44dp" android:height="44dp" />
|
||||
<solid android:color="@color/gray_main2_400"/>
|
||||
</shape>
|
||||
|
|
@ -0,0 +1,5 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<shape xmlns:android="http://schemas.android.com/apk/res/android" android:shape="oval">
|
||||
<size android:width="60dp" android:height="60dp" />
|
||||
<solid android:color="@color/transparent_color"/>
|
||||
</shape>
|
||||
|
|
@ -135,6 +135,7 @@
|
|||
android:adjustViewBounds="true"
|
||||
android:padding="15dp"
|
||||
android:src="@drawable/caret_left"
|
||||
android:background="@drawable/circle_transparent_dark_button_background"
|
||||
android:contentDescription="@string/content_description_go_back_icon"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toBottomOf="@id/hinge_top"
|
||||
|
|
@ -203,8 +204,11 @@
|
|||
android:layout_marginStart="5dp"
|
||||
android:layout_marginEnd="5dp"
|
||||
android:src="@drawable/camera_rotate"
|
||||
android:adjustViewBounds="true"
|
||||
android:contentDescription="@string/content_description_change_camera"
|
||||
android:background="@drawable/circle_transparent_dark_button_background"
|
||||
android:visibility="@{!viewModel.fullScreenMode && !viewModel.pipMode && viewModel.isSendingVideo && viewModel.showSwitchCamera ? View.VISIBLE : View.GONE}"
|
||||
app:layout_constraintDimensionRatio="1:1"
|
||||
app:tint="@color/bc_white"
|
||||
app:layout_constraintTop_toTopOf="@id/back"
|
||||
app:layout_constraintBottom_toBottomOf="@id/back"
|
||||
|
|
@ -230,9 +234,12 @@
|
|||
android:layout_height="0dp"
|
||||
android:padding="10dp"
|
||||
android:src="@{viewModel.qualityIcon, default=@drawable/cell_signal_full}"
|
||||
android:adjustViewBounds="true"
|
||||
android:contentDescription="@string/content_description_show_call_statistics"
|
||||
android:background="@drawable/circle_transparent_dark_button_background"
|
||||
android:visibility="@{!viewModel.fullScreenMode && !viewModel.pipMode && !(viewModel.isPaused || viewModel.isPausedByRemote) ? View.VISIBLE : View.GONE}"
|
||||
android:tint="@{viewModel.qualityValue >= 2 ? @color/bc_white : viewModel.qualityValue >= 1 ? @color/orange_warning_600 : @color/red_danger_500, default=@color/bc_white}"
|
||||
app:layout_constraintDimensionRatio="1:1"
|
||||
app:layout_constraintTop_toTopOf="@id/back"
|
||||
app:layout_constraintBottom_toBottomOf="@id/back"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
|
|
|
|||
|
|
@ -33,7 +33,7 @@
|
|||
android:padding="15dp"
|
||||
android:src="@drawable/caret_left"
|
||||
android:contentDescription="@string/content_description_go_back_icon"
|
||||
android:background="?attr/color_main2_000"
|
||||
android:background="@drawable/circle_transparent_button_background"
|
||||
app:tint="?attr/color_main1_500"
|
||||
app:layout_constraintBottom_toBottomOf="@id/title"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
|
|
|
|||
|
|
@ -80,10 +80,12 @@
|
|||
android:layout_width="wrap_content"
|
||||
android:layout_height="0dp"
|
||||
android:layout_marginEnd="5dp"
|
||||
android:paddingStart="15dp"
|
||||
android:paddingEnd="15dp"
|
||||
android:padding="15dp"
|
||||
android:src="@drawable/magnifying_glass"
|
||||
android:adjustViewBounds="true"
|
||||
android:background="@drawable/circle_transparent_button_background"
|
||||
android:contentDescription="@string/content_description_open_filter"
|
||||
app:layout_constraintDimensionRatio="1:1"
|
||||
app:layout_constraintBottom_toBottomOf="@id/title"
|
||||
app:layout_constraintEnd_toStartOf="@id/extra_action"
|
||||
app:layout_constraintTop_toTopOf="@id/title"
|
||||
|
|
@ -95,11 +97,13 @@
|
|||
android:layout_width="wrap_content"
|
||||
android:layout_height="0dp"
|
||||
android:layout_marginEnd="5dp"
|
||||
android:paddingStart="15dp"
|
||||
android:paddingEnd="15dp"
|
||||
android:padding="15dp"
|
||||
android:src="@{extraActionIcon, default=@drawable/dots_three_vertical}"
|
||||
android:adjustViewBounds="true"
|
||||
android:background="@drawable/circle_transparent_button_background"
|
||||
android:contentDescription="@{extraActionContentDescription}"
|
||||
android:visibility="@{enableExtraAction ? View.VISIBLE : View.GONE, default=gone}"
|
||||
app:layout_constraintDimensionRatio="1:1"
|
||||
app:layout_constraintBottom_toBottomOf="@id/title"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintTop_toTopOf="@id/title"
|
||||
|
|
@ -111,10 +115,12 @@
|
|||
android:layout_width="wrap_content"
|
||||
android:layout_height="0dp"
|
||||
android:layout_marginStart="5dp"
|
||||
android:paddingStart="15dp"
|
||||
android:paddingEnd="15dp"
|
||||
android:padding="15dp"
|
||||
android:src="@drawable/caret_left"
|
||||
android:adjustViewBounds="true"
|
||||
android:background="@drawable/circle_transparent_button_background"
|
||||
android:contentDescription="@string/content_description_cancel_filter"
|
||||
app:layout_constraintDimensionRatio="1:1"
|
||||
app:layout_constraintBottom_toBottomOf="@id/search"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toTopOf="@id/search"
|
||||
|
|
@ -157,10 +163,12 @@
|
|||
android:layout_width="wrap_content"
|
||||
android:layout_height="0dp"
|
||||
android:layout_marginEnd="5dp"
|
||||
android:paddingStart="15dp"
|
||||
android:paddingEnd="15dp"
|
||||
android:padding="15dp"
|
||||
android:src="@drawable/x"
|
||||
android:adjustViewBounds="true"
|
||||
android:background="@drawable/circle_transparent_button_background"
|
||||
android:contentDescription="@string/content_description_clear_filter"
|
||||
app:layout_constraintDimensionRatio="1:1"
|
||||
app:layout_constraintBottom_toBottomOf="@id/search"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintTop_toTopOf="@id/search"
|
||||
|
|
|
|||
|
|
@ -34,6 +34,7 @@
|
|||
android:padding="15dp"
|
||||
android:src="@drawable/caret_left"
|
||||
android:contentDescription="@string/content_description_go_back_icon"
|
||||
android:background="@drawable/circle_transparent_button_background"
|
||||
app:tint="?attr/color_main1_500"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toTopOf="parent" />
|
||||
|
|
|
|||
|
|
@ -50,14 +50,13 @@
|
|||
style="@style/default_text_style_800"
|
||||
android:id="@+id/title"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_height="0dp"
|
||||
android:layout_marginStart="15dp"
|
||||
android:layout_marginEnd="10dp"
|
||||
android:gravity="center_vertical"
|
||||
android:text="@{viewModel.title, default=`Title`}"
|
||||
android:textColor="?attr/color_text"
|
||||
android:textSize="28sp"
|
||||
app:layout_constraintVertical_bias="1"
|
||||
app:layout_constraintEnd_toStartOf="@id/search_toggle"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toTopOf="parent"
|
||||
|
|
@ -69,10 +68,12 @@
|
|||
android:layout_width="wrap_content"
|
||||
android:layout_height="0dp"
|
||||
android:layout_marginEnd="5dp"
|
||||
android:paddingStart="15dp"
|
||||
android:paddingEnd="15dp"
|
||||
android:padding="15dp"
|
||||
android:src="@drawable/magnifying_glass"
|
||||
android:adjustViewBounds="true"
|
||||
android:background="@drawable/circle_transparent_button_background"
|
||||
android:contentDescription="@string/content_description_open_filter"
|
||||
app:layout_constraintDimensionRatio="1:1"
|
||||
app:layout_constraintBottom_toBottomOf="@id/title"
|
||||
app:layout_constraintEnd_toStartOf="@id/extra_action"
|
||||
app:layout_constraintTop_toTopOf="@id/title"
|
||||
|
|
@ -84,11 +85,13 @@
|
|||
android:layout_width="wrap_content"
|
||||
android:layout_height="0dp"
|
||||
android:layout_marginEnd="5dp"
|
||||
android:paddingStart="15dp"
|
||||
android:paddingEnd="15dp"
|
||||
android:padding="15dp"
|
||||
android:src="@{extraActionIcon, default=@drawable/dots_three_vertical}"
|
||||
android:adjustViewBounds="true"
|
||||
android:background="@drawable/circle_transparent_button_background"
|
||||
android:contentDescription="@{extraActionContentDescription}"
|
||||
android:visibility="@{enableExtraAction ? View.VISIBLE : View.GONE, default=gone}"
|
||||
app:layout_constraintDimensionRatio="1:1"
|
||||
app:layout_constraintBottom_toBottomOf="@id/title"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintTop_toTopOf="@id/title"
|
||||
|
|
@ -100,10 +103,12 @@
|
|||
android:layout_width="wrap_content"
|
||||
android:layout_height="0dp"
|
||||
android:layout_marginStart="5dp"
|
||||
android:paddingStart="15dp"
|
||||
android:paddingEnd="15dp"
|
||||
android:padding="15dp"
|
||||
android:src="@drawable/caret_left"
|
||||
android:adjustViewBounds="true"
|
||||
android:background="@drawable/circle_transparent_button_background"
|
||||
android:contentDescription="@string/content_description_cancel_filter"
|
||||
app:layout_constraintDimensionRatio="1:1"
|
||||
app:layout_constraintBottom_toBottomOf="@id/search"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toTopOf="@id/search"
|
||||
|
|
@ -146,10 +151,12 @@
|
|||
android:layout_width="wrap_content"
|
||||
android:layout_height="0dp"
|
||||
android:layout_marginEnd="5dp"
|
||||
android:paddingStart="15dp"
|
||||
android:paddingEnd="15dp"
|
||||
android:padding="15dp"
|
||||
android:src="@drawable/x"
|
||||
android:adjustViewBounds="true"
|
||||
android:contentDescription="@string/content_description_clear_filter"
|
||||
android:background="@drawable/circle_transparent_button_background"
|
||||
app:layout_constraintDimensionRatio="1:1"
|
||||
app:layout_constraintBottom_toBottomOf="@id/search"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintTop_toTopOf="@id/search"
|
||||
|
|
|
|||
|
|
@ -57,6 +57,7 @@
|
|||
android:padding="15dp"
|
||||
android:src="@drawable/caret_left"
|
||||
android:contentDescription="@string/content_description_go_back_icon"
|
||||
android:background="@drawable/circle_transparent_button_background"
|
||||
android:visibility="@{viewModel.showBackButton ? View.VISIBLE : View.INVISIBLE, default=invisible}"
|
||||
app:tint="?attr/color_main2_500"
|
||||
app:layout_constraintTop_toTopOf="@id/title"
|
||||
|
|
|
|||
|
|
@ -47,6 +47,7 @@
|
|||
android:padding="15dp"
|
||||
android:src="@drawable/caret_left"
|
||||
android:contentDescription="@string/content_description_go_back_icon"
|
||||
android:background="@drawable/circle_transparent_button_background"
|
||||
app:tint="?attr/color_main2_500"
|
||||
app:layout_constraintTop_toTopOf="@id/title"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
|
|
|
|||
|
|
@ -44,6 +44,7 @@
|
|||
android:padding="15dp"
|
||||
android:src="@drawable/caret_left"
|
||||
android:contentDescription="@string/content_description_go_back_icon"
|
||||
android:background="@drawable/circle_transparent_button_background"
|
||||
android:visibility="invisible"
|
||||
app:tint="?attr/color_main2_500"
|
||||
app:layout_constraintTop_toTopOf="@id/title"
|
||||
|
|
|
|||
|
|
@ -71,6 +71,7 @@
|
|||
android:padding="15dp"
|
||||
android:src="@drawable/caret_left"
|
||||
android:contentDescription="@string/content_description_go_back_icon"
|
||||
android:background="@drawable/circle_transparent_button_background"
|
||||
app:tint="?attr/color_main2_500"
|
||||
app:layout_constraintTop_toTopOf="@id/title"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
|
|
|
|||
|
|
@ -45,6 +45,7 @@
|
|||
android:padding="15dp"
|
||||
android:src="@drawable/caret_left"
|
||||
android:contentDescription="@string/content_description_go_back_icon"
|
||||
android:background="@drawable/circle_transparent_button_background"
|
||||
app:tint="?attr/color_main2_500"
|
||||
app:layout_constraintTop_toTopOf="@id/title"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
|
|
|
|||
|
|
@ -51,6 +51,7 @@
|
|||
android:padding="15dp"
|
||||
android:src="@drawable/caret_left"
|
||||
android:contentDescription="@string/content_description_go_back_icon"
|
||||
android:background="@drawable/circle_transparent_button_background"
|
||||
app:tint="?attr/color_main2_500"
|
||||
app:layout_constraintTop_toTopOf="@id/title"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
|
|
|
|||
|
|
@ -15,7 +15,8 @@
|
|||
android:onClick="@{() -> model.setAsDefault()}"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:background="@{model.isDefault ? @drawable/color_main2_100 : @drawable/color_main2_000, default=@drawable/color_main2_100}">
|
||||
android:selected="@{model.isDefault}"
|
||||
android:background="@drawable/account_list_background">
|
||||
|
||||
<androidx.constraintlayout.widget.Barrier
|
||||
android:id="@+id/end_barrier"
|
||||
|
|
@ -129,7 +130,9 @@
|
|||
android:padding="15dp"
|
||||
android:adjustViewBounds="true"
|
||||
android:contentDescription="@string/content_description_open_drawer_menu_icon"
|
||||
android:background="@drawable/circle_transparent_button_background"
|
||||
android:src="@drawable/dots_three_vertical"
|
||||
app:layout_constraintDimensionRatio="1:1"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintTop_toTopOf="@id/name"
|
||||
app:layout_constraintBottom_toBottomOf="@id/register_status"
|
||||
|
|
|
|||
|
|
@ -51,6 +51,7 @@
|
|||
android:padding="15dp"
|
||||
android:src="@drawable/caret_left"
|
||||
android:contentDescription="@string/content_description_go_back_icon"
|
||||
android:background="@drawable/circle_transparent_button_background"
|
||||
app:tint="?attr/color_main1_500"
|
||||
app:layout_constraintBottom_toBottomOf="@id/title"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
|
|
|
|||
|
|
@ -36,6 +36,7 @@
|
|||
android:padding="15dp"
|
||||
android:src="@drawable/caret_left"
|
||||
android:contentDescription="@string/content_description_go_back_icon"
|
||||
android:background="@drawable/circle_transparent_button_background"
|
||||
app:tint="?attr/color_main1_500"
|
||||
app:layout_constraintBottom_toBottomOf="@id/title"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
|
|
|
|||
|
|
@ -30,6 +30,7 @@
|
|||
android:padding="15dp"
|
||||
android:src="@drawable/caret_left"
|
||||
android:contentDescription="@string/content_description_go_back_icon"
|
||||
android:background="@drawable/circle_transparent_button_background"
|
||||
app:tint="?attr/color_main1_500"
|
||||
app:layout_constraintBottom_toBottomOf="@id/title"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
|
|
|
|||
|
|
@ -43,6 +43,7 @@
|
|||
android:padding="15dp"
|
||||
android:src="@drawable/caret_left"
|
||||
android:contentDescription="@string/content_description_go_back_icon"
|
||||
android:background="@drawable/circle_transparent_button_background"
|
||||
android:visibility="@{viewModel.showBackButton ? View.VISIBLE : View.INVISIBLE, default=invisible}"
|
||||
app:tint="?attr/color_main2_500"
|
||||
app:layout_constraintTop_toTopOf="parent"
|
||||
|
|
|
|||
|
|
@ -46,6 +46,7 @@
|
|||
android:padding="15dp"
|
||||
android:src="@drawable/caret_left"
|
||||
android:contentDescription="@string/content_description_go_back_icon"
|
||||
android:background="@drawable/circle_transparent_button_background"
|
||||
app:tint="?attr/color_main2_500"
|
||||
app:layout_constraintTop_toTopOf="parent"
|
||||
app:layout_constraintStart_toStartOf="parent"/>
|
||||
|
|
|
|||
|
|
@ -37,6 +37,7 @@
|
|||
android:padding="15dp"
|
||||
android:src="@drawable/caret_left"
|
||||
android:contentDescription="@string/content_description_go_back_icon"
|
||||
android:background="@drawable/circle_transparent_button_background"
|
||||
app:tint="@color/bc_white"
|
||||
app:layout_constraintTop_toTopOf="parent"
|
||||
app:layout_constraintStart_toStartOf="parent"/>
|
||||
|
|
|
|||
|
|
@ -30,6 +30,7 @@
|
|||
android:padding="15dp"
|
||||
android:src="@drawable/caret_left"
|
||||
android:contentDescription="@string/content_description_go_back_icon"
|
||||
android:background="@drawable/circle_transparent_button_background"
|
||||
app:tint="?attr/color_main2_500"
|
||||
app:layout_constraintTop_toTopOf="parent"
|
||||
app:layout_constraintStart_toStartOf="parent"/>
|
||||
|
|
|
|||
|
|
@ -64,6 +64,7 @@
|
|||
android:padding="15dp"
|
||||
android:src="@drawable/caret_left"
|
||||
android:contentDescription="@string/content_description_go_back_icon"
|
||||
android:background="@drawable/circle_transparent_button_background"
|
||||
app:tint="?attr/color_main2_500"
|
||||
app:layout_constraintTop_toTopOf="parent"
|
||||
app:layout_constraintStart_toStartOf="parent"/>
|
||||
|
|
|
|||
|
|
@ -31,6 +31,7 @@
|
|||
android:padding="15dp"
|
||||
android:src="@drawable/caret_left"
|
||||
android:contentDescription="@string/content_description_go_back_icon"
|
||||
android:background="@drawable/circle_transparent_button_background"
|
||||
app:tint="?attr/color_main2_500"
|
||||
app:layout_constraintTop_toTopOf="parent"
|
||||
app:layout_constraintStart_toStartOf="parent"/>
|
||||
|
|
|
|||
|
|
@ -37,6 +37,7 @@
|
|||
android:padding="15dp"
|
||||
android:src="@drawable/caret_left"
|
||||
android:contentDescription="@string/content_description_go_back_icon"
|
||||
android:background="@drawable/circle_transparent_button_background"
|
||||
app:tint="?attr/color_main2_500"
|
||||
app:layout_constraintTop_toTopOf="parent"
|
||||
app:layout_constraintStart_toStartOf="parent"/>
|
||||
|
|
|
|||
|
|
@ -79,6 +79,7 @@
|
|||
android:padding="15dp"
|
||||
android:src="@drawable/caret_left"
|
||||
android:contentDescription="@string/content_description_go_back_icon"
|
||||
android:background="@drawable/circle_transparent_dark_button_background"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toTopOf="@id/hinge_top"
|
||||
app:tint="@color/bc_white" />
|
||||
|
|
@ -143,8 +144,11 @@
|
|||
android:layout_marginStart="5dp"
|
||||
android:layout_marginEnd="5dp"
|
||||
android:src="@drawable/camera_rotate"
|
||||
android:adjustViewBounds="true"
|
||||
android:contentDescription="@string/content_description_change_camera"
|
||||
android:background="@drawable/circle_transparent_dark_button_background"
|
||||
android:visibility="@{!viewModel.fullScreenMode && !viewModel.pipMode && viewModel.showSwitchCamera && conferenceViewModel.isMeParticipantSendingVideo ? View.VISIBLE : View.GONE}"
|
||||
app:layout_constraintDimensionRatio="1:1"
|
||||
app:tint="@color/bc_white"
|
||||
app:layout_constraintTop_toTopOf="@id/back"
|
||||
app:layout_constraintBottom_toBottomOf="@id/back"
|
||||
|
|
@ -170,9 +174,12 @@
|
|||
android:layout_height="0dp"
|
||||
android:padding="10dp"
|
||||
android:src="@{viewModel.qualityIcon, default=@drawable/cell_signal_full}"
|
||||
android:adjustViewBounds="true"
|
||||
android:contentDescription="@string/content_description_show_call_statistics"
|
||||
android:background="@drawable/circle_transparent_dark_button_background"
|
||||
android:visibility="@{!viewModel.fullScreenMode && !viewModel.pipMode && !conferenceViewModel.isPaused ? View.VISIBLE : View.GONE}"
|
||||
android:tint="@{viewModel.qualityValue >= 2 ? @color/bc_white : viewModel.qualityValue >= 1 ? @color/orange_warning_600 : @color/red_danger_500, default=@color/bc_white}"
|
||||
app:layout_constraintDimensionRatio="1:1"
|
||||
app:layout_constraintTop_toTopOf="@id/back"
|
||||
app:layout_constraintBottom_toBottomOf="@id/back"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
|
|
|
|||
|
|
@ -132,6 +132,7 @@
|
|||
android:adjustViewBounds="true"
|
||||
android:padding="15dp"
|
||||
android:src="@drawable/caret_left"
|
||||
android:background="@drawable/circle_transparent_dark_button_background"
|
||||
android:contentDescription="@string/content_description_go_back_icon"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toBottomOf="@id/hinge_top"
|
||||
|
|
@ -200,8 +201,11 @@
|
|||
android:layout_marginStart="5dp"
|
||||
android:layout_marginEnd="5dp"
|
||||
android:src="@drawable/camera_rotate"
|
||||
android:adjustViewBounds="true"
|
||||
android:background="@drawable/circle_transparent_dark_button_background"
|
||||
android:contentDescription="@string/content_description_change_camera"
|
||||
android:visibility="@{!viewModel.fullScreenMode && !viewModel.pipMode && viewModel.isSendingVideo && viewModel.showSwitchCamera ? View.VISIBLE : View.GONE}"
|
||||
app:layout_constraintDimensionRatio="1:1"
|
||||
app:tint="@color/bc_white"
|
||||
app:layout_constraintTop_toTopOf="@id/back"
|
||||
app:layout_constraintBottom_toBottomOf="@id/back"
|
||||
|
|
@ -227,9 +231,12 @@
|
|||
android:layout_height="0dp"
|
||||
android:padding="10dp"
|
||||
android:src="@{viewModel.qualityIcon, default=@drawable/cell_signal_full}"
|
||||
android:adjustViewBounds="true"
|
||||
android:contentDescription="@string/content_description_show_call_statistics"
|
||||
android:background="@drawable/circle_transparent_dark_button_background"
|
||||
android:visibility="@{!viewModel.fullScreenMode && !viewModel.pipMode && !(viewModel.isPaused || viewModel.isPausedByRemote) ? View.VISIBLE : View.GONE}"
|
||||
android:tint="@{viewModel.qualityValue >= 2 ? @color/bc_white : viewModel.qualityValue >= 1 ? @color/orange_warning_600 : @color/red_danger_500, default=@color/bc_white}"
|
||||
app:layout_constraintDimensionRatio="1:1"
|
||||
app:layout_constraintTop_toTopOf="@id/back"
|
||||
app:layout_constraintBottom_toBottomOf="@id/back"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
|
|
|
|||
|
|
@ -32,6 +32,7 @@
|
|||
android:onClick="@{backClickListener}"
|
||||
android:src="@drawable/caret_left"
|
||||
android:contentDescription="@string/content_description_go_back_icon"
|
||||
android:background="@drawable/circle_transparent_button_background"
|
||||
app:tint="?attr/color_main1_500"
|
||||
app:layout_constraintBottom_toBottomOf="@id/title"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
|
|
@ -57,6 +58,7 @@
|
|||
android:padding="15dp"
|
||||
android:adjustViewBounds="true"
|
||||
android:src="@drawable/dots_three_vertical"
|
||||
android:background="@drawable/circle_transparent_button_background"
|
||||
android:contentDescription="@string/content_description_show_popup_menu"
|
||||
app:layout_constraintTop_toTopOf="parent"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
|
|
|
|||
|
|
@ -65,27 +65,16 @@
|
|||
app:layout_constraintStart_toEndOf="@id/hang_up"
|
||||
app:layout_constraintEnd_toStartOf="@id/toggle_mute_mic" />
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/toggle_mute_mic_background"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="0dp"
|
||||
android:selected="@{viewModel.isMicrophoneMuted}"
|
||||
android:background="@drawable/in_call_button_background_red"
|
||||
android:contentDescription="@null"
|
||||
app:layout_constraintTop_toTopOf="@id/toggle_mute_mic"
|
||||
app:layout_constraintBottom_toBottomOf="@id/toggle_mute_mic"
|
||||
app:layout_constraintStart_toStartOf="@id/toggle_mute_mic"
|
||||
app:layout_constraintEnd_toEndOf="@id/toggle_mute_mic" />
|
||||
|
||||
<org.linphone.ui.call.view.VuMeterView
|
||||
android:id="@+id/record_volume_vu_meter"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="0dp"
|
||||
android:background="@drawable/in_call_button_background_red"
|
||||
vuMeterPercentage="@{viewModel.microphoneRecordingVolume}"
|
||||
app:layout_constraintTop_toTopOf="@id/toggle_mute_mic_background"
|
||||
app:layout_constraintBottom_toBottomOf="@id/toggle_mute_mic_background"
|
||||
app:layout_constraintStart_toStartOf="@id/toggle_mute_mic_background"
|
||||
app:layout_constraintEnd_toEndOf="@id/toggle_mute_mic_background" />
|
||||
app:layout_constraintTop_toTopOf="@id/toggle_mute_mic"
|
||||
app:layout_constraintBottom_toBottomOf="@id/toggle_mute_mic"
|
||||
app:layout_constraintStart_toStartOf="@id/toggle_mute_mic"
|
||||
app:layout_constraintEnd_toEndOf="@id/toggle_mute_mic" />
|
||||
|
||||
<ImageView
|
||||
android:onClick="@{() -> viewModel.toggleMuteMicrophone()}"
|
||||
|
|
@ -96,12 +85,24 @@
|
|||
android:padding="@dimen/call_button_icon_padding"
|
||||
android:src="@{viewModel.isMicrophoneMuted ? @drawable/microphone_slash : @drawable/microphone, default=@drawable/microphone}"
|
||||
android:contentDescription="@string/content_description_toggle_microphone"
|
||||
android:background="@drawable/in_call_button_background_transparent"
|
||||
app:tint="@color/in_call_button_tint_color"
|
||||
app:layout_constraintTop_toBottomOf="@id/call_actions_handle"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
app:layout_constraintStart_toEndOf="@id/toggle_video"
|
||||
app:layout_constraintEnd_toStartOf="@id/change_audio_output" />
|
||||
|
||||
<org.linphone.ui.call.view.VuMeterView
|
||||
android:id="@+id/playback_volume_vu_meter"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="0dp"
|
||||
android:background="@drawable/in_call_button_background_red"
|
||||
vuMeterPercentage="@{viewModel.playbackVolume}"
|
||||
app:layout_constraintTop_toTopOf="@id/change_audio_output"
|
||||
app:layout_constraintBottom_toBottomOf="@id/change_audio_output"
|
||||
app:layout_constraintStart_toStartOf="@id/change_audio_output"
|
||||
app:layout_constraintEnd_toEndOf="@id/change_audio_output" />
|
||||
|
||||
<ImageView
|
||||
android:onClick="@{() -> viewModel.changeAudioOutputDevice()}"
|
||||
android:id="@+id/change_audio_output"
|
||||
|
|
@ -112,7 +113,7 @@
|
|||
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"
|
||||
android:background="@drawable/in_call_button_background_transparent"
|
||||
app:tint="@color/in_call_button_tint_color"
|
||||
app:layout_constraintTop_toBottomOf="@id/call_actions_handle"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
|
|
|
|||
|
|
@ -40,6 +40,7 @@
|
|||
android:padding="15dp"
|
||||
android:src="@drawable/caret_left"
|
||||
android:contentDescription="@string/content_description_go_back_icon"
|
||||
android:background="@drawable/circle_transparent_button_background"
|
||||
app:tint="?attr/color_main1_500"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toTopOf="parent" />
|
||||
|
|
|
|||
|
|
@ -29,6 +29,7 @@
|
|||
android:onClick="@{backClickListener}"
|
||||
android:src="@drawable/caret_left"
|
||||
android:contentDescription="@string/content_description_go_back_icon"
|
||||
android:background="@drawable/circle_transparent_button_background"
|
||||
app:tint="?attr/color_main1_500"
|
||||
app:layout_constraintBottom_toBottomOf="@id/title"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
|
|
@ -55,6 +56,7 @@
|
|||
android:adjustViewBounds="true"
|
||||
android:src="@drawable/arrows_merge"
|
||||
android:contentDescription="@string/content_description_merge_calls_into_conference"
|
||||
android:background="@drawable/circle_transparent_button_background"
|
||||
android:visibility="@{viewModel.callsCount > 1 ? View.VISIBLE : View.GONE}"
|
||||
app:tint="?attr/color_main1_500"
|
||||
app:layout_constraintBottom_toBottomOf="@id/title"
|
||||
|
|
|
|||
|
|
@ -79,6 +79,7 @@
|
|||
android:visibility="@{viewModel.isCallConversation || viewModel.showBackButton && !viewModel.searchBarVisible ? View.VISIBLE : View.GONE}"
|
||||
android:src="@drawable/caret_left"
|
||||
android:contentDescription="@string/content_description_go_back_icon"
|
||||
android:background="@drawable/circle_transparent_button_background"
|
||||
app:tint="?attr/color_main1_500"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toTopOf="parent"/>
|
||||
|
|
@ -174,6 +175,7 @@
|
|||
android:adjustViewBounds="true"
|
||||
android:src="@drawable/dots_three_vertical"
|
||||
android:contentDescription="@string/content_description_show_popup_menu"
|
||||
android:background="@drawable/circle_transparent_button_background"
|
||||
android:visibility="@{viewModel.isCallConversation ? View.GONE : View.VISIBLE}"
|
||||
app:layout_constraintTop_toTopOf="parent"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
|
|
@ -188,6 +190,7 @@
|
|||
android:src="@drawable/phone"
|
||||
android:contentDescription="@string/content_description_call_start"
|
||||
android:visibility="@{viewModel.isCallConversation || viewModel.isReadOnly || viewModel.searchBarVisible ? View.GONE : View.VISIBLE}"
|
||||
android:background="@drawable/circle_transparent_button_background"
|
||||
app:layout_constraintTop_toTopOf="parent"
|
||||
app:layout_constraintEnd_toStartOf="@id/show_menu"
|
||||
app:tint="?attr/color_main2_500" />
|
||||
|
|
@ -200,6 +203,7 @@
|
|||
android:padding="15dp"
|
||||
android:src="@drawable/caret_left"
|
||||
android:contentDescription="@string/content_description_cancel_filter"
|
||||
android:background="@drawable/circle_transparent_button_background"
|
||||
app:layout_constraintBottom_toBottomOf="@id/search"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toTopOf="@id/search"
|
||||
|
|
@ -244,6 +248,7 @@
|
|||
android:padding="15dp"
|
||||
android:src="@drawable/caret_up"
|
||||
android:contentDescription="@string/content_description_chat_search_message_up"
|
||||
android:background="@drawable/circle_transparent_button_background"
|
||||
app:layout_constraintBottom_toBottomOf="@id/search"
|
||||
app:layout_constraintEnd_toStartOf="@id/search_down"
|
||||
app:layout_constraintTop_toTopOf="@id/search"
|
||||
|
|
@ -258,6 +263,7 @@
|
|||
android:padding="15dp"
|
||||
android:src="@drawable/caret_down"
|
||||
android:contentDescription="@string/content_description_chat_search_message_down"
|
||||
android:background="@drawable/circle_transparent_button_background"
|
||||
app:layout_constraintBottom_toBottomOf="@id/search"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintTop_toTopOf="@id/search"
|
||||
|
|
|
|||
|
|
@ -188,7 +188,7 @@
|
|||
app:layout_constraintBottom_toBottomOf="@id/message_area_background"
|
||||
app:layout_constraintEnd_toEndOf="@id/message_area_background"
|
||||
app:layout_constraintTop_toTopOf="@id/message_area_background"
|
||||
app:tint="?attr/color_main2_500" />
|
||||
app:tint="@color/icon_primary_color_selector" />
|
||||
|
||||
<include
|
||||
android:id="@+id/voice_recording_area"
|
||||
|
|
|
|||
|
|
@ -31,6 +31,7 @@
|
|||
android:onClick="@{backClickListener}"
|
||||
android:src="@drawable/caret_left"
|
||||
android:contentDescription="@string/content_description_go_back_icon"
|
||||
android:background="@drawable/circle_transparent_button_background"
|
||||
app:tint="?attr/color_main1_500"
|
||||
app:layout_constraintBottom_toBottomOf="@id/title"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
|
|
|
|||
|
|
@ -26,6 +26,7 @@
|
|||
android:onClick="@{backClickListener}"
|
||||
android:src="@drawable/caret_left"
|
||||
android:contentDescription="@string/content_description_go_back_icon"
|
||||
android:background="@drawable/circle_transparent_button_background"
|
||||
app:tint="?attr/color_main1_500"
|
||||
app:layout_constraintBottom_toBottomOf="@id/title"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
|
|
|
|||
|
|
@ -58,6 +58,7 @@
|
|||
android:onClick="@{backClickListener}"
|
||||
android:src="@drawable/caret_left"
|
||||
android:contentDescription="@string/content_description_go_back_icon"
|
||||
android:background="@drawable/circle_transparent_button_background"
|
||||
app:tint="?attr/color_main1_500"
|
||||
app:layout_constraintBottom_toBottomOf="@id/invisible_title"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
|
|
|
|||
|
|
@ -31,6 +31,7 @@
|
|||
android:onClick="@{backClickListener}"
|
||||
android:src="@drawable/caret_left"
|
||||
android:contentDescription="@string/content_description_go_back_icon"
|
||||
android:background="@drawable/circle_transparent_button_background"
|
||||
app:tint="?attr/color_main1_500"
|
||||
app:layout_constraintBottom_toBottomOf="@id/title"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
|
|
|
|||
|
|
@ -31,6 +31,7 @@
|
|||
android:onClick="@{backClickListener}"
|
||||
android:src="@drawable/caret_left"
|
||||
android:contentDescription="@string/content_description_go_back_icon"
|
||||
android:background="@drawable/circle_transparent_button_background"
|
||||
app:tint="?attr/color_main1_500"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toTopOf="parent"/>
|
||||
|
|
|
|||
|
|
@ -36,6 +36,7 @@
|
|||
android:id="@+id/name"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginEnd="5dp"
|
||||
android:text="@{model.avatarModel.name, default=`John Doe`}"
|
||||
android:textSize="14sp"
|
||||
android:textColor="?attr/color_main2_800"
|
||||
|
|
@ -68,7 +69,7 @@
|
|||
android:text="@string/conversation_info_participant_is_admin_label"
|
||||
android:textColor="?attr/color_main2_500"
|
||||
android:textSize="12sp"
|
||||
android:visibility="@{model.isParticipantAdmin ? View.VISIBLE : View.GONE}"
|
||||
android:visibility="@{model.isParticipantAdmin ? View.VISIBLE : View.GONE, default=gone}"
|
||||
app:layout_constraintTop_toBottomOf="@id/sip_address"
|
||||
app:layout_constraintStart_toStartOf="@id/name"
|
||||
app:layout_constraintEnd_toEndOf="@id/name"
|
||||
|
|
@ -77,10 +78,13 @@
|
|||
<ImageView
|
||||
android:id="@+id/participant_menu"
|
||||
android:onClick="@{() -> model.openMenu(participantMenu)}"
|
||||
android:layout_width="@dimen/icon_size"
|
||||
android:layout_height="@dimen/icon_size"
|
||||
android:layout_width="@dimen/big_icon_size"
|
||||
android:layout_height="@dimen/big_icon_size"
|
||||
android:src="@drawable/dots_three_vertical"
|
||||
android:padding="10dp"
|
||||
android:adjustViewBounds="true"
|
||||
android:contentDescription="@string/content_description_show_popup_menu"
|
||||
android:background="@drawable/circle_transparent_button_background"
|
||||
android:visibility="@{model.showMenu ? View.VISIBLE : View.GONE}"
|
||||
app:tint="?attr/color_grey_800"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
|
|
|
|||
|
|
@ -39,6 +39,7 @@
|
|||
android:visibility="@{viewModel.showBackButton ? View.VISIBLE : View.GONE}"
|
||||
android:src="@drawable/caret_left"
|
||||
android:contentDescription="@string/content_description_go_back_icon"
|
||||
android:background="@drawable/circle_transparent_button_background"
|
||||
app:tint="?attr/color_main1_500"
|
||||
app:layout_constraintBottom_toBottomOf="@id/invisible_title"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
|
|
@ -65,6 +66,7 @@
|
|||
android:adjustViewBounds="true"
|
||||
android:src="@drawable/pencil_simple"
|
||||
android:contentDescription="@string/content_description_contact_edit"
|
||||
android:background="@drawable/circle_transparent_button_background"
|
||||
android:visibility="@{viewModel.isStored ? View.VISIBLE : View.GONE}"
|
||||
app:tint="?attr/color_main2_500"
|
||||
app:layout_constraintBottom_toBottomOf="@id/invisible_title"
|
||||
|
|
|
|||
|
|
@ -33,6 +33,7 @@
|
|||
android:padding="15dp"
|
||||
android:src="@drawable/caret_left"
|
||||
android:contentDescription="@string/content_description_go_back_icon"
|
||||
android:background="@drawable/circle_transparent_button_background"
|
||||
app:tint="?attr/color_main1_500"
|
||||
app:layout_constraintBottom_toBottomOf="@id/title"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
|
|
|
|||
|
|
@ -51,13 +51,26 @@
|
|||
android:layout_marginEnd="16dp"
|
||||
android:text="@string/app_name"
|
||||
android:gravity="center_vertical"
|
||||
android:drawableEnd="@drawable/x"
|
||||
android:drawablePadding="15dp"
|
||||
app:drawableTint="?attr/color_main2_600"
|
||||
app:layout_constraintTop_toTopOf="@id/brand_icon"
|
||||
app:layout_constraintStart_toEndOf="@id/brand_icon"
|
||||
app:layout_constraintBottom_toBottomOf="@id/brand_icon"
|
||||
app:layout_constraintEnd_toEndOf="parent" />
|
||||
app:layout_constraintEnd_toStartOf="@id/close_drawer" />
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/close_drawer"
|
||||
android:onClick="@{() -> viewModel.closeDrawerMenu()}"
|
||||
android:layout_width="@dimen/icon_size"
|
||||
android:layout_height="@dimen/icon_size"
|
||||
android:layout_marginEnd="16dp"
|
||||
android:src="@drawable/x"
|
||||
android:adjustViewBounds="true"
|
||||
android:contentDescription="@string/content_description_close_drawer_menu"
|
||||
android:background="@drawable/circle_transparent_button_background"
|
||||
app:drawableTint="?attr/color_main2_600"
|
||||
app:layout_constraintTop_toTopOf="@id/brand_name"
|
||||
app:layout_constraintStart_toEndOf="@id/brand_name"
|
||||
app:layout_constraintBottom_toBottomOf="@id/brand_name"
|
||||
app:layout_constraintEnd_toEndOf="parent"/>
|
||||
|
||||
<ScrollView
|
||||
android:layout_width="0dp"
|
||||
|
|
|
|||
|
|
@ -64,6 +64,7 @@
|
|||
android:padding="15dp"
|
||||
android:src="@drawable/caret_left"
|
||||
android:contentDescription="@string/content_description_go_back_icon"
|
||||
android:background="@drawable/circle_transparent_button_background"
|
||||
app:tint="?attr/color_main1_500"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toTopOf="parent" />
|
||||
|
|
@ -73,6 +74,8 @@
|
|||
android:id="@+id/file_name"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginStart="10dp"
|
||||
android:layout_marginEnd="10dp"
|
||||
android:text="@{viewModel.currentlyDisplayedFileName, default=`nomdufichier.jpg`}"
|
||||
android:textSize="13sp"
|
||||
android:textColor="@color/gray_main2_600"
|
||||
|
|
@ -89,6 +92,8 @@
|
|||
android:id="@+id/date_time"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginStart="10dp"
|
||||
android:layout_marginEnd="10dp"
|
||||
android:text="@{viewModel.currentlyDisplayedFileDateTime, default=`envoyé le 02/05/2023 à 11h05`}"
|
||||
android:textSize="12sp"
|
||||
android:textColor="@color/gray_main2_500"
|
||||
|
|
@ -108,6 +113,7 @@
|
|||
android:padding="15dp"
|
||||
android:src="@drawable/share_network"
|
||||
android:contentDescription="@string/content_description_share_file"
|
||||
android:background="@drawable/circle_transparent_button_background"
|
||||
android:visibility="@{sharedViewModel.mediaViewerFullScreenMode || viewModel.isCurrentlyDisplayedFileFromEphemeralMessage ? View.GONE : View.VISIBLE}"
|
||||
app:tint="@color/gray_main2_500"
|
||||
app:layout_constraintEnd_toStartOf="@id/save"
|
||||
|
|
@ -122,6 +128,7 @@
|
|||
android:padding="15dp"
|
||||
android:src="@drawable/download_simple"
|
||||
android:contentDescription="@string/content_description_save_file"
|
||||
android:background="@drawable/circle_transparent_button_background"
|
||||
android:visibility="@{sharedViewModel.mediaViewerFullScreenMode || viewModel.isCurrentlyDisplayedFileFromEphemeralMessage ? View.GONE : View.VISIBLE}"
|
||||
app:tint="@color/gray_main2_500"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
|
|
|
|||
|
|
@ -62,13 +62,15 @@
|
|||
<ImageView
|
||||
android:id="@+id/play_pause_audio_playback"
|
||||
android:onClick="@{() -> viewModel.togglePlayPause()}"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_width="@dimen/big_icon_size"
|
||||
android:layout_height="@dimen/big_icon_size"
|
||||
android:layout_marginStart="16dp"
|
||||
android:layout_marginBottom="@dimen/screen_bottom_margin"
|
||||
android:padding="8dp"
|
||||
android:contentDescription="@string/content_description_play_pause_video_playback"
|
||||
android:padding="10dp"
|
||||
android:src="@{viewModel.isMediaPlaying ? @drawable/pause_fill : @drawable/play_fill, default=@drawable/play_fill}"
|
||||
android:adjustViewBounds="true"
|
||||
android:contentDescription="@string/content_description_play_pause_audio_playback"
|
||||
android:background="@drawable/circle_transparent_dark_button_background"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:tint="@color/bc_white"/>
|
||||
|
|
|
|||
|
|
@ -102,6 +102,7 @@
|
|||
android:padding="15dp"
|
||||
android:src="@drawable/caret_left"
|
||||
android:contentDescription="@string/content_description_go_back_icon"
|
||||
android:background="@drawable/circle_transparent_button_background"
|
||||
app:tint="?attr/color_main1_500"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toTopOf="parent" />
|
||||
|
|
@ -111,6 +112,8 @@
|
|||
android:id="@+id/file_name"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginStart="10dp"
|
||||
android:layout_marginEnd="10dp"
|
||||
android:text="@{viewModel.fileName, default=`nomdufichier.jpg`}"
|
||||
android:textSize="13sp"
|
||||
android:textColor="@color/gray_main2_600"
|
||||
|
|
@ -127,6 +130,8 @@
|
|||
android:id="@+id/date_time"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginStart="10dp"
|
||||
android:layout_marginEnd="10dp"
|
||||
android:text="@{viewModel.dateTime, default=`envoyé le 02/05/2023 à 11h05`}"
|
||||
android:textSize="12sp"
|
||||
android:textColor="@color/gray_main2_500"
|
||||
|
|
@ -146,6 +151,7 @@
|
|||
android:padding="15dp"
|
||||
android:src="@drawable/share_network"
|
||||
android:contentDescription="@string/content_description_share_file"
|
||||
android:background="@drawable/circle_transparent_button_background"
|
||||
android:visibility="@{viewModel.fullScreenMode || viewModel.isFromEphemeralMessage ? View.GONE : View.VISIBLE}"
|
||||
app:tint="@color/gray_main2_500"
|
||||
app:layout_constraintEnd_toStartOf="@id/save"
|
||||
|
|
@ -160,6 +166,7 @@
|
|||
android:padding="15dp"
|
||||
android:src="@drawable/download_simple"
|
||||
android:contentDescription="@string/content_description_save_file"
|
||||
android:background="@drawable/circle_transparent_button_background"
|
||||
android:visibility="@{viewModel.fullScreenMode || viewModel.isFromEphemeralMessage ? View.GONE : View.VISIBLE}"
|
||||
app:tint="@color/gray_main2_500"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
|
|
|
|||
|
|
@ -30,6 +30,7 @@
|
|||
android:padding="15dp"
|
||||
android:src="@drawable/caret_left"
|
||||
android:contentDescription="@string/content_description_go_back_icon"
|
||||
android:background="@drawable/circle_transparent_button_background"
|
||||
app:tint="?attr/color_main1_500"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toTopOf="parent" />
|
||||
|
|
|
|||
|
|
@ -37,6 +37,7 @@
|
|||
android:padding="15dp"
|
||||
android:src="@drawable/caret_left"
|
||||
android:contentDescription="@string/content_description_go_back_icon"
|
||||
android:background="@drawable/circle_transparent_button_background"
|
||||
app:tint="?attr/color_main1_500"
|
||||
app:layout_constraintBottom_toBottomOf="@id/title"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
|
|
|
|||
|
|
@ -46,6 +46,7 @@
|
|||
android:padding="15dp"
|
||||
android:src="@drawable/caret_left"
|
||||
android:contentDescription="@string/content_description_go_back_icon"
|
||||
android:background="@drawable/circle_transparent_button_background"
|
||||
app:tint="?attr/color_main1_500"
|
||||
app:layout_constraintBottom_toBottomOf="@id/title"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
|
|
|
|||
|
|
@ -39,6 +39,7 @@
|
|||
android:visibility="@{viewModel.showBackButton ? View.VISIBLE : View.GONE}"
|
||||
android:src="@drawable/caret_left"
|
||||
android:contentDescription="@string/content_description_go_back_icon"
|
||||
android:background="@drawable/circle_transparent_button_background"
|
||||
app:tint="?attr/color_main1_500"
|
||||
app:layout_constraintBottom_toBottomOf="@id/invisible_title"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
|
|
@ -65,6 +66,7 @@
|
|||
android:adjustViewBounds="true"
|
||||
android:src="@drawable/dots_three_vertical"
|
||||
android:contentDescription="@string/content_description_show_popup_menu"
|
||||
android:background="@drawable/circle_transparent_button_background"
|
||||
app:tint="?attr/color_main2_500"
|
||||
app:layout_constraintBottom_toBottomOf="@id/invisible_title"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
|
|
|
|||
|
|
@ -53,12 +53,14 @@
|
|||
<ImageView
|
||||
android:id="@+id/close_notif"
|
||||
android:onClick="@{() -> viewModel.closeTopBar()}"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_width="@dimen/icon_size"
|
||||
android:layout_height="@dimen/icon_size"
|
||||
android:adjustViewBounds="true"
|
||||
android:layout_marginEnd="16dp"
|
||||
android:src="@drawable/x"
|
||||
app:tint="@color/bc_white"
|
||||
android:contentDescription="@string/content_description_dismiss_notification"
|
||||
android:background="@drawable/circle_transparent_button_background"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintTop_toTopOf="parent"
|
||||
app:layout_constraintBottom_toBottomOf="parent"/>
|
||||
|
|
|
|||
|
|
@ -52,10 +52,12 @@
|
|||
<ImageView
|
||||
android:id="@+id/close_notif"
|
||||
android:onClick="@{() -> viewModel.cancelFileOrTextSharing()}"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_width="@dimen/icon_size"
|
||||
android:layout_height="@dimen/icon_size"
|
||||
android:adjustViewBounds="true"
|
||||
android:layout_marginEnd="16dp"
|
||||
android:src="@drawable/x"
|
||||
android:background="@drawable/circle_transparent_button_background"
|
||||
app:tint="@color/bc_white"
|
||||
android:contentDescription="@string/content_description_cancel_files_or_text_pending_sharing"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
|
|
|
|||
|
|
@ -80,10 +80,12 @@
|
|||
android:layout_width="wrap_content"
|
||||
android:layout_height="0dp"
|
||||
android:layout_marginEnd="5dp"
|
||||
android:paddingStart="15dp"
|
||||
android:paddingEnd="15dp"
|
||||
android:padding="15dp"
|
||||
android:src="@drawable/magnifying_glass"
|
||||
android:adjustViewBounds="true"
|
||||
android:background="@drawable/circle_transparent_button_background"
|
||||
android:contentDescription="@string/content_description_open_filter"
|
||||
app:layout_constraintDimensionRatio="1:1"
|
||||
app:layout_constraintBottom_toBottomOf="@id/title"
|
||||
app:layout_constraintEnd_toStartOf="@id/extra_action"
|
||||
app:layout_constraintTop_toTopOf="@id/title"
|
||||
|
|
@ -95,11 +97,13 @@
|
|||
android:layout_width="wrap_content"
|
||||
android:layout_height="0dp"
|
||||
android:layout_marginEnd="5dp"
|
||||
android:paddingStart="15dp"
|
||||
android:paddingEnd="15dp"
|
||||
android:padding="15dp"
|
||||
android:src="@{extraActionIcon, default=@drawable/dots_three_vertical}"
|
||||
android:adjustViewBounds="true"
|
||||
android:background="@drawable/circle_transparent_button_background"
|
||||
android:contentDescription="@{extraActionContentDescription}"
|
||||
android:visibility="@{enableExtraAction ? View.VISIBLE : View.GONE, default=gone}"
|
||||
app:layout_constraintDimensionRatio="1:1"
|
||||
app:layout_constraintBottom_toBottomOf="@id/title"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintTop_toTopOf="@id/title"
|
||||
|
|
@ -111,10 +115,12 @@
|
|||
android:layout_width="wrap_content"
|
||||
android:layout_height="0dp"
|
||||
android:layout_marginStart="5dp"
|
||||
android:paddingStart="15dp"
|
||||
android:paddingEnd="15dp"
|
||||
android:padding="15dp"
|
||||
android:src="@drawable/caret_left"
|
||||
android:adjustViewBounds="true"
|
||||
android:background="@drawable/circle_transparent_button_background"
|
||||
android:contentDescription="@string/content_description_cancel_filter"
|
||||
app:layout_constraintDimensionRatio="1:1"
|
||||
app:layout_constraintBottom_toBottomOf="@id/search"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toTopOf="@id/search"
|
||||
|
|
@ -157,10 +163,12 @@
|
|||
android:layout_width="wrap_content"
|
||||
android:layout_height="0dp"
|
||||
android:layout_marginEnd="5dp"
|
||||
android:paddingStart="15dp"
|
||||
android:paddingEnd="15dp"
|
||||
android:padding="15dp"
|
||||
android:src="@drawable/x"
|
||||
android:adjustViewBounds="true"
|
||||
android:background="@drawable/circle_transparent_button_background"
|
||||
android:contentDescription="@string/content_description_clear_filter"
|
||||
app:layout_constraintDimensionRatio="1:1"
|
||||
app:layout_constraintBottom_toBottomOf="@id/search"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintTop_toTopOf="@id/search"
|
||||
|
|
|
|||
|
|
@ -43,6 +43,7 @@
|
|||
android:onClick="@{backClickListener}"
|
||||
android:src="@drawable/caret_left"
|
||||
android:contentDescription="@string/content_description_go_back_icon"
|
||||
android:background="@drawable/circle_transparent_button_background"
|
||||
app:tint="?attr/color_main1_500"
|
||||
app:layout_constraintBottom_toBottomOf="@id/title"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
|
|
|
|||
|
|
@ -43,6 +43,7 @@
|
|||
android:padding="15dp"
|
||||
android:src="@drawable/caret_left"
|
||||
android:contentDescription="@string/content_description_go_back_icon"
|
||||
android:background="@drawable/circle_transparent_button_background"
|
||||
android:visibility="@{viewModel.showBackButton ? View.VISIBLE : View.GONE}"
|
||||
app:tint="?attr/color_main1_500"
|
||||
app:layout_constraintBottom_toBottomOf="@id/title"
|
||||
|
|
@ -69,6 +70,7 @@
|
|||
android:adjustViewBounds="true"
|
||||
android:src="@drawable/pencil_simple"
|
||||
android:contentDescription="@string/content_description_meeting_edit"
|
||||
android:background="@drawable/circle_transparent_button_background"
|
||||
android:visibility="@{viewModel.isEditable ? View.VISIBLE : View.GONE}"
|
||||
app:tint="?attr/color_main2_500"
|
||||
app:layout_constraintStart_toEndOf="@id/title"
|
||||
|
|
@ -85,6 +87,7 @@
|
|||
android:adjustViewBounds="true"
|
||||
android:src="@drawable/dots_three_vertical"
|
||||
android:contentDescription="@string/content_description_show_popup_menu"
|
||||
android:background="@drawable/circle_transparent_button_background"
|
||||
app:tint="?attr/color_main2_500"
|
||||
app:layout_constraintStart_toEndOf="@id/edit"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
|
|
@ -160,11 +163,13 @@
|
|||
<ImageView
|
||||
android:id="@+id/share"
|
||||
android:onClick="@{shareClickListener}"
|
||||
android:layout_width="@dimen/icon_size"
|
||||
android:layout_height="@dimen/icon_size"
|
||||
android:layout_width="@dimen/big_icon_size"
|
||||
android:layout_height="@dimen/big_icon_size"
|
||||
android:layout_marginEnd="16dp"
|
||||
android:padding="10dp"
|
||||
android:src="@drawable/share_network"
|
||||
android:contentDescription="@string/content_description_meeting_share"
|
||||
android:background="@drawable/circle_transparent_button_background"
|
||||
app:layout_constraintTop_toTopOf="@id/sip_uri"
|
||||
app:layout_constraintBottom_toBottomOf="@id/sip_uri"
|
||||
app:layout_constraintStart_toEndOf="@id/sip_uri"
|
||||
|
|
|
|||
|
|
@ -43,6 +43,7 @@
|
|||
android:onClick="@{backClickListener}"
|
||||
android:src="@drawable/caret_left"
|
||||
android:contentDescription="@string/content_description_go_back_icon"
|
||||
android:background="@drawable/circle_transparent_button_background"
|
||||
app:tint="?attr/color_main1_500"
|
||||
app:layout_constraintBottom_toBottomOf="@id/title"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
|
|
|
|||
|
|
@ -27,6 +27,7 @@
|
|||
android:padding="15dp"
|
||||
android:src="@drawable/caret_left"
|
||||
android:contentDescription="@string/content_description_go_back_icon"
|
||||
android:background="@drawable/circle_transparent_button_background"
|
||||
app:tint="?attr/color_main1_500"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toTopOf="parent" />
|
||||
|
|
|
|||
|
|
@ -49,13 +49,15 @@
|
|||
<ImageView
|
||||
android:id="@+id/play_pause_audio_playback"
|
||||
android:onClick="@{() -> viewModel.togglePlayPause()}"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_width="@dimen/big_icon_size"
|
||||
android:layout_height="@dimen/big_icon_size"
|
||||
android:layout_marginStart="16dp"
|
||||
android:layout_marginBottom="@dimen/screen_bottom_margin"
|
||||
android:padding="8dp"
|
||||
android:contentDescription="@string/content_description_play_pause_audio_playback"
|
||||
android:padding="10dp"
|
||||
android:src="@{viewModel.isPlaying ? @drawable/pause_fill : @drawable/play_fill, default=@drawable/play_fill}"
|
||||
android:adjustViewBounds="true"
|
||||
android:contentDescription="@string/content_description_play_pause_audio_playback"
|
||||
android:background="@drawable/circle_transparent_dark_button_background"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:tint="@color/bc_white"/>
|
||||
|
|
@ -118,6 +120,7 @@
|
|||
android:padding="15dp"
|
||||
android:src="@drawable/caret_left"
|
||||
android:contentDescription="@string/content_description_go_back_icon"
|
||||
android:background="@drawable/circle_transparent_button_background"
|
||||
app:tint="?attr/color_main1_500"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toTopOf="parent" />
|
||||
|
|
@ -127,6 +130,8 @@
|
|||
android:id="@+id/file_name"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginStart="10dp"
|
||||
android:layout_marginEnd="10dp"
|
||||
android:text="@{viewModel.recordingModel.displayName, default=`nomdufichier.jpg`}"
|
||||
android:textSize="13sp"
|
||||
android:textColor="@color/gray_main2_600"
|
||||
|
|
@ -143,6 +148,8 @@
|
|||
android:id="@+id/date_time"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginStart="10dp"
|
||||
android:layout_marginEnd="10dp"
|
||||
android:text="@{viewModel.recordingModel.dateTime, default=`envoyé le 02/05/2023 à 11h05`}"
|
||||
android:textSize="12sp"
|
||||
android:textColor="@color/gray_main2_500"
|
||||
|
|
@ -162,6 +169,7 @@
|
|||
android:padding="15dp"
|
||||
android:src="@drawable/share_network"
|
||||
android:contentDescription="@string/content_description_share_file"
|
||||
android:background="@drawable/circle_transparent_button_background"
|
||||
android:visibility="@{viewModel.isUsingSmffFileFormat ? View.GONE : View.VISIBLE}"
|
||||
app:tint="@color/gray_main2_500"
|
||||
app:layout_constraintEnd_toStartOf="@id/save"
|
||||
|
|
@ -176,6 +184,7 @@
|
|||
android:padding="15dp"
|
||||
android:src="@drawable/download_simple"
|
||||
android:contentDescription="@string/content_description_save_file"
|
||||
android:background="@drawable/circle_transparent_button_background"
|
||||
android:visibility="@{viewModel.isUsingSmffFileFormat ? View.GONE : View.VISIBLE}"
|
||||
app:tint="@color/gray_main2_500"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
|
|
|
|||
|
|
@ -37,10 +37,11 @@
|
|||
android:layout_width="wrap_content"
|
||||
android:layout_height="0dp"
|
||||
android:adjustViewBounds="true"
|
||||
android:contentDescription="@string/content_description_go_back_icon"
|
||||
android:onClick="@{backClickListener}"
|
||||
android:padding="15dp"
|
||||
android:src="@drawable/caret_left"
|
||||
android:contentDescription="@string/content_description_go_back_icon"
|
||||
android:background="@drawable/circle_transparent_button_background"
|
||||
app:layout_constraintBottom_toBottomOf="@id/title"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toTopOf="@id/title"
|
||||
|
|
@ -63,10 +64,13 @@
|
|||
android:id="@+id/search_toggle"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="0dp"
|
||||
android:contentDescription="@string/content_description_open_filter"
|
||||
android:layout_marginEnd="5dp"
|
||||
android:onClick="@{() -> viewModel.openSearchBar()}"
|
||||
android:padding="15dp"
|
||||
android:src="@drawable/magnifying_glass"
|
||||
android:adjustViewBounds="true"
|
||||
android:contentDescription="@string/content_description_open_filter"
|
||||
android:background="@drawable/circle_transparent_button_background"
|
||||
android:visibility="@{viewModel.searchBarVisible ? View.GONE : View.VISIBLE}"
|
||||
app:layout_constraintBottom_toBottomOf="@id/title"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
|
|
@ -77,10 +81,13 @@
|
|||
android:id="@+id/cancel_search"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="0dp"
|
||||
android:contentDescription="@string/content_description_cancel_filter"
|
||||
android:layout_marginStart="5dp"
|
||||
android:onClick="@{() -> viewModel.closeSearchBar()}"
|
||||
android:padding="15dp"
|
||||
android:src="@drawable/caret_left"
|
||||
android:adjustViewBounds="true"
|
||||
android:contentDescription="@string/content_description_cancel_filter"
|
||||
android:background="@drawable/circle_transparent_button_background"
|
||||
app:layout_constraintBottom_toBottomOf="@id/search"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toTopOf="@id/search"
|
||||
|
|
@ -117,13 +124,14 @@
|
|||
<ImageView
|
||||
android:id="@+id/clear_field"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginEnd="9dp"
|
||||
android:contentDescription="@string/content_description_clear_filter"
|
||||
android:enabled="@{viewModel.searchFilter.length() > 0}"
|
||||
android:layout_height="0dp"
|
||||
android:layout_marginEnd="5dp"
|
||||
android:onClick="@{() -> viewModel.clearFilter()}"
|
||||
android:padding="6dp"
|
||||
android:padding="15dp"
|
||||
android:src="@drawable/x"
|
||||
android:adjustViewBounds="true"
|
||||
android:contentDescription="@string/content_description_clear_filter"
|
||||
android:background="@drawable/circle_transparent_button_background"
|
||||
app:layout_constraintBottom_toBottomOf="@id/search"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintTop_toTopOf="@id/search"
|
||||
|
|
|
|||
|
|
@ -27,6 +27,7 @@
|
|||
android:padding="15dp"
|
||||
android:src="@drawable/caret_left"
|
||||
android:contentDescription="@string/content_description_go_back_icon"
|
||||
android:background="@drawable/circle_transparent_button_background"
|
||||
app:tint="?attr/color_main1_500"
|
||||
app:layout_constraintBottom_toBottomOf="@id/title"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
|
|
|
|||
|
|
@ -29,6 +29,7 @@
|
|||
android:padding="15dp"
|
||||
android:src="@drawable/caret_left"
|
||||
android:contentDescription="@string/content_description_go_back_icon"
|
||||
android:background="@drawable/circle_transparent_button_background"
|
||||
app:tint="?attr/color_main1_500"
|
||||
app:layout_constraintBottom_toBottomOf="@id/title"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
|
|
|
|||
|
|
@ -26,6 +26,7 @@
|
|||
android:padding="15dp"
|
||||
android:src="@drawable/caret_left"
|
||||
android:contentDescription="@string/content_description_go_back_icon"
|
||||
android:background="@drawable/circle_transparent_button_background"
|
||||
app:tint="?attr/color_main1_500"
|
||||
app:layout_constraintBottom_toBottomOf="@id/title"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
|
|
|
|||
|
|
@ -39,6 +39,7 @@
|
|||
android:padding="15dp"
|
||||
android:src="@drawable/caret_left"
|
||||
android:contentDescription="@string/content_description_go_back_icon"
|
||||
android:background="@drawable/circle_transparent_button_background"
|
||||
app:tint="?attr/color_main1_500"
|
||||
app:layout_constraintBottom_toBottomOf="@id/title"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
|
|
|
|||
|
|
@ -26,6 +26,7 @@
|
|||
android:src="@drawable/caret_left"
|
||||
android:visibility="invisible"
|
||||
android:contentDescription="@string/content_description_go_back_icon"
|
||||
android:background="@drawable/circle_transparent_button_background"
|
||||
app:tint="?attr/color_main2_500"
|
||||
app:layout_constraintTop_toTopOf="parent"
|
||||
app:layout_constraintStart_toStartOf="parent"/>
|
||||
|
|
|
|||
|
|
@ -44,6 +44,7 @@
|
|||
android:padding="15dp"
|
||||
android:src="@drawable/caret_left"
|
||||
android:contentDescription="@string/content_description_go_back_icon"
|
||||
android:background="@drawable/circle_transparent_button_background"
|
||||
app:tint="?attr/color_main1_500"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toTopOf="parent" />
|
||||
|
|
|
|||
|
|
@ -41,6 +41,7 @@
|
|||
android:padding="15dp"
|
||||
android:src="@drawable/caret_left"
|
||||
android:contentDescription="@string/content_description_go_back_icon"
|
||||
android:background="@drawable/circle_transparent_button_background"
|
||||
app:tint="?attr/color_main1_500"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toTopOf="parent" />
|
||||
|
|
|
|||
|
|
@ -923,4 +923,5 @@
|
|||
<string name="content_description_voicemail_available">Au moins un message vocal est disponible</string>
|
||||
<string name="content_description_call_voicemail">Faire un appui long pour appeler la boite vocale</string>
|
||||
<string name="content_description_cancel_files_or_text_pending_sharing">Cliquer pour annuler le partage des fichiers ou du texte en attente</string>
|
||||
<string name="content_description_close_drawer_menu">Ferme le menu</string>
|
||||
</resources>
|
||||
|
|
|
|||
|
|
@ -965,6 +965,7 @@
|
|||
<string name="content_description_voicemail_available">Voice message are available</string>
|
||||
<string name="content_description_call_voicemail">Long press to dial voicemail</string>
|
||||
<string name="content_description_cancel_files_or_text_pending_sharing">Click to cancel files or text pending sharing</string>
|
||||
<string name="content_description_close_drawer_menu">Closes menu</string>
|
||||
|
||||
<!-- Copy of private hosts_allowlist_sample in androidx.car.app:app:1.7.0-beta01, as they recommend it -->
|
||||
<string-array name="hosts_allowlist_sample_copy" translatable="false">
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue