0
In my side_nav_bar
the staining is defined as gradient
:
<shape xmlns:android="http://schemas.android.com/apk/res/android"
android:shape="rectangle">
<gradient
android:angle="135"
android:centerColor="#009688"
android:endColor="#00695C"
android:startColor="#4DB6AC"
android:type="linear" />
How I remove the gradient so that only one color remains ?
To facilitate the response put the side_nav_bar xml.
– ramaral
@ramaral edited.
– Roknauta
This is the xml of the gradient. What I want to see is how you assign this gradient to the side_nav_bar.
– ramaral
@ramaral maybe I didn’t understand it well, but this is the content of side_nav_bar.xml
– Roknauta
@ramaral got what I wanted, just exchange the gradiant for Solid :)
– Roknauta
@Douglas Put your solution as an answer. It can help someone with the same question in the future.
– Pablo Almeida
@Pabloalmeida ready.
– Roknauta