mirror of
https://gitlab.linphone.org/BC/public/linphone-android.git
synced 2026-04-24 13:08:33 +00:00
Fixed CardDAV / LDAP settings UI issues
This commit is contained in:
parent
4bc67d933a
commit
40e2e1e5b7
3 changed files with 9 additions and 3 deletions
|
|
@ -27,6 +27,7 @@
|
|||
android:adjustViewBounds="true"
|
||||
android:padding="15dp"
|
||||
android:src="@drawable/caret_left"
|
||||
android:background="@drawable/circle_transparent_button_background"
|
||||
android:contentDescription="@string/content_description_go_back_icon"
|
||||
app:tint="?attr/color_main1_500"
|
||||
app:layout_constraintBottom_toBottomOf="@id/title"
|
||||
|
|
@ -39,6 +40,7 @@
|
|||
android:layout_width="0dp"
|
||||
android:layout_height="@dimen/top_bar_height"
|
||||
android:layout_marginStart="10dp"
|
||||
android:layout_marginEnd="10dp"
|
||||
android:text="@{viewModel.isEdit ? @string/settings_contacts_edit_carddav_server_title : @string/settings_contacts_add_carddav_server_title, default=@string/settings_contacts_add_carddav_server_title}"
|
||||
app:layout_constraintEnd_toStartOf="@id/delete"
|
||||
app:layout_constraintStart_toEndOf="@id/back"
|
||||
|
|
@ -52,9 +54,10 @@
|
|||
android:adjustViewBounds="true"
|
||||
android:padding="15dp"
|
||||
android:src="@drawable/trash_simple"
|
||||
android:background="@drawable/circle_transparent_button_background"
|
||||
android:contentDescription="@string/content_description_carddav_delete"
|
||||
android:visibility="@{viewModel.isEdit ? View.VISIBLE : View.GONE, default=gone}"
|
||||
app:tint="?attr/color_main1_500"
|
||||
app:tint="?attr/color_main2_500"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintStart_toEndOf="@id/title"
|
||||
app:layout_constraintTop_toTopOf="@id/back"
|
||||
|
|
|
|||
|
|
@ -26,6 +26,7 @@
|
|||
android:adjustViewBounds="true"
|
||||
android:padding="15dp"
|
||||
android:src="@drawable/caret_left"
|
||||
android:background="@drawable/circle_transparent_button_background"
|
||||
android:contentDescription="@string/content_description_go_back_icon"
|
||||
app:tint="?attr/color_main1_500"
|
||||
app:layout_constraintBottom_toBottomOf="@id/title"
|
||||
|
|
@ -38,6 +39,7 @@
|
|||
android:layout_width="0dp"
|
||||
android:layout_height="@dimen/top_bar_height"
|
||||
android:layout_marginStart="10dp"
|
||||
android:layout_marginEnd="10dp"
|
||||
android:text="@{viewModel.isEdit ? @string/settings_contacts_edit_ldap_server_title : @string/settings_contacts_add_ldap_server_title, default=@string/settings_contacts_add_ldap_server_title}"
|
||||
app:layout_constraintEnd_toStartOf="@id/delete"
|
||||
app:layout_constraintStart_toEndOf="@id/back"
|
||||
|
|
@ -51,9 +53,10 @@
|
|||
android:adjustViewBounds="true"
|
||||
android:padding="15dp"
|
||||
android:src="@drawable/trash_simple"
|
||||
android:background="@drawable/circle_transparent_button_background"
|
||||
android:contentDescription="@string/content_description_ldap_delete"
|
||||
android:visibility="@{viewModel.isEdit ? View.VISIBLE : View.GONE, default=gone}"
|
||||
app:tint="?attr/color_main1_500"
|
||||
app:tint="?attr/color_main2_500"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintStart_toEndOf="@id/title"
|
||||
app:layout_constraintTop_toTopOf="@id/back"
|
||||
|
|
|
|||
|
|
@ -38,7 +38,7 @@
|
|||
</style>
|
||||
<style name="main_page_title_style">
|
||||
<item name="android:fontFamily">@font/noto_sans_800</item>
|
||||
<item name="android:textColor">?attr/color_main1_500</item>
|
||||
<item name="android:textColor">?attr/color_main2_600</item>
|
||||
<item name="android:textSize">16sp</item>
|
||||
<item name="android:gravity">center_vertical</item>
|
||||
</style>
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue