Top "Android-drawable" questions

In Android, a Drawable is a general abstraction for "something that can be drawn.

Mipmap drawables for icons

Since Android 4.3 (Jelly Bean) we can now make use of the res/mipmap folders to store "mipmap" images. For example, …

android android-drawable mipmaps
Programmatically set left drawable in a TextView

I have a textView in xml here. <TextView android:id="@+id/bookTitle" android:layout_width="match_parent" android:layout_…

android textview android-drawable
Style bottom Line in Android

I need to create an android shape so that only the bottom has stroke (a dashed line). When I try …

android android-drawable android-styles layer-list
Drawable image on a canvas

How can I get an image to the canvas in order to draw on that image?

android android-canvas android-drawable
Create a Bitmap/Drawable from file path

I'm trying to create a Bitmap or Drawable from existing file path. String path = intent.getStringExtra("FilePath"); BitmapFactory.Options option = …

java android android-drawable bitmapfactory
Add ripple effect to my button with button background color?

I created a button and I want to add ripple effect to that button! I created a button bg XML …

android android-layout android-drawable rippledrawable
Android Studio: Drawable Folder: How to put Images for Multiple dpi?

Hi as per android documentation the drawable folder needs to have multiple sub-directories for images of different dpis. However in …

android android-studio android-drawable
Where are the Android icon drawables within the SDK?

In my design of UI of Android applications, I need some drawables for icons. Where are the existing drawables located …

android android-drawable
Get the ID of a drawable in ImageView

I have one ImageView and set a drawable on it. Now I need to get the ID of the drawable …

android android-imageview android-drawable
Android Studio drawable folders

In Android Studio, I can't figure out where to put images to be used inside the app. The drawable folder …

android android-studio android-drawable