K
K
Kirill2018-07-12 16:07:08
Android
Kirill, 2018-07-12 16:07:08

Why doesn't RelativeLayout fill the space to the end with match_parent attribute?

Why doesn't the RelativeLayout fill the entire space of the Toolbar to the end with the match_parent attribute?
5b47527051763577615402.png5b475278a9f25693078975.png

Answer the question

In order to leave comments, you need to log in

1 answer(s)
M
Mikhail Chvarkov, 2018-07-12
@PainMain

Because the toolbar has its own built-in indents. Try adding app:contentInsetStart="0dp" to the Toolbar

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question