Skip to content

Commit

Permalink
fix: problem with frame vs linear layout
Browse files Browse the repository at this point in the history
  • Loading branch information
HashEngineering committed Jan 25, 2025
1 parent 007bfb8 commit 50ccce6
Showing 1 changed file with 21 additions and 18 deletions.
39 changes: 21 additions & 18 deletions wallet/res/layout/invitation_preview_view.xml
Original file line number Diff line number Diff line change
@@ -1,23 +1,26 @@
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical">

<de.schildbach.wallet.ui.invite.InvitePreviewEnvelopeView
android:id="@+id/profile_picture_envelope"
android:layout_width="120dp"
android:layout_height="120dp"
android:layout_gravity="center_horizontal" />

<TextView
android:id="@+id/custom_title"
style="@style/Headline6.Blue"
android:layout_height="wrap_content">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="16dp"
android:gravity="center_horizontal"
android:textAlignment="gravity"
android:text="@string/invitation_preview_title" />
android:orientation="vertical">

<de.schildbach.wallet.ui.invite.InvitePreviewEnvelopeView
android:id="@+id/profile_picture_envelope"
android:layout_width="120dp"
android:layout_height="120dp"
android:layout_gravity="center_horizontal" />

</LinearLayout>
<TextView
android:id="@+id/custom_title"
style="@style/Headline6.Blue"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="16dp"
android:gravity="center_horizontal"
android:textAlignment="gravity"
android:text="@string/invitation_preview_title" />
</LinearLayout>
</FrameLayout>

0 comments on commit 50ccce6

Please sign in to comment.