How can i see the xml Drawerlayout file on android studio

Jai

I am creating the XML drawer layout file on android studio but can not previews on android studio am getting this error how can i solve the problem

<android.support.v4.widget.DrawerLayout
xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/drawer_layout"
android:layout_width="match_parent"
android:layout_height="match_parent">
<FrameLayout
    android:id="@+id/content_frame"
    android:layout_width="match_parent"
    android:layout_height="match_parent" />
<ListView android:id="@+id/left_drawer"
    android:layout_width="240dp"
    android:layout_height="match_parent"
    android:layout_gravity="start"
    android:choiceMode="singleChoice"
    android:divider="@android:color/transparent"
    android:dividerHeight="0dp"
    android:background="#fff"/>

I get this error :

Rendering Problems The following classes could not be found:android.support.v4.widget.Drawer Layout (Fix Build Path, Create Class) Tip: Try to build the project.

Moubeen Farooq Khan

The problem is that you're probably using a lower minSdkVersion. I had the same problem, I had set the minSdkVersion to 14, change it to 17 (in the build.gradle) and it renders correctly.

or it can be Android Support Library problem

Steps

Right click on Project-> Android Tools->Add Support library.

then I just cleaned the project and I worked for me...

And Obviously Check the Android Library and other Libarary...

Collected from the Internet

Please contact [email protected] to delete if infringement.

edited at
0

Comments

0 comments
Login to comment

Related

From Dev

How to work with DrawerLayout in xml Android studio

From Dev

Android Studio: How can I see which resources are not used?

From Dev

How can I see where exactly exception occurred in Android Studio?

From Dev

I can not see the error in the Android Studio

From Dev

How can I use Fragments to open items on a Drawerlayout, when i used the Activity Drawer Navigation Template that provides android studio?

From Dev

Android Studio XML Layout file exist but I can't find it

From Dev

how can i change the text with a button click? android studio xml

From Java

How can I see 'git diff' on the Visual Studio Code side-by-side file?

From Dev

In jenkins how can I see last time build ran, by his xml file?

From Dev

How can I see the full layout in Android?

From Dev

How do I see with Android Studio from where the generated code in a BR file originates?

From Dev

How can I write a PCD file from Android Studio?

From Dev

how can i add poi jar file to android studio 1.0.1

From Dev

How can I write a PCD file from Android Studio?

From Dev

(Android) How can I find all ImageViews in my xml file?

From Dev

I can't see AVD manager window in android studio 0.4.0

From Dev

Where I can see all the methods of a class in Android studio?

From Dev

Where can I print out logs to see immediately in Android Studio?

From Dev

Why can't I using '&' in android resource strings.xml file in android studio?

From Dev

How can I see the changes on my SQL server in Visual Studio?

From Dev

How can i see my document settings.xml (maven)

From Dev

I can't find the Design tab in my XML file in Android Studio

From Dev

How do I see Gradle Warnings on Android Studio?

From Dev

How to place "&" in xml strings file in android studio

From Dev

No such file or directory but I can see it!

From Dev

How can I open a file and see the HTML highlights in Intellij IDEA?

From Dev

How can I use Git to see in which commits a file was renamed?

From Dev

How can I see if a request passed well in a .jsp file?

From Dev

How can I see the harddisk temperature file directly?

Related Related

  1. 1

    How to work with DrawerLayout in xml Android studio

  2. 2

    Android Studio: How can I see which resources are not used?

  3. 3

    How can I see where exactly exception occurred in Android Studio?

  4. 4

    I can not see the error in the Android Studio

  5. 5

    How can I use Fragments to open items on a Drawerlayout, when i used the Activity Drawer Navigation Template that provides android studio?

  6. 6

    Android Studio XML Layout file exist but I can't find it

  7. 7

    how can i change the text with a button click? android studio xml

  8. 8

    How can I see 'git diff' on the Visual Studio Code side-by-side file?

  9. 9

    In jenkins how can I see last time build ran, by his xml file?

  10. 10

    How can I see the full layout in Android?

  11. 11

    How do I see with Android Studio from where the generated code in a BR file originates?

  12. 12

    How can I write a PCD file from Android Studio?

  13. 13

    how can i add poi jar file to android studio 1.0.1

  14. 14

    How can I write a PCD file from Android Studio?

  15. 15

    (Android) How can I find all ImageViews in my xml file?

  16. 16

    I can't see AVD manager window in android studio 0.4.0

  17. 17

    Where I can see all the methods of a class in Android studio?

  18. 18

    Where can I print out logs to see immediately in Android Studio?

  19. 19

    Why can't I using '&' in android resource strings.xml file in android studio?

  20. 20

    How can I see the changes on my SQL server in Visual Studio?

  21. 21

    How can i see my document settings.xml (maven)

  22. 22

    I can't find the Design tab in my XML file in Android Studio

  23. 23

    How do I see Gradle Warnings on Android Studio?

  24. 24

    How to place "&" in xml strings file in android studio

  25. 25

    No such file or directory but I can see it!

  26. 26

    How can I open a file and see the HTML highlights in Intellij IDEA?

  27. 27

    How can I use Git to see in which commits a file was renamed?

  28. 28

    How can I see if a request passed well in a .jsp file?

  29. 29

    How can I see the harddisk temperature file directly?

HotTag

Archive