Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我在我的 android 项目中使用ViewPagerExtension 。我可以为每个选项卡添加一个文本视图。我想在每个标签中添加两个文本视图。我怎样才能做到这一点?
制作一个包装视图,即LinearLayout,并将这两个TextView元素放在包装视图中。然后,不是向 . 添加TextView元素,而是ViewPager向ViewPager.
LinearLayout
TextView
ViewPager