java - Drag and Drop in Android Studio layout editor -
i have problem adding images app's layout. i've searched answer while, when doing friendly people of internet told me, there still no success.
- images in png format in res/drawable folder.
- im trying drag'n'drop them content_*.xml preview.
- i can add elements palette.
- i using relativelayout.
any idea may cause of problem?
view of android studio screen:
you must store images on
drawables
folders not indrawable
-drawable-hdpi,drawable-mdpi,drawable-xhdpi.....you should drag
imageview
, add imagesrc param
. can't directly drag , drop imagesyou can't add elements in "palette".
relativelayout
... okay, whatever layout it's good
update1
- to see drawable folders must clic on arrow (see image1) , put on "project" (image2)
----------> see point 1.
yes can drag&drop elemenst,
textviews, imageviews, edittext....
Comments
Post a Comment