-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathselected_item.xml
More file actions
162 lines (136 loc) · 5.21 KB
/
selected_item.xml
File metadata and controls
162 lines (136 loc) · 5.21 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
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
<?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"
android:padding="10dp"
android:background="#F1F4F5">
<EditText
android:id="@+id/food_name"
android:layout_width="200dp"
android:layout_height="50dp"
android:layout_gravity="center"
android:text="음식 이름"
android:textSize="20dp"
android:textAlignment="center"
android:layout_marginBottom="15dp"/>
<Button
android:id="@+id/btn_reg"
android:layout_gravity="right"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginBottom="20dp"
android:text="등록"/>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="40dp"
android:layout_marginBottom="20dp"
android:orientation="horizontal">
<TextView
android:layout_width="wrap_content"
android:layout_height="match_parent"
android:text="칼로리"
android:textSize="20dp"
android:textAlignment="center"
android:gravity="center"
android:background="#ff00ff00"/>
<ProgressBar
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="#F0F7F3F3"
style="@style/Widget.AppCompat.ProgressBar.Horizontal"
android:max="100"
android:progress="50"/>
</LinearLayout>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="40dp"
android:layout_marginBottom="20dp"
android:orientation="horizontal">
<TextView
android:layout_width="55dp"
android:layout_height="match_parent"
android:text="탄수화물"
android:textSize="15dp"
android:textAlignment="center"
android:gravity="center"
android:background="#ff00ff00"/>
<ProgressBar
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="#F0F7F3F3"
style="@style/Widget.AppCompat.ProgressBar.Horizontal"
android:max="100"
android:progress="50"/>
</LinearLayout>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="40dp"
android:layout_marginBottom="20dp"
android:orientation="horizontal">
<TextView
android:layout_width="55dp"
android:layout_height="match_parent"
android:text="수분"
android:textSize="20dp"
android:textAlignment="center"
android:gravity="center"
android:background="#ff00ff00"/>
<ProgressBar
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="#F0F7F3F3"
style="@style/Widget.AppCompat.ProgressBar.Horizontal"
android:max="100"
android:progress="50"/>
</LinearLayout>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="40dp"
android:layout_marginBottom="20dp"
android:orientation="horizontal">
<TextView
android:layout_width="wrap_content"
android:layout_height="match_parent"
android:text="단백질"
android:textSize="20dp"
android:textAlignment="center"
android:gravity="center"
android:background="#ff00ff00"/>
<ProgressBar
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="#F0F7F3F3"
style="@style/Widget.AppCompat.ProgressBar.Horizontal"
android:max="100"
android:progress="50"/>
</LinearLayout>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="40dp"
android:layout_marginBottom="20dp"
android:orientation="horizontal">
<TextView
android:layout_width="55dp"
android:layout_height="match_parent"
android:text="지방"
android:textSize="20dp"
android:textAlignment="center"
android:gravity="center"
android:background="#ff00ff00"/>
<ProgressBar
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="#F0F7F3F3"
style="@style/Widget.AppCompat.ProgressBar.Horizontal"
android:max="100"
android:progress="50"/>
</LinearLayout>
<Button
android:id="@+id/btn_back"
android:layout_marginTop="20dp"
android:layout_width="fill_parent"
android:layout_height="50dp"
android:background="#ffffff00"
android:text="메인 화면으로"/>
</LinearLayout>