Current shape is now saved

This commit is contained in:
=
2017-10-27 17:43:04 +02:00
parent 757c13c31c
commit 0bc6a09d17
251 changed files with 5076 additions and 11634 deletions

View File

@ -1,30 +1,30 @@
<?xml version="1.0" encoding="utf-8"?>
<selector xmlns:tools="http://schemas.android.com/tools" xmlns:android="http://schemas.android.com/apk/res/android" tools:context=".main.GameActivity">
<item android:state_pressed="true" android:state_enabled="true">
<playerShape>
<shape>
<corners android:radius="20dp" />
<padding android:bottom="10dp" android:left="10dp" android:right="10dp" android:top="10dp" />
<stroke android:width="1dp" android:color="#992f2f" />
<solid android:color="#ef4444" />
</playerShape>
</shape>
</item>
<item android:state_pressed="false" android:state_enabled="true">
<playerShape>
<shape>
<corners android:radius="20dp" />
<padding android:bottom="10dp" android:left="10dp" android:right="10dp" android:top="10dp" />
<stroke android:width="1dp" android:color="#992f2f" />
<gradient android:angle="270" android:endColor="#992f2f" android:startColor="#ef4444" />
</playerShape>
</shape>
</item>
<item android:state_enabled="false">
<playerShape>
<shape>
<corners android:radius="20dp" />
<padding android:bottom="10dp" android:left="10dp" android:right="10dp" android:top="10dp" />
<stroke android:width="1dp" android:color="#992f2f" />
<gradient android:angle="270" android:endColor="#a15d5d" android:startColor="#b73d3d" />
</playerShape>
</shape>
</item>
</selector>

View File

@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<playerShape xmlns:android="http://schemas.android.com/apk/res/android"
android:playerShape="rectangle">
<shape xmlns:android="http://schemas.android.com/apk/res/android"
android:shape="rectangle">
<corners android:radius="3dp" />
<solid
android:color="#715f5f"/>
@ -12,4 +12,4 @@
<stroke
android:width="2dp"
android:color="#635e5e" />
</playerShape>
</shape>

View File

@ -1,21 +1,21 @@
<?xml version="1.0" encoding="utf-8"?>
<layer-list xmlns:android="http://schemas.android.com/apk/res/android">
<item android:id="@android:id/background">
<playerShape android:playerShape="rectangle">
<shape android:shape="rectangle">
<solid android:color="#00fff700" />
<corners android:radius="200dp" />
</playerShape>
</shape>
</item>
<item android:id="@android:id/progress">
<clip android:gravity="right">
<playerShape android:playerShape="rectangle">
<shape android:shape="rectangle">
<gradient
android:angle="45"
android:endColor="#a06c6c6c"
android:startColor="#a0ababab" />
<corners android:radius="200dp" />
</playerShape>
</shape>
</clip>
</item>
</layer-list>

View File

@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<playerShape xmlns:android="http://schemas.android.com/apk/res/android"
android:playerShape="rectangle">
<shape xmlns:android="http://schemas.android.com/apk/res/android"
android:shape="rectangle">
<corners android:radius="30dp" />
<gradient
android:centerX="50%"
@ -17,4 +17,4 @@
<stroke
android:width="2dp"
android:color="#7826adbc" />
</playerShape>
</shape>

View File

@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<playerShape xmlns:android="http://schemas.android.com/apk/res/android"
android:playerShape="rectangle">
<shape xmlns:android="http://schemas.android.com/apk/res/android"
android:shape="rectangle">
<corners android:radius="20dp" />
<gradient
android:centerX="0%"
@ -17,4 +17,4 @@
<stroke
android:width="4dp"
android:color="#74ff71d0" />
</playerShape>
</shape>