Top "Android-drawable" questions

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

Android: Alternative for context.getDrawable()

I have used context.getDrawable() like this in my project: Drawable greenProgressbar = context.getDrawable(R.drawable.custom_progressbargreen); But Eclipse …

java android eclipse android-drawable
How to set a shape's background in xml?

I just created a red circle using android shapes: <?xml version="1.0" encoding="utf-8"?> <shape xmlns:android="http://…

android colors background shape android-drawable
how to add shadow effect on drawable in android

I have created chat bubble with drawable which looks fine, now I want to add shadow effect below the drawable …

android android-drawable xml-drawable shapedrawable
Getting Bitmap from vector drawable

In my application, I have to set a large icon for a notification. LargeIcon must be a Bitmap, and my …

android bitmap android-drawable android-vectordrawable
Ring shape in android

I have the following xml in drawable folder (circle_status.xml) to create a ring: <?xml version="1.0" encoding="utf-8"?&…

android android-xml android-drawable android-shape
Using android vector Drawables on pre Lollipop crash

I'm using vector drawables in android prior to Lollipop and these are of some of my libraries and tool versions: …

android vector android-support-library android-drawable android-compatibility
What is the difference between Bitmap and Drawable in Android?

I googled but i couldn't find any article to describe about the difference between Bitmap and Drawable in Android.

android android-drawable terminology android-bitmap
Open-sided Android stroke?

Is it possible to create an Android shape object with stroke on only certain sides? Eg I have: <stroke …

android android-drawable android-shape
how to get android gradient center light effect?

i want something like following image i tried it using drawable shape <?xml version="1.0" encoding="utf-8"?> <shape …

android android-drawable xml-drawable
Android button select and press drawable

I'm trying to make a button with state press and select, I already did the same with tabs and it …

android button styles android-drawable xml-drawable