问题描述
我需要 spinner
的列表显示在其小部件下方。
我试过在我的 OP6 手机上运行的 android:dropDownVerticalOffset="15dp"
,但在三星手机上不起作用。而且 id:overlapAnchor="false"
也不起作用。
有人有什么推荐吗?
<Spinner
android:id="@+id/spStates"
android:layout_width="match_parent"
android:layout_height="0dp"
android:background="@drawable/bg_expandable_parent_item"
android:dropDownVerticalOffset="65dp"
android:elevation="0dp"
app:layout_constraintTop_toTopOf="@id/tv_headline"
app:layout_constraintLeft_toLeftOf="parent"
app:layout_constraintRight_toRightOf="parent"
app:layout_constraintBottom_toBottomOf="@id/tv_headline"
/>
它的显示方式(三星):
解决方法
暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!
如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。
小编邮箱:dio#foxmail.com (将#修改为@)