<?xml version="1.0" encoding="utf-8"?> <android.support.constraint.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" android:layout_width="match_parent" android:layout_height="wrap_content" android:layout_gravity="center" tools:context="monnethic.mobile.qrcode.QrCodeActivity"> <LinearLayout android:layout_width="match_parent" android:layout_height="wrap_content" android:orientation="vertical"> <ImageView android:id="@+id/qrCodeViewer" android:layout_width="320dp" android:layout_height="300dp" android:layout_marginBottom="50dp" android:layout_gravity="center"/> <LinearLayout android:layout_width="match_parent" android:layout_height="wrap_content" android:layout_marginBottom="20dp" android:orientation="horizontal"> <TextView android:id="@+id/textViewAdresse" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginStart="15dp" android:text="Address: " android:textSize="18sp" android:textStyle="bold" /> <TextView android:id="@+id/textViewAdresseDisplay" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginStart="10dp" android:textSize="18sp" /> </LinearLayout> <LinearLayout android:layout_width="match_parent" android:layout_height="wrap_content" android:layout_marginBottom="30dp" android:orientation="horizontal"> <TextView android:id="@+id/textViewAmount" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginStart="15dp" android:text="Amount: " android:textSize="18sp" android:textStyle="bold" /> <TextView android:id="@+id/textViewAmountDisplay" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginStart="10dp" android:textSize="18sp" /> </LinearLayout> <LinearLayout android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_gravity="center" android:orientation="vertical"> <Button android:id="@+id/buttonClose" android:layout_width="200dp" android:layout_height="45dp" android:text="CLOSE" /> </LinearLayout> </LinearLayout> </android.support.constraint.ConstraintLayout>