You should use the more verbose
android:background="@android:color/transparent"
android:cacheColorHint="@android:color/transparent"
Updated with Jacky’s response. I originally merely meant to add to his answer, since he was using a plain hex color in the sample.
More Related Contents:
- Focusable EditText inside ListView
- How do I create a ListView with rounded corners in Android?
- How to set space between listView Items in Android
- java.lang.NullPointerException: Attempt to invoke virtual method ‘int android.view.View.getImportantForAccessibility()’ on a null object reference
- Memory leaks with custom font for set custom font
- Passing touch events to the parent view
- Android: Radio button in custom list view
- Different row layouts in ListView
- Android Studio Project: bottom of UI is cut off
- Custom Listview/Recyclerview
- How to refresh Android listview?
- Android Smudged layout
- ConstraintLayout: change constraints programmatically
- UnsupportedOperationException: Can’t convert to dimension: type=0x1
- Why should we use xml layouts?
- Handle screen rotation without losing data – Android
- Difference between onCreateView and onViewCreated in Fragment
- Android – zoom in/out RelativeLayout with spread/pinch
- Using Google Places API
- Android: Implementing progressbar and “loading…” for Endless List like Android Market
- Vertical line using XML drawable
- Android List view refresh
- How to combine BottomAppBar + FAB with BottomNavigationView
- eclipse can’t find android.support.v4.widget.SwipeRefreshLayout
- Error inflating class android.support.design.widget.CoordinatorLayout and ClassNotFoundException: android.support.design.R$styleable
- How to implement search in CustomListView based on class item of POJO class in Android?
- How to change default color of progress bar?
- Android Studio Google Map V2 fragment rendering
- banded background with two colors?
- How to include layout inside layout?