forked from MyZubster-Ecosystem/myzubster
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathactivity_create_skill.xml
More file actions
116 lines (104 loc) 路 4.14 KB
/
Copy pathactivity_create_skill.xml
File metadata and controls
116 lines (104 loc) 路 4.14 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
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
<?xml version="1.0" encoding="utf-8"?>
<ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="#FAFAFA"
android:fillViewport="true">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_gravity="center"
android:orientation="vertical"
android:padding="24dp">
<TextView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:gravity="center"
android:text="Crea competenza"
android:textColor="#212121"
android:textSize="26sp"
android:textStyle="bold" />
<EditText
android:id="@+id/etSkillTitle"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="28dp"
android:backgroundTint="#6200EE"
android:hint="Titolo"
android:inputType="textCapSentences"
android:padding="12dp"
android:textColor="#212121"
android:textColorHint="#757575" />
<EditText
android:id="@+id/etSkillDescription"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="16dp"
android:backgroundTint="#6200EE"
android:gravity="top"
android:hint="Descrizione"
android:inputType="textMultiLine|textCapSentences"
android:minLines="4"
android:padding="12dp"
android:textColor="#212121"
android:textColorHint="#757575" />
<Spinner
android:id="@+id/spinnerCategory"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="16dp"
android:minHeight="48dp" />
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="16dp"
android:gravity="center_vertical"
android:orientation="horizontal">
<TextView
android:id="@+id/tvSkillTypeLabel"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_weight="1"
android:text="Tipo: Offerta"
android:textColor="#212121"
android:textSize="16sp" />
<Switch
android:id="@+id/switchSkillType"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="Richiesta" />
</LinearLayout>
<EditText
android:id="@+id/etPriceXmr"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="16dp"
android:backgroundTint="#6200EE"
android:hint="Prezzo XMR opzionale"
android:inputType="numberDecimal"
android:padding="12dp"
android:textColor="#212121"
android:textColorHint="#757575" />
<EditText
android:id="@+id/etAddress"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="16dp"
android:backgroundTint="#6200EE"
android:hint="Indirizzo"
android:inputType="textPostalAddress"
android:padding="12dp"
android:textColor="#212121"
android:textColorHint="#757575" />
<Button
android:id="@+id/btnCreateSkill"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="24dp"
android:backgroundTint="#6200EE"
android:minHeight="48dp"
android:text="Salva competenza"
android:textAllCaps="false"
android:textColor="#FFFFFF" />
</LinearLayout>
</ScrollView>