|
152 | 152 | android:layout_width="wrap_content" |
153 | 153 | android:layout_height="wrap_content" |
154 | 154 | android:layout_gravity="start|center_vertical" |
155 | | - android:gravity="start|center_vertical" |
156 | | - android:layout_marginBottom="4dp" |
157 | 155 | android:layout_marginStart="12dp" |
158 | 156 | android:layout_marginLeft="12dp" |
| 157 | + android:layout_marginBottom="4dp" |
| 158 | + android:gravity="start|center_vertical" |
159 | 159 | android:text="@string/app" |
160 | 160 | android:textColor="@color/colorDarkText" /> |
161 | 161 |
|
162 | 162 | <androidx.cardview.widget.CardView |
163 | 163 | android:layout_width="match_parent" |
164 | 164 | android:layout_height="wrap_content" |
165 | | - android:layout_marginTop="4dp" |
166 | | - android:layout_marginBottom="12dp" |
167 | 165 | android:layout_marginStart="12dp" |
| 166 | + android:layout_marginTop="4dp" |
168 | 167 | android:layout_marginEnd="12dp" |
| 168 | + android:layout_marginBottom="12dp" |
169 | 169 | app:cardCornerRadius="6dp" |
170 | 170 | app:cardElevation="4dp"> |
171 | 171 |
|
|
226 | 226 | android:layout_width="match_parent" |
227 | 227 | android:layout_height="56dp" |
228 | 228 | android:layout_gravity="center" |
229 | | - android:gravity="center" |
230 | 229 | android:layout_marginStart="12dp" |
231 | 230 | android:layout_marginTop="4dp" |
232 | 231 | android:layout_marginEnd="12dp" |
233 | 232 | android:layout_marginBottom="12dp" |
234 | | - android:orientation="vertical" |
235 | | - android:background="@color/colorPrimary"> |
| 233 | + android:background="@color/colorPrimary" |
| 234 | + android:gravity="center" |
| 235 | + android:orientation="vertical"> |
236 | 236 |
|
237 | 237 | <Button |
238 | 238 | android:id="@+id/main_activity_app_revoke_consent_button" |
239 | 239 | android:layout_width="match_parent" |
240 | 240 | android:layout_height="match_parent" |
| 241 | + android:background="@drawable/ripple_selector_white_red" |
241 | 242 | android:text="@string/revoke_consent" |
242 | | - android:textSize="19sp" |
243 | 243 | android:textColor="@android:color/white" |
244 | | - android:background="@drawable/ripple_selector_white_red" |
245 | | - android:visibility="visible"/> |
| 244 | + android:textSize="19sp" |
| 245 | + android:visibility="visible" /> |
246 | 246 |
|
247 | 247 | </LinearLayout> |
248 | 248 |
|
|
263 | 263 | android:id="@+id/main_activity_login_user_button" |
264 | 264 | android:layout_width="match_parent" |
265 | 265 | android:layout_height="match_parent" |
| 266 | + android:background="@drawable/ripple_selector_white_red" |
266 | 267 | android:text="@string/login_user" |
267 | | - android:textSize="19sp" |
268 | 268 | android:textColor="@android:color/white" |
269 | | - android:background="@drawable/ripple_selector_white_red" |
270 | | - android:visibility="visible"/> |
| 269 | + android:textSize="19sp" |
| 270 | + android:visibility="visible" /> |
271 | 271 |
|
272 | 272 | </LinearLayout> |
273 | 273 |
|
|
288 | 288 | android:id="@+id/main_activity_logout_user_button" |
289 | 289 | android:layout_width="match_parent" |
290 | 290 | android:layout_height="match_parent" |
| 291 | + android:background="@drawable/ripple_selector_white_red" |
291 | 292 | android:text="@string/logout_user" |
292 | | - android:textSize="19sp" |
293 | 293 | android:textColor="@android:color/white" |
294 | | - android:background="@drawable/ripple_selector_white_red" |
295 | | - android:visibility="visible"/> |
| 294 | + android:textSize="19sp" |
| 295 | + android:visibility="visible" /> |
296 | 296 | </LinearLayout> |
297 | 297 | </LinearLayout> |
298 | 298 |
|
| 299 | + <LinearLayout |
| 300 | + android:id="@+id/main_activity_jwt_linear_layout" |
| 301 | + android:layout_width="match_parent" |
| 302 | + android:layout_height="match_parent" |
| 303 | + android:clipChildren="false" |
| 304 | + android:clipToPadding="false" |
| 305 | + android:orientation="vertical"> |
| 306 | + |
| 307 | + <TextView |
| 308 | + android:id="@+id/main_activity_jwt_title_text_view" |
| 309 | + android:layout_width="wrap_content" |
| 310 | + android:layout_height="wrap_content" |
| 311 | + android:layout_gravity="start|center_vertical" |
| 312 | + android:layout_marginStart="12dp" |
| 313 | + android:layout_marginLeft="12dp" |
| 314 | + android:layout_marginBottom="4dp" |
| 315 | + android:gravity="start|center_vertical" |
| 316 | + android:text="@string/JWT" |
| 317 | + android:textColor="@color/colorDarkText" /> |
| 318 | + |
| 319 | + <androidx.cardview.widget.CardView |
| 320 | + android:layout_width="match_parent" |
| 321 | + android:layout_height="wrap_content" |
| 322 | + android:layout_marginStart="12dp" |
| 323 | + android:layout_marginTop="4dp" |
| 324 | + android:layout_marginEnd="12dp" |
| 325 | + android:layout_marginBottom="12dp" |
| 326 | + app:cardCornerRadius="6dp" |
| 327 | + app:cardElevation="4dp"> |
| 328 | + |
| 329 | + <LinearLayout |
| 330 | + android:id="@+id/main_activity_jwt_details_linear_layout" |
| 331 | + android:layout_width="match_parent" |
| 332 | + android:layout_height="wrap_content" |
| 333 | + android:orientation="vertical"> |
| 334 | + |
| 335 | + <LinearLayout |
| 336 | + android:layout_width="match_parent" |
| 337 | + android:layout_height="match_parent" |
| 338 | + android:layout_gravity="center" |
| 339 | + android:layout_marginTop="4dp" |
| 340 | + android:background="@color/colorPrimary" |
| 341 | + android:gravity="center" |
| 342 | + android:orientation="vertical"> |
| 343 | + |
| 344 | + <Button |
| 345 | + android:id="@+id/main_activity_invalidate_jwt_button" |
| 346 | + android:layout_width="match_parent" |
| 347 | + android:layout_height="match_parent" |
| 348 | + android:background="@drawable/ripple_selector_white_red" |
| 349 | + android:text="@string/invalidate_JWT" |
| 350 | + android:textColor="@android:color/white" |
| 351 | + android:textSize="19sp" |
| 352 | + android:visibility="visible" /> |
| 353 | + |
| 354 | + </LinearLayout> |
| 355 | + |
| 356 | + <LinearLayout |
| 357 | + android:layout_width="match_parent" |
| 358 | + android:layout_height="match_parent" |
| 359 | + android:layout_gravity="center" |
| 360 | + android:layout_marginTop="4dp" |
| 361 | + android:background="@color/colorPrimary" |
| 362 | + android:gravity="center" |
| 363 | + android:orientation="vertical"> |
| 364 | + |
| 365 | + <Button |
| 366 | + android:id="@+id/main_activity_update_jwt_button" |
| 367 | + android:layout_width="match_parent" |
| 368 | + android:layout_height="match_parent" |
| 369 | + android:background="@drawable/ripple_selector_white_red" |
| 370 | + android:text="@string/update_JWT" |
| 371 | + android:textColor="@android:color/white" |
| 372 | + android:textSize="19sp" |
| 373 | + android:visibility="visible" /> |
| 374 | + </LinearLayout> |
| 375 | + |
| 376 | + </LinearLayout> |
| 377 | + |
| 378 | + </androidx.cardview.widget.CardView> |
| 379 | + |
| 380 | + </LinearLayout> |
| 381 | + |
299 | 382 | <!-- Aliases --> |
300 | 383 | <LinearLayout |
301 | 384 | android:id="@+id/main_activity_aliases_linear_layout" |
|
0 commit comments