version="1.0" encoding="utf-8"?>
<gradient xmlns:android="http://schemas.android.com/apk/res/android"
android:startColor="#FFFFFF"
android:centerColor="#0000FF"
android:endColor="#00FFFF"
android:angle="145"
android:startX="30"
android:endX="70"
android:startY="30"
android:endY="70"
android:type="linear"/>
I get this error: Element gradient must be declared
even rebuilding the project
The first answer there says about AS 2.x. Did you try what's told in the second answer? It's more likely to work.
Обсуждают сегодня