Quantcast
Channel: Appcelerator Developer Center Q&A Tag Feed (android)
Viewing all articles
Browse latest Browse all 7655

Reloading the window when orientation was changed using Android Titanium

$
0
0

Hi my app's whole window is reloading when orientation was changed. How can I fixed my app to set no reload when orientation was changed.

Here's my tiapp.xml

<android xmlns:android="http://schemas.android.com/apk/res/android">
        <tool-api-level>17</tool-api-level>
        <manifest android:installLocation="preferExternal"
            android:versionCode="3" android:versionName="1.0.2">
            <uses-sdk android:minSdkVersion="7" android:targetSdkVersion="17"/>
            <application android:theme="@android:style/Theme.Holo">
                <activity
                    android:configChanges="keyboardHidden|orientation"
                    android:name="org.appcelerator.titanium.TiActivity"
                    android:theme="@android:style/Theme.Holo"/>
            </application>
        </manifest>
    </android>

Viewing all articles
Browse latest Browse all 7655

Trending Articles



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