How to specify fixed layout_marginLeft for smartphones and wrap_content for tablet for NavigationDrawer
问题 I have the below navigation drawer and I want to give layout_marginLeft as -64dp for smartphones and wrap_content for tablets. Please let me know how to do that?I don't want to create separate laytout.xml files for smartphone and tablets i.e I have only one layout.xml file. As of now I am specifying different dimension in dimes.xml files which are created for smartphones and tabs. <!-- The navigation drawer --> <android.support.design.widget.NavigationView android:id="@+id/navigation" android