Answer the question
In order to leave comments, you need to log in
Why in html, even if I don’t write br, the line is still wrapped?
hello, here is the code, why are the deadlines being postponed? I didn’t write the br tag, how can I turn off the transfer?<div>Текст1</div> <div class="div">Текст2</div>
Answer the question
In order to leave comments, you need to log in
Font support for older versions of Android appeared in the Support Library v26, so you need to add it to dependencies:
And it will be possible to use only xmlns:app :
<?xml version="1.0" encoding="utf-8"?>
<font-family
xmlns:app="http://schemas.android.com/apk/res-auto">
<font
app:fontStyle="normal"
app:fontWeight="400"
app:font="@font/atma_regular"/>
<font
app:fontStyle="normal"
app:fontWeight="100"
app:font="@font/atma_light"/>
</font-family>
Because div is a block element.
Disable wrapping - replace div with span
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question