मैं टैबलेटआउट का उपयोग नए android.support.design.widget पैकेज से कर रहा हूं।
<android.support.design.widget.TabLayout
android:id="@+id/tabs"
android:layout_width="match_parent"
android:layout_height="wrap_content"
app:tabGravity="fill"
app:tabIndicatorColor="@android:color/white"
app:tabMode="fixed" />
लेकिन गोलियों पर वे दिखते हैं
पूर्ण चौड़ाई भरने के लिए उन्हें कैसे फैलाएं। धन्यवाद।
उत्तर:
जवाब के लिए 5 № 1से जवाब लिया टेबलेट टैबलेट डिवाइस पर पूर्ण चौड़ाई नहीं ले रहा है [android.support.design.widget.TabLayout का उपयोग करना]
क्रेडिट कैज़ी जाता है
इस तरह अपने स्वयं के TabLayoutStyle लागू करें
<style name="MyTabLayout" parent="Widget.Design.TabLayout">
<item name="tabGravity">fill</item>
<item name="tabMaxWidth">0dp</item>
</style>