Skip to content

Commit 2f96571

Browse files
authored
Merge pull request #1880 from Infomaniak/fix-external-banner
Place information icon of external banner to the left of the banner
2 parents 36b7aa9 + 96d659f commit 2f96571

File tree

1 file changed

+14
-10
lines changed

1 file changed

+14
-10
lines changed

app/src/main/res/layout/fragment_new_message.xml

+14-10
Original file line numberDiff line numberDiff line change
@@ -476,22 +476,26 @@
476476
app:layout_constraintTop_toBottomOf="@+id/compositionNestedScrollView"
477477
tools:visibility="visible">
478478

479-
<TextView
480-
style="@style/BodySmall"
481-
android:layout_width="0dp"
482-
android:layout_height="wrap_content"
483-
android:layout_marginHorizontal="@dimen/marginStandardMedium"
484-
android:layout_weight="1"
485-
android:text="@string/externalDialogTitleRecipient"
486-
android:textColor="@color/externalTagOnBackground" />
487-
488479
<com.google.android.material.button.MaterialButton
489480
android:id="@+id/informationButton"
490-
style="@style/IconButtonSmall"
481+
style="@style/TextButton"
482+
android:layout_width="wrap_content"
483+
android:layout_height="match_parent"
491484
android:layout_marginEnd="@dimen/marginStandardMedium"
485+
android:fontFamily="@font/suisseintl_medium"
486+
android:minHeight="0dp"
487+
android:paddingVertical="0dp"
488+
android:text="@string/externalDialogTitleRecipient"
489+
android:textColor="@color/primaryTextColor"
492490
app:icon="@drawable/ic_external_information"
491+
app:iconGravity="end"
493492
app:iconTint="@color/externalTagOnBackground" />
494493

494+
<Space
495+
android:layout_width="0dp"
496+
android:layout_height="0dp"
497+
android:layout_weight="1" />
498+
495499
<com.google.android.material.button.MaterialButton
496500
android:id="@+id/closeButton"
497501
style="@style/IconButtonSmall"

0 commit comments

Comments
 (0)