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.
在横向模式下,我的应用程序中有一个微调器。当我单击微调器时,下拉列表会占据整个屏幕宽度。我想将宽度减小到特定值。我可以知道该怎么做吗?
Senthil 提前致谢。
将 xml 文件中的微调器布局宽度属性更改为
android:layout_width="50dip" or android:layout_width="wrap_content"
机器人:dropDownWidth="50dp"