Salut, je veux l'ombre à mon tabhost dans mon fragment. Mon code XML estComment donner l'ombre inférieure à FragmentTabHost dans android?
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical"
android:layout_marginTop="60dip"
>
<android.support.v4.app.FragmentTabHost
android:id="@android:id/tabhost"
android:layout_width="match_parent"
android:layout_height="wrap_content" >
<FrameLayout
android:id="@android:id/tabcontent"
android:layout_width="0dp"
android:layout_height="0dp"
android:layout_weight="0" />
</android.support.v4.app.FragmentTabHost>
<FrameLayout
android:id="@+id/realtabcontent"
android:layout_width="match_parent"
android:layout_height="0dip"
android:layout_weight="1" />
</LinearLayout>
J'ai essayé toutes les solutions disponibles sur stackoverflow mais cela ne marche pas. S'il vous plaît aider.
Avez-vous essayé l'ombre de liste de calques en arrière-plan du FragmentTabHost? – Vinodh
Non. Comment faire ça? – Mhandroid
avez-vous essayé 'android: élévation =" "' cette propriété? – Shailesh