I have put an image in as the background of my android application with the following line of code:
android:background=\"@drawable/background\"
just use this line in your .xml file android:background="#ddxxxxxx" replace the xxxxxx with any color you want. refer https://alvinalexander.com/android/how-background-image-behind-translucent-opaque-textview for more details.
android:background="#ddxxxxxx"