[英]Trying to find out which Android control this is?
If that is at the top of the screen, it would be a TabLayout .如果它位于屏幕顶部,那将是TabLayout 。 That usually sits below the Toolbar and is used along with a ViewPager to change the displayed fragments below it.它通常位于工具栏下方,并与ViewPager一起用于更改其下方显示的片段。 When you link the two, it lets the user change view by either clicking on the tab, or with a swipe gesture.当您链接两者时,它允许用户通过单击选项卡或滑动手势来更改视图。
If it was at the bottom of the screen, it could be a BottomNavigationView .如果它位于屏幕底部,则可能是BottomNavigationView 。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.