GlSurfaceView not showing in ScrollView

Problems with Canvas, OpenGL, etc...

GlSurfaceView not showing in ScrollView

Postby Elendir » Tue Jun 08, 2010 12:03 pm

Hi everyone,

Code: Select all
<ScrollView  android:id="@+id/BuzzLayoutContainer"
         android:layout_width="fill_parent"
         android:layout_height="fill_parent">
      <RelativeLayout
         android:id="@+id/buzzLayout"
         android:layout_width="fill_parent"
         android:layout_height="fill_parent" />
</ScrollView>


The problem is when I do buzzLayout.addView(CustomGlSurfaceView), the GlView isn't showing.
If I remove the ScrollView, then it's working perfectly.
Is it a normal behavior ?
If yes, is there a way to have an automatic scrolling GlSurface without recoding the whole thing ?

Thanks for your responses.
Elendir
Freshman
Freshman
 
Posts: 4
Joined: Mon Jun 07, 2010 4:50 pm

Top

Re: GlSurfaceView not showing in ScrollView

Postby Kegelka » Wed Aug 21, 2013 12:01 am

What I read I really liked it. Thank you for your information!
Kegelka
Junior Developer
Junior Developer
 
Posts: 11
Joined: Tue Aug 20, 2013 11:49 pm

Top

Return to Android 2D/3D Graphics - OpenGL Problems

Who is online

Users browsing this forum: Yahoo [Bot] and 2 guests