-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathactivity_brainics_scheduler.xml
118 lines (106 loc) · 4.23 KB
/
activity_brainics_scheduler.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
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
117
118
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout 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:padding="16dp"
tools:context=".BrainicsScheduler">
<TextView
android:id="@+id/editTextTextPersonName"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:ems="10"
android:inputType="textPersonName"
android:text="Scheduler"
android:textAlignment="center"
android:textColor="#0D9713"
android:textSize="34sp"
android:textStyle="bold"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintHorizontal_bias="0.497"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent"
app:layout_constraintVertical_bias="0.023" />
<EditText
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:id="@+id/edittext_name"
android:layout_below="@+id/editTextTextPersonName" />
<TextView
android:id="@+id/textview_amount"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginStart="8dp"
android:layout_marginBottom="8dp"
android:text="0"
android:textSize="50sp"
android:layout_centerHorizontal="true"
android:layout_below="@+id/edittext_name"
android:layout_margin="8dp"/>
<Button
android:id="@+id/button_decrease"
android:layout_width="50dp"
android:layout_height="wrap_content"
android:text="-"
android:layout_alignBottom="@+id/textview_amount"
android:layout_alignTop="@+id/textview_amount"
android:layout_toStartOf="@+id/textview_amount"/>
<Button
android:id="@+id/button_increase"
android:layout_width="50dp"
android:layout_height="wrap_content"
android:text="+"
android:layout_alignBottom="@+id/textview_amount"
android:layout_alignTop="@+id/textview_amount"
android:layout_toEndOf="@+id/textview_amount"/>
<Button
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="add"
android:id="@+id/button_add"
android:layout_alignTop="@+id/button_increase"
android:layout_alignBottom="@+id/button_increase"
android:layout_toEndOf="@+id/button_increase"
android:layout_marginStart="8dp"/>
<androidx.recyclerview.widget.RecyclerView
android:id="@+id/recyclerview"
android:layout_width="377dp"
android:layout_height="225dp"
android:layout_below="@+id/textview_amount" />
<TextView
android:id="@+id/dateview"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_above="@id/datebutton"
android:layout_below="@+id/recyclerview"
android:layout_alignParentStart="true"
android:layout_alignParentEnd="true"
android:layout_alignParentBottom="true"
android:layout_marginBottom="28dp"
android:text="date"
android:textSize="20sp" />
<Button
android:id="@+id/datebutton"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentStart="true"
android:layout_alignParentEnd="true"
android:layout_alignParentBottom="true"
android:layout_marginStart="100dp"
android:layout_marginEnd="78dp"
android:layout_marginBottom="78dp"
android:text="select date" />
<Button
android:id="@+id/homebutton"
android:layout_width="122dp"
android:layout_height="wrap_content"
android:layout_alignParentStart="true"
android:layout_alignParentEnd="true"
android:layout_alignParentBottom="true"
android:layout_marginStart="255dp"
android:layout_marginEnd="0dp"
android:layout_marginBottom="20dp"
android:text="home" />
</RelativeLayout>