├── private └── cache │ └── retriever │ └── catalog.xml ├── .gitignore ├── gradle └── wrapper │ ├── gradle-wrapper.jar │ └── gradle-wrapper.properties ├── libs ├── androidsoft-utils-1.0.0.jar └── androidsoft-credits-1.1.0.jar ├── src └── main │ ├── res │ ├── drawable-hdpi │ │ ├── icon.png │ │ ├── palette.png │ │ ├── splash.png │ │ ├── background.jpg │ │ └── background_land.jpg │ ├── drawable-ldpi │ │ └── palette.png │ ├── drawable-mdpi │ │ ├── palette.png │ │ ├── thumb009_zoo.png │ │ ├── thumb020_bee.png │ │ ├── outline009_zoo.png │ │ ├── outline020_bee.png │ │ ├── thumb005_house.png │ │ ├── thumb006_dino.png │ │ ├── thumb011_plane.png │ │ ├── thumb018_snail.png │ │ ├── outline003_horses.png │ │ ├── outline004_castle.png │ │ ├── outline005_house.png │ │ ├── outline006_dino.png │ │ ├── outline011_plane.png │ │ ├── outline016_beagle.png │ │ ├── outline018_snail.png │ │ ├── outline021_spider.png │ │ ├── thumb001_balloons.png │ │ ├── thumb003_horses.png │ │ ├── thumb004_castle.png │ │ ├── thumb007_flowers.png │ │ ├── thumb008_sealife.png │ │ ├── thumb012_birthday.png │ │ ├── thumb015_f15eagle.png │ │ ├── thumb016_beagle.png │ │ ├── thumb021_spider.png │ │ ├── outline001_balloons.png │ │ ├── outline007_flowers.png │ │ ├── outline008_sealife.png │ │ ├── outline012_birthday.png │ │ ├── outline015_f15eagle.png │ │ ├── thumb002_spaceship.png │ │ ├── thumb010_roadrunner.png │ │ ├── thumb013_18wheeler.png │ │ ├── thumb014_motorbike.png │ │ ├── thumb017_butterfly.png │ │ ├── thumb019_helicopter.png │ │ ├── thumb024_world_map.png │ │ ├── outline002_spaceship.png │ │ ├── outline010_roadrunner.png │ │ ├── outline013_18wheeler.png │ │ ├── outline014_motorbike.png │ │ ├── outline017_butterfly.png │ │ ├── outline019_helicopter.png │ │ ├── outline023_outer_space.png │ │ ├── outline024_world_map.png │ │ ├── thumb022_medeival_city.png │ │ ├── thumb023_outer_space.png │ │ └── outline022_medeival_city.png │ ├── menu │ │ ├── menu_close.xml │ │ └── paint_menu.xml │ ├── values │ │ ├── backgrounds.xml │ │ ├── attrs.xml │ │ ├── styles.xml │ │ ├── strings.xml │ │ └── credits.xml │ └── layout │ │ ├── start_new.xml │ │ ├── splash.xml │ │ ├── paint.xml │ │ └── pick_color.xml │ ├── raw │ ├── color.sh │ └── colors.html │ ├── java │ └── org │ │ └── androidsoft │ │ └── coloring │ │ ├── ui │ │ ├── widget │ │ │ ├── Progress.java │ │ │ ├── ColoringImageButton.java │ │ │ ├── ColoringButton.java │ │ │ ├── ColorButton.java │ │ │ └── PaintView.java │ │ └── activity │ │ │ ├── PickColorActivity.java │ │ │ ├── SplashActivity.java │ │ │ ├── AbstractColoringActivity.java │ │ │ ├── CreditsActivity.java │ │ │ ├── StartNewActivity.java │ │ │ └── PaintActivity.java │ │ └── util │ │ ├── DrawUtils.java │ │ └── FloodFill.java │ └── AndroidManifest.xml ├── releases ├── androidsoft-coloring-1.0.0.apk └── androidsoft-coloring-1.0.1.apk ├── local.properties ├── project.properties ├── sign.gradle ├── NOTICE ├── gradlew.bat ├── gradlew └── LICENSE /private/cache/retriever/catalog.xml: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | /.nb-gradle/private/ 2 | /.gradle/ 3 | /bin/ 4 | /gen/ 5 | /build/ 6 | /private/ 7 | /.idea/ -------------------------------------------------------------------------------- /gradle/wrapper/gradle-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/androidsoft-org/androidsoft-coloring/HEAD/gradle/wrapper/gradle-wrapper.jar -------------------------------------------------------------------------------- /libs/androidsoft-utils-1.0.0.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/androidsoft-org/androidsoft-coloring/HEAD/libs/androidsoft-utils-1.0.0.jar -------------------------------------------------------------------------------- /libs/androidsoft-credits-1.1.0.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/androidsoft-org/androidsoft-coloring/HEAD/libs/androidsoft-credits-1.1.0.jar -------------------------------------------------------------------------------- /src/main/res/drawable-hdpi/icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/androidsoft-org/androidsoft-coloring/HEAD/src/main/res/drawable-hdpi/icon.png -------------------------------------------------------------------------------- /src/main/res/drawable-hdpi/palette.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/androidsoft-org/androidsoft-coloring/HEAD/src/main/res/drawable-hdpi/palette.png -------------------------------------------------------------------------------- /src/main/res/drawable-hdpi/splash.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/androidsoft-org/androidsoft-coloring/HEAD/src/main/res/drawable-hdpi/splash.png -------------------------------------------------------------------------------- /src/main/res/drawable-ldpi/palette.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/androidsoft-org/androidsoft-coloring/HEAD/src/main/res/drawable-ldpi/palette.png -------------------------------------------------------------------------------- /src/main/res/drawable-mdpi/palette.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/androidsoft-org/androidsoft-coloring/HEAD/src/main/res/drawable-mdpi/palette.png -------------------------------------------------------------------------------- /releases/androidsoft-coloring-1.0.0.apk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/androidsoft-org/androidsoft-coloring/HEAD/releases/androidsoft-coloring-1.0.0.apk -------------------------------------------------------------------------------- /releases/androidsoft-coloring-1.0.1.apk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/androidsoft-org/androidsoft-coloring/HEAD/releases/androidsoft-coloring-1.0.1.apk -------------------------------------------------------------------------------- /src/main/res/drawable-hdpi/background.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/androidsoft-org/androidsoft-coloring/HEAD/src/main/res/drawable-hdpi/background.jpg -------------------------------------------------------------------------------- /src/main/res/drawable-mdpi/thumb009_zoo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/androidsoft-org/androidsoft-coloring/HEAD/src/main/res/drawable-mdpi/thumb009_zoo.png -------------------------------------------------------------------------------- /src/main/res/drawable-mdpi/thumb020_bee.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/androidsoft-org/androidsoft-coloring/HEAD/src/main/res/drawable-mdpi/thumb020_bee.png -------------------------------------------------------------------------------- /src/main/res/drawable-mdpi/outline009_zoo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/androidsoft-org/androidsoft-coloring/HEAD/src/main/res/drawable-mdpi/outline009_zoo.png -------------------------------------------------------------------------------- /src/main/res/drawable-mdpi/outline020_bee.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/androidsoft-org/androidsoft-coloring/HEAD/src/main/res/drawable-mdpi/outline020_bee.png -------------------------------------------------------------------------------- /src/main/res/drawable-mdpi/thumb005_house.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/androidsoft-org/androidsoft-coloring/HEAD/src/main/res/drawable-mdpi/thumb005_house.png -------------------------------------------------------------------------------- /src/main/res/drawable-mdpi/thumb006_dino.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/androidsoft-org/androidsoft-coloring/HEAD/src/main/res/drawable-mdpi/thumb006_dino.png -------------------------------------------------------------------------------- /src/main/res/drawable-mdpi/thumb011_plane.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/androidsoft-org/androidsoft-coloring/HEAD/src/main/res/drawable-mdpi/thumb011_plane.png -------------------------------------------------------------------------------- /src/main/res/drawable-mdpi/thumb018_snail.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/androidsoft-org/androidsoft-coloring/HEAD/src/main/res/drawable-mdpi/thumb018_snail.png -------------------------------------------------------------------------------- /src/main/res/drawable-hdpi/background_land.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/androidsoft-org/androidsoft-coloring/HEAD/src/main/res/drawable-hdpi/background_land.jpg -------------------------------------------------------------------------------- /src/main/res/drawable-mdpi/outline003_horses.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/androidsoft-org/androidsoft-coloring/HEAD/src/main/res/drawable-mdpi/outline003_horses.png -------------------------------------------------------------------------------- /src/main/res/drawable-mdpi/outline004_castle.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/androidsoft-org/androidsoft-coloring/HEAD/src/main/res/drawable-mdpi/outline004_castle.png -------------------------------------------------------------------------------- /src/main/res/drawable-mdpi/outline005_house.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/androidsoft-org/androidsoft-coloring/HEAD/src/main/res/drawable-mdpi/outline005_house.png -------------------------------------------------------------------------------- /src/main/res/drawable-mdpi/outline006_dino.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/androidsoft-org/androidsoft-coloring/HEAD/src/main/res/drawable-mdpi/outline006_dino.png -------------------------------------------------------------------------------- /src/main/res/drawable-mdpi/outline011_plane.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/androidsoft-org/androidsoft-coloring/HEAD/src/main/res/drawable-mdpi/outline011_plane.png -------------------------------------------------------------------------------- /src/main/res/drawable-mdpi/outline016_beagle.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/androidsoft-org/androidsoft-coloring/HEAD/src/main/res/drawable-mdpi/outline016_beagle.png -------------------------------------------------------------------------------- /src/main/res/drawable-mdpi/outline018_snail.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/androidsoft-org/androidsoft-coloring/HEAD/src/main/res/drawable-mdpi/outline018_snail.png -------------------------------------------------------------------------------- /src/main/res/drawable-mdpi/outline021_spider.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/androidsoft-org/androidsoft-coloring/HEAD/src/main/res/drawable-mdpi/outline021_spider.png -------------------------------------------------------------------------------- /src/main/res/drawable-mdpi/thumb001_balloons.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/androidsoft-org/androidsoft-coloring/HEAD/src/main/res/drawable-mdpi/thumb001_balloons.png -------------------------------------------------------------------------------- /src/main/res/drawable-mdpi/thumb003_horses.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/androidsoft-org/androidsoft-coloring/HEAD/src/main/res/drawable-mdpi/thumb003_horses.png -------------------------------------------------------------------------------- /src/main/res/drawable-mdpi/thumb004_castle.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/androidsoft-org/androidsoft-coloring/HEAD/src/main/res/drawable-mdpi/thumb004_castle.png -------------------------------------------------------------------------------- /src/main/res/drawable-mdpi/thumb007_flowers.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/androidsoft-org/androidsoft-coloring/HEAD/src/main/res/drawable-mdpi/thumb007_flowers.png -------------------------------------------------------------------------------- /src/main/res/drawable-mdpi/thumb008_sealife.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/androidsoft-org/androidsoft-coloring/HEAD/src/main/res/drawable-mdpi/thumb008_sealife.png -------------------------------------------------------------------------------- /src/main/res/drawable-mdpi/thumb012_birthday.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/androidsoft-org/androidsoft-coloring/HEAD/src/main/res/drawable-mdpi/thumb012_birthday.png -------------------------------------------------------------------------------- /src/main/res/drawable-mdpi/thumb015_f15eagle.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/androidsoft-org/androidsoft-coloring/HEAD/src/main/res/drawable-mdpi/thumb015_f15eagle.png -------------------------------------------------------------------------------- /src/main/res/drawable-mdpi/thumb016_beagle.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/androidsoft-org/androidsoft-coloring/HEAD/src/main/res/drawable-mdpi/thumb016_beagle.png -------------------------------------------------------------------------------- /src/main/res/drawable-mdpi/thumb021_spider.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/androidsoft-org/androidsoft-coloring/HEAD/src/main/res/drawable-mdpi/thumb021_spider.png -------------------------------------------------------------------------------- /src/main/res/drawable-mdpi/outline001_balloons.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/androidsoft-org/androidsoft-coloring/HEAD/src/main/res/drawable-mdpi/outline001_balloons.png -------------------------------------------------------------------------------- /src/main/res/drawable-mdpi/outline007_flowers.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/androidsoft-org/androidsoft-coloring/HEAD/src/main/res/drawable-mdpi/outline007_flowers.png -------------------------------------------------------------------------------- /src/main/res/drawable-mdpi/outline008_sealife.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/androidsoft-org/androidsoft-coloring/HEAD/src/main/res/drawable-mdpi/outline008_sealife.png -------------------------------------------------------------------------------- /src/main/res/drawable-mdpi/outline012_birthday.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/androidsoft-org/androidsoft-coloring/HEAD/src/main/res/drawable-mdpi/outline012_birthday.png -------------------------------------------------------------------------------- /src/main/res/drawable-mdpi/outline015_f15eagle.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/androidsoft-org/androidsoft-coloring/HEAD/src/main/res/drawable-mdpi/outline015_f15eagle.png -------------------------------------------------------------------------------- /src/main/res/drawable-mdpi/thumb002_spaceship.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/androidsoft-org/androidsoft-coloring/HEAD/src/main/res/drawable-mdpi/thumb002_spaceship.png -------------------------------------------------------------------------------- /src/main/res/drawable-mdpi/thumb010_roadrunner.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/androidsoft-org/androidsoft-coloring/HEAD/src/main/res/drawable-mdpi/thumb010_roadrunner.png -------------------------------------------------------------------------------- /src/main/res/drawable-mdpi/thumb013_18wheeler.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/androidsoft-org/androidsoft-coloring/HEAD/src/main/res/drawable-mdpi/thumb013_18wheeler.png -------------------------------------------------------------------------------- /src/main/res/drawable-mdpi/thumb014_motorbike.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/androidsoft-org/androidsoft-coloring/HEAD/src/main/res/drawable-mdpi/thumb014_motorbike.png -------------------------------------------------------------------------------- /src/main/res/drawable-mdpi/thumb017_butterfly.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/androidsoft-org/androidsoft-coloring/HEAD/src/main/res/drawable-mdpi/thumb017_butterfly.png -------------------------------------------------------------------------------- /src/main/res/drawable-mdpi/thumb019_helicopter.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/androidsoft-org/androidsoft-coloring/HEAD/src/main/res/drawable-mdpi/thumb019_helicopter.png -------------------------------------------------------------------------------- /src/main/res/drawable-mdpi/thumb024_world_map.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/androidsoft-org/androidsoft-coloring/HEAD/src/main/res/drawable-mdpi/thumb024_world_map.png -------------------------------------------------------------------------------- /src/main/res/drawable-mdpi/outline002_spaceship.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/androidsoft-org/androidsoft-coloring/HEAD/src/main/res/drawable-mdpi/outline002_spaceship.png -------------------------------------------------------------------------------- /src/main/res/drawable-mdpi/outline010_roadrunner.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/androidsoft-org/androidsoft-coloring/HEAD/src/main/res/drawable-mdpi/outline010_roadrunner.png -------------------------------------------------------------------------------- /src/main/res/drawable-mdpi/outline013_18wheeler.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/androidsoft-org/androidsoft-coloring/HEAD/src/main/res/drawable-mdpi/outline013_18wheeler.png -------------------------------------------------------------------------------- /src/main/res/drawable-mdpi/outline014_motorbike.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/androidsoft-org/androidsoft-coloring/HEAD/src/main/res/drawable-mdpi/outline014_motorbike.png -------------------------------------------------------------------------------- /src/main/res/drawable-mdpi/outline017_butterfly.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/androidsoft-org/androidsoft-coloring/HEAD/src/main/res/drawable-mdpi/outline017_butterfly.png -------------------------------------------------------------------------------- /src/main/res/drawable-mdpi/outline019_helicopter.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/androidsoft-org/androidsoft-coloring/HEAD/src/main/res/drawable-mdpi/outline019_helicopter.png -------------------------------------------------------------------------------- /src/main/res/drawable-mdpi/outline023_outer_space.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/androidsoft-org/androidsoft-coloring/HEAD/src/main/res/drawable-mdpi/outline023_outer_space.png -------------------------------------------------------------------------------- /src/main/res/drawable-mdpi/outline024_world_map.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/androidsoft-org/androidsoft-coloring/HEAD/src/main/res/drawable-mdpi/outline024_world_map.png -------------------------------------------------------------------------------- /src/main/res/drawable-mdpi/thumb022_medeival_city.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/androidsoft-org/androidsoft-coloring/HEAD/src/main/res/drawable-mdpi/thumb022_medeival_city.png -------------------------------------------------------------------------------- /src/main/res/drawable-mdpi/thumb023_outer_space.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/androidsoft-org/androidsoft-coloring/HEAD/src/main/res/drawable-mdpi/thumb023_outer_space.png -------------------------------------------------------------------------------- /src/main/res/drawable-mdpi/outline022_medeival_city.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/androidsoft-org/androidsoft-coloring/HEAD/src/main/res/drawable-mdpi/outline022_medeival_city.png -------------------------------------------------------------------------------- /gradle/wrapper/gradle-wrapper.properties: -------------------------------------------------------------------------------- 1 | #Tue May 05 23:10:10 CST 2015 2 | distributionBase=GRADLE_USER_HOME 3 | distributionPath=wrapper/dists 4 | zipStoreBase=GRADLE_USER_HOME 5 | zipStorePath=wrapper/dists 6 | distributionUrl=https\://services.gradle.org/distributions/gradle-2.3-bin.zip 7 | -------------------------------------------------------------------------------- /src/main/res/menu/menu_close.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 7 | 8 | -------------------------------------------------------------------------------- /local.properties: -------------------------------------------------------------------------------- 1 | ## This file is automatically generated by Android Studio. 2 | # Do not modify this file -- YOUR CHANGES WILL BE ERASED! 3 | # 4 | # This file must *NOT* be checked into Version Control Systems, 5 | # as it contains information specific to your local configuration. 6 | # 7 | # Location of the SDK. This is only used by Gradle. 8 | # For customization when using a Version Control System, please read the 9 | # header note. 10 | #Tue May 05 20:39:57 CST 2015 11 | sdk.dir=/opt/android-sdk 12 | -------------------------------------------------------------------------------- /src/main/raw/color.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | BTN_PRE='\ 4 | \|" \ 11 | | sed "s#^ *# #" \ 12 | | sed "s#^ *# #" \ 13 | | sed "s#^ *#$BTN_PRE\#\1$BTN_POST#" 14 | 15 | -------------------------------------------------------------------------------- /project.properties: -------------------------------------------------------------------------------- 1 | # This file is automatically generated by Android Tools. 2 | # Do not modify this file -- YOUR CHANGES WILL BE ERASED! 3 | # 4 | # This file must be checked in Version Control Systems. 5 | # 6 | # To customize properties used by the Ant build system edit 7 | # "ant.properties", and override values to adapt the script to your 8 | # project structure. 9 | # 10 | # To enable ProGuard to shrink and obfuscate your code, uncomment this (available properties: sdk.dir, user.home): 11 | #proguard.config=${sdk.dir}/tools/proguard/proguard-android.txt:proguard-project.txt 12 | 13 | # Project target. 14 | target=android-19 15 | -------------------------------------------------------------------------------- /src/main/res/values/backgrounds.xml: -------------------------------------------------------------------------------- 1 | 2 | 17 | 18 | #c0000000 19 | 20 | -------------------------------------------------------------------------------- /src/main/res/values/attrs.xml: -------------------------------------------------------------------------------- 1 | 2 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | -------------------------------------------------------------------------------- /src/main/java/org/androidsoft/coloring/ui/widget/Progress.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (C) 2010 Peter Dornbach. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | package org.androidsoft.coloring.ui.widget; 18 | 19 | import android.os.Handler; 20 | import android.os.Message; 21 | 22 | public final class Progress { 23 | public static final int MAX = 100; 24 | 25 | public static final int MESSAGE_INCREMENT_PROGRESS = 1; 26 | public static final int MESSAGE_DONE_OK = 2; 27 | public static final int MESSAGE_DONE_ERROR = 3; 28 | 29 | public static final void sendIncrementProgress(Handler h, int diff) { 30 | Message m = Message.obtain(h, Progress.MESSAGE_INCREMENT_PROGRESS, diff, 0); 31 | h.sendMessage(m); 32 | } 33 | } 34 | -------------------------------------------------------------------------------- /src/main/res/layout/start_new.xml: -------------------------------------------------------------------------------- 1 | 2 | 17 | 21 | 22 | 31 | 32 | 33 | -------------------------------------------------------------------------------- /sign.gradle: -------------------------------------------------------------------------------- 1 | final Console console = System.console(); 2 | 3 | if (console != null) { 4 | 5 | android.signingConfigs { 6 | release { 7 | project.ext.keyStorePath = System.getenv("ANDROID_KEYSTORE") 8 | if( project.keyStorePath != null ) 9 | { 10 | storeFile file( keyStorePath ) 11 | keyAlias System.getenv("ANDROID_KEY_ALIAS") 12 | } 13 | storePassword "password" 14 | keyPassword "password" 15 | } 16 | } 17 | 18 | task askForPasswords << { 19 | // Must create String because System.readPassword() returns char[] 20 | // (and assigning that below fails silently) 21 | def storePw = new String(System.console().readPassword("\nKeystore password: ")) 22 | def keyPw = new String(System.console().readPassword("Key password: ")) 23 | 24 | android.signingConfigs.release.storePassword = storePw 25 | android.signingConfigs.release.keyPassword = keyPw 26 | } 27 | 28 | tasks.whenTaskAdded { theTask -> 29 | if (theTask.name.equals("packageRelease")) { 30 | theTask.dependsOn "askForPasswords" 31 | } 32 | } 33 | 34 | android.buildTypes { 35 | release { 36 | signingConfig android.signingConfigs.release 37 | } 38 | } 39 | } else { 40 | 41 | // Building from IDE's "Run" button 42 | android.signingConfigs { 43 | release { 44 | 45 | } 46 | } 47 | 48 | } 49 | 50 | -------------------------------------------------------------------------------- /src/main/res/menu/paint_menu.xml: -------------------------------------------------------------------------------- 1 | 2 | 17 | 18 | 22 | 23 | 27 | 28 | 32 | 33 | 37 | 38 | 39 | 43 | 44 | 45 | -------------------------------------------------------------------------------- /src/main/res/values/styles.xml: -------------------------------------------------------------------------------- 1 | 2 | 17 | 18 | 19 | 21 | 27 | 43 | 44 | 46 | 47 | 50 | 51 | 53 | 54 | 55 | -------------------------------------------------------------------------------- /src/main/java/org/androidsoft/coloring/ui/activity/PickColorActivity.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (C) 2010 Peter Dornbach. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package org.androidsoft.coloring.ui.activity; 17 | 18 | import org.androidsoft.coloring.ui.widget.ColorButton; 19 | 20 | import android.os.Bundle; 21 | import android.view.View; 22 | import android.view.WindowManager; 23 | import java.util.ArrayList; 24 | import java.util.List; 25 | import org.androidsoft.coloring.R; 26 | 27 | public class PickColorActivity extends AbstractColoringActivity implements 28 | View.OnClickListener 29 | { 30 | 31 | @Override 32 | public void onCreate(Bundle savedInstanceState) 33 | { 34 | super.onCreate(savedInstanceState); 35 | 36 | // Apparently this cannot be set from the style. 37 | getWindow().setFlags(WindowManager.LayoutParams.FLAG_BLUR_BEHIND, 38 | WindowManager.LayoutParams.FLAG_BLUR_BEHIND); 39 | 40 | setContentView(R.layout.pick_color); 41 | 42 | List colorButtons = new ArrayList(); 43 | findAllColorButtons(colorButtons); 44 | for (int i = 0; i < colorButtons.size(); i++) 45 | { 46 | colorButtons.get(i).setOnClickListener(this); 47 | } 48 | 49 | } 50 | 51 | public void onClick(View view) 52 | { 53 | if (view instanceof ColorButton) 54 | { 55 | ColorButton button = (ColorButton) view; 56 | setResult(button.getColor()); 57 | finish(); 58 | } 59 | } 60 | } 61 | -------------------------------------------------------------------------------- /src/main/res/values/strings.xml: -------------------------------------------------------------------------------- 1 | 2 | 17 | 18 | Coloring for Kids 19 | 20 | New 21 | Save 22 | Share 23 | About 24 | 25 | Saving to Pictures… 26 | OK! 27 | Error! 28 | Share image using 29 | 30 | /dcim/Coloring for Kids/ 31 | 32 | 33 | Version 1.0.1 34 | Coloring for Kids 35 | 36 | Go 37 | 38 | 39 | Welcome to Coloring for Kids! 40 | Thanks for downloading Coloring for Kids\n\n 41 | Quick start instructions :\n 42 | \t• Select color and paint template with your finger.\n 43 | \n\n Enjoy it!\n 44 | 45 | What\'s new in Coloring for Kids 46 | Thanks for upgrading Coloring for Kids\n\n 47 | New in version 1.0.1:\n 48 | \t• Minor bugs fixes (uninstall synchronization).\n 49 | \n\nEnjoy it and don\'t forget to rate it to support the development. 50 | 51 | 52 | -------------------------------------------------------------------------------- /src/main/res/layout/splash.xml: -------------------------------------------------------------------------------- 1 | 2 | 18 | 21 | 22 | 27 | 28 | 32 | 37 | 38 | 42 | 43 |