Quantcast
Channel: Appcelerator Developer Center Q&A Unanswered Questions 20
Viewing all articles
Browse latest Browse all 8068

ScrollView stops scrolling with keyboard open when windowTranslucentStatus

$
0
0

Hi,

I have a initial screen on my app that is basically a login screen. The screen fills the whole device screen. It is a ScrollView with other views inside (cointaining the textFields, buttons, etc). When the user focus a textfield the keyboard goes up and there is the problem.

If I have, in my custom theme, the following code:

<?xml version="1.0" encoding="utf-8"?>
<resources>
    <style name="Theme.NoActionBar" parent="@style/Theme.AppCompat">
        <item name="android:windowActionBar">false</item>
        <item name="android:windowNoTitle">true</item>
        <item name="android:textCursorDrawable">@null</item>
        <item name="android:windowTranslucentStatus">true</item>
    </style>
</resources>
The scrollView doesn't scroll when the keyboard is open.

If I remove

<item name="android:windowTranslucentStatus">true</item>
The scrollView behaves correctly and I can scroll the form to focus the other fields and press the button, even when the keyboard is open.

Any ideas why that happens? Am I missing something?

Some info:

Titanium SDK version 3.5.1.GA

Target Platform = android

Target Device = Nexus 5


Viewing all articles
Browse latest Browse all 8068

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>