title: How to set background color inside border in android studio?
body: <p><strong>I am trying to set border for which i have made this border.xml file, as i have used background keyword to set background color, but there is no effect of adding background keyword. Can anyone guide me how can i set background color inside border. Here is my border.xml code:</strong></p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;shape xmlns:android="http://schemas.android.com/apk/res/android" android:shape="rectangle"&gt;  
  &lt;corners android:radius="3dp"/&gt;
  &lt;padding android:left="5dp" android:right="5dp" android:top="5dp" android:bottom="5dp"/&gt;
  &lt;stroke android:width="5dp" android:color="#A5A5A5" android:background="#2B1B1B"/&gt;
  &lt;/shape&gt;
  </code></pre>