Is there a simpler/better way to put a border/outline around my TextView?
You can probably get by with just custom_bg_2 if you add a <stroke> section:
<?xml version="1.0" encoding="UTF-8"?><shape xmlns:android="http://schemas.android.com/apk/res/android"> <solid android:color="#FFFFFF"/> <corners android:radius="3dp" /> <padding android:left="10dp" android:top="10dp" android:right="10dp" android:bottom="10dp" /> <stroke android:color="#439CC8" android:width="2dp" /></shape>
Why not try stroke instead of solid?
According to Shape Drawable you can do something like:
<stroke android:width="2dp" android:color="#439CC8"/>
instead of <solid/>
and then set it as your TextView
background.