Почти для всех телефонов мое приложение отображается правильно: вкладки расположены в верхней части.
Однако для телефонов с CyanogenMod или планшетов Samsung Galaxy Tab 10.1 половина приложения обрезается / смещается, как показано ниже.
Ошибка графического интерфейса:
Как это выглядит на большинстве устройств:
https://ssl.gstatic.com/android/market/com.Wahoo/ss-480-0-3
Вот основной код XML-макета ... (я думал, довольно стандартный):
<?xml version="1.0" encoding="utf-8"?>
<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"
android:screenOrientation="portrait">
<LinearLayout
android:orientation="vertical"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:padding="5dp">
<TabWidget
android:id="@android:id/tabs"
android:orientation="vertical"
android:layout_width="fill_parent"
android:layout_height="wrap_content" />
<FrameLayout
android:id="@android:id/tabcontent"
android:orientation="vertical"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:padding="5dp" >
<LinearLayout android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:id="@+id/tab1"></LinearLayout>
</FrameLayout>
</LinearLayout>
</TabHost>