Titanium 3.4.0 버전 쓰고있습니다.
아래와 같은 navBar라고 하나요?
없애는방법 없을까요?
Window navBarHidden=“true” 값을 줘도 안먹네요
Titanium 3.4.0 버전 쓰고있습니다.
아래와 같은 navBar라고 하나요?
없애는방법 없을까요?
Window navBarHidden=“true” 값을 줘도 안먹네요
같은 질문이 포럼에 있습니다.
에고고 3.4.0에서 자꾸 .hide()를 못찾는다고 떠서 보니까
3.3.0 버전에서만 된다고 하는거같더라구여 ㅠㅠ
감사합니다!!
테마로 하는거는 resources/android/res/values/styles.xml 해당 경로에 폴더랑 xml파일 만들고 해봤는데 안되더라구여 ㅠ
아닙니다. 둘다 최신버전에서도 잘 동작합니다.(최근 개발한 앱에서도 잘 썻어요.) 뭔가 실수하신게 있을 겁니다. 위 글에 달린 제 답변과 appcelerator 공식 블로그를 참고하여 다시해보세요.
tiapp.xml에
<android xmlns:android="http://schemas.android.com/apk/res/android">
<manifest>
<application android:theme="@style/Theme.NoActionBar">
<activity android:configChanges="keyboardHidden"
android:name="org.appcelerator.titanium.TiActivity" android:screenOrientation="portrait"/>
<activity android:configChanges="keyboardHidden" android:name="ti.modules.titanium.ui.TiTabActivity"/>
</application>
</manifest>
</android>
그리고platform/android/res/values/style.xml을 생성하시고요 style.xml파일안에
<?xml version="1.0" encoding="UTF-8" ?>
<resources>
<style name="Theme.NoActionBar" parent="@style/Theme.AppCompat">
<item name="windowActionBar">false</item>
<item name="android:windowNoTitle">true</item>
</style>
</resources>
이렇게 넣어주면 되요 ㅎㅎ