Hi, I am newbie :). I have just one query about je...
# android
k
Hi, I am newbie :). I have just one query about jetpack composer. Does anyone know about remoteview example making with compose for home widget? Our team want to percent based layout but it is so complex with current remote view 😞
c
Using Compose for homescreen widgets is on the roadmap, but is not yet supported https://developer.android.com/jetpack/androidx/compose-roadmap
👍 1
m
Glance is probably going to be covered in the Android Dev Summit next week. It is not going to address the percent-based layout problem, though -- Glance is a wrapper around
RemoteViews
, but it cannot replace `RemoteViews`. That would require OS-level changes, which in turn requires several years to become widespread.
👍 1
k
Thanks. I hope changes coming soon. I think android widget layouting is too old fashion. So, it is too hard to implement due to Designer make a guide based on current android layout. I think home widget is one of weird area in android. All launcher does not show correct size what I input xml file. And widget callback does not said correct widget width and height.. and I think all home launcher have their own scaling rules..
Is anyone find last devsubmit glance appwidget sample?

https://youtu.be/15Q7xqxBGG0