How to make bottom sheet with logo? - android

How to make bottom sheet with logo, when the bottom sheet is up then the size of logo will change to big and when the bottom sheet is down the logo will change into a small size?
Like this photo

Related

How to stretch bottom nav bar to take full height

enter image description here
In the image, at the bottom, how do I fill it with bottom nav bar?
I don't know what it is called, so not able to search properly.

Is there any way to calculate the height of the bottom bar that Samsung adds when selecting Swipe gestures/Full screen gestures as Navigation bar?

When selecting gesture navigation in Samsung devices, a small black bar with three thin buttons is added at the bottom as an overlay. I'm taking a screenshot of the screen, and setting that screenshot as background on the next page. The screenshot doesn't seem to be considering the bottom bar, and when setting it as background, it tries to fill the entire screen, causing some stretching. Adding a bottom margin of the same height of the bottom bar, would solve the issue.
Is there any way to calculate that height?

How to make reactangle which bends a little from top to bottom ? I mean top to bottom curve at the top

I don't want white color oval because it shows up in button background.
I want this shape ane rest of the part transparent.

How to show a custom bar on top of the screen after scrolling

I have an app with a linear vertical layout that has an image on top with some parameters overlaid on it (for example: a resturant image will have parameters like rating, ambience etc.). When user scrolls down and when the image gets hidden, I want to add a small panel on top with thumbnail of the image and some of the details that were earlier overlaid on the image.
When scrolled on top, the panel will get hidden and bigger image in the imageView will again appear with overlaid data.
How do I achieve this?
Image showing how it should look after scrolling

Android - Curve on Top Left Corner in Image

I have a 4 sharp cornered image to display it my android application. But i want that image to be little curved from Top Left Corner. There should be no animation, nothing. Just an Image with a Curve on its top left corner.
Please look into the following image for reference, for what i wanted to achieved.
take a linear layout with fill parent and set background color while. then use image with in linear layout to show another one image on the screen.

Categories

Resources