I am trying to color the Space widget. I tried using the android:foreground and android:background attributes, but still it displays a transparent view.
<android.support.v4.widget.Space android:layout_width="match_parent" android:layout_height="0dp" android:layout_weight="1" android:foreground="@android:color/black" android:background="@android:color/black" />
android android-layout android-widget space
Malwinder singh
source share