Want to scroll VideoView

All your problems with Audio, Video and Images.

Want to scroll VideoView

Postby morrisford » Thu Apr 29, 2010 11:10 pm

I am trying to scroll a VideoView that contains an image stream. I have the streaming video working ok. The following is my latest try for the xml. This is the last of a lot of tries. The video displays but only the top left corner and it will not scroll either vertical or horizontal. The streamed video is 640 x 640.

A second question is, Is it possible to scroll vertical and horizontal?

<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:orientation="vertical"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
>
<ScrollView android:id="@+id/ScrollView01"
android:layout_width="fill_parent"
android:layout_height="200px">
<LinearLayout android:id="@+id/LinearLayout02"
android:orientation="vertical"
android:layout_width="wrap_content"
android:layout_height="800px" >
<VideoView android:id="@+id/video"
android:layout_width="640px"
android:layout_height="640px"
/>
</LinearLayout>
</ScrollView>>
</LinearLayout>
morrisford
Freshman
Freshman
 
Posts: 4
Joined: Thu Apr 29, 2010 11:01 pm

Top

Return to Multimedia Problems

Who is online

Users browsing this forum: No registered users and 36 guests