|
23 | 23 | android:textSize="28sp" |
24 | 24 | android:textStyle="bold" /> |
25 | 25 |
|
26 | | - <!-- GESTÃO DE ACESSOS --> |
27 | | - <TextView |
28 | | - android:layout_width="wrap_content" |
29 | | - android:layout_height="wrap_content" |
30 | | - android:layout_marginBottom="10dp" |
31 | | - android:text="Controlo e Acessos" |
32 | | - android:textColor="?attr/colorOnSurfaceVariant" |
33 | | - android:textSize="14sp" |
34 | | - android:textStyle="bold" /> |
35 | | - |
36 | 26 | <GridLayout |
37 | 27 | android:layout_width="match_parent" |
38 | 28 | android:layout_height="wrap_content" |
39 | 29 | android:columnCount="2" |
40 | 30 | android:alignmentMode="alignMargins" |
41 | 31 | android:columnOrderPreserved="false"> |
42 | 32 |
|
| 33 | + <!-- GESTÃO DE ACESSOS --> |
| 34 | + <TextView |
| 35 | + android:layout_width="wrap_content" |
| 36 | + android:layout_height="wrap_content" |
| 37 | + android:layout_columnSpan="2" |
| 38 | + android:layout_marginTop="8dp" |
| 39 | + android:layout_marginBottom="8dp" |
| 40 | + android:text="Controlo e Acessos" |
| 41 | + android:textColor="?attr/colorOnSurfaceVariant" |
| 42 | + android:textSize="14sp" |
| 43 | + android:textStyle="bold" /> |
| 44 | + |
43 | 45 | <com.google.android.material.card.MaterialCardView |
44 | 46 | android:id="@+id/btnManageCards" |
45 | 47 | style="?attr/materialCardViewElevatedStyle" |
|
75 | 77 | android:textColor="?attr/colorOnSurface" |
76 | 78 | android:textStyle="bold" /> |
77 | 79 | </com.google.android.material.card.MaterialCardView> |
78 | | - </GridLayout> |
79 | 80 |
|
80 | | - <!-- INFRAESTRUTURA --> |
81 | | - <TextView |
82 | | - android:layout_width="wrap_content" |
83 | | - android:layout_height="wrap_content" |
84 | | - android:layout_marginTop="20dp" |
85 | | - android:layout_marginBottom="10dp" |
86 | | - android:text="Infraestrutura" |
87 | | - android:textColor="?attr/colorOnSurfaceVariant" |
88 | | - android:textSize="14sp" |
89 | | - android:textStyle="bold" /> |
90 | | - |
91 | | - <GridLayout |
92 | | - android:layout_width="match_parent" |
93 | | - android:layout_height="wrap_content" |
94 | | - android:columnCount="2" |
95 | | - android:alignmentMode="alignMargins" |
96 | | - android:columnOrderPreserved="false"> |
| 81 | + <!-- UNIVERSIDADE --> |
| 82 | + <TextView |
| 83 | + android:layout_width="wrap_content" |
| 84 | + android:layout_height="wrap_content" |
| 85 | + android:layout_columnSpan="2" |
| 86 | + android:layout_marginTop="16dp" |
| 87 | + android:layout_marginBottom="8dp" |
| 88 | + android:text="Universidade" |
| 89 | + android:textColor="?attr/colorOnSurfaceVariant" |
| 90 | + android:textSize="14sp" |
| 91 | + android:textStyle="bold" /> |
97 | 92 |
|
98 | 93 | <com.google.android.material.card.MaterialCardView |
99 | | - android:id="@+id/btnManageEquipamentos" |
| 94 | + android:id="@+id/btnManageUsers" |
100 | 95 | style="?attr/materialCardViewElevatedStyle" |
101 | 96 | android:layout_width="0dp" |
102 | 97 | android:layout_height="100dp" |
|
107 | 102 | android:layout_width="wrap_content" |
108 | 103 | android:layout_height="wrap_content" |
109 | 104 | android:layout_gravity="center" |
110 | | - android:text="Equipamentos\n(ESP32)" |
| 105 | + android:text="Utilizadores\ne Registo" |
111 | 106 | android:textAlignment="center" |
112 | 107 | android:textColor="?attr/colorOnSurface" |
113 | 108 | android:textStyle="bold" /> |
|
130 | 125 | android:textColor="?attr/colorOnSurface" |
131 | 126 | android:textStyle="bold" /> |
132 | 127 | </com.google.android.material.card.MaterialCardView> |
133 | | - </GridLayout> |
134 | | - |
135 | | - <!-- ENSINO --> |
136 | | - <TextView |
137 | | - android:layout_width="wrap_content" |
138 | | - android:layout_height="wrap_content" |
139 | | - android:layout_marginTop="20dp" |
140 | | - android:layout_marginBottom="10dp" |
141 | | - android:text="Ensino" |
142 | | - android:textColor="?attr/colorOnSurfaceVariant" |
143 | | - android:textSize="14sp" |
144 | | - android:textStyle="bold" /> |
145 | | - |
146 | | - <GridLayout |
147 | | - android:layout_width="match_parent" |
148 | | - android:layout_height="wrap_content" |
149 | | - android:columnCount="2" |
150 | | - android:alignmentMode="alignMargins" |
151 | | - android:columnOrderPreserved="false"> |
152 | 128 |
|
153 | 129 | <com.google.android.material.card.MaterialCardView |
154 | 130 | android:id="@+id/btnManageSessoes" |
155 | 131 | style="?attr/materialCardViewElevatedStyle" |
156 | | - android:layout_width="0dp" |
157 | | - android:layout_height="100dp" |
158 | | - android:layout_columnWeight="1" |
| 132 | + android:layout_width="match_parent" |
| 133 | + android:layout_height="80dp" |
| 134 | + android:layout_columnSpan="2" |
159 | 135 | android:layout_margin="4dp" |
160 | 136 | app:cardCornerRadius="12dp"> |
161 | 137 | <TextView |
162 | 138 | android:layout_width="wrap_content" |
163 | 139 | android:layout_height="wrap_content" |
164 | 140 | android:layout_gravity="center" |
165 | | - android:text="Sessões\nLetivas" |
| 141 | + android:text="Sessões Letivas" |
166 | 142 | android:textAlignment="center" |
167 | 143 | android:textColor="?attr/colorOnSurface" |
168 | 144 | android:textStyle="bold" /> |
169 | 145 | </com.google.android.material.card.MaterialCardView> |
170 | 146 |
|
171 | | - <View |
172 | | - android:layout_width="0dp" |
173 | | - android:layout_height="0dp" |
174 | | - android:layout_columnWeight="1" /> |
175 | | - </GridLayout> |
176 | | - |
177 | | - <!-- FERRAMENTAS --> |
178 | | - <TextView |
179 | | - android:layout_width="wrap_content" |
180 | | - android:layout_height="wrap_content" |
181 | | - android:layout_marginTop="20dp" |
182 | | - android:layout_marginBottom="10dp" |
183 | | - android:text="Ferramentas e Utilizadores" |
184 | | - android:textColor="?attr/colorOnSurfaceVariant" |
185 | | - android:textSize="14sp" |
186 | | - android:textStyle="bold" /> |
187 | | - |
188 | | - <GridLayout |
189 | | - android:layout_width="match_parent" |
190 | | - android:layout_height="wrap_content" |
191 | | - android:columnCount="2" |
192 | | - android:alignmentMode="alignMargins" |
193 | | - android:columnOrderPreserved="false"> |
| 147 | + <!-- INFRAESTRUTURA --> |
| 148 | + <TextView |
| 149 | + android:layout_width="wrap_content" |
| 150 | + android:layout_height="wrap_content" |
| 151 | + android:layout_columnSpan="2" |
| 152 | + android:layout_marginTop="16dp" |
| 153 | + android:layout_marginBottom="8dp" |
| 154 | + android:text="Infraestrutura" |
| 155 | + android:textColor="?attr/colorOnSurfaceVariant" |
| 156 | + android:textSize="14sp" |
| 157 | + android:textStyle="bold" /> |
194 | 158 |
|
195 | 159 | <com.google.android.material.card.MaterialCardView |
196 | | - android:id="@+id/btnProgramCard" |
| 160 | + android:id="@+id/btnManageEquipamentos" |
197 | 161 | style="?attr/materialCardViewElevatedStyle" |
198 | 162 | android:layout_width="0dp" |
199 | 163 | android:layout_height="100dp" |
|
204 | 168 | android:layout_width="wrap_content" |
205 | 169 | android:layout_height="wrap_content" |
206 | 170 | android:layout_gravity="center" |
207 | | - android:text="Programar\nCartão (NFC)" |
| 171 | + android:text="Equipamentos\n(ESP32)" |
208 | 172 | android:textAlignment="center" |
209 | 173 | android:textColor="?attr/colorOnSurface" |
210 | 174 | android:textStyle="bold" /> |
211 | 175 | </com.google.android.material.card.MaterialCardView> |
212 | 176 |
|
213 | 177 | <com.google.android.material.card.MaterialCardView |
214 | | - android:id="@+id/btnManageUsers" |
| 178 | + android:id="@+id/btnProgramCard" |
215 | 179 | style="?attr/materialCardViewElevatedStyle" |
216 | 180 | android:layout_width="0dp" |
217 | 181 | android:layout_height="100dp" |
|
222 | 186 | android:layout_width="wrap_content" |
223 | 187 | android:layout_height="wrap_content" |
224 | 188 | android:layout_gravity="center" |
225 | | - android:text="Utilizadores\ne Registo" |
| 189 | + android:text="Programar\nCartão (NFC)" |
226 | 190 | android:textAlignment="center" |
227 | 191 | android:textColor="?attr/colorOnSurface" |
228 | 192 | android:textStyle="bold" /> |
|
0 commit comments