You can't use attrs on <L in drawables

multisite
Floens 10 years ago
parent 56638c8aa9
commit 2fd4941969
  1. 2
      Clover/app/src/main/res/drawable/background_accent_rounded.xml
  2. 2
      Clover/app/src/main/res/drawable/background_hint_arrow.xml
  3. 8
      Clover/app/src/main/res/values/styles.xml

@ -16,6 +16,6 @@ You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>. along with this program. If not, see <http://www.gnu.org/licenses/>.
--> -->
<shape xmlns:android="http://schemas.android.com/apk/res/android"> <shape xmlns:android="http://schemas.android.com/apk/res/android">
<solid android:color="?attr/colorAccent" /> <solid android:color="@color/accent" />
<corners android:radius="2dp" /> <corners android:radius="2dp" />
</shape> </shape>

@ -25,7 +25,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
<shape <shape
android:shape="rectangle"> android:shape="rectangle">
<solid <solid
android:color="?attr/colorAccent" /> android:color="@color/accent" />
</shape> </shape>
</rotate> </rotate>
</item> </item>

@ -16,13 +16,13 @@ You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>. along with this program. If not, see <http://www.gnu.org/licenses/>.
--> -->
<resources> <resources>
<!--<color name="primary">#ff4caf50</color>--> <color name="primary">#ff4caf50</color>
<!--<color name="primary_dark">#ff388e3c</color>--> <color name="primary_dark">#ff388e3c</color>
<!--<color name="accent">#ff009688</color>--> <color name="accent">#ff009688</color>
<!-- Main light theme --> <!-- Main light theme -->
<style name="Chan.Theme" parent="Theme.AppCompat.Light.NoActionBar"> <style name="Chan.Theme" parent="Theme.AppCompat.Light.NoActionBar">
<!--<item name="colorAccent">#ff009688</item>--> <item name="colorAccent">#ff009688</item>
<item name="android:windowBackground">@android:color/white</item> <item name="android:windowBackground">@android:color/white</item>
<item name="windowActionModeOverlay">true</item> <item name="windowActionModeOverlay">true</item>

Loading…
Cancel
Save