Value equals to match_parent or fill_parent in dimens.xml?
问题 Based on here on XML Attributes section I specify following in my dimens.xml : <dimen name="match_parent">-1dp</dimen> <dimen name="main_left_menu_user_account_width">@dimen/match_parent</dimen> <dimen name="main_left_menu_user_account_height">@dimen/match_parent</dimen> Then I use the both dimensions in my layout: <ImageView android:id="@+id/userAccountImage" android:background="@drawable/user_account" android:layout_width="@dimen/main_left_menu_user_account_width" android:layout_height="