title: Making a button semi-transparent in android
body: <blockquote>
    <p><strong>Possible Duplicate:</strong><br>
    <a href="https://stackoverflow.com/questions/2838757/how-to-set-opacity-alpha-for-view-in-android">How to Set Opacity (Alpha) for View in Android</a>  </p>
  </blockquote>
  
  
  
  <p>i want to ask two questions:</p>
  
  <p>1) i want to make the buttons in my <code>main.xml</code> i.e simply the first screen look semi-transparent.
  It should be such that the background image can be partly-seen through it. But the button should maintain its normal size and looks. </p>
  
  <p>2)(This is regarding another button in another view) i changed the background of buttons using</p>
  
  <pre><code>android:background="#2563EA"
  </code></pre>
  
  <p>but now when it is clicked it does not change its color. how can i reset it. also can anyone tell me how to give it a new <code>onClick</code> color.</p>