Is it possible to make a widget scrollable?
I honestly havent looked yet cause i dont normally use widgets however i do use temporary popup overlays. I have a feed on one that would be better if text was larger but i would then have text cropped unless it is scrollable.
Scrolling widgets
Moderator: Martin
-
- Posts: 179
- Joined: 16 Oct 2019 17:38
Re: Scrolling widgets
I don't think widgets like animation.
I've experimented with text and images but didn't like the results.
I've experimented with text and images but didn't like the results.
Crude but it works.
Re: Scrolling widgets
Ugh dang!! Ok thanks sweetie. What about rss then? Can we use some sort of rss plugin? If that is possible then i would use that instead of overlay
Re: Scrolling widgets
If you need long multiple choices and scrollable, use input dialog instead - single choice menu. It saves you time from designing a giant widget. Remember, widget's action is limited to 8x8 buttons only,
As for the scrollable concept for widget, although it doesn't have it, we can use page method to simulate it. We can put a side button with arrow down to go the next page of the widget. When pressing it, it will change all the text with the choices from the second page. But this require a big giant list to store all the choices. So maybe the other method is to keep the text as it, but use another widget for page 2. So pressin the arrow down will hide widget page 1 and show widget page 2. But still again, you have to design all those widgets. Too hassle, better use input dialog if it is possible.
What do you need with the rss? You can use HTTP request to the rss link and then parse the xml and show it in the widget or input dialog.
As for the scrollable concept for widget, although it doesn't have it, we can use page method to simulate it. We can put a side button with arrow down to go the next page of the widget. When pressing it, it will change all the text with the choices from the second page. But this require a big giant list to store all the choices. So maybe the other method is to keep the text as it, but use another widget for page 2. So pressin the arrow down will hide widget page 1 and show widget page 2. But still again, you have to design all those widgets. Too hassle, better use input dialog if it is possible.
What do you need with the rss? You can use HTTP request to the rss link and then parse the xml and show it in the widget or input dialog.
Index of Automagic useful thread List of my other useful posts (and others')
Xiaomi Redmi Note 5 (whyred), AOSP Extended v6.7 build 20200310 Official, Android Pie 9.0, Rooted.
Xiaomi Redmi Note 5 (whyred), AOSP Extended v6.7 build 20200310 Official, Android Pie 9.0, Rooted.