1

How to remove left and right margin from ListView row?

view story
linux-howto

http://stackoverflow.com – I am using a DrawerLayout with a ListView inside. The rows of the list are TextViews. My problem is, that there is a margin on the left and right of each row, which I can't get rid off. Following a screenshot, where I set the pressed color to blue for illustration purpose. My ListView inside the DrawerLaoyut: <ListView android:id="@+id/left_drawer" android:layout_width="240dp" android:layout_height="match_parent" android:layout_gravity="start" android:layout_marginLeft="0dp" android:layout_marginRight="0dp" android:choiceMode="singleChoice" android:divider="@ (HowTos)