Please give an example of specifying an RGB-formatted color using XML on Android. The syntax is  #rrggbb.
You can specify an RGB-formatted color in XML like this:
<TextView
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:layout_centerInParent="true"
            android:text="Test text"
            android:textColor="#332116"
            android:textSize="16sp"
            android:textStyle="bold" />
General form:
android:textColor="#332116" is "#rrggbb"
                        If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With