Closed Bringoff closed 8 years ago
Hi, @Bringoff
SmartTabLayout settings are not a problem. May be it a bug in MIUI.
Hmm... Did you try a LinearLayout ?
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout
xmlns:android="http://schemas.android.com/apk/res/android"
android:orientation="vertical"
android:layout_width="match_parent"
android:layout_height="match_parent"
>
<android.support.v4.view.ViewPager
android:id="@+id/pager"
android:layout_width="match_parent"
android:layout_height="0dp"
android:layout_weight="1"
/>
<com.ogaclejapan.smarttablayout.SmartTabLayout
android:id="@+id/pagerTabLayout"
style="@style/BottomNavigationTabs"
/>
</LinearLayout>
Yes, I did try it, but nothing changed.
Hmmm, How is other apps? Did you see the same issue for other apps?
@Bringoff Sorry, I have no idea :(
Did you see the same issue for other apps?
Looks like no. Well, I have no idea, too.
Funny. I have updated my filmware and this problem is gone
I use this lib in my project to display custom tabs. All is ok with stock Android (screenshot). But on MIUI active tab indicator moves out of the bottom of the screen (screenshot). My layout looks like this:
Tabs style is here:
So, I assume that it could be a bug in MIUI, but... It's android and it's life:) I must support it and deal with this. So, I think the lib have to support MIUI.