AndroidWordCloud icon indicating copy to clipboard operation
AndroidWordCloud copied to clipboard

unwanted resize of UI

Open hilbert-ralf opened this issue 4 years ago • 0 comments

Hi,

thanks for the great view! Unfortunately I'm facing a problem then I refresh with the following function calls:

wordCloud.setDataSet(wordClouds);
wordCloud.notifyDataSetChanged();

Initially the view is shown in the correct size, unfortunately after calling above code again the UI stretches over the borders of the display.

My UI XML looks like the following:

        <net.alhazmy13.wordcloud.WordCloudView
            android:id="@+id/wordCloud"
            android:layout_width="match_parent"
            android:layout_height="match_parent"/>

All other UIs in the area stay the same. Might this be a bug?

hilbert-ralf avatar Sep 04 '20 13:09 hilbert-ralf