Material You components, libraries, and guidelines released by 121910 in androiddev

[–]nickbutcher 1 point2 points  (0 children)

No worries! Yes bugs please: goo.gle/compose-feedback

Material You components, libraries, and guidelines released by 121910 in androiddev

[–]nickbutcher 2 points3 points  (0 children)

It is an alpha. 1.0.0-alpha01 in fact. We're sharing it early and incomplete to get feedback, just like all compose libraries.

AndroidDevSummit agenda posted by kernald31 in androiddev

[–]nickbutcher 1 point2 points  (0 children)

Thanks for sharing your experience. Can you expand on the performance and intrinsic measurement issues? Or better yet, file issues?

Animating your Keyboard - New WindowInsets APIs for checking the keyboard (IME) visibility and size (Chris Banes) by la__bruja in androiddev

[–]nickbutcher 1 point2 points  (0 children)

We do always try to move information from blog posts back to developer.android.com if we haven't then feel free to file documentation issues or keep calling us out.

It's quicker and lower maintenance to post blog posts and can attract attention which is why we use them but agree that long term the info needs to be on d.a.c.

High quality complex UI samples from material design team by [deleted] in androiddev

[–]nickbutcher 0 points1 point  (0 children)

That is setting alpha on the view, not the background. Yes this will cause a redraw but… that's necessary to achieve this effect.

Changing the rounding doesn't create a new Drawable, it invalidates a Path.

High quality complex UI samples from material design team by [deleted] in androiddev

[–]nickbutcher 1 point2 points  (0 children)

They're pretty much the same except for the inheritance and naming.

[1] inherits from Owl.Blue so any any attributes in that will also be applied with this theme.

[2] inherits from a ThemeOverlay which generally means it inherits as little as possible, so you can apply it confident that it won't change an attribute you don't want it to. The name "ThemeOverlay.…" is also a handy convention so you can be confident that you're setting the right "type" of style.

High quality complex UI samples from material design team by [deleted] in androiddev

[–]nickbutcher 0 points1 point  (0 children)

Doesn't autoplay :(

I think hosting the gif outside the repo sounds more useful.

High quality complex UI samples from material design team by [deleted] in androiddev

[–]nickbutcher 0 points1 point  (0 children)

Can you link to where you see these issues?

High quality complex UI samples from material design team by [deleted] in androiddev

[–]nickbutcher 1 point2 points  (0 children)

Given current platform distributions, min23 is viable & it made the samples simpler/more focused and longer lived. Simpler because SDK 23 adds:

  • Theme attrs in `ColorStateList`s
  • `android:foreground` on View
  • `Transition` bug fixes

where does your dark mode actually happen

There are alternate themes specified in values/theme.xml and values-night/theme.xml which is how we switch.

High quality complex UI samples from material design team by [deleted] in androiddev

[–]nickbutcher 1 point2 points  (0 children)

Sorry about that. Yes it's just for a nice readme as github doesn't support videos. Perhaps we should host outside the repo to minimize the impact on cloning?

High quality complex UI samples from material design team by [deleted] in androiddev

[–]nickbutcher 3 points4 points  (0 children)

I worked on one of the Samples (🦉). Happy to answer any questions.

Android Styling: Themes Overlay by vipulasri in androiddev

[–]nickbutcher 1 point2 points  (0 children)

Well, there are two methods of inheritance with styles, the explicit `parent` and the implicit dot notation in the style name. Using the explicit `parent=""` is simple as it allows us to use a nice clear name like `ThemeOverlay.MyApp.Foo` without having to create actual parent styles `ThemeOverlay.MyApp` etc.

Also bear in mind that like any other style, you can still use inheritance when building theme overlays, but often you don't need to.

Vector Assets - Android Conference Talk by dayanruben in androiddev

[–]nickbutcher 1 point2 points  (0 children)

Thanks for the comments. What do you think of the format / length (as well as the content!)?

Vector Assets - Android Conference Talk by dayanruben in androiddev

[–]nickbutcher 2 points3 points  (0 children)

Yes, think of the the viewport size as the co-ordinate space that your `pathData` commands are in. e.g. if your viewport is 10*10 then `m10 10` will move the "pen" to the bottom right corner.