Tablayout 设置 位置 默认位置 移动位置

TabLayout,design包的控件; 对于设置TabLayout里面的Tab位置,楼主在网上查了一下, 一般是结合Viewpage来设置, 或者是写算法,算长度; 看了一下TabLayout的有关方法,楼主觉得这个方法挺好使的; 在此贡献一下: /** * Set the scroll position of the tabs. This is useful for when the
相关文章
相关标签/搜索