WheelIndicatorView icon indicating copy to clipboard operation
WheelIndicatorView copied to clipboard

WheelIndicatorView not successfully displaying inside ScrollView

Open edwoollard opened this issue 9 years ago • 0 comments

I intend to try and display a few WheelIndicatorViews below one another in a scrolling layout, however I can only manage to actually get one on the screen and even then it stops the layout scrolling. Here is the XML that I have used for my layout but just no luck:

<?xml version="1.0" encoding="utf-8"?>
<ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:app="http://schemas.android.com/apk/res-auto"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    android:paddingLeft="@dimen/activity_horizontal_margin"
    android:paddingRight="@dimen/activity_horizontal_margin"
    android:paddingTop="@dimen/activity_vertical_margin"
    android:paddingBottom="@dimen/activity_vertical_margin"
    android:fillViewport="true">

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

        <com.dlazaro66.wheelindicatorview.WheelIndicatorView
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:id="@+id/wheel_indicator_view"
            app:itemsLineWidth="13dp" />

        <com.dlazaro66.wheelindicatorview.WheelIndicatorView
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:id="@+id/wheel_indicator_view2"
            app:itemsLineWidth="13dp" />

    </LinearLayout>
</ScrollView>

edwoollard avatar Jan 26 '16 13:01 edwoollard