How can i define the match_parent flag in a dimens.xml?
<dimen name="width">match_parent</dimen>
I tried the methods here Value equals to match_parent or fill_parent in dimens.xml? but none work.
Iam using Android > 27 API.
How can i define the match_parent flag in a dimens.xml?
<dimen name="width">match_parent</dimen>
I tried the methods here Value equals to match_parent or fill_parent in dimens.xml? but none work.
Iam using Android > 27 API.
First create attribs.xml:
Second use your dimens: