layout_rechargement.xml 1.97 KB
<?xml version="1.0" encoding="utf-8"?>
<ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
    android:orientation="vertical" android:layout_width="match_parent"
    android:layout_height="match_parent"
    android:gravity="center_horizontal"
    android:id="@+id/scrollView5">

    <LinearLayout
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:orientation="vertical">

        <EditText
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:inputType="numberDecimal"
            android:digits="0123456789,."
            android:ems="10"
            android:id="@+id/rechargement_champ_montant"
            android:layout_gravity="center_horizontal"
            android:editable="true"
            android:elegantTextHeight="true"
            android:enabled="true"
            android:height="150dp"
            android:maxHeight="500dp"
            android:maxLength="10"
            android:maxWidth="600dp"
            android:minHeight="80dp"
            android:numeric="decimal"
            android:width="300dp"
            android:hint="@string/montant"
            android:textAlignment="center"
            android:textStyle="bold" />

        <Button
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:text="@string/validate"
            android:id="@+id/rechargement_bouton"
            android:layout_marginTop="40dp"
            android:layout_gravity="center_horizontal"
            android:minWidth="150dp"
            android:minHeight="50dp"
            android:textAlignment="center"
            android:width="150dp"
            android:elegantTextHeight="true"
            android:enabled="true"
            android:onClick="valideRechargement"
            android:height="80dp"
            android:maxHeight="200dp"
            android:maxWidth="150dp" />

    </LinearLayout>

</ScrollView>