Top "Android-drawable" questions

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

What is the ID of the back arrow drawable in the ActionBar?

The following code causes a back arrow to appear in the ActionBar: getSupportActionBar().setDisplayShowHomeEnabled(true); getSupportActionBar().setDisplayHomeAsUpEnabled(true); I'm looking …

android android-actionbar android-drawable back up-navigation
How to set button background drawable image with ripple effect in android

My Xml code: <Button android:id="@+id/link_btn" android:layout_width="match_parent" android:layout_height="wrap_content" …

android background android-drawable ripple
Drawable vs. Bitmap

I am writing a real-time game for Android, and after looking at some code from the samples provided in the …

android mobile android-drawable android-bitmap android-2.2-froyo
How to make a circular drawable with stroke, programmatically?

Background I'm trying to have a filled circle, with a stroke of certain color and width, and an image inside. …

android android-drawable layerdrawable android-shapedrawable
Android circular progress bar with rounded corners

I am trying to get a circular progress bar with rounded corner as shown below. But I am not able …

android android-drawable xml-drawable
android: Universal Image Loader get drawable from string array

Mostly I found like this on Internet public static final String[] imageurl = new String[] { "http://sample.com/sample1.png", "http://…

android arraylist android-drawable universal-image-loader
Where to store images in Android drawables folder?

I am working on Android application that should support 2.1 till latest Android OS (4.2) version. Currently I have few images to …

android image android-drawable hdpi mdpi
Since which Android version is "drawable-nodpi" supported?

Since which Android version is "drawable-nodpi" supported? Is it safe to put images in "res/drawable-nodpi" and expect them to …

android android-version android-drawable
Android setBackgroundResource cause out of memory excepiton

I'm working on a gamebook application that shows 12 views in a ViewPager. This is my custom PagerAdapter : private class ImagePagerAdapter …

android exception memory android-viewpager android-drawable
Dotted line is actually not dotted when app is running on real Android device

in my app I use XML defined vertical dotted line. <?xml version="1.0" encoding="utf-8"?> <rotate xmlns:android="…

android android-drawable xml-drawable dotted-line