मैं एंड्रॉइड में एक टैब बार का उपयोग कर रहा हूं।एंड्रॉइड में नीचे टैब बार कैसे सेट करें?
डिफ़ॉल्ट रूप से, यह शीर्ष पर प्रदर्शित होता है।
मैं इसे नीचे प्रदर्शित करना चाहता हूं।
क्या कोई यह बता सकता है कि यह कैसे करें?
मैं एंड्रॉइड में एक टैब बार का उपयोग कर रहा हूं।एंड्रॉइड में नीचे टैब बार कैसे सेट करें?
डिफ़ॉल्ट रूप से, यह शीर्ष पर प्रदर्शित होता है।
मैं इसे नीचे प्रदर्शित करना चाहता हूं।
क्या कोई यह बता सकता है कि यह कैसे करें?
इस लिंक की जांच करें।
बस टैब विजेट के ऊपर सामग्री लेआउट रखें। अधिक जानकारी के लिए निम्न लिंक देखें। How to align your TabHost at the bottom of the screen
एंड्रॉयड जोड़ना:: layout_alignParentBottom = "true" TabWidget के लिए काम कर देता है Android: Tabs at the BOTTOM
<?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:padding="1dp" >
<RelativeLayout
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:orientation="vertical"
android:padding="5dp" >
<FrameLayout
android:id="@android:id/tabcontent"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:padding="5dp" />
<TabWidget
android:id="@android:id/tabs"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_alignParentBottom="true" />
</RelativeLayout>>
</TabHost>
क्या एक्शनबार एक्टिविटी के अंदर टैबहोस्ट का उपयोग करना संभव है? –