Add done button for password and solve view bug

This commit is contained in:
J-Jamet
2018-02-18 12:16:56 +01:00
parent a1bf5f1e70
commit c1bf96ac5f
2 changed files with 4 additions and 4 deletions

View File

@@ -60,7 +60,8 @@
android:launchMode="singleInstance"
android:label="@string/menu_about" />
<activity android:name="com.keepassdroid.password.PasswordActivity"
android:configChanges="orientation|keyboardHidden">
android:configChanges="orientation|keyboardHidden"
android:windowSoftInputMode="adjustResize">
<intent-filter>
<action android:name="android.intent.action.VIEW" />
<category android:name="android.intent.category.DEFAULT" />

View File

@@ -22,9 +22,7 @@
xmlns:app="http://schemas.android.com/apk/res-auto"
android:id="@+id/container"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:paddingBottom="@dimen/default_margin"
android:clipToPadding="false">
android:layout_height="match_parent">
<android.support.design.widget.CoordinatorLayout
android:layout_width="match_parent"
@@ -130,6 +128,7 @@
android:layout_height="wrap_content"
android:hint="@string/password"
android:inputType="textPassword"
android:imeOptions="actionDone"
android:maxLines="1"/>
</android.support.design.widget.TextInputLayout>
</RelativeLayout>