How do I draw an image inside an Android master-detail app?
<p>I'm new to android, so bear with me. Yesterday I started up an Android Master Detail project (Default Settings), and started looking around. I located a few lines of code nside com.myname.appname.ItemDetailFragment that looked like they were what was doing the changing of text in the secondary window. The related code is</p>

<pre><code>public View onCreateView(LayoutInflater inflater, ViewGroup container,
        Bundle savedInstanceState) {
        View rootView = inflater.inflate(R.layout.fragment_item_detail,
                container, false);

        // Show the dummy content as text in a TextView.
        if (mItem != null) {
            ((TextView) rootView.findViewById(R.id.item_detail))
                    .setText(mItem.descrip);
        }
        return rootView;
    }
</code></pre>

<p>I want to change this code around so that instead of displaying text it draws an image on the secondary activity. Any suggestions</p>

<p>Also, since I'm new to android, any good tutorials on master-detail app programming, activities, drawing images, or just plain Android would be great.</p>
