mirror of
https://gitlab.linphone.org/BC/public/linphone-android.git
synced 2026-01-17 11:28:06 +00:00
Added + icon under 0 in dialpad, changed background color in dark mode
This commit is contained in:
parent
2380c0fa6d
commit
466395a34b
10 changed files with 35 additions and 19 deletions
9
app/src/main/res/drawable/plus.xml
Normal file
9
app/src/main/res/drawable/plus.xml
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:width="20dp"
|
||||
android:height="20dp"
|
||||
android:viewportWidth="256"
|
||||
android:viewportHeight="256">
|
||||
<path
|
||||
android:pathData="M224,128a8,8 0,0 1,-8 8H136v80a8,8 0,0 1,-16 0V136H40a8,8 0,0 1,0 -16h80V40a8,8 0,0 1,16 0v80h80A8,8 0,0 1,224 128Z"
|
||||
android:fillColor="#4e6074"/>
|
||||
</vector>
|
||||
|
|
@ -1,5 +1,5 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<shape xmlns:android="http://schemas.android.com/apk/res/android" android:shape="rectangle">
|
||||
<corners android:topRightRadius="20dp" android:topLeftRadius="20dp" />
|
||||
<solid android:color="?attr/color_grey_100"/>
|
||||
<solid android:color="?attr/color_bottom_sheet_background"/>
|
||||
</shape>
|
||||
|
|
@ -9,7 +9,7 @@
|
|||
<androidx.constraintlayout.widget.ConstraintLayout
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_width="match_parent"
|
||||
android:background="@drawable/shape_bottom_sheet_gray_100_background"
|
||||
android:background="@drawable/shape_bottom_sheet_background"
|
||||
app:behavior_hideable="true"
|
||||
app:behavior_peekHeight="0dp"
|
||||
app:layout_behavior="com.google.android.material.bottomsheet.BottomSheetBehavior">
|
||||
|
|
|
|||
|
|
@ -9,7 +9,7 @@
|
|||
<androidx.constraintlayout.widget.ConstraintLayout
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_width="match_parent"
|
||||
android:background="@drawable/shape_bottom_sheet_gray_100_background"
|
||||
android:background="@drawable/shape_bottom_sheet_background"
|
||||
app:behavior_hideable="true"
|
||||
app:behavior_peekHeight="0dp"
|
||||
app:layout_behavior="com.google.android.material.bottomsheet.BottomSheetBehavior">
|
||||
|
|
|
|||
|
|
@ -115,7 +115,7 @@
|
|||
android:layout_height="1dp"
|
||||
android:layout_marginStart="16dp"
|
||||
android:layout_marginEnd="16dp"
|
||||
android:background="?attr/color_main2_300"/>
|
||||
android:background="?attr/color_separator"/>
|
||||
|
||||
<RadioButton
|
||||
style="@style/default_text_style"
|
||||
|
|
@ -139,7 +139,7 @@
|
|||
android:layout_height="1dp"
|
||||
android:layout_marginStart="16dp"
|
||||
android:layout_marginEnd="16dp"
|
||||
android:background="?attr/color_main2_300"/>
|
||||
android:background="?attr/color_separator"/>
|
||||
|
||||
<RadioButton
|
||||
style="@style/default_text_style"
|
||||
|
|
@ -163,7 +163,7 @@
|
|||
android:layout_height="1dp"
|
||||
android:layout_marginStart="16dp"
|
||||
android:layout_marginEnd="16dp"
|
||||
android:background="?attr/color_main2_300"/>
|
||||
android:background="?attr/color_separator"/>
|
||||
|
||||
<RadioButton
|
||||
style="@style/default_text_style"
|
||||
|
|
@ -187,7 +187,7 @@
|
|||
android:layout_height="1dp"
|
||||
android:layout_marginStart="16dp"
|
||||
android:layout_marginEnd="16dp"
|
||||
android:background="?attr/color_main2_300"/>
|
||||
android:background="?attr/color_separator"/>
|
||||
|
||||
<RadioButton
|
||||
style="@style/default_text_style"
|
||||
|
|
@ -211,7 +211,7 @@
|
|||
android:layout_height="1dp"
|
||||
android:layout_marginStart="16dp"
|
||||
android:layout_marginEnd="16dp"
|
||||
android:background="?attr/color_main2_300"/>
|
||||
android:background="?attr/color_separator"/>
|
||||
|
||||
<RadioButton
|
||||
style="@style/default_text_style"
|
||||
|
|
|
|||
|
|
@ -16,7 +16,7 @@
|
|||
<androidx.constraintlayout.widget.ConstraintLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:background="@drawable/shape_bottom_sheet_gray_100_background"
|
||||
android:background="@drawable/shape_bottom_sheet_background"
|
||||
android:clickable="true"
|
||||
android:focusable="true"
|
||||
app:behavior_hideable="true"
|
||||
|
|
@ -46,7 +46,7 @@
|
|||
android:text="1"
|
||||
android:textSize="24sp"
|
||||
android:drawableBottom="@drawable/voicemail"
|
||||
android:paddingBottom="5dp"
|
||||
android:drawableTint="@color/gray_main2_600"
|
||||
app:layout_constraintTop_toTopOf="@id/digit_2"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintEnd_toStartOf="@id/digit_2"
|
||||
|
|
@ -57,7 +57,7 @@
|
|||
style="@style/call_start_numpad_digits_style"
|
||||
android:id="@+id/digit_2"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_height="0dp"
|
||||
android:layout_marginTop="14dp"
|
||||
android:text="2"
|
||||
app:layout_constraintVertical_chainStyle="packed"
|
||||
|
|
@ -71,7 +71,7 @@
|
|||
style="@style/call_start_numpad_digits_style"
|
||||
android:id="@+id/digit_3"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_height="0dp"
|
||||
android:text="3"
|
||||
app:layout_constraintTop_toTopOf="@id/digit_2"
|
||||
app:layout_constraintStart_toEndOf="@id/digit_2"
|
||||
|
|
@ -83,7 +83,7 @@
|
|||
style="@style/call_start_numpad_digits_style"
|
||||
android:id="@+id/digit_4"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_height="0dp"
|
||||
android:text="4"
|
||||
app:layout_constraintTop_toTopOf="@id/digit_5"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
|
|
@ -95,7 +95,7 @@
|
|||
style="@style/call_start_numpad_digits_style"
|
||||
android:id="@+id/digit_5"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_height="0dp"
|
||||
android:layout_marginTop="10dp"
|
||||
android:text="5"
|
||||
app:layout_constraintTop_toBottomOf="@id/digit_2"
|
||||
|
|
@ -108,7 +108,7 @@
|
|||
style="@style/call_start_numpad_digits_style"
|
||||
android:id="@+id/digit_6"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_height="0dp"
|
||||
android:text="6"
|
||||
app:layout_constraintTop_toTopOf="@id/digit_5"
|
||||
app:layout_constraintStart_toEndOf="@id/digit_5"
|
||||
|
|
@ -120,7 +120,7 @@
|
|||
style="@style/call_start_numpad_digits_style"
|
||||
android:id="@+id/digit_7"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_height="0dp"
|
||||
android:text="7"
|
||||
app:layout_constraintTop_toTopOf="@id/digit_8"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
|
|
@ -132,7 +132,7 @@
|
|||
style="@style/call_start_numpad_digits_style"
|
||||
android:id="@+id/digit_8"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_height="0dp"
|
||||
android:layout_marginTop="10dp"
|
||||
android:text="8"
|
||||
app:layout_constraintTop_toBottomOf="@id/digit_5"
|
||||
|
|
@ -145,7 +145,7 @@
|
|||
style="@style/call_start_numpad_digits_style"
|
||||
android:id="@+id/digit_9"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_height="0dp"
|
||||
android:text="9"
|
||||
app:layout_constraintTop_toTopOf="@id/digit_8"
|
||||
app:layout_constraintStart_toEndOf="@id/digit_8"
|
||||
|
|
@ -157,7 +157,7 @@
|
|||
style="@style/call_start_numpad_digits_style"
|
||||
android:id="@+id/digit_star"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_height="0dp"
|
||||
android:text="*"
|
||||
app:layout_constraintTop_toTopOf="@id/digit_0"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
|
|
@ -174,6 +174,9 @@
|
|||
android:layout_marginTop="10dp"
|
||||
android:layout_marginBottom="20dp"
|
||||
android:text="0"
|
||||
android:textSize="24sp"
|
||||
android:drawableBottom="@drawable/plus"
|
||||
android:drawableTint="@color/gray_main2_600"
|
||||
app:layout_constraintTop_toBottomOf="@id/digit_8"
|
||||
app:layout_constraintStart_toEndOf="@id/digit_star"
|
||||
app:layout_constraintEnd_toStartOf="@id/digit_sharp"
|
||||
|
|
|
|||
|
|
@ -71,6 +71,7 @@
|
|||
<item name="color_trust_track">@color/text_field_background_color_dark_mode</item>
|
||||
<item name="color_conversation_send_area_background">@color/background_color_alt_dark_mode</item>
|
||||
<item name="color_bottom_sheet_handle">@color/gray_main2_400</item>
|
||||
<item name="color_bottom_sheet_background">@color/background_color_alt_dark_mode</item>
|
||||
</style>
|
||||
|
||||
<style name="Theme.LinphoneYellow" parent="Theme.Linphone">
|
||||
|
|
|
|||
|
|
@ -69,5 +69,6 @@
|
|||
<attr name="color_trust_track" format="color"/>
|
||||
<attr name="color_conversation_send_area_background" format="color"/>
|
||||
<attr name="color_bottom_sheet_handle" format="color"/>
|
||||
<attr name="color_bottom_sheet_background" format="color"/>
|
||||
</declare-styleable>
|
||||
</resources>
|
||||
|
|
@ -155,6 +155,7 @@
|
|||
<item name="android:textSize">32sp</item>
|
||||
<item name="android:gravity">center</item>
|
||||
<item name="android:elevation">3dp</item>
|
||||
<item name="android:paddingBottom">5dp</item>
|
||||
<item name="android:background">@drawable/circle_white_button_background</item>
|
||||
</style>
|
||||
<style name="message_reaction_style">
|
||||
|
|
|
|||
|
|
@ -72,6 +72,7 @@
|
|||
<item name="color_trust_track">@color/blue_info_500</item>
|
||||
<item name="color_conversation_send_area_background">@color/gray_100</item>
|
||||
<item name="color_bottom_sheet_handle">@color/gray_main2_300</item>
|
||||
<item name="color_bottom_sheet_background">@color/gray_100</item>
|
||||
</style>
|
||||
|
||||
<style name="Theme.LinphoneYellow" parent="Theme.Linphone">
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue