I applied borders on a linear layout:
<LinearLayout
android:id="@+id/lay1"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_weight="80"
android:background="@drawable/linearborder2" />
and in my main activity i want to change dynamically the background color of this one, but i do that the borders fade away. So how can i do to keep these borders and change the color?
Thank you