有没有办法改变操作栏中下拉微调器的位置?
我找到了旋转器下拉的这种风格:
…但是如何让这个微调器一直到动作栏的右侧?现在它看起来像这样….
我希望旋转器能够齐平地靠在操作杆的右侧.
最佳答案
没有.
唯一的方法是使用自定义导航,您可以在其中为自己的Spinner提供.然后,您可以在ActionBar.LayoutParams上将重力设置为右侧.这会将自定义视图移动到屏幕右侧(但它仍将保留在操作项的左侧).
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。