Top "Drawable" questions

A Drawable is a graphics-related term which generally means "something to be drawn.

How to set an empty drawable

I'm dealing with bugs in the Facebook SDK and so to remove the bugs I'll need to set a drawable …

android drawable
Repeat drawable in imageview?

Is it possible to repeat a drawable in an ImageView? I manage to repeat my drawable as a divider in …

android imageview drawable tile
Unable to use android:icon="@mipmap/ic_launcher" in Manifest after play services 7.5.0

I have recently update play services using dependencies compile 'com.google.android.gms:play-services:7.5.0' My app icon launcher is …

android google-play-services drawable mipmaps
Using drawable resources

I have this problem, see the trace stack: E/AndroidRuntime(2410): Caused by: org.xmlpull.v1.XmlPullParserException: Binary XML file line #5: &…

android bitmap drawable xml-drawable
Align top of image to top of TextView

I want to create a layout that aligns the top of an image to the top of a TextView like …

android android-layout textview drawable vertical-alignment
LayerDrawable programmatically

Since my application's color theme is dynamic i can only create background drawables using colors and shapedrawables, i want to …

android drawable layerdrawable
Masking a Drawable/Bitmap on Android

I'm currently looking for a way to use a black and white bitmap to mask the alpha channel of another …

android bitmap mask drawable
How to support all the different resolutions of android products

All the different resolutions of the different Android products are driving me nuts. My first android app that I wrote …

android layout drawable screen-resolution
Get the displayed size of an image inside an ImageView

The code is simple: <ImageView android:layout_width="fill_parent" android:layout_height="fill_parent" android:src="@drawable/cat"/&…

android image drawable image-size
Android: How to check if a path contains touched point?

I would try to develop an application in which I can draw a planimetry. So, each room has got its …

android path drawable contains android-canvas