在对话框中,在android studio中标题行之后
尝试使用以下选项制作菜单: 我只能做到以下几点:在对话框中,在android studio中标题行之后,android,Android,尝试使用以下选项制作菜单: 我只能做到以下几点: 将此xml代码放在标题标签下方 <view xmlns:android="http://schemas.android.com/apk/res/android" android:background="#30111111" android:layout_width="match_parent" android:layout_height="1dp" android:id="@+id/divi
将此xml代码放在标题标签下方
<view
xmlns:android="http://schemas.android.com/apk/res/android"
android:background="#30111111"
android:layout_width="match_parent"
android:layout_height="1dp"
android:id="@+id/divider" />
尝试编辑对话框xml 在需要行的顶部使用下面的xml 其中#CCCC是线条的颜色
<View
android:layout_width="match_parent"
android:layout_height="1dp"
android:background="#cccccc"/>
为对话框布局添加xml文件。