Skip to content Skip to sidebar Skip to footer

How To Use Android.graphics.drawable.bitmapdrawable In Android?

so I have used a function to create drawable from imagepath, and I get: android.graphics.drawable.bitmapdrawable@numbers How do I use it? can it be used as ID? for example with nor

Solution 1:

you cannot use findViewById(R.drawable.name), you have to use R.id.someId


Post a Comment for "How To Use Android.graphics.drawable.bitmapdrawable In Android?"