From 9424b6b94d36f0f538576399b949884f6db29ac2 Mon Sep 17 00:00:00 2001 From: Isidro Henoch Date: Wed, 12 Jan 2022 15:09:52 -0600 Subject: Adds the user information functionality - Displays the user information - Allows the user to sign out --- androidApp/src/main/res/layout/units_activity.xml | 135 ++++++++---------- .../main/res/layout/user_information_activity.xml | 156 +++++++++++++++++++++ androidApp/src/main/res/menu/navigation_menu.xml | 26 ---- androidApp/src/main/res/values/dimen.xml | 3 + androidApp/src/main/res/values/strings.xml | 8 ++ 5 files changed, 228 insertions(+), 100 deletions(-) create mode 100644 androidApp/src/main/res/layout/user_information_activity.xml delete mode 100644 androidApp/src/main/res/menu/navigation_menu.xml (limited to 'androidApp/src/main/res') diff --git a/androidApp/src/main/res/layout/units_activity.xml b/androidApp/src/main/res/layout/units_activity.xml index fb39ebe..bc8d94a 100644 --- a/androidApp/src/main/res/layout/units_activity.xml +++ b/androidApp/src/main/res/layout/units_activity.xml @@ -1,87 +1,74 @@ - - - - + android:layout_height="match_parent"> - + - - - + - + - + - + - + android:layout_height="wrap_content" + android:layout_marginTop="@dimen/fab_margin" + android:layout_marginEnd="@dimen/fab_margin" + android:backgroundTint="@android:color/white" + app:borderWidth="0dp" + app:elevation="@dimen/fab_elevation" + app:fabSize="mini" + app:layout_constraintEnd_toEndOf="parent" + app:layout_constraintTop_toTopOf="parent" + tools:ignore="ContentDescription" /> - \ No newline at end of file + \ No newline at end of file diff --git a/androidApp/src/main/res/layout/user_information_activity.xml b/androidApp/src/main/res/layout/user_information_activity.xml new file mode 100644 index 0000000..8bb994a --- /dev/null +++ b/androidApp/src/main/res/layout/user_information_activity.xml @@ -0,0 +1,156 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/androidApp/src/main/res/menu/navigation_menu.xml b/androidApp/src/main/res/menu/navigation_menu.xml deleted file mode 100644 index 2713776..0000000 --- a/androidApp/src/main/res/menu/navigation_menu.xml +++ /dev/null @@ -1,26 +0,0 @@ - - - - - - - - - - - - - \ No newline at end of file diff --git a/androidApp/src/main/res/values/dimen.xml b/androidApp/src/main/res/values/dimen.xml index 8acc9a3..25d0e98 100644 --- a/androidApp/src/main/res/values/dimen.xml +++ b/androidApp/src/main/res/values/dimen.xml @@ -20,4 +20,7 @@ 12dp 8dp + + + 8dp \ No newline at end of file diff --git a/androidApp/src/main/res/values/strings.xml b/androidApp/src/main/res/values/strings.xml index 13ac79d..6901a37 100644 --- a/androidApp/src/main/res/values/strings.xml +++ b/androidApp/src/main/res/values/strings.xml @@ -86,4 +86,12 @@ Text message received Driver changed Unknown event + + + Username + Email + Unique ID + Device Limit + Administrator + Sign out -- cgit v1.2.3