Skip to content

ScrollView #2

@mick-angel07

Description

@mick-angel07

Hi,
have a graph in vertical mode and i see it with a scroll bar; insert scroll view in activity_main.xml (modify MainActivity extends Activity and not AppCompatActivity and GraphSurfaceView extends View and not SurfaceView - add onDraw call drawGraph(..)). This my xml:

        <LinearLayout android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:orientation="vertical">

                <giwi.org.networkgraph.GraphSurfaceView
                    android:id="@+id/mysurface"
                    android:layout_width="wrap_content"
                    android:layout_height="wrap_content"
                />

        </LinearLayout>

if android:scrollbars!="none" don't see a graph if android:scrollbars="none" i see it, without scrollbar but not scoll..

Thanks,
Mick

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions