Failed to find style ‘coordinatorLayoutStyle’ in current theme

I solved this rendering problem by simply inserting this line into the application theme (the app theme is usually placed in styles.xml). [SDK 28] [SDK 27] As suggested by @Chris. If the IDE does not find the CoordinatorLayout in Widget.Support or Widget.Design, just start typing “CoordinatorLayout” and it should give you some options.

Determining translationX/Y values for ObjectAnimator; how to move a view to an exact screen position?

I’m trying to move a view to the upper right corner of the screen, using ObjectAnimator.ofFloat(…) But, I’m not getting the results I expect. I’m getting the coordinates of the view beforehand, using ViewTreeListener, etc, and I already know the x value I need to offset from the end of the overall width. I can’t … Read more