-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathactivity_main.xml
More file actions
61 lines (50 loc) · 1.84 KB
/
activity_main.xml
File metadata and controls
61 lines (50 loc) · 1.84 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical"
android:padding="15dp"
tools:context=".MainActivity">
<TextView
android:layout_width="wrap_content"
android:layout_height="30dp"
android:layout_gravity="center"
android:hint="Calcule de votre IMC" />
<EditText
android:id="@+id/activity_main_name_input"
android:layout_width="match_parent"
android:layout_height="83dp"
android:gravity="center"
android:hint="Votre Nom" />
<EditText
android:id="@+id/activity_main_poids_input"
android:layout_width="match_parent"
android:layout_height="83dp"
android:gravity="center"
android:hint="Votre Poids(kg)" />
<EditText
android:id="@+id/activity_main_taille_input"
android:layout_width="match_parent"
android:layout_height="83dp"
android:gravity="center"
android:hint="Votre Taille(m)" />
<EditText
android:id="@+id/activity_main_age_input"
android:layout_width="match_parent"
android:layout_height="83dp"
android:gravity="center"
android:hint="Votre Age" />
<Button
android:id="@+id/activity_main_calculer_button"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:gravity="center"
android:hint="Calculer" />
<TextView
android:id="@+id/activity_main_result_text"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="" />
</LinearLayout>