Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ArcProgressStackView in HorizontalScrollView? #7

Closed
radaced opened this issue May 22, 2016 · 1 comment
Closed

ArcProgressStackView in HorizontalScrollView? #7

radaced opened this issue May 22, 2016 · 1 comment

Comments

@radaced
Copy link

radaced commented May 22, 2016

Hey

First of all, awesome library! I want to use the ArcProgressStackView in a HorizontalScrollView (in the end I want to dynamically add multiple ArcProgressStackViews programmatically) but I can't seem to make it work even via xml.

Here's what I tried:

    <HorizontalScrollView
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:layout_weight="40">

            <com.gigamole.library.ArcProgressStackView
                android:id="@+id/arc0"
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:layout_marginLeft="@dimen/double_space_horizontal_margin"
                android:layout_marginStart="@dimen/double_space_horizontal_margin"
                android:layout_marginRight="@dimen/double_space_horizontal_margin"
                android:layout_marginEnd="@dimen/double_space_horizontal_margin"
                android:layout_marginTop="@dimen/double_space_vertical_margin"
                android:layout_marginBottom="@dimen/double_space_vertical_margin"
                app:apsv_shadowed="true"
                app:apsv_shadow_distance="1dp"
                app:apsv_shadow_radius="2dp"
                app:apsv_animated="true"
                app:apsv_animation_duration="2000"
                app:apsv_dragged="false"
                app:apsv_text_color="@color/colorConsumer"
                app:apsv_draw_width="15%"
                app:apsv_model_bg_enabled="true"
                app:apsv_start_angle="135"
                app:apsv_sweep_angle="270"
                app:apsv_indicator_orientation="horizontal"/>

    </HorizontalScrollView>

And just nothing is shown or at least no ArcProgressStackView.

Thanks in advance for your help.

Cheers

@radaced
Copy link
Author

radaced commented May 22, 2016

Sorry I'm dumb, I forgot to add a model...

@radaced radaced closed this as completed May 22, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant