Commit 6ed64aef04ed22358438eca604ef4639c7a440a2
1 parent
564f871a
Plus joli layout pour vidange, avec un bouton
Showing
1 changed file
with
21 additions
and
2 deletions
Show diff stats
PremiereActivite/app/src/main/res/layout/layout_vidange.xml
@@ -10,12 +10,31 @@ | @@ -10,12 +10,31 @@ | ||
10 | android:orientation="vertical"> | 10 | android:orientation="vertical"> |
11 | 11 | ||
12 | <TextView | 12 | <TextView |
13 | - android:layout_width="wrap_content" | 13 | + android:layout_width="match_parent" |
14 | android:layout_height="wrap_content" | 14 | android:layout_height="wrap_content" |
15 | android:text="@string/vidange" | 15 | android:text="@string/vidange" |
16 | android:id="@+id/textView" | 16 | android:id="@+id/textView" |
17 | android:layout_gravity="center_horizontal" | 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 | </LinearLayout> | 39 | </LinearLayout> |
21 | </ScrollView> | 40 | </ScrollView> |
22 | \ No newline at end of file | 41 | \ No newline at end of file |