D
D
Daniel2018-08-27 12:25:57
Java
Daniel, 2018-08-27 12:25:57

How to optimize the application for large screens?

Hello. I can't find any examples/tutorials on the internet about optimizing the app for the big screen.
For example, here are two screenshots, Google News and my application
5b83c3105cb7e728270807.jpeg5b83c3606b456914494720.jpeg
In the Google News application, when the screen size increases, the indents of blocks with news increase. There is no such thing in my application. It just stretches and looks bad.
I tried to assign a Constraint Layout, which is this same block with an Id entry, and with the help of this, find out the screen size and, depending on it, reduce or increase the indents
. But for some reason the application crashed.
How to implement such indents depending on the screen size in the application?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Denis Zagaevsky, 2018-08-27
@shevyrinn

https://developer.android.com/training/multiscreen...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question