I wanted to change the background color of an activity, I have already seen some topics here but without success. Selecting in the spinner will change the activity color to black or white. How do I change the colors?
I wanted to change the background color of an activity, I have already seen some topics here but without success. Selecting in the spinner will change the activity color to black or white. How do I change the colors?
You can do it this way
Addanidinyourviewandthengettheviewonyouractivityandsetthecolor
or using rgb colors in LinearLayout
<LinearLayout android:orientation="vertical"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
**android:background="#ffffff"**>