Value equals to match_parent or fill_parent in dimens.xml?

前端 未结 6 680
春和景丽
春和景丽 2020-12-08 00:12

Based on here on XML Attributes section I specify following in my dimens.xml:

-1dp


        
6条回答
  •  情书的邮戳
    2020-12-08 00:40

    First create attribs.xml:

    
        -1
        -2
    
    

    Second use your dimens:

       @dimen/match_parent
       @dimen/wrap_content
    

提交回复
热议问题