国产av日韩一区二区三区精品,成人性爱视频在线观看,国产,欧美,日韩,一区,www.成色av久久成人,2222eeee成人天堂

Android TabLayout 中如果修改下標(biāo)線(xiàn)樣式的寬度大小?
伊謝爾倫
伊謝爾倫 2017-04-17 17:40:50
0
3
1142

這個(gè)是豌豆莢 APP上的樣式,他們TabLayout的白色下標(biāo)線(xiàn)很短

這個(gè)是Demo上 默認(rèn)的效果,白色下標(biāo)線(xiàn)跟當(dāng)前 tab item 的寬度一樣

所以問(wèn)題就是如何能控制這個(gè)下標(biāo)線(xiàn)的樣式,讓它像豌豆莢上那樣的效果?

我找到一個(gè)第三方的組件 SmartTabLayout

伊謝爾倫
伊謝爾倫

小伙看你根骨奇佳,潛力無(wú)限,來(lái)學(xué)PHP伐。

reply all(3)
Peter_Zhu

Wandoujia is not implemented using TabLayout. I used uiautomatorviewer (view viewing tool, in the sdk/tools directory) to see it. It was written by myself

迷茫

Looking up the TabLayout API, I found that I couldn’t find a way to set the width of the lower mark. There is only a way to set the height of the small mark. So Wandoujia APP may not be using TabLayout, but may be a custom control layout. setSelectedTabIndicatorHeight

巴扎黑

Try https://github.com/hackware19...

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template