안드로이드 개발 질문/답변
(글 수 45,052)
안녕하세요,
앱에 하단 탭을 사용하고 있습니다. (아래의 XML 처럼)
근데 넥서스7에서는 하단 탭이 안나온다고 하네요;; 디바이스를 7~8개 테스트해봤는데 스마트폰에서는 다 잘되는데, 넥7에서는 안되네요;
혹시 비슷한 증상 겪으신 분들 있으시면 힌트좀 부탁드립니다^^
(아 근데 code highlighter 가 크롬에서 하면 라인이 다 떨어져서 나와서 익스플로러로 올리네요 ㅠㅠ 크롬에서 쓰는방법 없을까요? shift+enter로 창 크게 하고 붙여넣기 해도 라인이 다 떨어져 나와요ㅠ )
<TabHost xmlns:android="http://schemas.android.com/apk/res/android" android:id="@android:id/tabhost" android:layout_width="fill_parent" android:layout_height="fill_parent"> <LinearLayout android:orientation="vertical" android:layout_width="fill_parent" android:layout_height="fill_parent" > <FrameLayout android:id="@android:id/tabcontent" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_weight="1" android:padding="5dp" /> <TabWidget android:id="@android:id/tabs" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_weight="0" android:layout_marginBottom="-3dp" android:tabStripEnabled="false" /> </LinearLayout> </TabHost>
Entrepreneur, Embedded/Software Engineer
앗... 저도 하단 탭 쓰는데... 테스트 해봐야겠네요.
근데 넥7이 없다능... ㅡ.ㅡ;;;
아... 미리 사둘걸.