Projet android NFC payment - JAVA
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

91 lines
3.0 KiB

<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical"
android:paddingBottom="20dp"
android:background="@drawable/fond">
<TextView
android:id="@+id/title_payment"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_gravity="center"
android:layout_weight="1"
android:gravity="center"
android:text="Payer"
android:textSize="36sp"
android:textStyle="bold" />
<TextView
android:id="@+id/textView"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_weight="0.4"
android:gravity="center"
android:textStyle="bold"
android:textSize="26sp"
android:text="Saisie du montant" />
<FrameLayout
android:id="@+id/frame_layout_number"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_weight="1"
android:paddingLeft="50dp"
android:paddingRight="50dp"
android:paddingBottom="20dp">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="horizontal">
<EditText
android:id="@+id/edit_number"
android:layout_width="150dp"
android:layout_height="wrap_content"
android:layout_gravity="center"
android:layout_weight="1.9"
android:ems="10"
android:focusable="true"
android:focusableInTouchMode="true"
android:foregroundGravity="center"
android:gravity="center"
android:layout_marginLeft="60dp"
android:inputType="numberDecimal"
android:textSize="36sp" />
<TextView
android:id="@+id/textView2"
android:layout_width="57dp"
android:layout_height="40dp"
android:layout_gravity="center"
android:layout_weight=".1"
android:gravity="center"
android:textStyle="bold"
android:textSize="26sp"
android:text="€" />
</LinearLayout>
</FrameLayout>
<Space
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_weight="0.3" />
<Button
android:id="@+id/button_valid"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center"
android:layout_marginTop="30dp"
android:layout_marginBottom="30dp"
android:layout_weight="0.2"
android:gravity="center"
android:minWidth="140dp"
android:text="Valider"
android:textSize="24sp" />
</LinearLayout>