Consider what I need on the example of this cat:
Suppose, in my application, this cat is a background attribute in the root layout in the main_activity.xml file.
First, if the device screen is smaller than a cat, then the cat should be compressed, but not cut off. And so that there is no empty space left on the screen . I.e:
That's the way it happens by default, but there’s one more thing second: all the view-elements on the screen should also be compressed and remain on that part of the cat where they were originally, that is:
In general, this is all that I need, but it should be on every device , taking into account the tablets.
I read a lot on the Internet about all these screen cases, but there is no complete picture. And I need a complete sequence of actions :
- what kind of
layoutyou need to create? - What are the
drawablesubfolders fordrawable? - what permission do seals do?
- write something in
AndroidManifest? - and something else that I don't know ..?


