mirror of
https://gitlab.linphone.org/BC/public/linphone-android.git
synced 2026-04-18 05:58:25 +00:00
Improved 'do SAS validation again' button UI
This commit is contained in:
parent
b5743a7394
commit
d37f33a217
2 changed files with 9 additions and 3 deletions
|
|
@ -138,12 +138,15 @@
|
|||
<androidx.appcompat.widget.AppCompatTextView
|
||||
style="@style/primary_button_label_style"
|
||||
android:onClick="@{() -> model.showSasValidationDialog()}"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:paddingStart="20dp"
|
||||
android:paddingEnd="20dp"
|
||||
android:layout_margin="15dp"
|
||||
android:text="@string/call_do_zrtp_sas_validation_again"
|
||||
android:visibility="@{model.isMediaEncryptionZrtp ? View.VISIBLE : View.GONE}"
|
||||
app:layout_columnSpan="2"/>
|
||||
app:layout_columnSpan="2"
|
||||
app:layout_gravity="center_horizontal"/>
|
||||
|
||||
</androidx.gridlayout.widget.GridLayout>
|
||||
|
||||
|
|
|
|||
|
|
@ -131,10 +131,13 @@
|
|||
<androidx.appcompat.widget.AppCompatTextView
|
||||
style="@style/primary_button_label_style"
|
||||
android:onClick="@{() -> model.showSasValidationDialog()}"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_margin="15dp"
|
||||
android:paddingStart="20dp"
|
||||
android:paddingEnd="20dp"
|
||||
android:text="@string/call_do_zrtp_sas_validation_again"
|
||||
android:layout_gravity="center_horizontal"
|
||||
android:visibility="@{model.isMediaEncryptionZrtp ? View.VISIBLE : View.GONE}"/>
|
||||
|
||||
</LinearLayout>
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue