tags:

views:

269

answers:

0

Consider following main.xml:

<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
    android:orientation="vertical"
    android:layout_width="fill_parent"
    android:layout_height="fill_parent"
    android:background="@drawable/app_background_gradient">
<VideoView android:id="@+id/VideoView01" android:layout_width="200px" android:layout_height="200px"></VideoView>
</LinearLayout>

and following app_background_gradient.xml:

<shape xmlns:android="http://schemas.android.com/apk/res/android"
    android:shape="rectangle">
<gradient android:startColor="#000000" android:endColor="#3c3c3c"
        android:angle="270" />
</shape>

VideoView in the main.xml makes the background gradient look more grainy, despite the fact it is just 200 x 200 big. Setting it to invisible does not help. I do not try to play any video on this VideoView.

Appreciate any help.

BR blacharnia