Android land-layout doesn't work on real device -
i'm having problem layout orientation. i've made android app has layout
, layout-land
problem when test on emulator screen orientation works, when install apk real android device, layout-land xml doesn't work tilt device.
i've made 2 layout folder layout-land
, layout
, set xml file same name it, , works fine emulator not in real device . i've checked android device tested , no problem settings. sorry bad english.
valid names tablet :
layout-sw600dp-land layout-sw720dp-land
check manifest must add : android:configchanges="orientation"
.. activities
with android:theme="@android:style/theme.translucent.notitlebar"
you must add android:screenorientation="sensor"
Comments
Post a Comment