layout_vidange.xml 1.47 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:id="@+id/scrollView6">

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

        <TextView
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:text="@string/vidange"
            android:id="@+id/textView"
            android:layout_gravity="center_horizontal"
            android:layout_marginTop="40dp"
            android:textAlignment="center"
            android:textSize="80sp"
            android:textColor="@color/abc_input_method_navigation_guard" />

        <Button
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:text="@string/validate"
            android:id="@+id/vidange_bouton"
            android:layout_gravity="center_horizontal"
            android:hint="@string/validate"
            android:layout_marginTop="40dp"
            android:enabled="true"
            android:height="80dp"
            android:minHeight="80dp"
            android:minWidth="250dp"
            android:textAlignment="center"
            android:width="250dp"
            android:onClick="valideVidange" />

    </LinearLayout>
</ScrollView>