Dynamically position right corner arrow of the ActionBar Spinner based on length of displayed title

时光怂恿深爱的人放手 提交于 2019-12-03 08:14:12
user1596883

Please refer the code of android pure Calendar, in its adapter, getView() always returns the current item in Calendar so that the width of the Spinner is equal to the current item. Actually, the Spinner width in ActionBar is always calculated as the length of its longest item. Calendar does some special process here.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!