मैं डिज़ाइन समर्थन लाइब्रेरी में पेश किए गए नए टैबलेआउट का उपयोग कर रहा हूं। कि टैब सामग्री टुकड़े प्रदर्शित के शीर्ष ओवरलैपएंड्रॉइड डिज़ाइन समर्थन टैबलाउआउट ओवरलैपिंग सामग्री
<LinearLayout
xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_height="match_parent"
android:layout_width="match_parent">
<android.support.design.widget.CoordinatorLayout
android:id="@+id/lines_coordinator"
android:layout_width="match_parent"
android:layout_height="match_parent">
<android.support.design.widget.AppBarLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:theme="@style/ThemeOverlay.AppCompat.Dark.ActionBar">
<android.support.design.widget.TabLayout
android:id="@+id/tabs"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:elevation="4dp"/>
</android.support.design.widget.AppBarLayout>
<android.support.v4.view.ViewPager
android:id="@+id/viewpager"
android:layout_width="match_parent"
android:layout_height="match_parent" />
</android.support.design.widget.CoordinatorLayout>
</LinearLayout>
समस्या है,: मैं इस तरह कोड है। मैं इसे कैसे ठीक करूं? मैं टैबलेटआउट का उपयोग कर रहा हूं जैसे गिथब पर उदाहरणों में, इसलिए मुझे विश्वास है कि मेरे कोड में कोई समस्या नहीं है। मेरे पास पहले से एक टूलबार है क्योंकि मैं नेविगेशन ड्रॉवर में एक टुकड़े में टैब का उपयोग करता हूं, इसलिए मैंने इसे ऐपबारलाउट से हटा दिया।
बहुत बहुत धन्यवाद, इसे ठीक करें :) – qwertz