Skip to content

Commit 20f0a92

Browse files
committed
Release Version 1.09
- Updated Achievements scoring - Updated LeaderBoard submissions - User can now draw in different colors - Added color wheel type in settings - Added Wurm-o-Meter screen with user scores - Added Colorful Wurms achievement that unlocks color annotation
1 parent c77935e commit 20f0a92

28 files changed

+901
-596
lines changed

README.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,14 @@ Android drawing application for annotating the backbone of worms.
88

99
## Releases
1010

11+
### 1.09 (2018-4-28)
12+
- Updated Achievements scoring
13+
- Updated LeaderBoard submissions
14+
- User can now draw in different colors
15+
- Added color wheel type in settings
16+
- Added Wurm-o-Meter screen with user scores
17+
- Added Colorful Wurms achievement that unlocks color annotation
18+
1119
### 1.08 (2018-04-23)
1220
- Added about screen
1321
- Redesigned navigation drawer layout

app/.idea/assetWizardSettings.xml

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
0 Bytes
Binary file not shown.

app/.idea/workspace.xml

Lines changed: 340 additions & 289 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

app/build.gradle

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,8 @@ dependencies {
4343
testCompile 'junit:junit:4.12'
4444
implementation 'com.android.support:design:26.1.0'
4545

46+
compile 'com.github.QuadFlask:colorpicker:0.0.13'
47+
4648
compile 'com.google.firebase:firebase-storage:15.0.0'
4749
compile 'com.google.firebase:firebase-auth:15.0.0'
4850
compile 'com.google.android.gms:play-services-auth:15.0.0'

app/src/main/AndroidManifest.xml

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,7 @@
5656
android:theme="@style/AppTheme">
5757
<intent-filter>
5858
<action android:name="android.intent.action.MAIN" />
59+
5960
<category android:name="android.intent.category.LAUNCHER" />
6061
</intent-filter>
6162
</activity>
@@ -73,11 +74,11 @@
7374
android:theme="@style/AppTheme" />
7475
<activity
7576
android:name=".SettingsActivity"
76-
android:screenOrientation="portrait"
77+
android:configChanges="locale"
7778
android:label="@string/title_activity_settings"
7879
android:parentActivityName=".DrawingActivity"
79-
android:theme="@style/AppTheme.Settings"
80-
android:configChanges="locale">
80+
android:screenOrientation="portrait"
81+
android:theme="@style/AppTheme.Settings">
8182
<meta-data
8283
android:name="android.support.PARENT_ACTIVITY"
8384
android:value="com.example.caden.drawingtest.DrawingActivity" />
@@ -86,7 +87,11 @@
8687
android:name=".AboutActivity"
8788
android:label="@string/title_activity_about"
8889
android:screenOrientation="portrait"
89-
android:theme="@style/AppTheme.Settings"/>
90+
android:theme="@style/AppTheme.Settings" />
91+
<activity android:name=".WurmMeterActivity"
92+
android:label="@string/menu_wurm_meter"
93+
android:screenOrientation="portrait"
94+
android:theme="@style/AppTheme.WurmMeter"/>
9095
</application>
9196

9297
</manifest>

app/src/main/java/com/example/caden/drawingtest/AppCompatPreferenceActivity.java

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
import android.os.Bundle;
55
import android.preference.PreferenceActivity;
66
import android.support.annotation.LayoutRes;
7+
import android.support.annotation.NonNull;
78
import android.support.annotation.Nullable;
89
import android.support.v7.app.ActionBar;
910
import android.support.v7.app.AppCompatDelegate;
@@ -12,10 +13,6 @@
1213
import android.view.View;
1314
import android.view.ViewGroup;
1415

15-
/**
16-
* A {@link android.preference.PreferenceActivity} which implements and proxies the necessary calls
17-
* to be used with AppCompat.
18-
*/
1916
public abstract class AppCompatPreferenceActivity extends PreferenceActivity {
2017

2118
private AppCompatDelegate mDelegate;
@@ -41,6 +38,7 @@ public void setSupportActionBar(@Nullable Toolbar toolbar) {
4138
getDelegate().setSupportActionBar(toolbar);
4239
}
4340

41+
@NonNull
4442
@Override
4543
public MenuInflater getMenuInflater() {
4644
return getDelegate().getMenuInflater();

app/src/main/java/com/example/caden/drawingtest/DrawRenderer.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ public static void renderModel(Canvas canvas, DrawModel model, Paint paint, int
2525
//get the whole line from the model object
2626
DrawModel.Line line = model.getLine(i);
2727
//set its color
28-
paint.setColor(Color.parseColor("#FF2646"));
28+
paint.setColor(SharedData.lineColor);
2929
//get the first of many lines that make up the overall line
3030
int elemSize = line.getElemSize();
3131
//if its empty, skip

0 commit comments

Comments
 (0)