I noticed that the README files for week three of the Android Dev Challenge included this note:
Did you know you can copy the preview as an image by right clicking on it?
Which doesn’t actually work for me in Android Studio 2020.3 Canary 9. Is this functionality that should be working, or is planned but just not quite working yet?
1 year ago
On the Compose icons, I can only find the “filled” Star icon
but not the “empty” one.
Anyone knows if it’s available?
1 year ago
How would you all go about building this?I guess I can just make a Column with two item types. One item type is for the header, and the other is for each typeface item. Each typeface item would just be a row with weight distributed as 40%, 20%, 20%, 20%I just want to make sure there's no other obvious solution here. There's no "grid" or "table" (like html/css) in compose right?
Hi there, I'm playing with animations and I encountered a following problem:
I have two texts and I'm animting their
(pulse effect animation). I want an animation to be infinite, but I want to be able to restart an animation from default value when state changes. So basically I have a switch which determines which text should be animating, and when switch changes the animation should reset. As my animation is infinite I tried
, but there is no way to restart it (or I didn't find any). What would be the best approach for this problem? I would need something like
but I don't want to remember it during state changes.
1 year ago
I can see we have a textOverflow property in Text(), but there is no such option in TextField. How do we achieve ellipsis in TextField
I might be stating an obvious fact, but noticed one thing today and thought I should share the same.When you’ve many UI components (Button, Text, Progress bar, etc.) cluttered in smaller region and this region is going to get re-composed highly frequent due to some state changes, I simple
based Composable works way better than
. So you might lose some alignment constraint provisions but there won’t be any performance hits.
was accumulating lag over the time while
being simple enough, was able to handle heavy operations.