Ich möchte 4 Registerkarten unten auf dem Bildschirm entwerfen, aber mein Problem ist Tabs sind am unteren Rand des Bildschirms versteckt.Aber in einer leeren Aktivität werden die Registerkarten angezeigt. Siehe die Bilder. this image is showing tabs with and without activityBottom Tabs sind versteckt
-2
A
Antwort
0
Versuchen-Eigenschaft android:layout_above="@id/tabs"
zu FrameLayout
Edit:
<TabHost xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@android:id/tabhost"
android:layout_width="match_parent"
android:layout_height="wrap_content">
<RelativeLayout
android:layout_width="match_parent"
android:layout_height="match_parent">
<TabWidget
android:id="@android:id/tabs"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_alignParentBottom="true" />
<FrameLayout
android:id="@android:id/tabcontent"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_above="@android:id/tabs"
android:layout_alignParentTop="true" />
</RelativeLayout>
</TabHost>
+0
Nein, es funktioniert nicht. –
+0
@NehaSingh Überprüfen Sie die bearbeitete Antwort. – Shrikant
Verwandte Themen
- 1. Bottom Tabs für Xamarin.Android (in Xamarin.forms App)
- 2. Bottom Navigationsleiste Teil einer Ansicht versteckt
- 3. Android Studio "x" zum Schließen von Tabs versteckt?
- 4. Was sind harte und weiche Tabs?
- 5. Welche Tabs sind in Chrome geöffnet?
- 6. Tabs sind nicht der ganze Bildschirm
- 7. Bottom scrollbar
- 8. Ionic md-tabs quetschen tabs
- 9. Benutzerdefinierte Android Bottom Menüleiste
- 10. CSS3 spaces space bottom
- 11. UITextView Inhalt Inset Bottom Arbeits iOS7 nicht
- 12. bootstrap 4 nav-tabs stop border-bottom vom springen auf schwebeflug
- 13. Schiebe Tabs in Actionbar Tabs
- 14. margin-bottom: 100px funktioniert nicht
- 15. Teradata Top-Middle-Bottom-Kunden
- 16. Nur Bottom div Updates mySQL
- 17. SQL Select Bottom Records
- 18. Bottom DockPanel für Bildsteuerung
- 19. Wie div bottom align?
- 20. Bottom Type in Swift
- 21. Android Bottom Sheet Dialog
- 22. Wie float bottom machen?
- 23. Bottom Navigation Icon Farbänderung
- 24. UIButton Bottom Shadow
- 25. Bottom-Heavy-Zufallszahl
- 26. Zusammenstoßen Bottom-Element
- 27. Block label margin-bottom
- 28. Fixed Bottom Aligned Div
- 29. Wie Bottom Navigation erstellen
- 30. Android Bottom-Navigation
Es ist immer versteckt? Wird es beim Scrollen nach oben/unten wieder sichtbar? –
Bitte beschreiben Sie Ihr Problem mit vollständigen Details! –
Ja stimme zu @PareshMayani –