android - Drawer Layout Will not preview. What's wrong? -
i have browsed through questions , have tried absolutely find. have tried
- adding dependency v4, v7, v13 graddle
- copied v4 , v13 jars libs folder
- tried switch compiled skd version, min sdk version, , target sdk version
i cannot drawer layout preview. app works fine when installed on device , emulator. getting frustrated tweeking layout , having launch way device check how layout looks. can figure 1 out?
<android.support.v4.widget.drawerlayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" android:id="@+id/drawer_layout" android:layout_width="match_parent" android:layout_height="match_parent">
set minsdkversion 14, change 17 (in build.gradle) , renders correctly
Comments
Post a Comment