..................
android:id="@+id/targetimage"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
/>
ImageView targetImage;
targetImage = (ImageView)findViewById(R.id.targetimage);
targetImage.setImageBitmap(bitmap);
In my App drawing I want insert a background image what to use? I will choose from Gallery either or not in sd card...?
// go and implement this (web page above) code...?
In my code I have View(rather ImageView) that appear a bitmap how convert to this??? View can accept this?
my code
DoodleView.java
public class DoodleView extends View
{
............
Doodlz.java
public class Doodlz extends Activity
{
............
main.xml
<com.deitel.doodlz.DoodleView
xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/doodleView"
android:layout_width="match_parent"
android:layout_height="match_parent"
/>
