diff --git a/app/src/main/AndroidManifest.xml b/app/src/main/AndroidManifest.xml
index a27551a2005..897fc034879 100644
--- a/app/src/main/AndroidManifest.xml
+++ b/app/src/main/AndroidManifest.xml
@@ -138,6 +138,7 @@
(activity, R.layout.admin_pin_activity)
+ activity.setSupportActionBar(binding.adminPinToolbar)
+ activity.supportActionBar?.setDisplayHomeAsUpEnabled(true)
+ activity.supportActionBar?.setHomeAsUpIndicator(R.drawable.ic_close_white_24dp)
+ activity.supportActionBar?.setHomeActionContentDescription(R.string.admin_auth_close)
+
binding.apply {
lifecycleOwner = activity
viewModel = adminViewModel
}
+ binding.adminPinToolbar.title = resourceHandler
+ .getStringInLocale(R.string.admin_auth_activity_add_profiles_title)
// [onTextChanged] is a extension function defined at [TextInputEditTextHelper]
binding.adminPinInputPinEditText.onTextChanged { pin ->
pin?.let {
diff --git a/app/src/main/res/layout/admin_pin_activity.xml b/app/src/main/res/layout/admin_pin_activity.xml
index e40ed050b9d..f22760b80dd 100644
--- a/app/src/main/res/layout/admin_pin_activity.xml
+++ b/app/src/main/res/layout/admin_pin_activity.xml
@@ -13,14 +13,32 @@
android:layout_width="match_parent"
android:layout_height="match_parent">
+
+
+
+ android:scrollbars="none"
+ android:background="@color/component_color_shared_screen_secondary_background_color"
+ app:layout_constraintBottom_toBottomOf="parent"
+ app:layout_constraintEnd_toEndOf="parent"
+ app:layout_constraintStart_toStartOf="parent"
+ app:layout_constraintTop_toBottomOf="@id/admin_pin_toolbar"
+ >
@anim/slide_up
- @anim/slide_down
+
+