-
Notifications
You must be signed in to change notification settings - Fork 0
/
add_layout.xml
45 lines (41 loc) · 1.44 KB
/
add_layout.xml
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
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical">
<EditText
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:inputType="textPersonName"
android:ems="10"
android:hint="Name"
android:id="@+id/nameEditText"
android:layout_margin="4dp"
/>
<EditText
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:inputType="textPersonName"
android:ems="10"
android:hint="Description"
android:id="@+id/descriptionEditText"
android:layout_margin="4dp"
/>
<Spinner
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:id="@+id/statusSpinner"
android:spinnerMode="dropdown"
android:prompt="@string/choose_prompt"
android:entries="@array/status"
android:background="@android:drawable/btn_dropdown"
android:layout_margin="4dp"
/>
<Button
android:text="submit"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:id="@+id/submitButton"
android:layout_margin="4dp"
/>
</LinearLayout>