0
fragmenttabhost.xml являетсяtabdivider не работает на FragmentTabHost
<android.support.v4.app.FragmentTabHost
xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@android:id/tabhost"
android:layout_width="match_parent"
android:layout_height="match_parent">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical">
<FrameLayout
android:id="@android:id/tabcontent"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_weight="1" />
<TabWidget
android:id="@android:id/tabs"
android:orientation="horizontal"
android:layout_width="match_parent"
android:layout_weight="0"
android:layout_height="110dp"
android:showDividers="middle"
android:divider="@drawable/tab_divider"
android:layout_marginBottom="0dp" />
</LinearLayout>
</android.support.v4.app.FragmentTabHost>
и tab_divider.xml является
<?xml version="1.0" encoding="utf-8"?>
<shape xmlns:android="http://schemas.android.com/apk/res/android"
android:shape="line">
<size
android:height="100px"
android:width="1dp" />
<solid android:color="@color/red" />
</shape>
любая помощь будет весьма заметным. Спасибо.
вы проверяете на микросхемах? – Fahim
no, lollipop bro – Gunaseelan