<ListView
android:id="@+id/ListView"
android:text="@string/Website"
android:layout_height="30px"
android:layout_width="150px"
android:scrollbars="none"
android:transcriptMode="normal"/>
<ListView
android:id="@+id/ListView1"
android:text="@string/Website"
android:layout_height="30px"
android:layout_width="150px"
android:scrollbars="none"
android:transcriptMode="normal"/>
If you make two list views like the code above, there is a line between the two list views. How do I erase that line?
android android-listview
On the code
getListView().setDivider(null);
getListView().setDividerHeight(0);
You can do it like this. Or in xml
android:divider="@null"
android:dividerHeight="0dp"
Please do it like this.
© 2024 OneMinuteCode. All rights reserved.