title: How to set background image in center of the panel in Basic4Android
body: <p>I want set the background image for a panel in the center of it. But how  can I set the image in center of panel?</p>
  
  <p>I wrote this code:</p>
  
  <pre><code>Dim panel21 As Panel
  panel21.Initialize("panel21")
  ScrollView1.Panel.AddView(panel21, 0, 138%y, 100%x, 12%y)
  panel21.SetBackgroundImage(LoadBitmap(File.DirAssets, "home.png"))
  </code></pre>
  
  <p>But I don't want to set background for it in designer mode.</p>