In situation below, TextView background should be solid color, but instead i get it transparent somehow.. so on listview scroll, listview content is visible through textview, but it should not.
Here is my layout:
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:orientation="vertical"
android:layout_width="match_parent"
android:layout_height="match_parent">
<TextView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_gravity="top"
android:id="@+id/listSection"
android:textSize="19sp"
android:textColor="@android:color/black"
android:text="Medium Text"
android:background="#707e89"
android:padding="5dp"
android:textStyle="bold"
android:autoText="true" />
<ListView
android:layout_width="match_parent"
android:layout_height="match_parent"
android:id="@+id/medicationList"
android:layout_gravity="center_horizontal|top" />
</FrameLayout>
What is wrong here :) ?