I’m new to android development. How do I use designs from sketch in my app? with xml? other way? (My company will give me the desgins, i dont need to made the my self) thanks in advance
You need to create the XML file from scratch. When you get your designs the first thing you need to do is upload it to your Android Studio project. You do that by adding it to the ‘drawable’ folder. If you have more then one resolution (aka hdpi, xhdpi, xxhdpi and xxxhdpi) you have ‘drawable-hdpi’ folder (and so on). After the designs are in your project, you need to implement them in your XML file.
You can do it for example with ImageView:
<ImageView android:layout_width"wrap_content" android:layout_height"wrap_content" android:src"@drawable/YOUR-DESIGN"/>
Answered By – Evyatar Cohen