Explain focusable change

This commit is contained in:
Sylvia van Os
2019-11-23 14:35:03 +01:00
parent f0426b98dc
commit 30419b5896

View File

@@ -9,6 +9,16 @@
tools:context="protect.card_locker.MainActivity"
android:focusable="true"
android:focusableInTouchMode="true">
<!--
android:focusable="true"
android:focusableInTouchMode="true"
This two attributes remove focus from the EditText
widgets and set focus to layout container widget.
This prevents the keyboard from popping up every time
someone opens the app.
-->
<android.support.design.widget.AppBarLayout
android:layout_width="match_parent"