Android Studio ONE UI-style design?

Asked 1 years ago, Updated 1 years ago, 45 views

I want to design one ui style in Android studio It's hard to attach a picture, so it's hard to explain it exactly, but when you enter the message app on the device where Won Yoo-ai is applied, the app appears in the center of the main, and when you drag it down, it becomes smaller and goes to the top left. It looks similar to the title bar Do you have the effect of doing this?Do you know the name, method, or course?

android java android-studio

2022-09-22 17:56

1 Answers

I've never used One UI, but the contents you explained can be implemented with a combination of Coordinator Layout, Appbar Layout, and CollappingToolbar Layout. This is the embodiment of the traditional way. I think it will be possible with MotionLayout, which was distributed relatively recently. Google the relevant keywords to find the relevant examples without difficulty.

Method using Coordinator Layout

Method using MotionLayout


2022-09-22 17:56

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.