Commit 6ed64aef04ed22358438eca604ef4639c7a440a2

Authored by JLo'w
1 parent 564f871a

Plus joli layout pour vidange, avec un bouton

PremiereActivite/app/src/main/res/layout/layout_vidange.xml
... ... @@ -10,12 +10,31 @@
10 10 android:orientation="vertical">
11 11  
12 12 <TextView
13   - android:layout_width="wrap_content"
  13 + android:layout_width="match_parent"
14 14 android:layout_height="wrap_content"
15 15 android:text="@string/vidange"
16 16 android:id="@+id/textView"
17 17 android:layout_gravity="center_horizontal"
18   - android:layout_marginTop="50dp" />
  18 + android:layout_marginTop="40dp"
  19 + android:textAlignment="center"
  20 + android:textSize="80sp"
  21 + android:textColor="@color/abc_input_method_navigation_guard" />
  22 +
  23 + <Button
  24 + android:layout_width="wrap_content"
  25 + android:layout_height="wrap_content"
  26 + android:text="@string/validate"
  27 + android:id="@+id/vidange_bouton"
  28 + android:layout_gravity="center_horizontal"
  29 + android:hint="@string/validate"
  30 + android:layout_marginTop="40dp"
  31 + android:enabled="true"
  32 + android:height="80dp"
  33 + android:minHeight="80dp"
  34 + android:minWidth="250dp"
  35 + android:textAlignment="center"
  36 + android:width="250dp"
  37 + android:onClick="valideVidange" />
19 38  
20 39 </LinearLayout>
21 40 </ScrollView>
22 41 \ No newline at end of file
... ...