Panagiotis Triantafyllou

Merge remote-tracking branch 'origin/cosmote' into cosmote

1 <?xml version="1.0" encoding="utf-8"?> 1 <?xml version="1.0" encoding="utf-8"?>
2 +
2 <androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android" 3 <androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
3 xmlns:app="http://schemas.android.com/apk/res-auto" 4 xmlns:app="http://schemas.android.com/apk/res-auto"
4 xmlns:tools="http://schemas.android.com/tools" 5 xmlns:tools="http://schemas.android.com/tools"
5 android:layout_width="match_parent" 6 android:layout_width="match_parent"
6 - android:layout_height="300dp" 7 + android:layout_height="300dp">
7 - android:paddingHorizontal="10dp">
8 8
9 <androidx.constraintlayout.widget.Guideline 9 <androidx.constraintlayout.widget.Guideline
10 - android:id="@+id/horizontal_guideline" 10 + android:id="@+id/vertical_outer_guideline"
11 android:layout_width="wrap_content" 11 android:layout_width="wrap_content"
12 android:layout_height="wrap_content" 12 android:layout_height="wrap_content"
13 - android:orientation="horizontal" 13 + android:orientation="vertical"
14 - app:layout_constraintGuide_percent="0.15" /> 14 + app:layout_constraintGuide_percent="0.04" />
15 15
16 <androidx.constraintlayout.widget.Guideline 16 <androidx.constraintlayout.widget.Guideline
17 - android:id="@+id/horizontal_guideline2" 17 + android:id="@+id/vertical_outer_guideline2"
18 + android:layout_width="wrap_content"
19 + android:layout_height="wrap_content"
20 + android:orientation="vertical"
21 + app:layout_constraintGuide_percent="0.95" />
22 +
23 + <androidx.constraintlayout.widget.Guideline
24 + android:id="@+id/horizontal_outer_guideline"
18 android:layout_width="wrap_content" 25 android:layout_width="wrap_content"
19 android:layout_height="wrap_content" 26 android:layout_height="wrap_content"
20 android:orientation="horizontal" 27 android:orientation="horizontal"
21 - app:layout_constraintGuide_percent="0.85" /> 28 + app:layout_constraintGuide_percent="0.12" />
22 29
23 <androidx.constraintlayout.widget.Guideline 30 <androidx.constraintlayout.widget.Guideline
24 - android:id="@+id/vertical_guideline0" 31 + android:id="@+id/horizontal_outer_guideline2"
25 android:layout_width="wrap_content" 32 android:layout_width="wrap_content"
26 android:layout_height="wrap_content" 33 android:layout_height="wrap_content"
27 - android:orientation="vertical" 34 + android:orientation="horizontal"
28 - app:layout_constraintGuide_percent="0.03" /> 35 + app:layout_constraintGuide_percent="0.88" />
29 36
30 <androidx.constraintlayout.widget.Guideline 37 <androidx.constraintlayout.widget.Guideline
31 android:id="@+id/vertical_guideline" 38 android:id="@+id/vertical_guideline"
32 android:layout_width="wrap_content" 39 android:layout_width="wrap_content"
33 android:layout_height="wrap_content" 40 android:layout_height="wrap_content"
34 android:orientation="vertical" 41 android:orientation="vertical"
35 - app:layout_constraintGuide_percent="0.36" /> 42 + app:layout_constraintGuide_percent="0.4" />
36 43
37 <androidx.constraintlayout.widget.Guideline 44 <androidx.constraintlayout.widget.Guideline
38 android:id="@+id/vertical_guideline2" 45 android:id="@+id/vertical_guideline2"
39 android:layout_width="wrap_content" 46 android:layout_width="wrap_content"
40 android:layout_height="wrap_content" 47 android:layout_height="wrap_content"
41 android:orientation="vertical" 48 android:orientation="vertical"
42 - app:layout_constraintGuide_percent="0.62" /> 49 + app:layout_constraintGuide_percent="0.7" />
43 50
44 - 51 + <androidx.constraintlayout.widget.Guideline
45 - <TextView 52 + android:id="@+id/vertical_guideline3"
46 - android:layout_width="wrap_content"
47 - android:layout_height="wrap_content"
48 - android:layout_marginTop="20dp"
49 - android:text="Έχεις διαθέσιμα 5.6 GB"
50 - android:textSize="17dp"
51 - android:textStyle="bold"
52 - app:layout_constraintBottom_toTopOf="@+id/horizontal_guideline2"
53 - app:layout_constraintEnd_toStartOf="@+id/vertical_guideline2"
54 - app:layout_constraintHorizontal_bias="0.271"
55 - app:layout_constraintStart_toStartOf="parent"
56 - app:layout_constraintTop_toTopOf="@+id/horizontal_guideline"
57 - app:layout_constraintVertical_bias="0.0" />
58 -
59 - <ProgressBar
60 - android:id="@+id/progressBar"
61 - style="?android:attr/progressBarStyle"
62 - android:layout_width="130dp"
63 - android:layout_height="134dp"
64 - android:progress="80"
65 - app:layout_constraintBottom_toTopOf="@+id/horizontal_guideline2"
66 - app:layout_constraintEnd_toEndOf="parent"
67 - app:layout_constraintHorizontal_bias="0.407"
68 - app:layout_constraintStart_toStartOf="@+id/vertical_guideline2"
69 - app:layout_constraintTop_toTopOf="@+id/horizontal_guideline"
70 - app:layout_constraintVertical_bias="0.0" />
71 -
72 - <TextView
73 - android:id="@+id/textView2"
74 android:layout_width="wrap_content" 53 android:layout_width="wrap_content"
75 android:layout_height="wrap_content" 54 android:layout_height="wrap_content"
76 - android:text="5.6" 55 + android:orientation="vertical"
77 - app:layout_constraintBottom_toBottomOf="@+id/progressBar" 56 + app:layout_constraintGuide_percent="0.65" />
78 - app:layout_constraintEnd_toEndOf="@+id/progressBar"
79 - app:layout_constraintHorizontal_bias="0.537"
80 - app:layout_constraintStart_toStartOf="@+id/vertical_guideline2"
81 - app:layout_constraintTop_toTopOf="@+id/horizontal_guideline" />
82 -
83 - <ImageView
84 - android:id="@+id/imageView3"
85 - android:layout_width="94dp"
86 - android:layout_height="36dp"
87 - app:layout_constraintBottom_toTopOf="@+id/horizontal_guideline2"
88 - app:layout_constraintEnd_toEndOf="parent"
89 - app:layout_constraintStart_toStartOf="@+id/vertical_guideline2"
90 - app:layout_constraintTop_toBottomOf="@+id/progressBar"
91 - app:srcCompat="@drawable/cosmote_one" />
92 -
93 - <androidx.constraintlayout.widget.ConstraintLayout
94 - android:id="@+id/cl_widget_phone"
95 - android:layout_width="131dp"
96 - android:layout_height="43dp"
97 - android:orientation="horizontal"
98 - app:layout_constraintBottom_toTopOf="@+id/horizontal_guideline"
99 - app:layout_constraintEnd_toStartOf="@+id/vertical_guideline"
100 - app:layout_constraintHorizontal_bias="1.0"
101 - app:layout_constraintStart_toStartOf="@+id/vertical_guideline0"
102 - app:layout_constraintTop_toTopOf="parent">
103 57
104 <ImageView 58 <ImageView
105 android:id="@+id/iv_widget_phone" 59 android:id="@+id/iv_widget_phone"
106 - android:layout_width="32dp" 60 + android:layout_width="0dp"
107 android:layout_height="18dp" 61 android:layout_height="18dp"
108 - android:layout_weight="1" 62 + android:layout_marginStart="8dp"
109 - app:layout_constraintBottom_toBottomOf="parent" 63 + android:layout_weight="0.2"
110 - app:layout_constraintStart_toStartOf="parent" 64 + android:src="@drawable/smartphone"
111 - app:layout_constraintTop_toTopOf="parent" 65 + app:layout_constraintBottom_toTopOf="@+id/horizontal_outer_guideline"
112 - app:layout_constraintVertical_bias="0.48" 66 + app:layout_constraintStart_toStartOf="@+id/vertical_outer_guideline"
113 - app:srcCompat="@drawable/smartphone" /> 67 + app:layout_constraintTop_toTopOf="parent" />
114 68
69 + <!-- MB Internet -->
115 <TextView 70 <TextView
116 android:id="@+id/tv_widget_phone_title" 71 android:id="@+id/tv_widget_phone_title"
117 android:layout_width="wrap_content" 72 android:layout_width="wrap_content"
118 android:layout_height="wrap_content" 73 android:layout_height="wrap_content"
74 + android:layout_marginStart="8dp"
119 android:text="Το κινητό μου" 75 android:text="Το κινητό μου"
120 - app:layout_constraintBottom_toBottomOf="parent" 76 + app:layout_constraintBottom_toTopOf="@+id/horizontal_outer_guideline"
77 + app:layout_constraintEnd_toStartOf="@+id/vertical_guideline"
78 + app:layout_constraintHorizontal_bias="0.0"
121 app:layout_constraintStart_toEndOf="@+id/iv_widget_phone" 79 app:layout_constraintStart_toEndOf="@+id/iv_widget_phone"
122 - app:layout_constraintTop_toTopOf="parent" />
123 - </androidx.constraintlayout.widget.ConstraintLayout>
124 -
125 - <ImageView
126 - android:id="@+id/imageView5"
127 - android:layout_width="84dp"
128 - android:layout_height="28dp"
129 - app:layout_constraintBottom_toTopOf="@+id/horizontal_guideline"
130 - app:layout_constraintEnd_toStartOf="@+id/vertical_guideline2"
131 - app:layout_constraintStart_toEndOf="@+id/cl_widget_phone"
132 app:layout_constraintTop_toTopOf="parent" 80 app:layout_constraintTop_toTopOf="parent"
133 - app:srcCompat="@drawable/cosmote_one" /> 81 + app:layout_constraintVertical_bias="0.529" />
134 -
135 - <androidx.constraintlayout.widget.ConstraintLayout
136 - android:id="@+id/cl_widget_mb"
137 - android:layout_width="131dp"
138 - android:layout_height="43dp"
139 - android:orientation="horizontal"
140 - app:layout_constraintBottom_toBottomOf="parent"
141 - app:layout_constraintEnd_toStartOf="@+id/vertical_guideline"
142 - app:layout_constraintHorizontal_bias="1.0"
143 - app:layout_constraintStart_toStartOf="parent"
144 - app:layout_constraintTop_toTopOf="@+id/horizontal_guideline2">
145 82
146 <ImageView 83 <ImageView
147 android:id="@+id/iv_widget_mb" 84 android:id="@+id/iv_widget_mb"
148 - android:layout_width="32dp" 85 + android:layout_width="23dp"
149 - android:layout_height="18dp" 86 + android:layout_height="20dp"
150 - android:layout_weight="1" 87 + android:layout_marginStart="12dp"
88 + android:layout_weight="0.2"
89 + android:src="@drawable/web"
151 app:layout_constraintBottom_toBottomOf="parent" 90 app:layout_constraintBottom_toBottomOf="parent"
152 - app:layout_constraintStart_toStartOf="parent" 91 + app:layout_constraintStart_toStartOf="@+id/vertical_outer_guideline"
153 - app:layout_constraintTop_toTopOf="parent" 92 + app:layout_constraintTop_toTopOf="@+id/horizontal_outer_guideline2"
154 - app:layout_constraintVertical_bias="0.48" 93 + app:layout_constraintVertical_bias="0.533" />
155 - app:srcCompat="@drawable/smartphone" /> 94 +
95 + <!-- Talk -->
156 96
157 <TextView 97 <TextView
158 - android:id="@+id/tv_widget_mb_title" 98 + android:id="@+id/tv_widget_talk_title"
159 android:layout_width="wrap_content" 99 android:layout_width="wrap_content"
160 android:layout_height="wrap_content" 100 android:layout_height="wrap_content"
161 - android:text="Το κινητό μου" 101 + android:layout_marginStart="12dp"
102 + android:text="MB Internet"
162 app:layout_constraintBottom_toBottomOf="parent" 103 app:layout_constraintBottom_toBottomOf="parent"
163 app:layout_constraintStart_toEndOf="@+id/iv_widget_mb" 104 app:layout_constraintStart_toEndOf="@+id/iv_widget_mb"
164 - app:layout_constraintTop_toTopOf="parent" /> 105 + app:layout_constraintTop_toTopOf="@+id/horizontal_outer_guideline2"
165 - </androidx.constraintlayout.widget.ConstraintLayout> 106 + app:layout_constraintVertical_bias="0.47" />
166 -
167 - <androidx.constraintlayout.widget.ConstraintLayout
168 - android:id="@+id/cl_widget_talk"
169 - android:layout_width="100dp"
170 - android:layout_height="34dp"
171 - android:orientation="horizontal"
172 - app:layout_constraintBottom_toBottomOf="parent"
173 - app:layout_constraintEnd_toStartOf="@+id/vertical_guideline2"
174 - app:layout_constraintStart_toStartOf="@+id/vertical_guideline"
175 - app:layout_constraintTop_toTopOf="@+id/horizontal_guideline2">
176 107
177 <ImageView 108 <ImageView
178 android:id="@+id/iv_widget_talk" 109 android:id="@+id/iv_widget_talk"
179 - android:layout_width="32dp" 110 + android:layout_width="0dp"
180 - android:layout_height="18dp" 111 + android:layout_height="21dp"
181 - android:layout_weight="1" 112 + android:layout_marginStart="12dp"
113 + android:layout_weight="0.2"
114 + android:background="@color/cos_blue"
115 + android:src="@drawable/phone_white"
182 app:layout_constraintBottom_toBottomOf="parent" 116 app:layout_constraintBottom_toBottomOf="parent"
183 - app:layout_constraintStart_toStartOf="parent" 117 + app:layout_constraintStart_toStartOf="@+id/vertical_guideline"
184 - app:layout_constraintTop_toTopOf="parent" 118 + app:layout_constraintTop_toTopOf="@+id/horizontal_outer_guideline2"
185 - app:layout_constraintVertical_bias="0.48" 119 + app:layout_constraintVertical_bias="0.533" />
186 - app:srcCompat="@drawable/smartphone" />
187 120
188 <TextView 121 <TextView
189 - android:id="@+id/tv_widget_talk_title" 122 + android:id="@+id/tv_widget_mb_title"
190 android:layout_width="wrap_content" 123 android:layout_width="wrap_content"
191 android:layout_height="wrap_content" 124 android:layout_height="wrap_content"
192 android:text="Ομιλία" 125 android:text="Ομιλία"
193 app:layout_constraintBottom_toBottomOf="parent" 126 app:layout_constraintBottom_toBottomOf="parent"
127 + app:layout_constraintEnd_toStartOf="@+id/vertical_guideline2"
128 + app:layout_constraintHorizontal_bias="0.295"
194 app:layout_constraintStart_toEndOf="@+id/iv_widget_talk" 129 app:layout_constraintStart_toEndOf="@+id/iv_widget_talk"
195 - app:layout_constraintTop_toTopOf="parent" /> 130 + app:layout_constraintTop_toTopOf="@+id/horizontal_outer_guideline2"
196 - </androidx.constraintlayout.widget.ConstraintLayout> 131 + app:layout_constraintVertical_bias="0.47" />
197 -
198 - <androidx.constraintlayout.widget.ConstraintLayout
199 - android:id="@+id/cl_widget_sms"
200 - android:layout_width="140dp"
201 - android:layout_height="35dp"
202 - android:orientation="horizontal"
203 - app:layout_constraintBottom_toBottomOf="parent"
204 - app:layout_constraintEnd_toEndOf="parent"
205 - app:layout_constraintStart_toStartOf="@+id/vertical_guideline2"
206 - app:layout_constraintTop_toTopOf="@+id/horizontal_guideline2">
207 132
133 + <!-- SMS -->
208 <ImageView 134 <ImageView
209 android:id="@+id/iv_widget_sms" 135 android:id="@+id/iv_widget_sms"
210 - android:layout_width="32dp" 136 + android:layout_width="26dp"
211 - android:layout_height="18dp" 137 + android:layout_height="17dp"
212 - android:layout_weight="1" 138 + android:layout_marginStart="12dp"
139 + android:layout_weight="0.2"
140 + android:src="@drawable/envelope_white"
213 app:layout_constraintBottom_toBottomOf="parent" 141 app:layout_constraintBottom_toBottomOf="parent"
214 - app:layout_constraintStart_toStartOf="parent" 142 + app:layout_constraintStart_toStartOf="@+id/vertical_guideline2"
215 - app:layout_constraintTop_toTopOf="parent" 143 + app:layout_constraintTop_toTopOf="@+id/horizontal_outer_guideline2"
216 - app:layout_constraintVertical_bias="0.48" 144 + app:layout_constraintVertical_bias="0.421" />
217 - app:srcCompat="@drawable/smartphone" />
218 145
219 <TextView 146 <TextView
220 android:id="@+id/tv_widget_sms_title" 147 android:id="@+id/tv_widget_sms_title"
...@@ -222,8 +149,78 @@ ...@@ -222,8 +149,78 @@
222 android:layout_height="wrap_content" 149 android:layout_height="wrap_content"
223 android:text="SMS" 150 android:text="SMS"
224 app:layout_constraintBottom_toBottomOf="parent" 151 app:layout_constraintBottom_toBottomOf="parent"
152 + app:layout_constraintEnd_toStartOf="@+id/vertical_outer_guideline2"
153 + app:layout_constraintHorizontal_bias="0.323"
225 app:layout_constraintStart_toEndOf="@+id/iv_widget_sms" 154 app:layout_constraintStart_toEndOf="@+id/iv_widget_sms"
226 - app:layout_constraintTop_toTopOf="parent" /> 155 + app:layout_constraintTop_toTopOf="@+id/horizontal_outer_guideline2"
227 - </androidx.constraintlayout.widget.ConstraintLayout> 156 + app:layout_constraintVertical_bias="0.47" />
157 +
158 + <!-- Comsote One top horizontal -->
159 +
160 + <!-- Title -->
161 +
162 + <ImageView
163 + android:layout_width="86dp"
164 + android:layout_height="20dp"
165 + android:scaleType="fitXY"
166 + android:src="@drawable/cosmote_one"
167 + app:layout_constraintBottom_toTopOf="@+id/horizontal_outer_guideline"
168 + app:layout_constraintEnd_toStartOf="@+id/vertical_guideline2"
169 + app:layout_constraintHorizontal_bias="0.567"
170 + app:layout_constraintStart_toStartOf="@+id/vertical_guideline"
171 + app:layout_constraintTop_toTopOf="parent"
172 + app:layout_constraintVertical_bias="0.562" />
173 +
174 + <TextView
175 + android:id="@+id/textView2"
176 + android:layout_width="wrap_content"
177 + android:layout_height="wrap_content"
178 + android:text="'Εχεις διαθέσιμα 5.6 GB"
179 + app:layout_constraintBottom_toTopOf="@+id/horizontal_outer_guideline2"
180 + app:layout_constraintEnd_toStartOf="@+id/vertical_guideline3"
181 + app:layout_constraintHorizontal_bias="0.0"
182 + app:layout_constraintStart_toStartOf="@+id/vertical_outer_guideline"
183 + app:layout_constraintTop_toTopOf="@+id/horizontal_outer_guideline"
184 + app:layout_constraintVertical_bias="0.105" />
185 +
186 + <!-- ProgressBar -->
187 + <ProgressBar
188 + android:id="@+id/progressBar"
189 + style="?android:attr/progressBarStyle"
190 + android:layout_width="109dp"
191 + android:layout_height="107dp"
192 + app:layout_constraintBottom_toTopOf="@+id/horizontal_outer_guideline2"
193 + app:layout_constraintEnd_toStartOf="@+id/vertical_outer_guideline2"
194 + app:layout_constraintHorizontal_bias="0.333"
195 + app:layout_constraintStart_toStartOf="@+id/vertical_guideline3"
196 + app:layout_constraintTop_toTopOf="@+id/horizontal_outer_guideline"
197 + app:layout_constraintVertical_bias="0.066" />
198 +
199 + <!-- Text inside ProgressBar -->
200 + <TextView
201 + android:id="@+id/textView4"
202 + android:layout_width="41dp"
203 + android:layout_height="30dp"
204 + android:gravity="center"
205 + android:text="5.6"
206 + android:textAlignment="center"
207 + app:layout_constraintBottom_toBottomOf="@+id/progressBar"
208 + app:layout_constraintEnd_toStartOf="@+id/vertical_outer_guideline2"
209 + app:layout_constraintHorizontal_bias="0.409"
210 + app:layout_constraintStart_toStartOf="@+id/vertical_guideline2"
211 + app:layout_constraintTop_toTopOf="@+id/progressBar"
212 + app:layout_constraintVertical_bias="0.519" />
213 +
214 + <ImageView
215 + android:id="@+id/imageView3"
216 + android:layout_width="99dp"
217 + android:layout_height="26dp"
218 + android:layout_marginTop="8dp"
219 + android:src="@drawable/cosmote_one"
220 + android:scaleType="fitXY"
221 + app:layout_constraintEnd_toStartOf="@+id/vertical_outer_guideline2"
222 + app:layout_constraintHorizontal_bias="0.4"
223 + app:layout_constraintStart_toStartOf="@+id/vertical_guideline3"
224 + app:layout_constraintTop_toBottomOf="@+id/progressBar" />
228 225
229 </androidx.constraintlayout.widget.ConstraintLayout> 226 </androidx.constraintlayout.widget.ConstraintLayout>
......