Fix margins

This commit is contained in:
Andrew 2024-04-17 17:46:42 +09:30
parent c28eba313a
commit c942bbac25
2 changed files with 2 additions and 1 deletions

View File

@ -131,7 +131,6 @@ class SessionDialogBuilder(val context: Context) {
setText(text)
contentDescription = resources.getString(contentDescriptionRes)
layoutParams = LinearLayout.LayoutParams(WRAP_CONTENT, dp60, 1f)
.apply { setMargins(dp20) }
setOnClickListener {
listener.invoke()
if (dismiss) dismiss()

View File

@ -20,6 +20,8 @@
android:id="@+id/dialogDescriptionText"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginStart="20dp"
android:layout_marginEnd="20dp"
android:layout_marginTop="@dimen/large_spacing"
android:text="@string/dialog_clear_all_data_message"
android:textAlignment="center"