mirror of
https://gitlab.linphone.org/BC/public/linphone-android.git
synced 2026-01-17 11:28:06 +00:00
Use same max width for spinners than for text fields in settings, increased that value a bit for tablets
This commit is contained in:
parent
dca10c9b2a
commit
2ceebdcdda
5 changed files with 15 additions and 0 deletions
|
|
@ -148,6 +148,8 @@
|
|||
android:spinnerMode="dropdown"
|
||||
android:popupBackground="@drawable/shape_squircle_white_background"
|
||||
android:background="@drawable/edit_text_background"
|
||||
app:layout_constraintHorizontal_bias="0"
|
||||
app:layout_constraintWidth_max="@dimen/text_input_max_width"
|
||||
app:layout_constraintTop_toBottomOf="@id/media_encryption_label"
|
||||
app:layout_constraintStart_toStartOf="@id/media_encryption_label"
|
||||
app:layout_constraintEnd_toEndOf="parent" />
|
||||
|
|
@ -461,6 +463,8 @@
|
|||
android:popupBackground="@drawable/shape_squircle_white_background"
|
||||
android:background="@drawable/edit_text_background"
|
||||
android:visibility="@{viewModel.expandAudioDevices ? View.VISIBLE : View.GONE}"
|
||||
app:layout_constraintHorizontal_bias="0"
|
||||
app:layout_constraintWidth_max="@dimen/text_input_max_width"
|
||||
app:layout_constraintTop_toBottomOf="@id/input_audio_device_label"
|
||||
app:layout_constraintStart_toStartOf="@id/input_audio_device_label"
|
||||
app:layout_constraintEnd_toEndOf="parent" />
|
||||
|
|
@ -510,6 +514,8 @@
|
|||
android:popupBackground="@drawable/shape_squircle_white_background"
|
||||
android:background="@drawable/edit_text_background"
|
||||
android:visibility="@{viewModel.expandAudioDevices ? View.VISIBLE : View.GONE}"
|
||||
app:layout_constraintHorizontal_bias="0"
|
||||
app:layout_constraintWidth_max="@dimen/text_input_max_width"
|
||||
app:layout_constraintTop_toBottomOf="@id/output_audio_device_label"
|
||||
app:layout_constraintStart_toStartOf="@id/output_audio_device_label"
|
||||
app:layout_constraintEnd_toEndOf="parent" />
|
||||
|
|
|
|||
|
|
@ -44,6 +44,8 @@
|
|||
android:overlapAnchor="false"
|
||||
android:spinnerMode="dropdown"
|
||||
android:popupBackground="@drawable/shape_squircle_white_background"
|
||||
app:layout_constraintHorizontal_bias="0"
|
||||
app:layout_constraintWidth_max="@dimen/text_input_max_width"
|
||||
app:layout_constraintTop_toBottomOf="@id/layout_title"
|
||||
app:layout_constraintStart_toStartOf="@id/layout_title"
|
||||
app:layout_constraintEnd_toEndOf="@id/layout_title" />
|
||||
|
|
|
|||
|
|
@ -208,6 +208,8 @@
|
|||
android:spinnerMode="dropdown"
|
||||
android:popupBackground="@drawable/shape_squircle_white_background"
|
||||
android:background="@drawable/edit_text_background"
|
||||
app:layout_constraintHorizontal_bias="0"
|
||||
app:layout_constraintWidth_max="@dimen/text_input_max_width"
|
||||
app:layout_constraintTop_toBottomOf="@id/tunnel_mode_label"
|
||||
app:layout_constraintStart_toStartOf="@id/tunnel_mode_label"
|
||||
app:layout_constraintEnd_toEndOf="parent" />
|
||||
|
|
|
|||
|
|
@ -56,6 +56,8 @@
|
|||
android:overlapAnchor="false"
|
||||
android:spinnerMode="dropdown"
|
||||
android:popupBackground="@drawable/shape_squircle_white_background"
|
||||
app:layout_constraintHorizontal_bias="0"
|
||||
app:layout_constraintWidth_max="@dimen/text_input_max_width"
|
||||
app:layout_constraintTop_toBottomOf="@id/theme_title"
|
||||
app:layout_constraintStart_toStartOf="@id/theme_title"
|
||||
app:layout_constraintEnd_toEndOf="@id/theme_title" />
|
||||
|
|
@ -100,6 +102,8 @@
|
|||
android:overlapAnchor="false"
|
||||
android:spinnerMode="dropdown"
|
||||
android:popupBackground="@drawable/shape_squircle_white_background"
|
||||
app:layout_constraintHorizontal_bias="0"
|
||||
app:layout_constraintWidth_max="@dimen/text_input_max_width"
|
||||
app:layout_constraintTop_toBottomOf="@id/color_title"
|
||||
app:layout_constraintStart_toStartOf="@id/color_title"
|
||||
app:layout_constraintEnd_toEndOf="@id/color_title" />
|
||||
|
|
|
|||
|
|
@ -1,4 +1,5 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<resources>
|
||||
<dimen name="welcome_icon_size">150dp</dimen>
|
||||
<dimen name="text_input_max_width">600dp</dimen>
|
||||
</resources>
|
||||
Loading…
Add table
Reference in a new issue