aboutsummaryrefslogtreecommitdiffhomepage
path: root/app/src
diff options
context:
space:
mode:
authorMarvin Borner2018-10-12 15:44:39 +0200
committerMarvin Borner2018-10-12 15:44:39 +0200
commite6e87cf4e166a18214e873b2e4aed224d9ca0e88 (patch)
treeee2fad7287515ab40c959fafa06c75c5666cf8f2 /app/src
parent85509c84cfb00830d56185c2d7bc1fb0357be944 (diff)
Fixed login keyboard :lipstick:
Diffstat (limited to 'app/src')
-rw-r--r--app/src/main/AndroidManifest.xml3
-rw-r--r--app/src/main/java/me/texx/Texx/LoginActivity.kt3
2 files changed, 3 insertions, 3 deletions
diff --git a/app/src/main/AndroidManifest.xml b/app/src/main/AndroidManifest.xml
index 5590ee2..48faf29 100644
--- a/app/src/main/AndroidManifest.xml
+++ b/app/src/main/AndroidManifest.xml
@@ -35,6 +35,7 @@
android:label="@string/app_name" />
<activity
android:name=".LoginActivity"
+ android:windowSoftInputMode="stateVisible|adjustResize"
android:label="@string/title_activity_login" />
<activity
android:name=".SettingsActivity"
@@ -46,7 +47,7 @@
<activity android:name=".CameraActivity" />
<activity android:name=".PhotoEditorActivity" />
<activity android:name=".IntroActivity" />
- <activity android:name=".BugReportActivity"></activity>
+ <activity android:name=".BugReportActivity" />
</application>
</manifest> \ No newline at end of file
diff --git a/app/src/main/java/me/texx/Texx/LoginActivity.kt b/app/src/main/java/me/texx/Texx/LoginActivity.kt
index d81983d..bdc4ba0 100644
--- a/app/src/main/java/me/texx/Texx/LoginActivity.kt
+++ b/app/src/main/java/me/texx/Texx/LoginActivity.kt
@@ -19,7 +19,6 @@ import android.support.v7.app.AppCompatActivity
import android.text.TextUtils
import android.view.View
import android.view.Window
-import android.view.WindowManager
import android.view.inputmethod.EditorInfo
import android.widget.ArrayAdapter
import android.widget.TextView
@@ -54,7 +53,7 @@ class LoginActivity : AppCompatActivity(), LoaderCallbacks<Cursor> {
dressCodeName = getThemeName(this)
// set fullscreen
requestWindowFeature(Window.FEATURE_NO_TITLE)
- window.setFlags(WindowManager.LayoutParams.FLAG_FULLSCREEN, WindowManager.LayoutParams.FLAG_FULLSCREEN)
+ //window.setFlags(WindowManager.LayoutParams.FLAG_FULLSCREEN, WindowManager.LayoutParams.FLAG_FULLSCREEN)
setContentView(R.layout.activity_login)
populateAutoComplete()