Add DessertClickerLogs and DessertClickerFinal apps
49
DessertClickerFinal/README.md
Normal file
@ -0,0 +1,49 @@
|
||||
DessertClickerFinal - Solution Code
|
||||
===================================
|
||||
|
||||
Solution code for Android Kotlin Fundamentals Codelab 4.2 Managing complex lifecycle situations.
|
||||
|
||||
Introduction
|
||||
------------
|
||||
|
||||
DessertClicker is a game about making desserts. Press the button, make a dessert,
|
||||
earn the big bucks.
|
||||
|
||||
You use this app in the course to explore the Android lifecycle and log messages to
|
||||
the Android console (Logcat).
|
||||
|
||||
Pre-requisites
|
||||
--------------
|
||||
|
||||
You need to know:
|
||||
- How to open, build, and run apps with Android Studio.
|
||||
- What an activity is, and how to create one in your app.
|
||||
- What the activity's onCreate() method does, and the kind of operations
|
||||
that are performed in that method.
|
||||
- How to create layouts in your activity, and how to update a layout in runtime.
|
||||
|
||||
|
||||
Getting Started
|
||||
---------------
|
||||
|
||||
1. Download and run the app.
|
||||
|
||||
License
|
||||
-------
|
||||
|
||||
Copyright 2019 Google, Inc.
|
||||
|
||||
Licensed to the Apache Software Foundation (ASF) under one or more contributor
|
||||
license agreements. See the NOTICE file distributed with this work for
|
||||
additional information regarding copyright ownership. The ASF licenses this
|
||||
file to you under the Apache License, Version 2.0 (the "License"); you may not
|
||||
use this file except in compliance with the License. You may obtain a copy of
|
||||
the License at
|
||||
|
||||
http://www.apache.org/licenses/LICENSE-2.0
|
||||
|
||||
Unless required by applicable law or agreed to in writing, software
|
||||
distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
||||
WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
||||
License for the specific language governing permissions and limitations under
|
||||
the License.
|
||||
48
DessertClickerFinal/app/build.gradle
Normal file
@ -0,0 +1,48 @@
|
||||
/*
|
||||
* Copyright 2019, The Android Open Source Project
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
apply plugin: 'com.android.application'
|
||||
apply plugin: 'kotlin-android'
|
||||
|
||||
android {
|
||||
compileSdkVersion 28
|
||||
defaultConfig {
|
||||
applicationId "com.example.android.dessertclicker"
|
||||
minSdkVersion 19
|
||||
targetSdkVersion 28
|
||||
versionCode 1
|
||||
versionName "1.0"
|
||||
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
|
||||
vectorDrawables.useSupportLibrary = true
|
||||
}
|
||||
buildTypes {
|
||||
release {
|
||||
minifyEnabled false
|
||||
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
|
||||
}
|
||||
}
|
||||
dataBinding {
|
||||
enabled = true
|
||||
}
|
||||
}
|
||||
|
||||
dependencies {
|
||||
implementation fileTree(dir: 'libs', include: ['*.jar'])
|
||||
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
|
||||
implementation 'androidx.appcompat:appcompat:1.0.0'
|
||||
implementation 'androidx.constraintlayout:constraintlayout:2.0.0-alpha2'
|
||||
implementation 'com.jakewharton.timber:timber:4.7.1'
|
||||
}
|
||||
21
DessertClickerFinal/app/proguard-rules.pro
vendored
Normal file
@ -0,0 +1,21 @@
|
||||
# Add project specific ProGuard rules here.
|
||||
# You can control the set of applied configuration files using the
|
||||
# proguardFiles setting in build.gradle.
|
||||
#
|
||||
# For more details, see
|
||||
# http://developer.android.com/guide/developing/tools/proguard.html
|
||||
|
||||
# If your project uses WebView with JS, uncomment the following
|
||||
# and specify the fully qualified class name to the JavaScript interface
|
||||
# class:
|
||||
#-keepclassmembers class fqcn.of.javascript.interface.for.webview {
|
||||
# public *;
|
||||
#}
|
||||
|
||||
# Uncomment this to preserve the line number information for
|
||||
# debugging stack traces.
|
||||
#-keepattributes SourceFile,LineNumberTable
|
||||
|
||||
# If you keep the line number information, uncomment this to
|
||||
# hide the original source file name.
|
||||
#-renamesourcefileattribute SourceFile
|
||||
37
DessertClickerFinal/app/src/main/AndroidManifest.xml
Normal file
@ -0,0 +1,37 @@
|
||||
<?xml version="1.0" encoding="utf-8"?><!--
|
||||
~ Copyright 2019, The Android Open Source Project
|
||||
~
|
||||
~ Licensed under the Apache License, Version 2.0 (the "License");
|
||||
~ you may not use this file except in compliance with the License.
|
||||
~ You may obtain a copy of the License at
|
||||
~
|
||||
~ http://www.apache.org/licenses/LICENSE-2.0
|
||||
~
|
||||
~ Unless required by applicable law or agreed to in writing, software
|
||||
~ distributed under the License is distributed on an "AS IS" BASIS,
|
||||
~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
~ See the License for the specific language governing permissions and
|
||||
~ limitations under the License.
|
||||
-->
|
||||
|
||||
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
package="com.example.android.dessertclicker">
|
||||
|
||||
<application
|
||||
android:name=".ClickerApplication"
|
||||
android:allowBackup="true"
|
||||
android:icon="@mipmap/ic_dessert_clicker"
|
||||
android:label="@string/app_name"
|
||||
android:roundIcon="@mipmap/ic_dessert_clicker_round"
|
||||
android:supportsRtl="true"
|
||||
android:theme="@style/AppTheme">
|
||||
<activity android:name="com.example.android.dessertclicker.MainActivity">
|
||||
<intent-filter>
|
||||
<action android:name="android.intent.action.MAIN" />
|
||||
|
||||
<category android:name="android.intent.category.LAUNCHER" />
|
||||
</intent-filter>
|
||||
</activity>
|
||||
</application>
|
||||
|
||||
</manifest>
|
||||
BIN
DessertClickerFinal/app/src/main/ic_dessert_clicker-web.png
Normal file
|
After Width: | Height: | Size: 26 KiB |
@ -0,0 +1,27 @@
|
||||
/*
|
||||
* Copyright 2019, The Android Open Source Project
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
package com.example.android.dessertclicker
|
||||
|
||||
import android.app.Application
|
||||
import timber.log.Timber
|
||||
|
||||
class ClickerApplication : Application() {
|
||||
override fun onCreate() {
|
||||
super.onCreate()
|
||||
|
||||
Timber.plant(Timber.DebugTree())
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,83 @@
|
||||
/*
|
||||
* Copyright 2019, The Android Open Source Project
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
package com.example.android.dessertclicker
|
||||
|
||||
import android.os.Handler
|
||||
import androidx.lifecycle.Lifecycle
|
||||
import androidx.lifecycle.LifecycleObserver
|
||||
import androidx.lifecycle.OnLifecycleEvent
|
||||
import timber.log.Timber
|
||||
|
||||
/**
|
||||
* This is a class representing a timer that you can start or stop. The secondsCount outputs a count of
|
||||
* how many seconds since it started, every one second.
|
||||
*
|
||||
* -----
|
||||
*
|
||||
* Handler and Runnable are beyond the scope of this lesson. This is in part because they deal with
|
||||
* threading, which is a complex topic that will be covered in a later lesson.
|
||||
*
|
||||
* If you want to learn more now, you can take a look on the Android Developer documentation on
|
||||
* threading:
|
||||
*
|
||||
* https://developer.android.com/guide/components/processes-and-threads
|
||||
*
|
||||
*/
|
||||
class DessertTimer(lifecycle: Lifecycle) : LifecycleObserver {
|
||||
|
||||
// The number of seconds counted since the timer started
|
||||
var secondsCount = 0
|
||||
|
||||
/**
|
||||
* [Handler] is a class meant to process a queue of messages (known as [android.os.Message]s)
|
||||
* or actions (known as [Runnable]s)
|
||||
*/
|
||||
private var handler = Handler()
|
||||
private lateinit var runnable: Runnable
|
||||
|
||||
init {
|
||||
// Add this as a lifecycle Observer, which allows for the class to react to changes in this
|
||||
// activity's lifecycle state.
|
||||
lifecycle.addObserver(this)
|
||||
}
|
||||
|
||||
@OnLifecycleEvent(Lifecycle.Event.ON_START)
|
||||
fun startTimer() {
|
||||
// Create the runnable action, which prints out a log and increments the seconds counter
|
||||
runnable = Runnable {
|
||||
secondsCount++
|
||||
Timber.i("Timer is at : $secondsCount")
|
||||
// postDelayed re-adds the action to the queue of actions the Handler is cycling
|
||||
// through. The delayMillis param tells the handler to run the runnable in
|
||||
// 1 second (1000ms)
|
||||
handler.postDelayed(runnable, 1000)
|
||||
}
|
||||
|
||||
// This is what initially starts the timer
|
||||
handler.postDelayed(runnable, 1000)
|
||||
|
||||
// Note that the Thread the handler runs on is determined by a class called Looper.
|
||||
// In this case, no looper is defined, and it defaults to the main or UI thread.
|
||||
}
|
||||
|
||||
@OnLifecycleEvent(Lifecycle.Event.ON_STOP)
|
||||
fun stopTimer() {
|
||||
// Removes all pending posts of runnable from the handler's queue, effectively stopping the
|
||||
// timer
|
||||
handler.removeCallbacks(runnable)
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,214 @@
|
||||
/*
|
||||
* Copyright 2019, The Android Open Source Project
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
package com.example.android.dessertclicker
|
||||
|
||||
import android.content.ActivityNotFoundException
|
||||
import android.os.Bundle
|
||||
import android.util.Log
|
||||
import android.view.Menu
|
||||
import android.view.MenuItem
|
||||
import android.widget.Toast
|
||||
import androidx.appcompat.app.AppCompatActivity
|
||||
import androidx.core.app.ShareCompat
|
||||
import androidx.databinding.DataBindingUtil
|
||||
import com.example.android.dessertclicker.databinding.ActivityMainBinding
|
||||
import timber.log.Timber
|
||||
|
||||
/** onSaveInstanceState Bundle Keys **/
|
||||
const val KEY_REVENUE = "revenue_key"
|
||||
const val KEY_DESSERT_SOLD = "dessert_sold_key"
|
||||
const val KEY_TIMER_SECONDS = "timer_seconds_key"
|
||||
|
||||
class MainActivity : AppCompatActivity() {
|
||||
|
||||
private var revenue = 0
|
||||
private var dessertsSold = 0
|
||||
private lateinit var dessertTimer : DessertTimer;
|
||||
|
||||
// Contains all the views
|
||||
private lateinit var binding: ActivityMainBinding
|
||||
|
||||
/** Dessert Data **/
|
||||
|
||||
/**
|
||||
* Simple data class that represents a dessert. Includes the resource id integer associated with
|
||||
* the image, the price it's sold for, and the startProductionAmount, which determines when
|
||||
* the dessert starts to be produced.
|
||||
*/
|
||||
data class Dessert(val imageId: Int, val price: Int, val startProductionAmount: Int)
|
||||
|
||||
// Create a list of all desserts, in order of when they start being produced
|
||||
private val allDesserts = listOf(
|
||||
Dessert(R.drawable.cupcake, 5, 0),
|
||||
Dessert(R.drawable.donut, 10, 5),
|
||||
Dessert(R.drawable.eclair, 15, 20),
|
||||
Dessert(R.drawable.froyo, 30, 50),
|
||||
Dessert(R.drawable.gingerbread, 50, 100),
|
||||
Dessert(R.drawable.honeycomb, 100, 200),
|
||||
Dessert(R.drawable.icecreamsandwich, 500, 500),
|
||||
Dessert(R.drawable.jellybean, 1000, 1000),
|
||||
Dessert(R.drawable.kitkat, 2000, 2000),
|
||||
Dessert(R.drawable.lollipop, 3000, 4000),
|
||||
Dessert(R.drawable.marshmallow, 4000, 8000),
|
||||
Dessert(R.drawable.nougat, 5000, 16000),
|
||||
Dessert(R.drawable.oreo, 6000, 20000)
|
||||
)
|
||||
private var currentDessert = allDesserts[0]
|
||||
|
||||
override fun onCreate(savedInstanceState: Bundle?) {
|
||||
super.onCreate(savedInstanceState)
|
||||
|
||||
Timber.i("onCreate called")
|
||||
|
||||
// Use Data Binding to get reference to the views
|
||||
binding = DataBindingUtil.setContentView(this, R.layout.activity_main)
|
||||
|
||||
binding.dessertButton.setOnClickListener {
|
||||
onDessertClicked()
|
||||
}
|
||||
|
||||
// Setup dessertTimer, passing in the lifecycle
|
||||
dessertTimer = DessertTimer(this.lifecycle)
|
||||
|
||||
// If there is a savedInstanceState bundle, then you're "restarting" the activity
|
||||
// If there isn't a bundle, then it's a "fresh" start
|
||||
if (savedInstanceState != null) {
|
||||
revenue = savedInstanceState.getInt(KEY_REVENUE, 0)
|
||||
dessertsSold = savedInstanceState.getInt(KEY_DESSERT_SOLD, 0)
|
||||
dessertTimer.secondsCount =
|
||||
savedInstanceState.getInt(KEY_TIMER_SECONDS, 0)
|
||||
}
|
||||
|
||||
// Set the TextViews to the right values
|
||||
binding.revenue = revenue
|
||||
binding.amountSold = dessertsSold
|
||||
|
||||
// Make sure the correct dessert is showing
|
||||
binding.dessertButton.setImageResource(currentDessert.imageId)
|
||||
}
|
||||
|
||||
/**
|
||||
* Updates the score when the dessert is clicked. Possibly shows a new dessert.
|
||||
*/
|
||||
private fun onDessertClicked() {
|
||||
|
||||
// Update the score
|
||||
revenue += currentDessert.price
|
||||
dessertsSold++
|
||||
|
||||
binding.revenue = revenue
|
||||
binding.amountSold = dessertsSold
|
||||
|
||||
// Show the next dessert
|
||||
showCurrentDessert()
|
||||
}
|
||||
|
||||
/**
|
||||
* Determine which dessert to show.
|
||||
*/
|
||||
private fun showCurrentDessert() {
|
||||
var newDessert = allDesserts[0]
|
||||
for (dessert in allDesserts) {
|
||||
if (dessertsSold >= dessert.startProductionAmount) {
|
||||
newDessert = dessert
|
||||
}
|
||||
// The list of desserts is sorted by startProductionAmount. As you sell more desserts,
|
||||
// you'll start producing more expensive desserts as determined by startProductionAmount
|
||||
// We know to break as soon as we see a dessert who's "startProductionAmount" is greater
|
||||
// than the amount sold.
|
||||
else break
|
||||
}
|
||||
|
||||
// If the new dessert is actually different than the current dessert, update the image
|
||||
if (newDessert != currentDessert) {
|
||||
currentDessert = newDessert
|
||||
binding.dessertButton.setImageResource(newDessert.imageId)
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Menu methods
|
||||
*/
|
||||
private fun onShare() {
|
||||
val shareIntent = ShareCompat.IntentBuilder.from(this)
|
||||
.setText(getString(R.string.share_text, dessertsSold, revenue))
|
||||
.setType("text/plain")
|
||||
.intent
|
||||
try {
|
||||
startActivity(shareIntent)
|
||||
} catch (ex: ActivityNotFoundException) {
|
||||
Toast.makeText(this, getString(R.string.sharing_not_available),
|
||||
Toast.LENGTH_LONG).show()
|
||||
}
|
||||
}
|
||||
|
||||
override fun onCreateOptionsMenu(menu: Menu): Boolean {
|
||||
menuInflater.inflate(R.menu.main_menu, menu)
|
||||
return super.onCreateOptionsMenu(menu)
|
||||
}
|
||||
|
||||
override fun onOptionsItemSelected(item: MenuItem): Boolean {
|
||||
when (item.itemId) {
|
||||
R.id.shareMenuButton -> onShare()
|
||||
}
|
||||
return super.onOptionsItemSelected(item)
|
||||
}
|
||||
|
||||
/**
|
||||
* Called when the user navigates away from the app but might come back
|
||||
*/
|
||||
override fun onSaveInstanceState(outState: Bundle) {
|
||||
super.onSaveInstanceState(outState)
|
||||
Timber.i("onSaveInstanceState Called")
|
||||
outState.putInt(KEY_REVENUE, revenue)
|
||||
outState.putInt(KEY_DESSERT_SOLD, dessertsSold)
|
||||
outState.putInt(KEY_TIMER_SECONDS, dessertTimer.secondsCount)
|
||||
showCurrentDessert()
|
||||
}
|
||||
|
||||
/** Lifecycle Methods **/
|
||||
override fun onStart() {
|
||||
super.onStart()
|
||||
|
||||
Timber.i("onStart called")
|
||||
}
|
||||
|
||||
override fun onResume() {
|
||||
super.onResume()
|
||||
Timber.i("onResume Called")
|
||||
}
|
||||
|
||||
override fun onPause() {
|
||||
super.onPause()
|
||||
Timber.i("onPause Called")
|
||||
}
|
||||
|
||||
override fun onStop() {
|
||||
super.onStop()
|
||||
Timber.i("onStop Called")
|
||||
}
|
||||
|
||||
override fun onDestroy() {
|
||||
super.onDestroy()
|
||||
Timber.i("onDestroy Called")
|
||||
}
|
||||
|
||||
override fun onRestart() {
|
||||
super.onRestart()
|
||||
Timber.i("onRestart Called")
|
||||
}
|
||||
}
|
||||
210
DessertClickerFinal/app/src/main/res/drawable/bakery_back.xml
Normal file
@ -0,0 +1,210 @@
|
||||
<!--
|
||||
~ Copyright 2019, The Android Open Source Project
|
||||
~
|
||||
~ Licensed under the Apache License, Version 2.0 (the "License");
|
||||
~ you may not use this file except in compliance with the License.
|
||||
~ You may obtain a copy of the License at
|
||||
~
|
||||
~ http://www.apache.org/licenses/LICENSE-2.0
|
||||
~
|
||||
~ Unless required by applicable law or agreed to in writing, software
|
||||
~ distributed under the License is distributed on an "AS IS" BASIS,
|
||||
~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
~ See the License for the specific language governing permissions and
|
||||
~ limitations under the License.
|
||||
-->
|
||||
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:width="1920dp"
|
||||
android:height="1920dp"
|
||||
android:viewportWidth="1920"
|
||||
android:viewportHeight="1920">
|
||||
<path
|
||||
android:fillColor="#B0BEC5"
|
||||
android:pathData="M0,-16h1920v1920h-1920z" />
|
||||
<path
|
||||
android:fillColor="#546E7A"
|
||||
android:pathData="M885.8,366.6h335.2v168h-335.2z" />
|
||||
<path
|
||||
android:fillColor="#546E7A"
|
||||
android:pathData="M520.6,-29.3h335.2v167.9h-335.2z" />
|
||||
<path
|
||||
android:fillColor="#546E7A"
|
||||
android:pathData="M1251.1,-29.3h335.2v167.9h-335.2z" />
|
||||
<path
|
||||
android:fillColor="#546E7A"
|
||||
android:pathData="M338,168.7h335.2v168h-335.2z" />
|
||||
<path
|
||||
android:fillColor="#546E7A"
|
||||
android:pathData="M1433.7,168.7h335.2v168h-335.2z" />
|
||||
<path
|
||||
android:fillColor="#546E7A"
|
||||
android:pathData="M1068.4,168.7h335.2v168h-335.2z" />
|
||||
<path
|
||||
android:fillColor="#546E7A"
|
||||
android:pathData="M520.6,366.6h335.2v168h-335.2z" />
|
||||
<path
|
||||
android:fillColor="#546E7A"
|
||||
android:pathData="M1251.1,366.6h335.2v168h-335.2z" />
|
||||
<path
|
||||
android:fillColor="#546E7A"
|
||||
android:pathData="M338,976.5h335.2v167.9h-335.2z" />
|
||||
<path
|
||||
android:fillColor="#546E7A"
|
||||
android:pathData="M1433.7,976.5h335.2v167.9h-335.2z" />
|
||||
<path
|
||||
android:fillColor="#546E7A"
|
||||
android:pathData="M1068.5,976.5h335.2v167.9h-335.2z" />
|
||||
<path
|
||||
android:fillColor="#546E7A"
|
||||
android:pathData="M703.2,976.5h335.2v167.9h-335.2z" />
|
||||
<path
|
||||
android:fillColor="#546E7A"
|
||||
android:pathData="M-27.2,976.5h335.2v167.9h-335.2z" />
|
||||
<path
|
||||
android:fillColor="#546E7A"
|
||||
android:pathData="M1798.9,976.5h335.2v167.9h-335.2z" />
|
||||
<path
|
||||
android:fillColor="#8D6E63"
|
||||
android:pathData="M-267.7,1071.6h2465v921.1h-2465z" />
|
||||
<path
|
||||
android:fillColor="#546E7A"
|
||||
android:pathData="M155.4,-13.3h335.2v168h-335.2z" />
|
||||
<path
|
||||
android:fillColor="#546E7A"
|
||||
android:pathData="M155.4,382.6h335.2v168h-335.2z" />
|
||||
<path
|
||||
android:fillColor="#546E7A"
|
||||
android:pathData="M338,580.6h335.2v168h-335.2z" />
|
||||
<path
|
||||
android:fillColor="#546E7A"
|
||||
android:pathData="M1433.7,580.6h335.2v168h-335.2z" />
|
||||
<path
|
||||
android:fillColor="#546E7A"
|
||||
android:pathData="M1068.5,580.6h335.2v168h-335.2z" />
|
||||
<path
|
||||
android:fillColor="#546E7A"
|
||||
android:pathData="M703.2,580.6h335.2v168h-335.2z" />
|
||||
<path
|
||||
android:fillColor="#546E7A"
|
||||
android:pathData="M520.6,778.5h335.2v168h-335.2z" />
|
||||
<path
|
||||
android:fillColor="#546E7A"
|
||||
android:pathData="M155.4,778.5h335.2v168h-335.2z" />
|
||||
<path
|
||||
android:fillColor="#546E7A"
|
||||
android:pathData="M1251.1,778.5h335.2v168h-335.2z" />
|
||||
<path
|
||||
android:fillColor="#546E7A"
|
||||
android:pathData="M885.8,778.5h335.2v168h-335.2z" />
|
||||
<path
|
||||
android:fillColor="#546E7A"
|
||||
android:pathData="M-209.8,-13.3h335.2v168h-335.2z" />
|
||||
<path
|
||||
android:fillColor="#546E7A"
|
||||
android:pathData="M-27.2,184.7h335.2v167.9h-335.2z" />
|
||||
<path
|
||||
android:fillColor="#546E7A"
|
||||
android:pathData="M-209.8,382.6h335.2v168h-335.2z" />
|
||||
<path
|
||||
android:fillColor="#546E7A"
|
||||
android:pathData="M-27.2,580.6h335.2v168h-335.2z" />
|
||||
<path
|
||||
android:fillColor="#546E7A"
|
||||
android:pathData="M-209.8,778.5h335.2v168h-335.2z" />
|
||||
<path
|
||||
android:fillColor="#546E7A"
|
||||
android:pathData="M1616.3,-13.3h335.2v168h-335.2z" />
|
||||
<path
|
||||
android:fillColor="#546E7A"
|
||||
android:pathData="M1798.9,184.7h335.2v167.9h-335.2z" />
|
||||
<path
|
||||
android:fillColor="#546E7A"
|
||||
android:pathData="M1616.3,382.6h335.2v168h-335.2z" />
|
||||
<path
|
||||
android:fillColor="#546E7A"
|
||||
android:pathData="M1798.9,580.6h335.2v168h-335.2z" />
|
||||
<path
|
||||
android:fillColor="#546E7A"
|
||||
android:pathData="M1616.3,778.5h335.2v168h-335.2z" />
|
||||
<path
|
||||
android:fillColor="#77544B"
|
||||
android:pathData="M543.8,1241.3a415.2,142.3 0,1 0,830.4 0a415.2,142.3 0,1 0,-830.4 0z" />
|
||||
<path
|
||||
android:fillColor="#60423A"
|
||||
android:pathData="M768.8,1209.6a193.2,77.3 0,1 0,386.4 0a193.2,77.3 0,1 0,-386.4 0z" />
|
||||
<path
|
||||
android:fillColor="#B0BEC5"
|
||||
android:pathData="M960,1161.3H812.5c0,0 -11.3,3.5 -11.3,37.2S879.4,1258 960,1258s158.8,-25.8 158.8,-59.5c0,-33.7 -11.3,-37.2 -11.3,-37.2L960,1161.3z" />
|
||||
<path
|
||||
android:fillColor="#ECEFF1"
|
||||
android:pathData="M960,1101.6c-39.3,0 -61,18 -82,27.8c-45.1,21.1 -71.6,27 -71.6,44.8c0,25.9 68.8,46.8 153.6,46.8s153.6,-21 153.6,-46.8c0,-17.9 -26.4,-23.8 -71.6,-44.8C1021,1119.6 999.3,1101.6 960,1101.6z" />
|
||||
<path
|
||||
android:fillColor="#CFD8DC"
|
||||
android:pathData="M991.2,975c0,-10.6 -62.4,-10.6 -62.4,0l-13.3,147.5c28.8,10 60.2,10 89,0L991.2,975z" />
|
||||
<path
|
||||
android:fillColor="#90A4AE"
|
||||
android:pathData="M928.8,975l-7.9,87.3c12.2,0.4 24.6,0.6 37.1,0.6c13.9,0 27.5,-0.2 41,-0.7l-7.8,-87.2C991.2,964.4 928.8,964.4 928.8,975z" />
|
||||
<path
|
||||
android:fillColor="#B0BEC5"
|
||||
android:pathData="M1323.7,936.8c0,60.1 -162.9,108.8 -363.8,108.8s-363.8,-48.7 -363.8,-108.8v-25.2h727.6V936.8z" />
|
||||
<path
|
||||
android:fillColor="#ECEFF1"
|
||||
android:pathData="M596.2,911.6a363.8,108.8 0,1 0,727.6 0a363.8,108.8 0,1 0,-727.6 0z" />
|
||||
<path
|
||||
android:fillColor="#CFD8DC"
|
||||
android:pathData="M614.9,905.1a345.1,97.6 0,1 0,690.2 0a345.1,97.6 0,1 0,-690.2 0z" />
|
||||
<path
|
||||
android:fillColor="#B0BEC5"
|
||||
android:pathData="M960,824.8c180.3,0 328.3,39.1 343.7,89c0.9,-2.8 1.3,-5.7 1.4,-8.6c0,-53.9 -154.5,-97.6 -345.1,-97.6s-345.1,43.7 -345.1,97.6c0,2.9 0.5,5.8 1.4,8.6C631.7,863.9 779.7,824.8 960,824.8z" />
|
||||
<path
|
||||
android:fillColor="#EEEEEE"
|
||||
android:pathData="M632,-40.3l689.3,35.3l-29.5,575.4l-689.2,-35.3l29.4,-575.4" />
|
||||
<path
|
||||
android:fillColor="#424242"
|
||||
android:pathData="M614.2,-57.9l-1.5,30l696.6,35.7l-28.1,548.6l-666.7,-34.1l29.7,-578.6l-30,-1.6l-1.5,30l1.5,-30l-30,-1.5l-32.6,638.6l786.5,40.2l34.2,-668.5l-786.5,-40.3l-1.6,30l30,1.5" />
|
||||
<path
|
||||
android:fillColor="#989898"
|
||||
android:pathData="M614.6,522.4l-0.4,6.9l666.6,34.2l0.3,-7l-666.5,-34.1" />
|
||||
<path
|
||||
android:fillColor="#424242"
|
||||
android:pathData="M714.4,222.6c-6.8,-0.1 -11.6,-2.9 -12.6,-7.2c-0.3,-1 0.2,-1.6 1.3,-1.4c10.1,1.3 29.2,-1.9 35.7,-1.4c4.8,0.4 9,1.8 10.5,6.4c0.3,0.9 0,1.8 -1.5,1.6c-5.5,-0.9 -12.8,-0.1 -19.5,0.7c0,2.7 -1,6.5 -4.4,11.9c-7.5,12.1 -18,27.5 -27.9,47.9c-0.5,1.1 -1.1,1.1 -1.8,0.2c-1.5,-1.6 -2.7,-5 -1,-10.4c3.1,-9.2 16.7,-33.3 28.1,-48.8C719.1,222.5 716.8,222.6 714.4,222.6z" />
|
||||
<path
|
||||
android:fillColor="#424242"
|
||||
android:pathData="M751.7,260.7c-2.9,9.6 -10.7,20.7 -19.2,23.1c-4.2,1.2 -9.9,0.4 -14.1,-5.8c-4.7,-6.9 -2.5,-16.7 3.1,-25.5c4.7,-7.5 12,-13.8 18.9,-13.9c3.5,0 5.4,1.1 7.6,4.3c2.4,3.7 5.8,4.6 4.7,12.8c-0.2,0.9 -0.2,1.7 -0.4,2.6c0.7,0 1.4,-0.2 2.3,-0.1c0.9,0 0.8,0.6 0.3,1.2C754,260.2 752.9,260.6 751.7,260.7zM742.1,257.3c-2.9,-2.6 -4.7,-6.4 -4.7,-10.3c-3.7,2.9 -6.8,6.3 -9.3,10.3c-5.2,8.4 -7.5,18.8 -4.6,21.5c3.1,2.8 10.2,-0.9 16.3,-11c1.7,-2.8 3.2,-5.8 4.5,-8.9C743.5,258.4 742.8,257.9 742.1,257.3zM746.5,247.4c-0.4,-3.7 -2.7,-3.1 -3.4,0.2c-0.7,2.9 0.1,6 2.1,8.2C746.3,252.3 746.8,249.4 746.5,247.4z" />
|
||||
<path
|
||||
android:fillColor="#424242"
|
||||
android:pathData="M784.7,284.2c4.7,0 11.2,-7.3 15.6,-15c0.6,-1 1.4,-1 1.8,0s0.4,4 -1.3,7c-3.4,6.1 -10.8,11.8 -17,11.1c-6.2,-0.7 -9,-4.2 -8.8,-9.6c-3.9,4.4 -9.2,8.3 -14.6,8c-10.6,-0.5 -11.9,-15.1 -1.9,-28.3c9.7,-12.8 19.1,-17.4 24.8,-17.1c4.7,0.2 6.8,3.9 6.4,8.1c6.7,-11.4 16.2,-26.4 20.6,-32c1.2,-1.5 2.2,-1.4 2.7,0.1c1.4,3.8 0.8,8.7 -4.4,17c-6,9.5 -17.9,27.8 -24.2,39.5C781.2,279.5 780.9,284.2 784.7,284.2zM766,262.4c-6.6,9.5 -8.4,19.3 -4,19.7s11,-6.1 16.9,-16.2c7.3,-12.3 9.3,-19.4 6,-19.7C781.5,246 772.8,252.7 766,262.4z" />
|
||||
<path
|
||||
android:fillColor="#424242"
|
||||
android:pathData="M841.4,244.2c1.1,-1.4 2,-1.6 2.8,-0.5c1.6,2.1 2.3,7.1 -0.8,12.6c-2.8,5 -8.9,13.2 -11.9,19.2c-3.2,6.2 -3.5,11.1 0.3,11.1c4.7,0 11.4,-7.4 15.7,-15.1c0.6,-1 1.4,-1.1 1.8,0c0.4,1.1 0.2,3.9 -1.4,7c-3.3,6.1 -10.8,12 -17,11.4s-9.1,-4.5 -8.9,-9.8c-3.9,4.5 -9.2,8.4 -14.7,8.2c-10.6,-0.5 -12,-15.1 -1.9,-28.4c9.9,-13 19.2,-17.6 24.9,-17.4c4.9,0.2 7,4.1 6.5,8.6C838.6,248.3 840,246 841.4,244.2zM832,248.4c-3.6,-0.5 -12.3,6.5 -19.1,16.3c-6.5,9.5 -8.5,19.4 -4.1,19.8c4.7,0.4 11,-6.6 17.3,-16.4C833.9,256 835.3,249 832,248.4L832,248.4z" />
|
||||
<path
|
||||
android:fillColor="#424242"
|
||||
android:pathData="M866.4,293.8c-7.2,14.9 -16.2,32.9 -25.8,36c-2.2,0.7 -4.4,0.6 -6.4,-2.7c-2.1,-3.5 -4.2,-7.6 -1.5,-14.2c3.9,-10.1 14,-16.4 25.5,-20.3c1.3,-2.6 2.6,-5.4 4,-8c-3.7,3.5 -8.2,6.2 -12.7,5.6c-8.2,-1.1 -8,-9.4 -5,-16.8c2.9,-7.2 9,-18.2 17,-28c0.4,-0.8 1.4,-1 2.1,-0.6c0.3,0.2 0.6,0.4 0.7,0.8c2.5,3.8 1.6,8.5 -2.9,15c-3.7,5.1 -6.9,10.5 -9.6,16.2c-2.6,5.5 -2.5,9.5 0.1,9.8c4.4,0.6 10.5,-6.4 16.8,-16c5.3,-8.2 10.8,-18.2 15,-23.8c1.1,-1.4 1.9,-1.6 2.9,-0.6c1.5,2.1 2.1,7.1 -1.1,12.7c-3.8,6.4 -11.4,19.8 -16.8,30.6c8.2,-3.9 15.4,-9.5 21.1,-16.5c0.6,-0.8 1.6,-0.8 1.8,0.3c0.2,1.1 -0.3,3.6 -2.4,6.5C884.2,286.5 876,290.5 866.4,293.8zM836.6,323.4c1.4,2.2 11.4,-9.7 19.3,-26.1C840.7,305.1 834.8,320.4 836.6,323.4z" />
|
||||
<path
|
||||
android:fillColor="#424242"
|
||||
android:pathData="M894.8,242.4c-0.7,-0.2 -0.9,-1 -0.4,-2.1c2.9,-5.5 10.1,-17.1 14.2,-21.2c1.6,-1.5 2.5,-1 2.8,0.3c0.7,2.2 -0.5,4.8 -1.8,6.8c-3.7,5.2 -7.6,10.1 -11.8,14.9C896.5,242.4 895.6,242.6 894.8,242.4z" />
|
||||
<path
|
||||
android:fillColor="#424242"
|
||||
android:pathData="M906.7,253.3c0.8,-4.4 2,-6.5 4.5,-8.6c2.6,-2 5.3,-2.5 6.2,-1.4c1,1.1 0.4,2.4 -1.2,5c-0.5,0.7 -0.9,1.3 -1.4,2.1c-1.3,10.4 0.4,19.4 -0.4,27.3c-0.5,4.4 -1.5,9.2 -5.7,11.7c7.8,-2.4 12.9,-9 16.1,-15c0.6,-1.2 1.8,-0.8 2.2,0.1c0.4,0.9 0.1,4 -2,7.4c-4.4,7.2 -12.3,11.6 -20.8,11.5c-6.6,-0.1 -12.9,-2.2 -16.4,-9.4c-2.5,-5.3 -1.8,-12.8 2.3,-15.8c1.4,-1.1 2.3,-0.6 2.3,1.3c0.1,0.9 0,1.8 0.1,2.8C897.6,266.2 902.4,259.9 906.7,253.3zM893.3,278.4c1.4,6.7 4.4,11.5 8.3,10.6c5.3,-1.3 4.5,-19.3 4.5,-28.4C902.2,266.8 897.9,272.7 893.3,278.4z" />
|
||||
<path
|
||||
android:fillColor="#424242"
|
||||
android:pathData="M955.1,281.2c4.4,3.9 11.8,10.2 19.2,10.6c3.2,0.2 5.6,-0.5 7.2,-1.7c1.7,-1.5 1.8,-4 0.4,-5.6c-0.1,-0.1 -0.2,-0.2 -0.3,-0.3c-5.8,-5.4 -23.4,-13.4 -22.8,-25.2c0.8,-15.6 19.2,-28 29.5,-31.8c5.6,-2 11.1,-2.6 14.7,1c2.6,2.7 4.4,6.2 5.2,9.9c0.9,4.6 -2.1,8.9 -3.9,11.2c-3.1,3.9 -5.9,8 -8.5,12.2c-0.6,1 -1.3,1.5 -2.5,0.2c-2.1,-2.3 -3.2,-5.9 -0.6,-11.1s11.7,-14.4 9.1,-17.4c-3.7,-4.2 -32.6,11.8 -33.9,26c-0.7,7.4 13.5,14.2 19.7,19.1c4.2,3.3 3.3,8.5 -2,14.1c-7.2,7.5 -27.2,8.7 -42.2,-11.5c-1.2,-1.6 -0.7,-2.3 0.4,-2.6C947.8,277.4 952,278.5 955.1,281.2z" />
|
||||
<path
|
||||
android:fillColor="#424242"
|
||||
android:pathData="M1043.6,281.6c0.8,-1.6 2,-1 2.2,0.1c0.3,2.6 -0.4,5.3 -1.9,7.5c-4.7,7.6 -12.7,11 -20.9,11.1c-7.3,0.1 -12,-1.2 -15.8,-5c-2.1,-2.1 -3.3,-4.9 -3.5,-7.8c-5.9,9.5 -12.3,20.9 -18.4,33.2c-0.5,1 -1.3,1.2 -1.9,0.1c-1.6,-2.5 -2,-5.7 0.5,-12.5c4,-10.9 25,-46 32.6,-55.2c1.2,-1.4 2.2,-1.1 2.7,0.2c0.5,1.7 0.6,3.4 0.4,5.2c5.2,-4.1 12.1,-6.9 16.8,-1.5c5.2,6.1 2.1,16.1 -2.5,25.2c-3.8,7.4 -8.3,12.6 -12.8,15C1032.3,297 1039.6,289.1 1043.6,281.6zM1009.6,293c3.5,3.1 11.3,-4.8 17.2,-15.5c4.9,-8.9 6.7,-18.3 3.9,-19.8s-10,3.8 -15.8,12.3c-1.4,2 -2.7,4 -4.2,6.3C1007.4,283.4 1006.5,290.2 1009.6,293z" />
|
||||
<path
|
||||
android:fillColor="#424242"
|
||||
android:pathData="M1057.3,297.9c9.4,0.9 18.2,-7.7 23.5,-15c0.6,-0.9 1.5,-0.8 1.9,0.2c0.4,1 -0.1,4.1 -2.3,7c-5.1,6.7 -14.2,11.5 -23,11.2c-14.5,-0.5 -18.8,-15 -10.6,-29.3c8.2,-14.3 20.1,-19.6 25.6,-16c2.6,1.6 4.8,3.7 6.4,6.3c1.9,2.8 0.7,9.7 -4.4,15.3c-5.9,6.5 -13.7,9.1 -21.4,2.2C1048.9,289.9 1051.3,297.3 1057.3,297.9zM1068.1,272.2c3.9,-4.6 6.7,-10.4 5.2,-11.7c-2.3,-2.1 -12.1,4.3 -18,14.8c-0.4,0.7 -0.8,1.3 -1,1.9C1059.6,281 1064.6,276.4 1068.1,272.2z" />
|
||||
<path
|
||||
android:fillColor="#424242"
|
||||
android:pathData="M1114.4,264.5c2.1,4.9 -2.7,10.7 -5.3,16.8c-0.5,1.4 -1,1.7 -2.4,0.8c-2.7,-1.5 -4.1,-5 -2.2,-10c1.5,-4 5.1,-8.8 3.6,-10.1c-1.8,-1.7 -10.8,5.2 -16.4,15.3c-6.9,12.6 -5,22.1 1.7,22.6c9.6,0.6 18.2,-8.1 23.3,-15c0.6,-0.9 1.7,-0.9 2,0.2c0.3,0.9 -0.3,3.8 -2.4,6.7c-4.7,6.5 -14,11.6 -22.6,11.3c-14.5,-0.5 -18.7,-14.9 -10.5,-29.2c8,-14 19.8,-19.5 25.4,-15.8C1111,259.5 1113.1,261.8 1114.4,264.5z" />
|
||||
<path
|
||||
android:fillColor="#424242"
|
||||
android:pathData="M1114.5,287.4c3.3,-8.2 11.5,-21.2 16,-26.9c1.1,-1.3 1.9,-1.6 2.8,-0.6c1.6,1.9 2.3,6.9 -0.8,12.4c-2.7,4.9 -7.8,12.4 -10.5,18c-3.1,6.5 -3.1,10.9 0.6,10.9c5.1,0 11.8,-7.2 15.6,-14.9c0.6,-1 1.4,-0.8 1.8,0.1c0.8,1.9 0.3,4.2 -1.2,7c-3.8,6.9 -11.2,11.3 -17.6,11C1112.6,304 1110.8,296.5 1114.5,287.4zM1141.4,258.9c-1.6,1.5 -4.7,1 -6.3,-2c-1.6,-2.7 -1.2,-6.1 1,-8.4c1.9,-1.8 5.2,-0.3 6.5,2.9C1143.8,253.9 1143.3,256.9 1141.4,258.9z" />
|
||||
<path
|
||||
android:fillColor="#424242"
|
||||
android:pathData="M1179.1,261.5c1.1,-1.4 2,-1.6 2.8,-0.5c1.6,2.1 2.3,7.1 -0.8,12.6c-2.8,5 -8.9,13.3 -11.9,19.1c-3.2,6.2 -3.5,11.1 0.3,11.1c4.7,0 11.3,-7.4 15.7,-15.1c0.6,-1 1.4,-1.1 1.8,0c0.4,1.1 0.2,3.9 -1.4,7c-3.3,6.1 -10.8,12 -17,11.4c-6.2,-0.6 -9.1,-4.5 -8.9,-9.8c-3.9,4.5 -9.2,8.4 -14.7,8.2c-10.6,-0.5 -12,-15.1 -1.9,-28.4c9.9,-13 19.2,-17.6 24.9,-17.3c4.9,0.2 7,4.1 6.5,8.6C1176,266 1177.5,263.7 1179.1,261.5zM1169.7,265.8c-3.6,-0.5 -12.3,6.5 -19.1,16.3c-6.5,9.5 -8.5,19.4 -4.1,19.8c4.7,0.4 11,-6.6 17.3,-16.4C1171.6,273.3 1173,266.3 1169.7,265.8z" />
|
||||
<path
|
||||
android:fillColor="#424242"
|
||||
android:pathData="M1192.8,304.6c5.5,0.7 13.9,-7.1 18.7,-15.6c0.9,-1.4 2.1,-1.5 2.5,0.1c0.5,1.9 -0.1,4.3 -1.5,7c-1.8,3.3 -10.6,12.4 -19.7,11.7c-7.8,-0.6 -11.8,-6.3 -8.5,-18.5c5.2,-19.6 19.3,-39.6 31.5,-51c1.8,-1.7 3.4,-1.9 4.9,-0.3c3.1,3.1 3.6,7.4 2,12.7c-4.2,13.8 -17.7,26.9 -28.2,32.9C1189.4,294.5 1187.7,303.9 1192.8,304.6zM1219,248c-1.4,-1 -10.5,11.2 -19.1,25.4c-1.1,1.8 -2.1,3.5 -3,5.3C1213.1,266.9 1220.4,249 1219,248z" />
|
||||
</vector>
|
||||
49
DessertClickerFinal/app/src/main/res/drawable/cupcake.xml
Normal file
@ -0,0 +1,49 @@
|
||||
<!--
|
||||
~ Copyright 2019, The Android Open Source Project
|
||||
~
|
||||
~ Licensed under the Apache License, Version 2.0 (the "License");
|
||||
~ you may not use this file except in compliance with the License.
|
||||
~ You may obtain a copy of the License at
|
||||
~
|
||||
~ http://www.apache.org/licenses/LICENSE-2.0
|
||||
~
|
||||
~ Unless required by applicable law or agreed to in writing, software
|
||||
~ distributed under the License is distributed on an "AS IS" BASIS,
|
||||
~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
~ See the License for the specific language governing permissions and
|
||||
~ limitations under the License.
|
||||
-->
|
||||
|
||||
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:width="500dp"
|
||||
android:height="700dp"
|
||||
android:viewportWidth="500"
|
||||
android:viewportHeight="700">
|
||||
<path
|
||||
android:fillColor="#C2CACC"
|
||||
android:pathData="M245.9,471.2c-80.4,0 -145.6,21.8 -145.6,48.7c0,26.9 65.2,48.7 145.6,48.7s145.6,-21.8 145.6,-48.7C391.5,493 326.3,471.2 245.9,471.2" />
|
||||
<path
|
||||
android:fillColor="#987C72"
|
||||
android:pathData="M367.6,380.1l-13.7,105l9.1,-103.5c-9.2,2.8 -20.6,5 -33.6,6.8l-8.2,108.5l3.6,-107.9c-10.6,1.3 -22,2.3 -33.9,3l-6.3,117.9l1.4,-117.6c-11.2,0.6 -22.7,0.9 -34.2,0.9l-2.4,116.7L247,393.2c-11.6,0 -23.1,-0.4 -34.2,-1l1.4,117.7l-6.3,-118c-11.9,-0.7 -23.4,-1.8 -33.9,-3.1l3.6,108l-8.2,-108.6c-13,-1.8 -24.5,-4.2 -33.6,-7l9.2,103.9l-13.7,-105.4c-9.5,-3.5 -15.6,-7.7 -16.9,-12.6l16.3,115.1c2.2,15.7 12.3,29.1 26.7,35.5c61.8,27.4 123.6,27.4 185.4,0c14.4,-6.5 24.5,-19.9 26.7,-35.5l16.3,-114.9C384.2,372.3 377.7,376.6 367.6,380.1z" />
|
||||
<path
|
||||
android:fillColor="#8D6E63"
|
||||
android:pathData="M250,377.5c-59.8,0 -111.8,-4.2 -137.9,-26.5l2,14.2c0,0.1 0,0.1 0,0.2c0,0.6 0.1,1.2 0.3,1.8c1.3,4.9 7.3,9.1 16.9,12.6l13.7,105.4l-9.2,-103.9c9.1,2.8 20.6,5.2 33.6,7l8.2,108.6l-3.6,-108c10.5,1.3 22,2.4 33.9,3.1l6.3,118l-1.4,-117.7c11.2,0.6 22.7,0.9 34.2,1l2.4,116.7l2.4,-116.7c11.5,0 23.1,-0.3 34.2,-0.9l-1.4,117.6L291,392c11.9,-0.7 23.3,-1.7 33.9,-3l-3.6,107.9l8.2,-108.5c13,-1.8 24.4,-4 33.6,-6.8L354,485.1l13.7,-105c10.1,-3.5 16.6,-7.8 18,-12.8c0.2,-0.7 0.3,-1.4 0.3,-2.2l2,-14.2C361.8,373.3 309.9,377.5 250,377.5z" />
|
||||
<path
|
||||
android:fillColor="#FFE0B2"
|
||||
android:pathData="M250,371c84,0 152.5,-8.3 155.8,-63.4c0.1,0.7 0.1,1.5 0.1,2.2c0,12 -2.9,21.9 -8.2,30.1c5.3,-8.2 8.2,-18.1 8.2,-30.1c0,-11.2 -9.5,-21.5 -25.9,-30.2c1.3,3.8 2,7.8 2,12.1v5.1c0.1,19.1 -13.8,35.6 -33.2,39.2c-68.3,12.8 -133.8,13.7 -196.4,2.1c-19.2,-3.5 -33.2,-19.7 -33.3,-38.7v-5.9c0,-5.4 1,-10.5 3,-15.2c-16.7,8.3 -26.9,18.4 -28.1,29.3C97.5,362.7 166,371 250,371z" />
|
||||
<path
|
||||
android:fillColor="#F8BBD0"
|
||||
android:pathData="M312.4,190.5c-2.2,-5.2 -5.5,-9.8 -9.6,-13.6c-4.2,-3.8 -9.2,-6.5 -14.6,-8.1c-5.4,-1.5 -11,-1.8 -16.6,-1c-5.3,0.6 -10.7,1 -16.1,1.1c-5.3,0.1 -10.7,-0.4 -15.9,-1.5c-5.1,-1.2 -10.2,-3.4 -13.9,-7.2c-1.8,-1.9 -3.2,-4.2 -4.1,-6.7c-0.9,-2.5 -1.4,-5.2 -1.4,-7.9l0,0l-0.1,-0.2l-0.1,0.1c0,2.7 0.4,5.4 1.2,8.1c0.8,2.6 2.2,5.1 4,7.1c1.8,2.1 4,3.8 6.5,5.1c2.4,1.3 5,2.3 7.7,3c5.3,1.3 10.8,2 16.2,2c5.4,0.1 10.9,-0.2 16.3,-0.6c5.2,-0.6 10.5,-0.1 15.5,1.5c4.9,1.6 9.5,4.2 13.5,7.5c0.5,0.4 1,0.8 1.5,1.3s1,0.9 1.4,1.4c0.9,1 1.8,1.9 2.6,3c1.6,2.1 3,4.3 4.2,6.6c0.9,1.8 1.6,3.6 2.2,5.4l1.6,0C313.8,194.7 313.2,192.6 312.4,190.5z" />
|
||||
<path
|
||||
android:fillColor="#FF7FAB"
|
||||
android:pathData="M119.2,293.6v5.9c0.1,19 14.1,35.1 33.3,38.7c62.6,11.5 128.1,10.6 196.4,-2.1c19.4,-3.7 33.3,-20.1 33.2,-39.2v-5.1c0,-4.2 -0.7,-8.3 -2,-12.1c-3.9,-11.6 -13.2,-20.8 -25,-24.9c3.4,-5.7 5.3,-12.4 5.2,-19.5l0,-0.6c-0.2,-20.2 -15.9,-36.5 -35.8,-37.7c-0.7,-17 -12.5,-31.5 -29,-35.7c-4.2,-1 -8.5,-1.3 -12.8,-0.8c-15.2,1.4 -52.5,5.2 -52.9,-23.3c-47.5,0.2 -54.5,40.2 -55.4,60.8l-18.6,0.1c-21,0.2 -38,17.3 -37.8,38.4l0,0.6c0.1,11.4 5.2,21.6 13.1,28.5c-3.7,3.7 -6.7,8.1 -8.8,12.9C120.3,283.1 119.2,288.2 119.2,293.6zM359.6,265.2c4.8,3.7 8.5,8.6 10.8,14.1c2.3,5.4 3.4,11.4 3,17.3l-0.1,0.1h0l-0.2,-0.1c-0.4,-5.7 -2,-11.3 -4.6,-16.4c-0.6,-1.3 -1.4,-2.5 -2.1,-3.6c-0.4,-0.6 -0.8,-1.2 -1.2,-1.7l-1.3,-1.7c-1.8,-2.1 -3.9,-4 -6.1,-5.7c-0.6,-0.4 -1.1,-0.8 -1.7,-1.2l-1.8,-1.1c-1.2,-0.7 -2.4,-1.3 -3.7,-1.9c-0.6,-0.3 -1.3,-0.5 -1.9,-0.8c-0.7,-0.2 -1.3,-0.5 -2,-0.7l-2,-0.5c-0.7,-0.2 -1.3,-0.3 -2,-0.5c-1.4,-0.3 -2.8,-0.4 -4.2,-0.5c-1.4,-0.1 -2.8,-0.2 -4.2,-0.2l-8.7,-0.1l-34.8,-0.2l-34.8,-0.4l-0.2,-0.1l0.1,-0.2h0l34.8,-0.9l34.8,-0.7l8.7,-0.2c1.4,-0.1 2.9,0 4.4,0c1.5,0 3,0.2 4.5,0.4C349.2,258.9 354.8,261.4 359.6,265.2zM335.3,211l2,1.6c0.3,0.3 0.7,0.5 1,0.8l0.9,0.9c0.6,0.6 1.2,1.1 1.8,1.8c1.1,1.3 2.2,2.6 3.1,4c0.5,0.7 1,1.4 1.4,2.1l1.2,2.2c3,6 4.4,12.6 4,19.3l-0.2,0.1l-0.1,-0.1c-0.3,-3.2 -0.8,-6.4 -1.8,-9.5c-0.4,-1.5 -1,-3.1 -1.6,-4.5c-0.3,-0.7 -0.6,-1.5 -1,-2.1c-0.3,-0.7 -0.7,-1.4 -1.1,-2.1l-1.3,-2c-0.4,-0.7 -0.9,-1.3 -1.4,-1.9c-1,-1.3 -2,-2.4 -3.1,-3.6c-0.5,-0.6 -1.2,-1.1 -1.7,-1.6l-0.9,-0.8c-0.3,-0.3 -0.6,-0.5 -0.9,-0.7l-1.9,-1.4l-2,-1.2l-1,-0.6l-1.1,-0.5l-2.1,-1l-2.2,-0.8l-1.1,-0.4l-1.1,-0.3c-0.8,-0.2 -1.5,-0.4 -2.3,-0.6l-2.3,-0.4l-1.2,-0.2c-0.4,-0.1 -0.8,-0.1 -1.2,-0.1l-2.3,-0.1l-19.6,-0.2l-39.2,-0.2l-39.2,-0.3l-0.1,-0.1l0.1,-0.1l39.2,-0.9l39.2,-0.8l19.6,-0.4c6.8,-0.1 13.6,1.7 19.4,5.2C333.9,210.1 334.6,210.6 335.3,211zM310.5,191.4c-1.2,-2.3 -2.6,-4.5 -4.2,-6.6c-0.8,-1.1 -1.7,-2 -2.6,-3c-0.4,-0.5 -0.9,-0.9 -1.4,-1.4s-0.9,-0.9 -1.5,-1.3c-4,-3.4 -8.5,-5.9 -13.5,-7.5c-5,-1.6 -10.3,-2.1 -15.5,-1.5c-5.4,0.5 -10.9,0.7 -16.3,0.6c-5.5,0 -10.9,-0.7 -16.2,-2c-2.7,-0.7 -5.2,-1.7 -7.7,-3c-2.4,-1.3 -4.6,-3 -6.5,-5.1c-1.8,-2.1 -3.2,-4.5 -4,-7.1c-0.8,-2.6 -1.2,-5.3 -1.2,-8.1l0.1,-0.1l0.1,0.2l0,0c0.1,2.7 0.6,5.3 1.4,7.9c0.9,2.5 2.3,4.8 4.1,6.7c3.7,3.9 8.7,6 13.9,7.2c5.2,1.1 10.6,1.7 15.9,1.5c5.4,-0.1 10.7,-0.5 16.1,-1.1c5.5,-0.8 11.2,-0.5 16.6,1c5.4,1.6 10.4,4.3 14.6,8.1c4.1,3.8 7.4,8.4 9.6,13.6c0.8,2 1.5,4.1 1.9,6.3l-1.6,0C312.1,195 311.3,193.1 310.5,191.4z" />
|
||||
<path
|
||||
android:fillColor="#F8BBD0"
|
||||
android:pathData="M338.7,257.6c-1.5,0 -3,-0.1 -4.4,0l-8.7,0.2l-34.8,0.7l-34.8,0.9h0l-0.1,0.2l0.2,0.1l34.8,0.4l34.8,0.2l8.7,0.1c1.5,0 2.9,0.1 4.2,0.2c1.4,0.1 2.8,0.3 4.2,0.5c0.7,0.1 1.3,0.3 2,0.5l2,0.5c0.7,0.2 1.3,0.5 2,0.7c0.7,0.2 1.3,0.5 1.9,0.8c1.3,0.6 2.5,1.2 3.7,1.9l1.8,1.1c0.6,0.4 1.1,0.8 1.7,1.2c2.2,1.7 4.3,3.6 6.1,5.7l1.3,1.7c0.4,0.5 0.9,1.1 1.2,1.7c0.8,1.2 1.5,2.4 2.1,3.6c2.6,5.1 4.2,10.7 4.6,16.4l0.2,0.1h0l0.1,-0.1c0.4,-5.9 -0.7,-11.8 -3,-17.3c-2.3,-5.6 -6.1,-10.4 -10.8,-14.1c-4.8,-3.8 -10.4,-6.2 -16.4,-7.2C341.7,257.8 340.2,257.6 338.7,257.6z" />
|
||||
<path
|
||||
android:fillColor="#F8BBD0"
|
||||
android:pathData="M313.8,204.4l-19.6,0.4l-39.2,0.8l-39.2,0.9l-0.1,0.1l0.1,0.1l39.2,0.3l39.2,0.2l19.6,0.2l2.3,0.1c0.4,0 0.8,0 1.2,0.1l1.2,0.2l2.3,0.4c0.8,0.2 1.5,0.4 2.3,0.6l1.1,0.3l1.1,0.4l2.2,0.8l2.1,1l1.1,0.5l1,0.6l2,1.2l1.9,1.4c0.3,0.2 0.7,0.5 0.9,0.7l0.9,0.8c0.6,0.5 1.2,1 1.7,1.6c1.1,1.1 2.2,2.3 3.1,3.6c0.5,0.6 1,1.2 1.4,1.9l1.3,2c0.4,0.7 0.8,1.4 1.1,2.1c0.4,0.7 0.7,1.4 1,2.1c0.6,1.5 1.2,3 1.6,4.5c0.9,3.1 1.5,6.3 1.8,9.5l0.1,0.1l0.2,-0.1c0.4,-6.7 -1,-13.3 -4,-19.3l-1.2,-2.2c-0.4,-0.8 -0.9,-1.4 -1.4,-2.1c-1,-1.4 -2,-2.7 -3.1,-4c-0.6,-0.6 -1.2,-1.2 -1.8,-1.8l-0.9,-0.9c-0.3,-0.3 -0.7,-0.5 -1,-0.8l-2,-1.6c-0.7,-0.5 -1.4,-0.9 -2.2,-1.4C327.3,206.2 320.6,204.4 313.8,204.4z" />
|
||||
<path
|
||||
android:fillColor="#FFCC80"
|
||||
android:pathData="M397.8,339.9c5.3,-8.2 8.2,-18.1 8.2,-30.1c0,-0.7 0,-1.5 -0.1,-2.2C402.5,362.7 334,371 250,371c-84,0 -152.5,-8.3 -155.9,-63.3c0,0 0,-0.1 0,-0.1c-0.1,0.7 -0.1,1.5 -0.1,2.2c0,18 6.5,31.4 18.1,41.2c0,0 0,0 0,0c26.2,22.3 78.1,26.5 137.9,26.5c59.9,0 111.9,-4.2 138,-26.6C391.8,347.7 395.1,344 397.8,339.9z" />
|
||||
</vector>
|
||||
79
DessertClickerFinal/app/src/main/res/drawable/donut.xml
Normal file
@ -0,0 +1,79 @@
|
||||
<!--
|
||||
~ Copyright 2019, The Android Open Source Project
|
||||
~
|
||||
~ Licensed under the Apache License, Version 2.0 (the "License");
|
||||
~ you may not use this file except in compliance with the License.
|
||||
~ You may obtain a copy of the License at
|
||||
~
|
||||
~ http://www.apache.org/licenses/LICENSE-2.0
|
||||
~
|
||||
~ Unless required by applicable law or agreed to in writing, software
|
||||
~ distributed under the License is distributed on an "AS IS" BASIS,
|
||||
~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
~ See the License for the specific language governing permissions and
|
||||
~ limitations under the License.
|
||||
-->
|
||||
|
||||
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:width="500dp"
|
||||
android:height="700dp"
|
||||
android:viewportWidth="500"
|
||||
android:viewportHeight="700">
|
||||
<path
|
||||
android:fillColor="#C2CACC"
|
||||
android:pathData="M250,471.2c-110.2,0 -199.6,21.8 -199.6,48.7c0,26.9 89.4,48.7 199.6,48.7s199.6,-21.8 199.6,-48.7C449.6,493 360.2,471.2 250,471.2" />
|
||||
<path
|
||||
android:fillColor="#8D6E63"
|
||||
android:pathData="M437,422.9c-6.4,-18.7 -18.8,-33.9 -34.5,-41.9c2.7,1.5 5.3,3.2 7.8,5.1C422.5,395.5 431,408.7 437,422.9z" />
|
||||
<path
|
||||
android:fillColor="#8D6E63"
|
||||
android:pathData="M441.6,449.7c0,-0.4 0,-0.9 0,-1.3c-0.2,-6.5 -1.1,-12.8 -2.7,-18.8c-0.2,1.4 -1,2.8 -2,4c-6.5,8 -12.7,25.2 -38.8,25.2c-8.7,0 -10.4,3.8 -15.8,4.2c-8.8,0.6 -17.3,-2.6 -26.1,-3.5c-11.7,-1.2 -23.5,1.6 -33.5,7.9c-7.7,4.9 -14.3,12 -23.2,14.1c-8,1.9 -16.3,-0.7 -24.2,-3c-29.1,-8.5 -51,-12.7 -80.5,-5.5c-8.5,2.1 -12.9,2.6 -15.4,6.8c-1,1.7 -2.2,3.2 -3.6,4.6c-6.1,6.5 -17.5,2 -22.8,-5.1c-5.3,-7.1 -7.8,-16.3 -14,-22.6c-9.7,-9.8 -25.5,-9.9 -39,-7.1c-4.4,0.9 -9,2 -13.1,0.2c-6,-2.6 -8.4,-10.3 -9.3,-16.1c-0.5,-3.6 -1.7,-7.1 -3.5,-10.3c-1.4,-2.4 -2.9,-3.9 -4.9,-4.7c-1.1,-0.4 -1.8,-1.3 -2,-2.4c-4.2,9.7 -6.7,20.5 -7.1,31.9c0,0.4 0,0.9 0,1.3c-0.9,36.8 20.7,69 50.8,76.9c45.5,12.1 92.4,18.8 139.5,20h0.8c47.1,-1.2 93.9,-7.9 139.5,-20C421,518.8 442.5,486.6 441.6,449.7z" />
|
||||
<path
|
||||
android:fillColor="#8D6E63"
|
||||
android:pathData="M112.7,376.3c-3.3,0.8 -6.5,1.8 -9.6,3.1c3.9,-1.4 7.9,-2.6 11.9,-3.6C114.3,375.9 113.5,376.1 112.7,376.3z" />
|
||||
<path
|
||||
android:fillColor="#FF80AB"
|
||||
android:pathData="M69.4,418.9c2,0.8 3.5,2.3 4.9,4.7c1.8,3.2 3,6.7 3.5,10.3c0.9,5.8 3.3,13.6 9.3,16.1c4.1,1.8 8.8,0.7 13.1,-0.2c13.5,-2.8 29.3,-2.7 39,7.1c6.2,6.3 8.7,15.5 14,22.6c5.3,7.1 16.7,11.6 22.8,5.1c1.3,-1.4 2.5,-3 3.6,-4.6c2.5,-4.2 6.9,-4.7 15.4,-6.8c29.5,-7.2 51.4,-3 80.5,5.5c7.9,2.3 16.2,4.8 24.2,3c8.9,-2.1 15.5,-9.2 23.2,-14.1c9.9,-6.3 21.7,-9.1 33.5,-7.9c8.7,0.9 17.3,4.1 26.1,3.5c5.5,-0.4 7.1,-4.2 15.8,-4.2c26.1,0 32.3,-17.3 38.8,-25.2c1,-1.2 1.8,-2.6 2,-4c0.1,-0.8 0.1,-1.7 -0.3,-2.5c-0.5,-1.4 -1.1,-2.8 -1.7,-4.2c-6,-14.2 -14.5,-27.4 -26.7,-36.7c-2.5,-1.9 -5.1,-3.6 -7.8,-5.1c-15.2,-8.7 -33.4,-12 -51,-14.4c-49.7,-6.8 -99.9,-8.2 -149.9,-4.1c-23.9,2 -47.7,5.3 -71.3,9.9c-5.1,1 -10.2,2 -15.2,3.3c-4,1 -8,2.2 -11.9,3.6c-7.1,2.6 -13.8,5.9 -19.8,10.5c-8.2,6.2 -13.8,15.1 -15.9,25.1c-0.1,0.5 -0.1,1 0,1.4C67.7,417.6 68.4,418.5 69.4,418.9zM111.5,425.4c-0.1,0.2 -0.3,0.3 -0.5,0.5l-6.6,5.5c-1.1,1.2 -3,1.3 -4.2,0.2c-1.2,-1.1 -1.3,-3 -0.2,-4.2c0.2,-0.2 0.4,-0.4 0.6,-0.5l6.6,-5.5c1.3,-1 3.2,-0.7 4.2,0.6C112.2,423 112.2,424.3 111.5,425.4zM159.8,402.7c-0.1,0.2 -0.3,0.4 -0.5,0.6l-5.5,6.6c-1.1,1.3 -2.9,1.4 -4.2,0.4c-0.5,-0.4 -0.8,-0.9 -1,-1.5c-0.3,-0.9 0,-1.9 0.6,-2.7l5.5,-6.6c0.9,-1.4 2.7,-1.8 4.1,-0.9C160.3,399.5 160.7,401.3 159.8,402.7zM175.4,448.6c-0.5,0.9 -1.5,1.4 -2.5,1.4h0c-0.5,0 -1,-0.1 -1.5,-0.4l-7.4,-4.3c-1.3,-1 -1.6,-2.9 -0.7,-4.2c0.8,-1.2 2.4,-1.6 3.7,-1l7.4,4.3C175.8,445.4 176.3,447.2 175.4,448.6zM226,438.9c-0.1,0.2 -0.3,0.3 -0.5,0.5l-6.6,5.5c-1.4,0.9 -3.3,0.5 -4.1,-0.9c-0.7,-1.2 -0.6,-2.7 0.3,-3.7l6.6,-5.5c1.3,-1 3.1,-0.9 4.2,0.4C226.8,436.3 226.8,437.8 226,438.9zM273.1,455.9c-0.4,0.4 -0.9,0.8 -1.4,0.9c-0.9,0.3 -1.9,0 -2.7,-0.6l-6.6,-5.5c-1.4,-0.9 -1.8,-2.7 -0.9,-4.1s2.7,-1.8 4.1,-0.9c0.2,0.1 0.4,0.3 0.6,0.5l6.6,5.5C274.1,452.8 274.2,454.7 273.1,455.9zM311.2,431.9l-4.8,7.1c-1.1,1.3 -3,1.4 -4.2,0.3c-1,-0.9 -1.3,-2.3 -0.8,-3.5h0l0.1,-0.1l4.8,-7.1c1.1,-1.2 3,-1.4 4.2,-0.3C311.5,429.2 311.8,430.7 311.2,431.9zM293.2,412.5c-12.2,1.6 -26.7,2.6 -42.2,2.6s-30,-0.9 -42.2,-2.6c-22.4,-3 -37.3,-8.2 -37.3,-14.2c0,-9.3 35.6,-16.8 79.5,-16.8s79.5,7.5 79.5,16.8C330.5,404.2 315.6,409.5 293.2,412.5zM187.6,375.1c0,-1.4 1,-2.5 2.4,-2.8l8.6,-0.8c1.7,-0.1 3.1,1.1 3.2,2.8c0.1,1 -0.4,2 -1.2,2.6h0c-0.4,0.3 -0.9,0.5 -1.5,0.5l-8.5,0.8C188.8,378.2 187.5,376.8 187.6,375.1zM311.9,378.8l-8.4,-2c-1.6,-0.6 -2.4,-2.3 -1.8,-3.8c0.5,-1.3 1.8,-2.1 3.2,-2l8.4,2c1.6,0.5 2.5,2.1 2.1,3.7c-0.4,1.2 -1.4,2.1 -2.7,2.2C312.3,378.8 312.1,378.8 311.9,378.8zM255.4,368.1l0.1,-0.1l7.9,-3.3c1.6,-0.5 3.3,0.5 3.7,2.1c0.4,1.3 -0.2,2.8 -1.4,3.4l-7.9,3.3c-1.6,0.5 -3.3,-0.4 -3.7,-2C253.7,370.2 254.2,368.8 255.4,368.1zM366.8,390.6c-0.6,-0.9 -0.6,-1.9 -0.2,-2.9h0c0.2,-0.5 0.6,-0.9 1,-1.2l7.1,-4.9c1.5,-0.8 3.3,-0.2 4,1.3c0.6,1.2 0.3,2.7 -0.7,3.6l-7.1,4.9C369.6,392.4 367.8,392 366.8,390.6zM382.5,425.8c-0.5,0.3 -1.1,0.5 -1.7,0.5c-1,0 -1.9,-0.5 -2.4,-1.3l-4.9,-7c-0.8,-1.5 -0.2,-3.3 1.3,-4.1c1.2,-0.6 2.7,-0.4 3.6,0.6l4.9,7C384.1,423 383.8,424.8 382.5,425.8zM106.2,390.9c0.2,-1.4 1.4,-2.4 2.7,-2.5l8.6,0.4c1.7,0 3,1.4 2.9,3.1c0,1.7 -1.4,3 -3.1,2.9v0h-0.1l-8.6,-0.4C107,394.1 105.9,392.6 106.2,390.9z" />
|
||||
<path
|
||||
android:fillColor="#FF4081"
|
||||
android:pathData="M251,381.4c-43.9,0 -79.5,7.5 -79.5,16.8c0,6 14.9,11.3 37.3,14.2c7.9,-1.8 23.8,-3 42.2,-3s34.3,1.2 42.2,3c22.4,-3 37.3,-8.2 37.3,-14.2C330.5,389 294.9,381.4 251,381.4z" />
|
||||
<path
|
||||
android:fillColor="#2196F3"
|
||||
android:pathData="M315.3,376.7c0.5,-1.6 -0.5,-3.3 -2.1,-3.7l-8.4,-2c-1.4,-0.2 -2.7,0.7 -3.2,2c-0.6,1.6 0.2,3.3 1.8,3.8l8.4,2c0.2,0.1 0.5,0.1 0.7,0.1C313.8,378.8 314.9,377.9 315.3,376.7z" />
|
||||
<path
|
||||
android:fillColor="#FFEB3B"
|
||||
android:pathData="M108.6,394.4l8.6,0.4h0.1v0c1.7,0 3,-1.3 3.1,-2.9c0,-1.7 -1.3,-3 -2.9,-3.1l-8.6,-0.4c-1.4,0.1 -2.5,1.1 -2.7,2.5C105.9,392.6 107,394.1 108.6,394.4z" />
|
||||
<path
|
||||
android:fillColor="#F44336"
|
||||
android:pathData="M378.2,414.6c-0.9,-1 -2.4,-1.3 -3.6,-0.6c-1.5,0.8 -2,2.6 -1.3,4.1l4.9,7c0.6,0.8 1.5,1.3 2.4,1.3c0.6,0 1.2,-0.2 1.7,-0.5c1.3,-1 1.7,-2.8 0.7,-4.2L378.2,414.6z" />
|
||||
<path
|
||||
android:fillColor="#4CAF50"
|
||||
android:pathData="M174.4,444.5l-7.4,-4.3c-1.3,-0.6 -2.8,-0.2 -3.7,1c-1,1.3 -0.7,3.2 0.7,4.2l7.4,4.3c0.4,0.3 1,0.4 1.5,0.4h0c1,0 1.9,-0.6 2.5,-1.4C176.3,447.2 175.8,445.4 174.4,444.5z" />
|
||||
<path
|
||||
android:fillColor="#2196F3"
|
||||
android:pathData="M221.7,434.8l-6.6,5.5c-0.9,1 -1.1,2.5 -0.3,3.7c0.9,1.4 2.7,1.8 4.1,0.9l6.6,-5.5c0.2,-0.1 0.3,-0.3 0.5,-0.5c0.8,-1.1 0.8,-2.6 -0.1,-3.7C224.9,433.9 223,433.8 221.7,434.8z" />
|
||||
<path
|
||||
android:fillColor="#FFEB3B"
|
||||
android:pathData="M306.2,428.5l-4.8,7.1l-0.1,0.1h0c-0.6,1.2 -0.2,2.7 0.8,3.5c1.3,1.1 3.2,0.9 4.2,-0.3l4.8,-7.1c0.6,-1.2 0.3,-2.7 -0.7,-3.6C309.2,427.2 307.3,427.3 306.2,428.5z" />
|
||||
<path
|
||||
android:fillColor="#F44336"
|
||||
android:pathData="M158.9,398.6c-1.4,-0.9 -3.3,-0.5 -4.1,0.9l-5.5,6.6c-0.6,0.8 -0.8,1.8 -0.6,2.7c0.2,0.6 0.5,1.1 1,1.5c1.3,1 3.1,0.9 4.2,-0.4l5.5,-6.6c0.2,-0.2 0.3,-0.4 0.5,-0.6C160.7,401.3 160.3,399.5 158.9,398.6z" />
|
||||
<path
|
||||
android:fillColor="#4CAF50"
|
||||
android:pathData="M378.7,383c-0.8,-1.5 -2.6,-2.1 -4,-1.3l-7.1,4.9c-0.4,0.3 -0.8,0.7 -1,1.2h0c-0.4,0.9 -0.3,2 0.2,2.9c0.9,1.4 2.8,1.8 4.2,0.9l7.1,-4.9C379.1,385.7 379.4,384.2 378.7,383z" />
|
||||
<path
|
||||
android:fillColor="#4CAF50"
|
||||
android:pathData="M199,377.5c0.5,0 1,-0.2 1.5,-0.5h0c0.8,-0.6 1.3,-1.6 1.2,-2.6c-0.1,-1.7 -1.5,-2.9 -3.2,-2.8l-8.6,0.8c-1.3,0.3 -2.3,1.5 -2.4,2.8c-0.1,1.7 1.2,3 2.9,3.1L199,377.5z" />
|
||||
<path
|
||||
android:fillColor="#2196F3"
|
||||
android:pathData="M107.2,421.3l-6.6,5.5c-0.2,0.1 -0.4,0.3 -0.6,0.5c-1.1,1.2 -1.1,3.1 0.2,4.2c1.2,1.1 3.1,1.1 4.2,-0.2l6.6,-5.5c0.2,-0.1 0.3,-0.3 0.5,-0.5c0.7,-1.1 0.7,-2.4 -0.1,-3.5C110.4,420.6 108.6,420.3 107.2,421.3z" />
|
||||
<path
|
||||
android:fillColor="#FFEB3B"
|
||||
android:pathData="M257.8,373.5l7.9,-3.3c1.2,-0.7 1.8,-2.1 1.4,-3.4c-0.5,-1.6 -2.1,-2.5 -3.7,-2.1l-7.9,3.3l-0.1,0.1c-1.2,0.7 -1.7,2.1 -1.3,3.4C254.6,373.1 256.2,374 257.8,373.5z" />
|
||||
<path
|
||||
android:fillColor="#F44336"
|
||||
android:pathData="M266.2,446.2c-0.2,-0.2 -0.4,-0.4 -0.6,-0.5c-1.4,-0.9 -3.3,-0.5 -4.1,0.9s-0.5,3.3 0.9,4.1l6.6,5.5c0.8,0.6 1.8,0.8 2.7,0.6c0.6,-0.2 1.1,-0.5 1.4,-0.9c1.1,-1.3 0.9,-3.2 -0.3,-4.2L266.2,446.2z" />
|
||||
<path
|
||||
android:fillColor="#F50057"
|
||||
android:pathData="M208.8,412.5c12.2,1.6 26.7,2.6 42.2,2.6s30,-0.9 42.2,-2.6c-7.9,-1.8 -23.8,-3 -42.2,-3S216.7,410.7 208.8,412.5z" />
|
||||
</vector>
|
||||
37
DessertClickerFinal/app/src/main/res/drawable/eclair.xml
Normal file
@ -0,0 +1,37 @@
|
||||
<!--
|
||||
~ Copyright 2019, The Android Open Source Project
|
||||
~
|
||||
~ Licensed under the Apache License, Version 2.0 (the "License");
|
||||
~ you may not use this file except in compliance with the License.
|
||||
~ You may obtain a copy of the License at
|
||||
~
|
||||
~ http://www.apache.org/licenses/LICENSE-2.0
|
||||
~
|
||||
~ Unless required by applicable law or agreed to in writing, software
|
||||
~ distributed under the License is distributed on an "AS IS" BASIS,
|
||||
~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
~ See the License for the specific language governing permissions and
|
||||
~ limitations under the License.
|
||||
-->
|
||||
|
||||
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:width="500dp"
|
||||
android:height="700dp"
|
||||
android:viewportWidth="500"
|
||||
android:viewportHeight="700">
|
||||
<path
|
||||
android:fillColor="#C2CACC"
|
||||
android:pathData="M249.6,451.8c-113.9,0 -206.2,26.1 -206.2,58.4c0,32.3 92.3,58.4 206.2,58.4c113.9,0 206.2,-26.1 206.2,-58.4C455.8,478 363.5,451.8 249.6,451.8" />
|
||||
<path
|
||||
android:fillColor="#FFD698"
|
||||
android:pathData="M449.2,444.9c0,-0.1 0.2,-0.4 0.1,-0.5c-4.1,-12.7 -6.2,-22.4 -22.1,-26.8c-66.2,-18.2 -130.7,-39.9 -198.1,-52.8c-27.2,-5.2 -41,-3.1 -66.5,2.7c-19.6,4.4 -46.7,12 -66.5,17.7c-22.7,6.5 -34.1,23.2 -39.2,44.6c-1.5,6.5 -2.6,13.1 -3.2,19.8c-0.9,18.1 1.6,36 22.7,42.5c61.4,19.2 127.8,39.2 188.2,58.2c28.8,9.1 46.7,8.1 73.4,3.1c26.8,-5 50.5,-16.6 73.5,-32.3C435,505 451,475.8 449.2,444.9z" />
|
||||
<path
|
||||
android:fillColor="#8D6E63"
|
||||
android:pathData="M80.4,427c5.3,9.8 15.2,11.7 25,13.4c26.7,4.5 52,11.8 75.7,26.5c6.4,4 11.1,8.3 18.3,11.9c39.4,19.8 82.4,5.3 123.6,11.9c15.7,2.5 31.3,7.3 46.3,0.6c7.6,-3.4 14.1,-10.1 21.7,-13.8c4.5,-2.2 9.2,-3 13.8,-5.4c14.9,-7.8 26.3,-21.3 41,-29.3c2.7,-1.5 4.6,-4.5 3.4,-7.2c-4.3,-9.7 -11.4,-16.3 -20.6,-21.4c-16.6,-9.3 -32.9,-15.1 -50.8,-21c-48.4,-16 -97.3,-26 -146.9,-35.3c-9.7,-1.8 -19.5,-3.8 -29.9,-3.6c-12.8,0.2 -25.5,2.8 -38.2,6.1c-22.7,6 -44.9,13.3 -66.7,22c-8.4,3.4 -17.1,7.1 -24.6,13c-7.8,6.3 -13.7,14.9 -15.4,25.3c-0.2,0.8 -0.1,1.7 0.2,2.5c2.1,3.8 6,2.1 9.4,1.5c5.9,-1.3 12.2,-0.1 17.1,3.5" />
|
||||
<path
|
||||
android:fillColor="#FF80AB"
|
||||
android:pathData="M164.5,358.4c-10.8,6.2 -24.8,13.9 -36.4,23.9c-5.8,5 -10.9,10.6 -14.6,16.9c-3.7,6.3 -6,13.4 -6,21.3l0,0.1c0,1.1 0.7,2 1.7,2.4l0.2,0.1c0.7,0.2 1.4,0.2 2,-0.2c49.1,-26.6 102.8,-44.9 160.6,-48.7l-0.2,-2.5L271,374l0.2,0.1l0.8,-2.4l-1.1,-2.3c-6.6,3.1 -15.3,7.1 -24.7,11.9c-14.1,7.3 -29.6,16.4 -41.8,27.2c-6.1,5.4 -11.4,11.2 -15.1,17.5c-3.8,6.3 -6.1,13 -6.1,20.2c0,1.1 0.7,2.1 1.8,2.4l0.2,0.1c0.6,0.2 1.3,0.1 1.9,-0.2c47.1,-25.1 99.9,-45.1 155.7,-45.1c1.3,0 2.5,0 3.8,0l0,-2.5l-1,2.3l0.2,0.1l1,-2.3l-0.9,-2.3c-13.6,5.4 -35,14.5 -53.2,26.8c-9.1,6.2 -17.4,13.1 -23.6,20.9c-3.1,3.9 -5.6,8 -7.4,12.3c-1.8,4.3 -2.8,8.9 -2.9,13.6c0,1.1 0.6,2 1.6,2.4l0.2,0.1c0.7,0.2 1.4,0.2 2,-0.1c24.5,-12.7 47.1,-21.9 70.4,-27.9c23.3,-6 47.5,-8.9 75.3,-8.9c3.3,0 6.7,0 10.1,0.1c1.4,0 2.5,-1.1 2.6,-2.4c0,-1.4 -1.1,-2.5 -2.4,-2.6c-3.4,-0.1 -6.8,-0.1 -10.2,-0.1c-28.2,0 -52.8,2.9 -76.6,9c-23.8,6.1 -46.7,15.5 -71.4,28.3l1.2,2.2l0.9,-2.3l-0.2,-0.1l-0.9,2.3l2.5,0c0.1,-4 0.9,-8 2.5,-11.8c2.8,-6.7 7.7,-13.1 14,-19c9.4,-8.9 21.9,-16.8 34.2,-23.2c12.3,-6.5 24.4,-11.5 33.3,-15c0.9,-0.4 1.6,-1.3 1.6,-2.3c0,-1 -0.6,-1.9 -1.5,-2.3l-0.2,-0.1c-0.3,-0.1 -0.6,-0.2 -1,-0.2c-1.3,0 -2.6,0 -3.9,0c-57,0 -110.6,20.4 -158.1,45.7l1.2,2.2l0.7,-2.4l-0.2,-0.1l-0.7,2.4l2.5,0c0,-4 0.9,-8 2.5,-11.9c2.8,-6.8 7.8,-13.3 14.3,-19.5c9.6,-9.2 22.4,-17.5 34.8,-24.4c12.5,-6.9 24.6,-12.5 33.3,-16.5c0.9,-0.4 1.5,-1.4 1.4,-2.4c-0.1,-1 -0.7,-1.9 -1.7,-2.2l-0.2,-0.1c-0.3,-0.1 -0.7,-0.2 -1,-0.1C213,373 158.6,391.6 109,418.4l1.2,2.2l0.8,-2.4l-0.2,-0.1l-0.8,2.4l2.5,0l0,0c0,-6.8 2,-13 5.3,-18.7c5,-8.6 13.2,-16 22.2,-22.5c9,-6.5 18.8,-11.9 26.9,-16.6c1.2,-0.7 1.6,-2.2 0.9,-3.4C167.2,358.1 165.6,357.7 164.5,358.4L164.5,358.4z" />
|
||||
<path
|
||||
android:fillColor="#FFF9C4"
|
||||
android:pathData="M422,500.5L402.9,515c-5.5,4.2 -13.3,3.2 -17.5,-2.3c0,0 0,0 0,0l0,0c-3.8,-5.4 -7.2,-18.4 5.3,-27.9c5.7,7.3 11.6,0 15.3,-3.3c1,-1 2.2,-1.7 3.5,-2.3c5.2,-2.2 11.3,-0.6 14.8,3.9l0,0C428.5,488.5 427.5,496.3 422,500.5C422,500.5 422,500.5 422,500.5z" />
|
||||
</vector>
|
||||
58
DessertClickerFinal/app/src/main/res/drawable/froyo.xml
Normal file
@ -0,0 +1,58 @@
|
||||
<!--
|
||||
~ Copyright 2019, The Android Open Source Project
|
||||
~
|
||||
~ Licensed under the Apache License, Version 2.0 (the "License");
|
||||
~ you may not use this file except in compliance with the License.
|
||||
~ You may obtain a copy of the License at
|
||||
~
|
||||
~ http://www.apache.org/licenses/LICENSE-2.0
|
||||
~
|
||||
~ Unless required by applicable law or agreed to in writing, software
|
||||
~ distributed under the License is distributed on an "AS IS" BASIS,
|
||||
~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
~ See the License for the specific language governing permissions and
|
||||
~ limitations under the License.
|
||||
-->
|
||||
|
||||
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:width="500dp"
|
||||
android:height="700dp"
|
||||
android:viewportWidth="500"
|
||||
android:viewportHeight="700">
|
||||
<path
|
||||
android:fillColor="#C2CACC"
|
||||
android:pathData="M250.5,471.2c-80.4,0 -145.6,21.8 -145.6,48.7c0,26.9 65.2,48.7 145.6,48.7c80.4,0 145.6,-21.8 145.6,-48.7C396.2,493 331,471.2 250.5,471.2" />
|
||||
<path
|
||||
android:fillColor="#CFD8DC"
|
||||
android:pathData="M379.2,488.2c0,72.6 -260,72.6 -260,0l-15.4,-172.3h290.7L379.2,488.2z" />
|
||||
<path
|
||||
android:fillColor="#B0BEC5"
|
||||
android:pathData="M106,316.3a144.3,40.7 0,1 0,288.6 0a144.3,40.7 0,1 0,-288.6 0z" />
|
||||
<path
|
||||
android:fillColor="#F5F5F5"
|
||||
android:pathData="M108.4,315.9c0,-0.9 0.2,-1.7 0.5,-2.7c0.6,-1.7 1.9,-3.7 4.1,-5.8c1.9,-1.8 4.4,-3.7 7.6,-5.5c5.5,-3.2 12.7,-6.3 21.4,-9c13,-4.1 29.1,-7.5 47.3,-9.9c18.2,-2.4 38.5,-3.7 60,-3.7c19.9,0 38.8,1.1 56,3.2c12.9,1.5 24.8,3.6 35.4,6.1c7.9,1.8 15.1,3.9 21.4,6.2c9.4,3.4 16.8,7.2 21.5,11c2.4,1.9 4,3.7 5.1,5.4c1,1.7 1.4,3.2 1.4,4.6c0,2.5 2,4.6 4.6,4.6c2.5,0 4.6,-2 4.6,-4.6c0,-2 -0.4,-3.9 -1,-5.7c-1.2,-3.5 -3.5,-6.5 -6.4,-9.3c-2.6,-2.4 -5.7,-4.7 -9.3,-6.8c-6.3,-3.7 -14.1,-6.9 -23.2,-9.8c-13.7,-4.3 -30.3,-7.8 -48.9,-10.2c-18.6,-2.4 -39.3,-3.8 -61.1,-3.8c-20.2,0 -39.5,1.2 -57.1,3.3c-13.2,1.6 -25.4,3.7 -36.4,6.2c-8.2,1.9 -15.7,4.1 -22.4,6.5c-10,3.6 -18.2,7.7 -24.1,12.4c-3,2.4 -5.4,4.9 -7.1,7.8c-1.7,2.8 -2.8,6.1 -2.8,9.4c0,2.5 2,4.6 4.6,4.6C106.4,320.5 108.4,318.5 108.4,315.9L108.4,315.9z" />
|
||||
<path
|
||||
android:fillColor="#FBCD44"
|
||||
android:pathData="M288.8,261.4L211,255c-22.5,-1.7 -39.3,-21.3 -37.6,-43.8c2.6,-21.4 13,-64.6 64.2,-60.6c-2.1,30.2 37.8,29.5 53.9,29.4c22.2,-0.6 40.6,17 41.1,39.1c0,1.5 0,3 -0.1,4.5C330.9,246.2 311.3,263.1 288.8,261.4z" />
|
||||
<path
|
||||
android:fillColor="#FFF8E1"
|
||||
android:pathData="M226.8,158.9c-0.1,2.8 0.2,5.7 0.9,8.4c0.7,2.7 2,5.3 3.8,7.5c3.5,4.4 8.7,7.1 14,8.8c5.4,1.7 11,2.7 16.7,3c5.7,0.4 11.4,0.5 17.1,0.2c5.9,-0.4 11.9,0.5 17.5,2.5c1.4,0.5 2.8,1.1 4.1,1.8c0.7,0.3 1.3,0.7 2,1.1c0.7,0.4 1.3,0.8 1.9,1.2c2.5,1.7 4.8,3.6 6.8,5.8c4.1,4.4 7.2,9.6 9,15.3c1.7,5.6 2.2,11.5 1.3,17.4l-0.2,0.1l0,0l-0.1,-0.2v0c-0.1,-5.7 -1.2,-11.3 -3.2,-16.5c-1.1,-2.6 -2.4,-5 -3.9,-7.3c-0.7,-1.2 -1.6,-2.2 -2.4,-3.3c-0.4,-0.5 -0.9,-1 -1.4,-1.5c-0.4,-0.5 -0.9,-1 -1.4,-1.5c-1,-1 -2,-1.9 -3,-2.8c-1.1,-0.9 -2.1,-1.7 -3.3,-2.5c-0.5,-0.4 -1.2,-0.7 -1.7,-1.1c-0.6,-0.4 -1.2,-0.7 -1.8,-1c-1.2,-0.7 -2.5,-1.2 -3.7,-1.8c-5.1,-2.2 -10.7,-3.2 -16.2,-2.9c-5.8,0 -11.6,-0.2 -17.3,-0.8c-5.8,-0.5 -11.5,-1.7 -17,-3.6c-2.8,-1 -5.4,-2.3 -7.9,-3.9c-2.5,-1.6 -4.7,-3.6 -6.4,-6c-1.7,-2.4 -3,-5.1 -3.6,-7.9c-0.6,-2.8 -0.8,-5.8 -0.5,-8.6c0,-0.1 0.1,-0.2 0.2,-0.2l0,0L226.8,158.9z" />
|
||||
<path
|
||||
android:fillColor="#FBCD44"
|
||||
android:pathData="M151,208.5l181.8,13.8c20.7,1.6 36.2,19.6 34.6,40.3l-0.5,6.4c-1.6,20.7 -19.6,36.2 -40.3,34.6l-181.8,-13.8c-20.7,-1.6 -36.2,-19.6 -34.6,-40.3l0.5,-6.4C112.2,222.4 130.3,206.9 151,208.5z" />
|
||||
<path
|
||||
android:fillColor="#FBCD44"
|
||||
android:pathData="M265.6,358.3l-117.7,-9c-19.7,-1.5 -34.5,-18.7 -33,-38.4l0,0l0.8,-9.9c1.5,-19.7 18.7,-34.5 38.4,-33l198.6,15.1c19.7,1.5 34.5,18.7 33,38.4l0,0l-0.8,9.9C383.4,351.2 265.6,358.3 265.6,358.3z" />
|
||||
<path
|
||||
android:fillColor="#FFF8E1"
|
||||
android:pathData="M254.6,282.5l36.9,2.1l36.9,2.3l9.2,0.5c1.5,0.1 3.1,0.2 4.7,0.4c1.6,0.2 3.2,0.5 4.7,0.9c0.8,0.2 1.6,0.4 2.3,0.7l2.3,0.8c0.7,0.3 1.5,0.6 2.2,1c0.7,0.3 1.5,0.7 2.2,1l2.1,1.2c0.7,0.4 1.4,0.9 2,1.3l1.9,1.5c0.6,0.5 1.2,1.1 1.8,1.6c4.7,4.4 8.3,9.9 10.2,16c2,6 2.5,12.3 1.6,18.6c0,0.1 -0.1,0.2 -0.2,0.1l-0.2,-0.2c0,-6.1 -1.2,-12.1 -3.5,-17.7c-0.6,-1.4 -1.2,-2.7 -1.9,-4c-0.3,-0.7 -0.7,-1.3 -1.1,-1.9l-1.2,-1.9c-1.7,-2.4 -3.8,-4.6 -6,-6.5c-0.5,-0.5 -1.1,-1 -1.7,-1.4l-1.8,-1.3c-1.2,-0.8 -2.4,-1.6 -3.7,-2.3c-0.6,-0.4 -1.3,-0.6 -2,-1c-0.7,-0.4 -1.3,-0.6 -2,-0.9l-2.1,-0.7c-0.7,-0.3 -1.4,-0.5 -2.1,-0.7c-1.4,-0.4 -2.9,-0.7 -4.3,-0.9c-1.5,-0.2 -2.9,-0.5 -4.5,-0.6l-9.2,-0.9l-36.8,-3.3l-36.8,-3.5c-0.1,0 -0.2,-0.1 -0.2,-0.2l0,0c0,-0.1 0,-0.2 0.1,-0.2L254.6,282.5z" />
|
||||
<path
|
||||
android:fillColor="#FFF8E1"
|
||||
android:pathData="M216.8,223l41.5,2.5l41.5,2.6l20.8,1.3c7.3,0.5 14.3,3 20.2,7.3c0.7,0.6 1.4,1.1 2.2,1.6l2,1.9c0.3,0.3 0.7,0.6 1,0.9l0.9,1c0.6,0.7 1.2,1.3 1.8,2c1.1,1.4 2.1,2.9 3,4.5c0.4,0.8 0.9,1.5 1.3,2.4l1.1,2.5c2.6,6.6 3.5,13.8 2.5,20.8c0,0.1 -0.1,0.2 -0.2,0.2l0,0l-0.1,-0.2c0,-3.4 -0.4,-6.9 -1.2,-10.2c-0.3,-1.7 -0.8,-3.3 -1.3,-4.9c-0.3,-0.8 -0.6,-1.6 -0.9,-2.4c-0.3,-0.8 -0.6,-1.6 -1,-2.3l-1.2,-2.2c-0.4,-0.8 -0.9,-1.4 -1.3,-2.1c-0.9,-1.4 -1.9,-2.7 -3,-4c-0.5,-0.6 -1.1,-1.2 -1.7,-1.8l-0.8,-0.9c-0.3,-0.3 -0.6,-0.6 -0.9,-0.8l-1.9,-1.6l-2,-1.4l-1,-0.7l-1.1,-0.6l-2.1,-1.2l-2.3,-1l-1.1,-0.5L330,235c-0.8,-0.2 -1.6,-0.5 -2.3,-0.8l-2.4,-0.6l-1.2,-0.3c-0.4,-0.1 -0.8,-0.1 -1.2,-0.2l-2.5,-0.3c-6.9,-0.7 -13.8,-1.3 -20.7,-1.9l-41.4,-3.7l-41.4,-3.8c-0.1,0 -0.2,-0.1 -0.2,-0.2v0C216.6,223.1 216.7,223 216.8,223z" />
|
||||
<path
|
||||
android:fillColor="#FF7FAB"
|
||||
android:pathData="M384.3,431.4c0,54.7 -270.1,54.7 -270.1,0l-6,-66.8c0,55.5 282.1,55.5 282.1,0L384.3,431.4z" />
|
||||
<path
|
||||
android:fillColor="#F5F5F5"
|
||||
android:pathData="M390,315.9c0,0.9 -0.2,1.7 -0.5,2.7c-0.6,1.7 -1.9,3.7 -4.1,5.8c-1.9,1.8 -4.4,3.7 -7.6,5.5c-5.5,3.2 -12.7,6.3 -21.4,9c-13,4.1 -29.1,7.5 -47.3,9.9c-18.2,2.4 -38.5,3.7 -60,3.7c-19.9,0 -38.8,-1.1 -56,-3.2c-12.9,-1.5 -24.8,-3.6 -35.4,-6.1c-7.9,-1.8 -15.1,-3.9 -21.4,-6.2c-9.4,-3.4 -16.8,-7.2 -21.5,-11c-2.4,-1.9 -4,-3.7 -5.1,-5.4c-1,-1.7 -1.4,-3.2 -1.4,-4.6c0,-2.5 -2,-4.6 -4.6,-4.6c-2.5,0 -4.6,2 -4.6,4.6c0,2 0.4,3.9 1,5.7c1.2,3.5 3.5,6.5 6.4,9.3c2.6,2.4 5.7,4.7 9.3,6.8c6.3,3.7 14.1,6.9 23.2,9.8c13.7,4.3 30.3,7.8 48.9,10.2c18.6,2.4 39.3,3.8 61.1,3.8c20.2,0 39.5,-1.2 57.1,-3.3c13.2,-1.6 25.4,-3.7 36.4,-6.2c8.2,-1.9 15.7,-4.1 22.4,-6.5c10,-3.6 18.2,-7.7 24.1,-12.4c3,-2.4 5.4,-4.9 7.1,-7.8c1.7,-2.8 2.8,-6.1 2.8,-9.4c0,-2.5 -2,-4.6 -4.6,-4.6C392.1,311.4 390,313.4 390,315.9L390,315.9z" />
|
||||
</vector>
|
||||
@ -0,0 +1,73 @@
|
||||
<!--
|
||||
~ Copyright 2019, The Android Open Source Project
|
||||
~
|
||||
~ Licensed under the Apache License, Version 2.0 (the "License");
|
||||
~ you may not use this file except in compliance with the License.
|
||||
~ You may obtain a copy of the License at
|
||||
~
|
||||
~ http://www.apache.org/licenses/LICENSE-2.0
|
||||
~
|
||||
~ Unless required by applicable law or agreed to in writing, software
|
||||
~ distributed under the License is distributed on an "AS IS" BASIS,
|
||||
~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
~ See the License for the specific language governing permissions and
|
||||
~ limitations under the License.
|
||||
-->
|
||||
|
||||
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:width="500dp"
|
||||
android:height="700dp"
|
||||
android:viewportWidth="500"
|
||||
android:viewportHeight="700">
|
||||
<path
|
||||
android:fillColor="#C2CACC"
|
||||
android:pathData="M250,471.2c-80.4,0 -145.6,21.8 -145.6,48.7c0,26.9 65.2,48.7 145.6,48.7c80.4,0 145.6,-21.8 145.6,-48.7C395.6,493 330.4,471.2 250,471.2" />
|
||||
<path
|
||||
android:fillColor="#4E342E"
|
||||
android:pathData="M322.2,291.2l-30,2.3l-0.3,-8.5l-8.1,-138.5l-26.4,-9.5c-22.4,-8.1 -44.7,-7.7 -60.2,1.5c-28.2,16.7 -46.9,50.2 -45.3,87.4c1.1,27.9 13.5,52.1 32.1,67.5l0.4,8.5l-30,2.3c-16.4,1.3 -29,17 -28.3,35l0.5,11.4c1.7,22 38.6,42.3 38.6,42.3l22.5,-14.2l1.2,28.8l-28,61.6c-8.8,19.1 -2.2,40.4 14.9,51.4c14.5,9.8 12.5,8.4 22.9,15.3l46.3,-81.9l26,45.2c11,20.3 27.3,27.6 46.3,31.9c16.2,-11.9 22.7,-57.3 12.3,-74.9l-32.9,-56.9l-1.2,-28.8l30,-2.3c16.4,-1.3 29,-16.9 28.3,-35l4.3,-24.3L322.2,291.2" />
|
||||
<path
|
||||
android:fillColor="#8D6E63"
|
||||
android:pathData="M348.2,383.2l-168,13c-16.4,1.3 -30.2,-12.3 -31,-30.4l-0.5,-11.3c-0.8,-18.1 11.9,-33.7 28.3,-35l168,-13c16.4,-1.3 30.2,12.3 31,30.4l0.5,11.4C377.2,366.3 364.6,382 348.2,383.2z" />
|
||||
<path
|
||||
android:fillColor="#8D6E63"
|
||||
android:pathData="M313.6,273.8l7.1,174.4l-107.9,8.4l-7.2,-174.4z" />
|
||||
<path
|
||||
android:fillColor="#8D6E63"
|
||||
android:pathData="M246.649,326.15a92.102,83.102 96.938,1 0,22.251 -182.855a92.102,83.102 96.938,1 0,-22.251 182.855z" />
|
||||
<path
|
||||
android:fillColor="#4E342E"
|
||||
android:pathData="M202,220.6c0.3,-2.7 2.6,-4.6 5,-4.3c2.4,0.3 4.1,2.7 3.8,5.4c-0.3,2.7 -2.6,4.6 -5,4.3C203.3,225.7 201.6,223.3 202,220.6z" />
|
||||
<path
|
||||
android:fillColor="#4E342E"
|
||||
android:pathData="M303.5,212.7c0.3,-2.7 2.6,-4.6 5,-4.3c2.4,0.3 4.1,2.7 3.8,5.4c-0.3,2.7 -2.6,4.6 -5,4.3C304.9,217.8 303.2,215.4 303.5,212.7z" />
|
||||
<path
|
||||
android:fillColor="#8D6E63"
|
||||
android:pathData="M274.4,453.9L245.2,518c-8.9,19.1 -29.9,27 -46.9,17.7c-17.1,-9.3 -23.7,-32.3 -14.9,-51.4l29.1,-64.1c8.8,-19.1 29.9,-27 46.9,-17.7C276.5,411.8 283.2,434.8 274.4,453.9z" />
|
||||
<path
|
||||
android:fillColor="#8D6E63"
|
||||
android:pathData="M259.4,455.1l34.2,59.2c10.4,17.6 31.9,22.2 48.1,10.4c16.2,-11.9 20.9,-35.8 10.6,-53.4L318,412c-10.4,-17.6 -31.9,-22.2 -48.1,-10.4C253.7,413.5 249,437.5 259.4,455.1z" />
|
||||
<path
|
||||
android:fillColor="#42A5F5"
|
||||
android:pathData="M255.2,412.1c0.7,-6.1 5.8,-10.6 11.4,-9.9c5.5,0.7 9.4,6.2 8.7,12.3c-0.7,6.1 -5.8,10.6 -11.4,9.9C258.3,423.8 254.4,418.3 255.2,412.1z" />
|
||||
<path
|
||||
android:fillColor="#4E342E"
|
||||
android:pathData="M297.1,239.1c7.4,-1.1 14,5.4 12.2,12c-3.9,14 -25,36.6 -44.4,39.4c-19.4,2.8 -31.6,-14.9 -41.5,-27c-4.7,-5.7 -1.4,-13.6 6,-14.6L297.1,239.1z" />
|
||||
<path
|
||||
android:fillColor="#FF7FAB"
|
||||
android:pathData="M237.3,279.8c3.4,-2.8 9.5,-4.2 16.4,-3.4c10.1,1.2 17.9,6.7 17.4,12.3v0.2c-2,0.7 -4.1,1.2 -6.3,1.6C253.5,292.2 244.7,286.9 237.3,279.8z" />
|
||||
<path
|
||||
android:fillColor="#FF9800"
|
||||
android:pathData="M249.4,509.1l-3.2,6.9l-62,-33.5l3.2,-6.8z" />
|
||||
<path
|
||||
android:fillColor="#FF9800"
|
||||
android:pathData="M288.8,506l3.7,6.4l58.8,-42.8l-3.7,-6.4z" />
|
||||
<path
|
||||
android:fillColor="#42A5F5"
|
||||
android:pathData="M189.2,395.6l-6.9,0.5l-3.2,-76.7l6.9,-0.6z" />
|
||||
<path
|
||||
android:fillColor="#42A5F5"
|
||||
android:pathData="M346.2,383.4l-6.9,0.5l-3.2,-76.7l6.9,-0.6z" />
|
||||
<path
|
||||
android:fillColor="#FF9800"
|
||||
android:pathData="M253.3,367c0.7,-6.1 5.8,-10.6 11.4,-9.9c5.5,0.7 9.4,6.2 8.7,12.3c-0.7,6.1 -5.8,10.6 -11.4,9.9C256.5,378.7 252.6,373.2 253.3,367z" />
|
||||
</vector>
|
||||
226
DessertClickerFinal/app/src/main/res/drawable/honeycomb.xml
Normal file
@ -0,0 +1,226 @@
|
||||
<!--
|
||||
~ Copyright 2019, The Android Open Source Project
|
||||
~
|
||||
~ Licensed under the Apache License, Version 2.0 (the "License");
|
||||
~ you may not use this file except in compliance with the License.
|
||||
~ You may obtain a copy of the License at
|
||||
~
|
||||
~ http://www.apache.org/licenses/LICENSE-2.0
|
||||
~
|
||||
~ Unless required by applicable law or agreed to in writing, software
|
||||
~ distributed under the License is distributed on an "AS IS" BASIS,
|
||||
~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
~ See the License for the specific language governing permissions and
|
||||
~ limitations under the License.
|
||||
-->
|
||||
|
||||
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:width="500dp"
|
||||
android:height="700dp"
|
||||
android:viewportWidth="500"
|
||||
android:viewportHeight="700">
|
||||
<path
|
||||
android:fillColor="#C2CACC"
|
||||
android:pathData="M250,385.8c-95.9,0 -173.7,42.4 -173.7,94.6c0,33 31,71 78.1,88c16.6,6 35.1,7.1 55,7.1c13,0 26.6,-0.5 40.6,-0.5c11.9,0 23.4,0.3 34.6,0.3c24.1,0 46.4,-1.2 65.8,-8.7c44.3,-17.1 73.2,-54.3 73.2,-86.2C423.7,428.1 345.9,385.8 250,385.8" />
|
||||
<path
|
||||
android:fillColor="#DB8303"
|
||||
android:pathData="M410.4,453.4l-0.2,-19.2l-29.8,8.4l0.7,69.6l23.5,-6.6c1.4,-0.4 2.6,-1.3 3.4,-2.4c0.9,-1.1 1.4,-2.5 1.4,-3.9L410.4,453.4z" />
|
||||
<path
|
||||
android:fillColor="#EA8B03"
|
||||
android:pathData="M379.2,424.2l-31.8,9l0.2,18.7l0.8,-0.2l0.9,88.7l0,0l26.3,-7.4c1.5,-0.4 2.8,-1.4 3.7,-2.6c0.9,-1.2 1.5,-2.6 1.5,-4.1l-0.3,-13.5l1,-0.2l-2,-69.9L379.2,424.2z" />
|
||||
<path
|
||||
android:fillColor="#E5B54A"
|
||||
android:pathData="M88.4,434.2l0.6,61.7c-0.1,1.7 1,3.1 2.6,3.7l28.9,9.2l-0.8,-83.3L88.4,434.2z" />
|
||||
<path
|
||||
android:fillColor="#EFBF48"
|
||||
android:pathData="M152.4,488.1l-0.4,-37.5l-31.6,8.9l0.5,49.3l0.3,15.7c-0.1,1.6 1,3.1 2.5,3.6l28.7,9.1v0.1V488.1L152.4,488.1z" />
|
||||
<path
|
||||
android:fillColor="#FBCD46"
|
||||
android:pathData="M188.4,496.8v-0.4l-0.2,-18.3l-35.8,10l0,0v49.3v0.4l0.3,15.4c-0.1,1.6 1,3.1 2.5,3.6l30.6,9.7c0.9,0.3 1.8,0.3 2.6,0v0.5l1,0L188.4,496.8z" />
|
||||
<path
|
||||
android:fillColor="#FFA100"
|
||||
android:pathData="M218.4,488l0,-0.1l-30,8.5l0.7,70.3l0,0l30.3,-8.6l0,-70.1z" />
|
||||
<path
|
||||
android:fillColor="#FBCD46"
|
||||
android:pathData="M251.4,514.4l-0.4,-35.3l-32.6,9.2l0,0l0.7,70.3l29.7,9.4c0.9,0.3 1.8,0.3 2.7,0v0l1,0L251.4,514.4z" />
|
||||
<path
|
||||
android:fillColor="#FFA100"
|
||||
android:pathData="M250.4,498.2l1,16.1l0.5,53.7l0.1,0l29.4,-8.3l-0.7,-70.1z" />
|
||||
<path
|
||||
android:fillColor="#FBCD46"
|
||||
android:pathData="M313.5,480.3l-33.1,9.3l0.7,69.9l29.7,9.4c0.9,0.3 1.8,0.3 2.7,0v0l1,0L313.5,480.3z" />
|
||||
<path
|
||||
android:fillColor="#FFA100"
|
||||
android:pathData="M348.5,451.7l-0.8,0.2l-35.3,9.9l1,18.8l0.9,88.4l0.1,0l30.4,-8.6c1.4,-0.4 2.7,-1.3 3.6,-2.5c0.9,-1.1 1.4,-2.6 1.4,-4l-0.3,-13.2l0,0L348.5,451.7z" />
|
||||
<path
|
||||
android:fillColor="#FF9800"
|
||||
android:pathData="M185.6,365.8l-30.9,8.7l0.4,18.7l31.3,9.9z" />
|
||||
<path
|
||||
android:fillColor="#FFAB00"
|
||||
android:pathData="M185.6,365.8l0.8,37.3l31,-8.7l-0.4,-18.7z" />
|
||||
<path
|
||||
android:fillColor="#FF9800"
|
||||
android:pathData="M186.2,422l-30.9,8.7l0.4,18.7l31.3,10z" />
|
||||
<path
|
||||
android:fillColor="#FFAB00"
|
||||
android:pathData="M186.2,422l0.8,37.4l30.9,-8.7l-0.4,-18.7z" />
|
||||
<path
|
||||
android:fillColor="#FF9800"
|
||||
android:pathData="M186.7,478.2l-30.9,8.8l0.4,18.7l31.3,9.9z" />
|
||||
<path
|
||||
android:fillColor="#FFAB00"
|
||||
android:pathData="M186.7,478.2l0.8,37.4l31,-8.7l-0.4,-18.7z" />
|
||||
<path
|
||||
android:fillColor="#FF9800"
|
||||
android:pathData="M248.2,366.9l-30.9,8.7l0.4,18.7l31.3,10z" />
|
||||
<path
|
||||
android:fillColor="#FFAB00"
|
||||
android:pathData="M248.2,366.9l0.8,37.4l31,-8.7l-0.4,-18.7z" />
|
||||
<path
|
||||
android:fillColor="#FF9800"
|
||||
android:pathData="M248.8,423.2l-31,8.7l0.4,18.7l31.4,9.9z" />
|
||||
<path
|
||||
android:fillColor="#FFAB00"
|
||||
android:pathData="M248.8,423.2l0.8,37.3l30.9,-8.7l-0.4,-18.7z" />
|
||||
<path
|
||||
android:fillColor="#FF9800"
|
||||
android:pathData="M249.3,479.4l-30.9,8.7l0.4,18.7l31.3,10z" />
|
||||
<path
|
||||
android:fillColor="#FFAB00"
|
||||
android:pathData="M249.3,479.4l0.8,37.4l31,-8.7l-0.4,-18.7z" />
|
||||
<path
|
||||
android:fillColor="#FF9800"
|
||||
android:pathData="M310.5,368.5l-30.9,8.7l0.4,18.7l31.4,9.9z" />
|
||||
<path
|
||||
android:fillColor="#FFAB00"
|
||||
android:pathData="M310.5,368.5l0.9,37.3l30.9,-8.7l-0.4,-18.7z" />
|
||||
<path
|
||||
android:fillColor="#FF9800"
|
||||
android:pathData="M311.1,424.7l-31,8.7l0.5,18.7l31.3,10z" />
|
||||
<path
|
||||
android:fillColor="#FFAB00"
|
||||
android:pathData="M311.1,424.7l0.8,37.4l30.9,-8.7l-0.4,-18.7z" />
|
||||
<path
|
||||
android:fillColor="#FF9800"
|
||||
android:pathData="M311.6,481l-30.9,8.7l0.4,18.7l31.3,9.9z" />
|
||||
<path
|
||||
android:fillColor="#FFAB00"
|
||||
android:pathData="M311.6,481l0.8,37.3l31,-8.7l-0.4,-18.7z" />
|
||||
<path
|
||||
android:fillColor="#FF9800"
|
||||
android:pathData="M154.7,393.6l-31,8.7l0.4,18.7l31.4,10z" />
|
||||
<path
|
||||
android:fillColor="#FFAB00"
|
||||
android:pathData="M154.7,393.6l0.8,37.4l30.9,-8.7l-0.4,-18.7z" />
|
||||
<path
|
||||
android:fillColor="#FF9800"
|
||||
android:pathData="M155.2,449.9l-30.9,8.7l0.4,18.7l31.3,9.9z" />
|
||||
<path
|
||||
android:fillColor="#FFAB00"
|
||||
android:pathData="M155.2,449.9l0.8,37.3l31,-8.7l-0.4,-18.7z" />
|
||||
<path
|
||||
android:fillColor="#FF9800"
|
||||
android:pathData="M217.2,394.5l-31,8.7l0.4,18.7l31.4,9.9z" />
|
||||
<path
|
||||
android:fillColor="#FFAB00"
|
||||
android:pathData="M217.2,394.5l0.8,37.3l30.9,-8.7l-0.4,-18.7z" />
|
||||
<path
|
||||
android:fillColor="#FF9800"
|
||||
android:pathData="M217.7,450.7l-30.9,8.7l0.4,18.7l31.3,10z" />
|
||||
<path
|
||||
android:fillColor="#FFAB00"
|
||||
android:pathData="M217.7,450.7l0.8,37.4l31,-8.7l-0.5,-18.7z" />
|
||||
<path
|
||||
android:fillColor="#FF9800"
|
||||
android:pathData="M279.6,396l-31,8.7l0.4,18.7l31.4,10z" />
|
||||
<path
|
||||
android:fillColor="#FFAB00"
|
||||
android:pathData="M279.6,396l0.8,37.4l30.9,-8.7l-0.4,-18.7z" />
|
||||
<path
|
||||
android:fillColor="#FF9800"
|
||||
android:pathData="M280.1,452.2l-30.9,8.8l0.4,18.7l31.3,9.9z" />
|
||||
<path
|
||||
android:fillColor="#FFAB00"
|
||||
android:pathData="M280.1,452.2l0.8,37.4l31,-8.7l-0.4,-18.7z" />
|
||||
<path
|
||||
android:fillColor="#FF9800"
|
||||
android:pathData="M342.1,397.2l-31,8.7l0.4,18.7l31.4,9.9z" />
|
||||
<path
|
||||
android:fillColor="#FFAB00"
|
||||
android:pathData="M342.1,397.2l0.8,37.3l30.9,-8.7l-0.4,-18.7z" />
|
||||
<path
|
||||
android:fillColor="#FF9800"
|
||||
android:pathData="M342.6,453.4l-30.9,8.7l0.4,18.7l31.3,10z" />
|
||||
<path
|
||||
android:fillColor="#FFAB00"
|
||||
android:pathData="M342.6,453.4l0.8,37.4l31,-8.7l-0.4,-18.7z" />
|
||||
<path
|
||||
android:fillColor="#FF9800"
|
||||
android:pathData="M373.8,425.5l-30.9,8.7l0.4,18.7l31.3,10z" />
|
||||
<path
|
||||
android:fillColor="#FFAB00"
|
||||
android:pathData="M373.8,425.5l0.8,37.4l30.9,-8.7l-0.4,-18.7z" />
|
||||
<path
|
||||
android:fillColor="#FF9800"
|
||||
android:pathData="M123.7,420.8l-30.9,8.7l0.4,18.7l31.3,10z" />
|
||||
<path
|
||||
android:fillColor="#FFAB00"
|
||||
android:pathData="M123.7,420.8l0.8,37.4l30.9,-8.7l-0.4,-18.7z" />
|
||||
<path
|
||||
android:fillColor="#FBC02D"
|
||||
android:pathData="M249.1,423.1l-1.2,-4.3l-30.9,8.7c-2,0.6 -3.3,2.4 -3.3,4.4l0.4,18.7c0,1.9 1.3,3.6 3.1,4.2l31.3,10c0.8,0.3 1.7,0.3 2.6,0l30.9,-8.7c2,-0.6 3.3,-2.4 3.3,-4.4l-0.4,-18.7c0,-1.9 -1.3,-3.6 -3.1,-4.2l-31.3,-10c-0.8,-0.3 -1.7,-0.3 -2.6,0L249.1,423.1l-1.4,4.3l28.3,9l0.3,12l-26.3,7.4l-27,-8.6l-0.3,-12l27.6,-7.8L249.1,423.1l-1.4,4.3L249.1,423.1z" />
|
||||
<path
|
||||
android:fillColor="#FBC02D"
|
||||
android:pathData="M217.4,394.4l-1.2,-4.3l-30.9,8.7c-2,0.6 -3.3,2.4 -3.3,4.4l0.4,18.7c0,1.9 1.3,3.6 3.1,4.2l31.3,10c0.8,0.3 1.7,0.3 2.6,0l30.9,-8.7c2,-0.6 3.3,-2.4 3.3,-4.4l-0.4,-18.7c0,-1.9 -1.3,-3.6 -3.1,-4.2l-31.3,-10c-0.8,-0.3 -1.7,-0.3 -2.6,0L217.4,394.4l-1.4,4.3l28.3,9l0.3,12l-26.3,7.4l-27,-8.6l-0.3,-12l27.6,-7.8L217.4,394.4l-1.4,4.3L217.4,394.4z" />
|
||||
<path
|
||||
android:fillColor="#FBC02D"
|
||||
android:pathData="M185.6,365.8l-1.2,-4.3l-30.9,8.7c-2,0.6 -3.3,2.4 -3.3,4.4l0.4,18.7c0,1.9 1.3,3.6 3.1,4.2l31.3,10c0.8,0.3 1.7,0.3 2.6,0l30.9,-8.7c2,-0.6 3.3,-2.4 3.3,-4.4l-0.4,-18.7c0,-1.9 -1.3,-3.6 -3.1,-4.2l-31.3,-10c-0.8,-0.3 -1.7,-0.3 -2.6,0L185.6,365.8l-1.4,4.3l28.3,9l0.3,12l-26.3,7.4l-27,-8.6l-0.3,-12l27.6,-7.8L185.6,365.8l-1.4,4.3L185.6,365.8z" />
|
||||
<path
|
||||
android:fillColor="#FBC02D"
|
||||
android:pathData="M312.6,480.4l-1.2,-4.3l-30.9,8.7c-2,0.6 -3.3,2.4 -3.3,4.4l0.4,18.7c0,1.9 1.3,3.6 3.1,4.2l31.3,10c0.8,0.3 1.7,0.3 2.6,0l30.9,-8.7c2,-0.6 3.3,-2.4 3.3,-4.4l-0.4,-18.7c0,-1.9 -1.3,-3.6 -3.1,-4.2l-31.3,-10c-0.8,-0.3 -1.7,-0.3 -2.6,0L312.6,480.4l-1.4,4.3l28.3,9l0.3,12l-26.3,7.4l-27,-8.6l-0.3,-12l27.6,-7.8L312.6,480.4l-1.4,4.3L312.6,480.4z" />
|
||||
<path
|
||||
android:fillColor="#FBC02D"
|
||||
android:pathData="M280.9,451.7l-1.2,-4.3l-30.9,8.7c-2,0.6 -3.3,2.4 -3.3,4.4l0.4,18.7c0,1.9 1.3,3.6 3.1,4.2l31.3,10c0.8,0.3 1.7,0.3 2.6,0l30.9,-8.7c2,-0.6 3.3,-2.4 3.3,-4.4l-0.4,-18.7c0,-1.9 -1.3,-3.6 -3.1,-4.2l-31.3,-10c-0.8,-0.3 -1.7,-0.3 -2.6,0L280.9,451.7l-1.4,4.3l28.3,9l0.3,12l-26.3,7.4l-27,-8.6l-0.3,-12l27.6,-7.8L280.9,451.7l-1.4,4.3L280.9,451.7z" />
|
||||
<path
|
||||
android:fillColor="#FBC02D"
|
||||
android:pathData="M219,450.4l-1.2,-4.3l-30.9,8.7c-2,0.6 -3.3,2.4 -3.3,4.4l0.4,18.7c0,1.9 1.3,3.6 3.1,4.2l31.3,10c0.8,0.3 1.7,0.3 2.6,0l30.9,-8.7c2,-0.6 3.3,-2.4 3.3,-4.4l-0.4,-18.7c0,-1.9 -1.3,-3.6 -3.1,-4.2l-31.3,-10c-0.8,-0.3 -1.7,-0.3 -2.6,0L219,450.4l-1.4,4.3l28.3,9l0.3,12l-26.3,7.4l-27,-8.6l-0.3,-12l27.6,-7.8L219,450.4l-1.4,4.3L219,450.4z" />
|
||||
<path
|
||||
android:fillColor="#FBC02D"
|
||||
android:pathData="M187.2,421.7l-1.2,-4.3l-30.9,8.7c-2,0.6 -3.3,2.4 -3.3,4.4l0.4,18.7c0,1.9 1.3,3.6 3.1,4.2l31.3,10c0.8,0.3 1.7,0.3 2.6,0l30.9,-8.7c2,-0.6 3.3,-2.4 3.3,-4.4l-0.4,-18.7c0,-1.9 -1.3,-3.6 -3.1,-4.2l-31.3,-10c-0.8,-0.3 -1.7,-0.3 -2.6,0L187.2,421.7l-1.4,4.3l28.3,9l0.3,12l-26.3,7.4l-27,-8.6l-0.3,-12l27.6,-7.8L187.2,421.7l-1.4,4.3L187.2,421.7z" />
|
||||
<path
|
||||
android:fillColor="#FBC02D"
|
||||
android:pathData="M155.5,393.1l-1.2,-4.3l-30.9,8.7c-2,0.6 -3.3,2.4 -3.3,4.4l0.4,18.7c0,1.9 1.3,3.6 3.1,4.2l31.3,10c0.8,0.3 1.7,0.3 2.6,0l30.9,-8.7c2,-0.6 3.3,-2.4 3.3,-4.4l-0.4,-18.7c0,-1.9 -1.3,-3.6 -3.1,-4.2l-31.3,-10c-0.8,-0.3 -1.7,-0.3 -2.6,0L155.5,393.1l-1.4,4.3l28.3,9l0.3,12l-26.3,7.4l-27,-8.6l-0.3,-12l27.6,-7.8L155.5,393.1l-1.4,4.3L155.5,393.1z" />
|
||||
<path
|
||||
android:fillColor="#FBC02D"
|
||||
android:pathData="M250.7,479l-1.2,-4.3l-30.9,8.7c-2,0.6 -3.3,2.4 -3.3,4.4l0.4,18.7c0,1.9 1.3,3.6 3.1,4.2l31.3,10c0.8,0.3 1.7,0.3 2.6,0l30.9,-8.7c2,-0.6 3.3,-2.4 3.3,-4.4l-0.4,-18.7c0,-1.9 -1.3,-3.6 -3.1,-4.2l-31.3,-10c-0.8,-0.3 -1.7,-0.3 -2.6,0L250.7,479l-1.4,4.3l28.3,9l0.3,12l-26.3,7.4l-27,-8.6l-0.3,-12l27.6,-7.8L250.7,479l-1.4,4.3L250.7,479z" />
|
||||
<path
|
||||
android:fillColor="#FBC02D"
|
||||
android:pathData="M156.4,449.2l-1.2,-4.3l-30.9,8.7c-2,0.6 -3.3,2.4 -3.3,4.4l0.4,18.7c0,1.9 1.3,3.6 3.1,4.2l31.3,10c0.8,0.3 1.7,0.3 2.6,0l30.9,-8.7c2,-0.6 3.3,-2.4 3.3,-4.4l-0.4,-18.7c0,-1.9 -1.3,-3.6 -3.1,-4.2l-31.3,-10c-0.8,-0.3 -1.7,-0.3 -2.6,0L156.4,449.2l-1.4,4.3l28.3,9l0.3,12l-26.3,7.4l-27,-8.6l-0.3,-12l27.6,-7.8L156.4,449.2l-1.4,4.3L156.4,449.2z" />
|
||||
<path
|
||||
android:fillColor="#FBC02D"
|
||||
android:pathData="M124.6,420.6l-1.2,-4.3L92.5,425c-2,0.6 -3.3,2.4 -3.3,4.4l0.4,18.7c0,1.9 1.3,3.6 3.1,4.2l31.3,10c0.8,0.3 1.7,0.3 2.6,0l30.9,-8.7c2,-0.6 3.3,-2.4 3.3,-4.4l-0.4,-18.7c0,-1.9 -1.3,-3.6 -3.1,-4.2l-31.3,-10c-0.8,-0.3 -1.7,-0.3 -2.6,0L124.6,420.6l-1.4,4.3l28.3,9l0.3,12l-26.3,7.4l-27,-8.6l-0.3,-12l27.6,-7.8L124.6,420.6l-1.4,4.3L124.6,420.6z" />
|
||||
<path
|
||||
android:fillColor="#FBC02D"
|
||||
android:pathData="M188.1,477.9l-1.2,-4.3l-30.9,8.7c-2,0.6 -3.3,2.4 -3.3,4.4l0.4,18.7c0,1.9 1.3,3.6 3.1,4.2l31.3,10c0.8,0.3 1.7,0.3 2.6,0l30.9,-8.7c2,-0.6 3.3,-2.4 3.3,-4.4l-0.4,-18.7c0,-1.9 -1.3,-3.6 -3.1,-4.2l-31.3,-10c-0.8,-0.3 -1.7,-0.3 -2.6,0L188.1,477.9l-1.4,4.3l28.3,9l0.3,12l-26.3,7.4l-27,-8.6l-0.3,-12l27.6,-7.8L188.1,477.9l-1.4,4.3L188.1,477.9z" />
|
||||
<path
|
||||
android:fillColor="#FBC02D"
|
||||
android:pathData="M311.7,424.2l-1.2,-4.3l-30.9,8.7c-2,0.6 -3.3,2.4 -3.3,4.4l0.4,18.7c0,1.9 1.3,3.6 3.1,4.2l31.3,10c0.8,0.3 1.7,0.3 2.6,0l30.9,-8.7c2,-0.6 3.3,-2.4 3.3,-4.4l-0.4,-18.7c0,-1.9 -1.3,-3.6 -3.1,-4.2l-31.3,-10c-0.8,-0.3 -1.7,-0.3 -2.6,0L311.7,424.2l-1.4,4.3l28.3,9l0.3,12l-26.3,7.4l-27,-8.6l-0.3,-12l27.6,-7.8L311.7,424.2l-1.4,4.3L311.7,424.2z" />
|
||||
<path
|
||||
android:fillColor="#FBC02D"
|
||||
android:pathData="M280,395.6l-1.2,-4.3l-30.9,8.7c-2,0.6 -3.3,2.4 -3.3,4.4l0.4,18.7c0,1.9 1.3,3.6 3.1,4.2l31.3,10c0.8,0.3 1.7,0.3 2.6,0l30.9,-8.7c2,-0.6 3.3,-2.4 3.3,-4.4l-0.4,-18.7c0,-1.9 -1.3,-3.6 -3.1,-4.2l-31.3,-10c-0.8,-0.3 -1.7,-0.3 -2.6,0L280,395.6l-1.4,4.3l28.3,9l0.3,12l-26.3,7.4l-27,-8.6l-0.3,-12l27.6,-7.8L280,395.6l-1.4,4.3L280,395.6z" />
|
||||
<path
|
||||
android:fillColor="#FBC02D"
|
||||
android:pathData="M248.2,366.9l-1.2,-4.3l-30.9,8.7c-2,0.6 -3.3,2.4 -3.3,4.4l0.4,18.7c0,1.9 1.3,3.6 3.1,4.2l31.3,10c0.8,0.3 1.7,0.3 2.6,0l30.9,-8.7c2,-0.6 3.3,-2.4 3.3,-4.4l-0.4,-18.7c0,-1.9 -1.3,-3.6 -3.1,-4.2l-31.3,-10c-0.8,-0.3 -1.7,-0.3 -2.6,0L248.2,366.9l-1.4,4.3l28.3,9l0.3,12l-26.3,7.4l-27,-8.6l-0.3,-12l27.6,-7.8L248.2,366.9l-1.4,4.3L248.2,366.9z" />
|
||||
<path
|
||||
android:fillColor="#FBC02D"
|
||||
android:pathData="M343.5,452.9l-1.2,-4.3l-30.9,8.7c-2,0.6 -3.3,2.4 -3.3,4.4l0.4,18.7c0,1.9 1.3,3.6 3.1,4.2l31.3,10c0.8,0.3 1.7,0.3 2.6,0l30.9,-8.7c2,-0.6 3.3,-2.4 3.3,-4.4l-0.4,-18.7c0,-1.9 -1.3,-3.6 -3.1,-4.2l-31.3,-10c-0.8,-0.3 -1.7,-0.3 -2.6,0L343.5,452.9l-1.4,4.3l28.3,9l0.3,12l-26.3,7.4l-27,-8.6l-0.3,-12l27.6,-7.8L343.5,452.9l-1.4,4.3L343.5,452.9z" />
|
||||
<path
|
||||
android:fillColor="#FBC02D"
|
||||
android:pathData="M342.3,396.8l-1.2,-4.3l-30.9,8.7c-2,0.6 -3.3,2.4 -3.3,4.4l0.4,18.7c0,1.9 1.3,3.6 3.1,4.2l31.3,10c0.8,0.3 1.7,0.3 2.6,0l30.9,-8.7c2,-0.6 3.3,-2.4 3.3,-4.4l-0.4,-18.7c0,-1.9 -1.3,-3.6 -3.1,-4.2l-31.3,-10c-0.8,-0.3 -1.7,-0.3 -2.6,0L342.3,396.8l-1.4,4.3l28.3,9l0.3,12l-26.3,7.4l-27,-8.6l-0.3,-12l27.6,-7.8L342.3,396.8l-1.4,4.3L342.3,396.8z" />
|
||||
<path
|
||||
android:fillColor="#FBC02D"
|
||||
android:pathData="M310.5,368.1l-1.2,-4.3l-30.9,8.7c-2,0.6 -3.3,2.4 -3.3,4.4l0.4,18.7c0,1.9 1.3,3.6 3.1,4.2l31.3,10c0.8,0.3 1.7,0.3 2.6,0l30.9,-8.7c2,-0.6 3.3,-2.4 3.3,-4.4l-0.4,-18.7c0,-1.9 -1.3,-3.6 -3.1,-4.2l-31.3,-10c-0.8,-0.3 -1.7,-0.3 -2.6,0L310.5,368.1l-1.4,4.3l28.3,9l0.3,12l-26.3,7.4l-27,-8.6l-0.3,-12l27.6,-7.8L310.5,368.1l-1.4,4.3L310.5,368.1z" />
|
||||
<path
|
||||
android:fillColor="#FBC02D"
|
||||
android:pathData="M374,425.4l-1.2,-4.3l-30.9,8.7c-2,0.6 -3.3,2.4 -3.3,4.4l0.4,18.7c0,1.9 1.3,3.6 3.1,4.2l31.3,10c0.8,0.3 1.7,0.3 2.6,0l30.9,-8.7c2,-0.6 3.3,-2.4 3.3,-4.4l-0.4,-18.7c0,-1.9 -1.3,-3.6 -3.1,-4.2l-31.3,-10c-0.8,-0.3 -1.7,-0.3 -2.6,0L374,425.4l-1.4,4.3l28.3,9l0.3,12l-26.3,7.4l-27,-8.6l-0.3,-12l27.6,-7.8L374,425.4l-1.4,4.3L374,425.4z" />
|
||||
</vector>
|
||||
@ -0,0 +1,45 @@
|
||||
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:width="108dp"
|
||||
android:height="108dp"
|
||||
android:viewportWidth="750"
|
||||
android:viewportHeight="750">
|
||||
<path
|
||||
android:fillColor="#E8F5E9"
|
||||
android:pathData="M0,0h750v750h-750z" />
|
||||
<path
|
||||
android:fillColor="#6AB343"
|
||||
android:pathData="M0,348.9h750v401.1h-750z" />
|
||||
<path
|
||||
android:fillColor="#43A047"
|
||||
android:pathData="M164.6,553a210.4,84.1 0,1 0,420.8 0a210.4,84.1 0,1 0,-420.8 0z" />
|
||||
<path
|
||||
android:fillColor="#B0BEC5"
|
||||
android:pathData="M375,504.7h-74.7c0,0 -5.7,1.8 -5.7,18.8c0,17.1 39.6,30.1 80.4,30.1s80.4,-13.1 80.4,-30.1c0,-17.1 -5.7,-18.8 -5.7,-18.8H375z" />
|
||||
<path
|
||||
android:fillColor="#ECEFF1"
|
||||
android:pathData="M375,474.4c-19.9,0 -30.9,9.1 -41.6,14.1c-22.9,10.7 -36.3,13.7 -36.3,22.7c0,13.1 34.8,23.7 77.8,23.7s77.8,-10.6 77.8,-23.7c0,-9.1 -13.4,-12 -36.3,-22.7C405.9,483.5 394.9,474.4 375,474.4z" />
|
||||
<path
|
||||
android:fillColor="#CFD8DC"
|
||||
android:pathData="M390.8,410.3c0,-5.4 -31.6,-5.4 -31.6,0l-6.7,74.7c15,5.1 30.1,5.1 45.1,0L390.8,410.3z" />
|
||||
<path
|
||||
android:fillColor="#90A4AE"
|
||||
android:pathData="M359.2,410.3l-4,44.2c6.2,0.2 12.5,0.3 18.8,0.3c7,0 13.9,-0.1 20.8,-0.4l-4,-44.2C390.8,404.9 359.2,404.9 359.2,410.3z" />
|
||||
<path
|
||||
android:fillColor="#B0BEC5"
|
||||
android:pathData="M559.3,390.9c0,30.5 -82.5,55.1 -184.3,55.1s-184.3,-24.7 -184.3,-55.1v-12.8h368.6V390.9z" />
|
||||
<path
|
||||
android:fillColor="#ECEFF1"
|
||||
android:pathData="M190.7,378.2a184.3,55.1 0,1 0,368.6 0a184.3,55.1 0,1 0,-368.6 0z" />
|
||||
<path
|
||||
android:fillColor="#CFD8DC"
|
||||
android:pathData="M200.2,374.9a174.8,49.5 0,1 0,349.6 0a174.8,49.5 0,1 0,-349.6 0z" />
|
||||
<path
|
||||
android:fillColor="#B0BEC5"
|
||||
android:pathData="M375,334.2c91.4,0 166.3,19.8 174.2,45.1c0.4,-1.4 0.7,-2.9 0.7,-4.4c0,-27.3 -78.3,-49.5 -174.8,-49.5c-96.6,0 -174.8,22.1 -174.8,49.5c0,1.5 0.2,2.9 0.7,4.4C208.7,354 283.6,334.2 375,334.2z" />
|
||||
<path
|
||||
android:fillColor="#B0BEC5"
|
||||
android:pathData="M288.7,378.2a86.3,17.7 0,1 0,172.6 0a86.3,17.7 0,1 0,-172.6 0z" />
|
||||
<path
|
||||
android:fillColor="#6AB343"
|
||||
android:pathData="M303.4,248c-6.7,0 -12.2,5.5 -12.2,12.2l0,51.2c0,6.8 5.5,12.2 12.2,12.2c6.8,0 12.2,-5.5 12.2,-12.2l0,-51.2C315.7,253.5 310.2,248 303.4,248M402,202.1l8.5,-15.6c0.5,-0.8 0.2,-1.8 -0.7,-2.3c-0.8,-0.4 -1.9,-0.1 -2.3,0.7l-8.6,15.7c-7.2,-3.2 -15.4,-5 -23.9,-5c-8.6,0 -16.7,1.8 -23.9,5l-8.6,-15.7c-0.4,-0.8 -1.5,-1.1 -2.3,-0.7c-0.8,0.4 -1.1,1.5 -0.7,2.3l8.5,15.6c-16.8,8.6 -28.1,25.1 -28.1,44l110.1,0C430,227.2 418.7,210.8 402,202.1M349.9,226.1c-2.5,0 -4.6,-2.1 -4.6,-4.6c0,-2.5 2.1,-4.6 4.6,-4.6c2.6,0 4.6,2.1 4.6,4.6C354.6,224.1 352.5,226.1 349.9,226.1M400,226.1c-2.5,0 -4.6,-2.1 -4.6,-4.6c0,-2.5 2.1,-4.6 4.6,-4.6c2.5,0 4.6,2.1 4.6,4.6C404.7,224.1 402.6,226.1 400,226.1M320.4,250.3l0,79.3c0,7.2 5.8,13 13,13l8.9,0l0,27.1c0,6.7 5.5,12.2 12.2,12.2c6.8,0 12.2,-5.5 12.2,-12.2l0,-27.1l16.5,0l0,27.1c0,6.7 5.5,12.2 12.2,12.2c6.8,0 12.2,-5.5 12.2,-12.2l0,-27.1l8.9,0c7.2,0 13,-5.8 13,-13l0,-79.3L320.4,250.3zM458.8,260.2c0,-6.7 -5.5,-12.2 -12.2,-12.2c-6.7,0 -12.2,5.5 -12.2,12.2l0,51.2c0,6.8 5.5,12.2 12.2,12.2c6.7,0 12.2,-5.5 12.2,-12.2L458.8,260.2z" />
|
||||
</vector>
|
||||
@ -0,0 +1,37 @@
|
||||
<!--
|
||||
~ Copyright 2019, The Android Open Source Project
|
||||
~
|
||||
~ Licensed under the Apache License, Version 2.0 (the "License");
|
||||
~ you may not use this file except in compliance with the License.
|
||||
~ You may obtain a copy of the License at
|
||||
~
|
||||
~ http://www.apache.org/licenses/LICENSE-2.0
|
||||
~
|
||||
~ Unless required by applicable law or agreed to in writing, software
|
||||
~ distributed under the License is distributed on an "AS IS" BASIS,
|
||||
~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
~ See the License for the specific language governing permissions and
|
||||
~ limitations under the License.
|
||||
-->
|
||||
|
||||
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:width="500dp"
|
||||
android:height="700dp"
|
||||
android:viewportWidth="500"
|
||||
android:viewportHeight="700">
|
||||
<path
|
||||
android:fillColor="#C2CACC"
|
||||
android:pathData="M142.8,412.3c-35.8,0 -51,10 -82.8,28c-68.3,38.5 67.3,74.2 174.3,112.1c32.4,11.5 59.3,16.3 83.9,16.3c45.3,0 82.7,-16.5 131.9,-38.1c46.5,-20.4 -107.1,-89.2 -219.1,-108.1C190.3,415.6 163.2,412.3 142.8,412.3" />
|
||||
<path
|
||||
android:fillColor="#6D4C41"
|
||||
android:pathData="M299.2,560.5L50.9,468.3c-5.3,-2 -7.9,-7.8 -6,-13.1c1.1,-2.9 3.3,-5.1 6.2,-6.1l107.1,-37.1c11.9,-4.1 24.9,-4 36.8,0.4l248.3,92.2c5.3,2 7.9,7.8 6,13.1c-1.1,2.9 -3.3,5.1 -6.2,6.1L336,560.9C324.1,565 311.1,564.9 299.2,560.5z" />
|
||||
<path
|
||||
android:fillColor="#F8BBD0"
|
||||
android:pathData="M322.1,555l-268.8,-95.8l0,-49.3l268.8,94.2z" />
|
||||
<path
|
||||
android:fillColor="#FF7FAB"
|
||||
android:pathData="M322.1,555l121.1,-43.5l0,-49.4l-121.1,42z" />
|
||||
<path
|
||||
android:fillColor="#6D4C41"
|
||||
android:pathData="M299.2,506.2L50.9,414c-5.3,-2 -7.9,-7.8 -6,-13.1c1.1,-2.8 3.3,-5.1 6.2,-6.1l107.1,-37.1c11.9,-4.1 24.9,-4 36.8,0.4l248.3,92.1c5.3,2 7.9,7.8 6,13.1c-1.1,2.8 -3.3,5.1 -6.2,6.1L336,506.6C324.1,510.7 311.1,510.5 299.2,506.2z" />
|
||||
</vector>
|
||||
52
DessertClickerFinal/app/src/main/res/drawable/jellybean.xml
Normal file
@ -0,0 +1,52 @@
|
||||
<!--
|
||||
~ Copyright 2019, The Android Open Source Project
|
||||
~
|
||||
~ Licensed under the Apache License, Version 2.0 (the "License");
|
||||
~ you may not use this file except in compliance with the License.
|
||||
~ You may obtain a copy of the License at
|
||||
~
|
||||
~ http://www.apache.org/licenses/LICENSE-2.0
|
||||
~
|
||||
~ Unless required by applicable law or agreed to in writing, software
|
||||
~ distributed under the License is distributed on an "AS IS" BASIS,
|
||||
~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
~ See the License for the specific language governing permissions and
|
||||
~ limitations under the License.
|
||||
-->
|
||||
|
||||
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:width="500dp"
|
||||
android:height="700dp"
|
||||
android:viewportWidth="500"
|
||||
android:viewportHeight="700">
|
||||
<path
|
||||
android:fillColor="#C2CACC"
|
||||
android:pathData="M451.5,482.8c0,-17 -41.2,-30.8 -92.1,-30.8c-9.3,0 -18.3,0.5 -26.8,1.3c-19.6,-3.3 -41.8,-5.2 -65.3,-5.2c-8,0 -15.9,0.2 -23.6,0.6c-21,-5.2 -46.9,-8.2 -75,-8.2c-70.2,0 -127,19 -127,42.5c0,21.2 46.3,38.7 106.8,42c26.4,12.4 69.8,20.5 118.8,20.5c68.1,0 125.2,-15.6 141.2,-36.8C434.3,503.4 451.5,493.8 451.5,482.8z" />
|
||||
<path
|
||||
android:fillColor="#FF9800"
|
||||
android:pathData="M393.2,495.4c-46.7,-9.5 -87.9,-33.6 -124.8,-69.3c-18.2,-17.5 -22.6,-45 -10.7,-67.3c15.4,-28.7 51.9,-38.6 79.4,-21.3c23,14.4 48.1,25.2 74.4,32.1c42.3,11.2 63.1,58.7 42.5,97.2C442.4,488.7 417.6,500.4 393.2,495.4" />
|
||||
<path
|
||||
android:fillColor="#FFBC41"
|
||||
android:pathData="M405.7,378.1l-0.2,0.1l0.1,0.2c5.2,1.6 10.2,3.8 14.8,6.5c4.7,2.7 9,5.9 12.8,9.7c3.7,3.8 7.2,7.9 10.2,12.3c3.1,4.4 6,9 8.5,13.8l0.2,0.1l0.1,-0.2c-1.2,-5.4 -3.3,-10.6 -6.3,-15.3c-3,-4.7 -6.7,-8.9 -11,-12.4c-4.2,-3.6 -8.8,-6.7 -13.8,-9.2C416.3,381.2 411.1,379.3 405.7,378.1L405.7,378.1" />
|
||||
<path
|
||||
android:fillColor="#FFBC41"
|
||||
android:pathData="M306.2,338c-3.3,0 -6.6,0.3 -9.9,0.9c-4.3,0.8 -8.5,2.1 -12.5,3.9l0,0l-0.1,0.2l0.2,0.1c4.1,-1.4 8.3,-2.3 12.6,-2.7c1.9,-0.2 3.8,-0.3 5.7,-0.3c2.3,0 4.7,0.1 7,0.4c4.2,0.7 8.3,1.6 12.3,2.9c4.1,1.2 8,2.7 12.1,4.3h0.2l0,0l0,-0.2c-3.3,-3 -7.2,-5.3 -11.3,-6.9c-4.2,-1.5 -8.6,-2.3 -13.1,-2.5C308.4,338 307.3,338 306.2,338" />
|
||||
<path
|
||||
android:fillColor="#42A5F5"
|
||||
android:pathData="M96.9,504.7c57.2,8 114,-3 170.6,-28.8c27.9,-12.7 44,-42.4 39.4,-72.7c-6,-39 -43.7,-65 -82.2,-56.4c-32.1,7.2 -65.2,9.4 -98,6.6c-52.8,-4.3 -95.9,41.6 -87.8,93.9C43.4,477.2 67,500.5 96.9,504.7" />
|
||||
<path
|
||||
android:fillColor="#7FC2F8"
|
||||
android:pathData="M120.6,365c-10.2,0 -20.4,1.9 -29.9,5.8c-6.3,2.4 -12.2,5.6 -17.6,9.7c-5.3,4.1 -9.9,9.1 -13.5,14.7v0.2h0.2c4.7,-4.5 9.8,-8.7 15.1,-12.5c5.2,-3.8 10.8,-7.1 16.7,-9.9c6,-2.7 12.2,-4.6 18.6,-5.8c5.2,-1 10.4,-1.4 15.6,-1.4c1.3,0 2.7,0 4,0.1l0.2,-0.1l-0.1,-0.2C126.8,365.2 123.7,365 120.6,365" />
|
||||
<path
|
||||
android:fillColor="#7FC2F8"
|
||||
android:pathData="M240.1,356.4C240.1,356.4 240.1,356.4 240.1,356.4c-5.4,0.1 -10.7,1.1 -15.7,3l-0.1,0.1l0.2,0.2c3.5,-0.3 6.9,-0.4 10.4,-0.4c1.7,0 3.5,0 5.2,0.1c5.2,0.1 10.3,0.7 15.3,1.7c5.1,1.1 10,2.8 14.7,5.1c3.3,1.6 6.4,3.4 9.5,5.4c0.3,-0.1 0.6,-0.1 0.9,-0.2c-3,-2.5 -6.3,-4.7 -9.7,-6.6c-4.7,-2.6 -9.6,-4.6 -14.8,-6.1C250.9,357.2 245.5,356.4 240.1,356.4" />
|
||||
<path
|
||||
android:fillColor="#FF7FAB"
|
||||
android:pathData="M358,519.9c-58.3,17.5 -119.4,15.2 -182.5,-2.7c-31.1,-8.8 -52.7,-37.1 -52.7,-69.5c0,-41.6 35.1,-74.8 76.7,-72c34.7,2.3 69.5,-0.7 103.2,-8.8c54.4,-13 106.6,28 106.6,83.8C409.4,482.6 388.5,510.7 358,519.9" />
|
||||
<path
|
||||
android:fillColor="#FB9DBE"
|
||||
android:pathData="M323.7,377.1c-7.5,0 -15.1,1 -22.4,3l0,0l-0.1,0.2l0.2,0.1c5.9,-1.2 11.9,-1.8 17.9,-1.8c0.9,0 1.8,0 2.7,0c6.9,0.2 13.7,1.2 20.4,3c6.6,1.9 12.9,4.5 19,7.7c6.2,3.1 12.1,6.7 17.7,10.7h0.2v-0.2c-4.7,-5.3 -10.3,-9.7 -16.5,-13.1c-6.2,-3.4 -12.9,-5.9 -19.8,-7.3C336.6,377.8 330.2,377.1 323.7,377.1" />
|
||||
<path
|
||||
android:fillColor="#FB9DBE"
|
||||
android:pathData="M191.8,387.8c-2.3,0 -4.6,0.2 -6.9,0.5c-5.6,0.9 -11.1,2.5 -16.2,5c-5.1,2.3 -10,5.2 -14.4,8.7c-4.4,3.5 -8.4,7.4 -11.9,11.8l0,0.2l0,0l0.2,0c3.8,-4.1 8,-7.7 12.5,-10.8c4.5,-3.1 9.4,-5.7 14.5,-7.7c5.1,-1.9 10.4,-3.3 15.7,-4.3c5.4,-1 10.9,-1.7 16.3,-2.1l0.1,-0.1l0,0l-0.1,-0.2C198.5,388.2 195.2,387.8 191.8,387.8" />
|
||||
</vector>
|
||||
73
DessertClickerFinal/app/src/main/res/drawable/kitkat.xml
Normal file
@ -0,0 +1,73 @@
|
||||
<!--
|
||||
~ Copyright 2019, The Android Open Source Project
|
||||
~
|
||||
~ Licensed under the Apache License, Version 2.0 (the "License");
|
||||
~ you may not use this file except in compliance with the License.
|
||||
~ You may obtain a copy of the License at
|
||||
~
|
||||
~ http://www.apache.org/licenses/LICENSE-2.0
|
||||
~
|
||||
~ Unless required by applicable law or agreed to in writing, software
|
||||
~ distributed under the License is distributed on an "AS IS" BASIS,
|
||||
~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
~ See the License for the specific language governing permissions and
|
||||
~ limitations under the License.
|
||||
-->
|
||||
|
||||
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:width="500dp"
|
||||
android:height="700dp"
|
||||
android:viewportWidth="500"
|
||||
android:viewportHeight="700">
|
||||
<path
|
||||
android:fillColor="#C2CACC"
|
||||
android:pathData="M447.9,465.7c-0.5,-1 -1.4,-1.7 -2.5,-1.9c-53,-26.9 -127,-44.3 -207,-59.1c-70.6,20.6 -133,42.1 -183.8,64.6c-1.9,0.4 -3.2,2.3 -2.7,4.3c0.3,1.2 1.1,2.2 2.3,2.6c64.6,30.2 132,53.7 201.4,70.2c6.1,2.2 12.5,3.3 18.8,3.3c8.4,0 16.8,-1.9 24.5,-5.7c59.8,-20.4 109.6,-44.6 147.5,-73.4C448.1,469.6 448.8,467.4 447.9,465.7z" />
|
||||
<path
|
||||
android:fillColor="#8D6E63"
|
||||
android:pathData="M224.2,389l-2.7,1.3l206.9,71.3l2.7,-1.3z" />
|
||||
<path
|
||||
android:fillColor="#A1887F"
|
||||
android:pathData="M68,470.7l207.1,71.3l-0.2,-6.7l-206.9,-71.2z" />
|
||||
<path
|
||||
android:fillColor="#8D6E63"
|
||||
android:pathData="M213.7,372.4l207,71.2l-23.7,11.4l-207,-71.2z" />
|
||||
<path
|
||||
android:fillColor="#A1887F"
|
||||
android:pathData="M190,383.8l-6.2,24.7l206.9,71.2l6.3,-24.7z" />
|
||||
<path
|
||||
android:fillColor="#8D6E63"
|
||||
android:pathData="M175.8,390.7l206.9,71.2l-23.7,11.4l-206.9,-71.3z" />
|
||||
<path
|
||||
android:fillColor="#A1887F"
|
||||
android:pathData="M152.1,402l-6.3,24.7l207,71.3l6.2,-24.7z" />
|
||||
<path
|
||||
android:fillColor="#8D6E63"
|
||||
android:pathData="M138.1,408.7l206.9,71.2l-23.7,11.4l-206.9,-71.2z" />
|
||||
<path
|
||||
android:fillColor="#A1887F"
|
||||
android:pathData="M114.4,420.1l-6.2,24.7l206.9,71.2l6.2,-24.7z" />
|
||||
<path
|
||||
android:fillColor="#8D6E63"
|
||||
android:pathData="M100.6,426.7l206.9,71.3l-23.7,11.3l-206.9,-71.2z" />
|
||||
<path
|
||||
android:fillColor="#A1887F"
|
||||
android:pathData="M76.9,438.1l-6.3,24.7l207,71.2l6.2,-24.7z" />
|
||||
<path
|
||||
android:fillColor="#6D4C41"
|
||||
android:pathData="M283.8,509.3l-6.2,24.7l37.5,-18l-7.6,-18z" />
|
||||
<path
|
||||
android:fillColor="#6D4C41"
|
||||
android:pathData="M321.3,491.3l-6.2,24.7l37.5,-18l-7.6,-18.1z" />
|
||||
<path
|
||||
android:fillColor="#6D4C41"
|
||||
android:pathData="M358.9,473.3l-6.3,24.7l37.6,-18l-7.6,-18.1z" />
|
||||
<path
|
||||
android:fillColor="#6D4C41"
|
||||
android:pathData="M420.7,443.6l-23.7,11.4l-6.3,24.7l37.6,-18z" />
|
||||
<path
|
||||
android:fillColor="#6D4C41"
|
||||
android:pathData="M431.2,467.1l-156.1,74.9l-0.2,-6.7l156,-74.9z" />
|
||||
<path
|
||||
android:fillColor="#8D6E63"
|
||||
android:pathData="M70.6,462.8l-2.6,1.3l206.9,71.2l2.7,-1.3z" />
|
||||
</vector>
|
||||
106
DessertClickerFinal/app/src/main/res/drawable/lollipop.xml
Normal file
@ -0,0 +1,106 @@
|
||||
<!--
|
||||
~ Copyright 2019, The Android Open Source Project
|
||||
~
|
||||
~ Licensed under the Apache License, Version 2.0 (the "License");
|
||||
~ you may not use this file except in compliance with the License.
|
||||
~ You may obtain a copy of the License at
|
||||
~
|
||||
~ http://www.apache.org/licenses/LICENSE-2.0
|
||||
~
|
||||
~ Unless required by applicable law or agreed to in writing, software
|
||||
~ distributed under the License is distributed on an "AS IS" BASIS,
|
||||
~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
~ See the License for the specific language governing permissions and
|
||||
~ limitations under the License.
|
||||
-->
|
||||
|
||||
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:width="500dp"
|
||||
android:height="700dp"
|
||||
android:viewportWidth="500"
|
||||
android:viewportHeight="700">
|
||||
<path
|
||||
android:fillColor="#C2CACC"
|
||||
android:pathData="M250,448.2c-80.4,0 -145.6,21.8 -145.6,48.7c0,26.9 65.2,48.7 145.6,48.7s145.6,-21.8 145.6,-48.7C395.6,470 330.4,448.2 250,448.2" />
|
||||
<path
|
||||
android:fillColor="#EEEEEE"
|
||||
android:pathData="M299.1,252.3l12.4,6.5l-121.8,231c-5,0 -9.6,-2.4 -12.4,-6.5L299.1,252.3z" />
|
||||
<path
|
||||
android:fillColor="#BDBDBD"
|
||||
android:pathData="M299.1,252.3l12.4,6.5l-3.9,7.3c-5,0 -9.6,-2.4 -12.4,-6.5L299.1,252.3z" />
|
||||
<path
|
||||
android:fillColor="#1E88E5"
|
||||
android:pathData="M326.7,215m-47.5,0a47.5,47.5 0,1 1,95 0a47.5,47.5 0,1 1,-95 0" />
|
||||
<path
|
||||
android:fillColor="#1976D2"
|
||||
android:pathData="M279.3,212.3c0.4,-6.8 2.2,-13.4 5.4,-19.5l0,0c1.9,-3.6 4.2,-6.9 7,-9.9h0.1c27.9,12.7 55,27 81.2,42.8l0.1,0.1c-2.5,10.6 -8.6,20.1 -17.2,26.8C329,241.6 303.4,228.2 279.3,212.3z" />
|
||||
<path
|
||||
android:fillColor="#42A5F5"
|
||||
android:pathData="M278.7,207.5c25.6,17 52.8,31.4 81.3,42.9c0.8,0.3 1.8,0 2.2,-0.8l13.1,-24.8c0.4,-0.8 0.2,-1.8 -0.6,-2.3c-26.2,-15.8 -53.3,-30.1 -81.2,-42.8c-0.8,-0.4 -1.8,0 -2.3,0.8l-13.1,24.8C277.7,206 278,207 278.7,207.5z" />
|
||||
<path
|
||||
android:fillColor="#BBDEFB"
|
||||
android:pathData="M369,206.5c-1.5,-5.9 -4.3,-11.4 -8,-16.1c-3.7,-4.8 -8.3,-8.7 -13.6,-11.6c-5.3,-2.8 -11,-4.6 -16.9,-5.3c-6,-0.8 -12,-0.5 -17.9,0.8c-0.1,0 -0.1,0 -0.1,-0.1c0,0 0,0 0,0c0,0 0,-0.1 0.1,-0.1c5.8,-2.3 12,-3.2 18.2,-2.7c6.2,0.6 12.2,2.7 17.5,5.9c10.8,6.3 18.3,16.9 20.9,29.1C369.2,206.5 369.1,206.6 369,206.5C369.1,206.6 369.1,206.6 369,206.5C369,206.6 369,206.6 369,206.5z" />
|
||||
<path
|
||||
android:fillColor="#BBDEFB"
|
||||
android:pathData="M369.3,223.6c-12,-6.4 -23.8,-12.9 -35.8,-19.1c-6,-3.2 -12,-6.3 -18,-9.4l-18,-9.3c6.3,2.5 12.5,5.1 18.7,8c6.1,2.9 12.2,5.9 18.2,9C346.4,209 358,216 369.3,223.6z" />
|
||||
<path
|
||||
android:fillColor="#EEEEEE"
|
||||
android:pathData="M203.4,252.3l-12.4,6.5l121.8,231c5,0 9.6,-2.4 12.4,-6.5L203.4,252.3z" />
|
||||
<path
|
||||
android:fillColor="#BDBDBD"
|
||||
android:pathData="M203.4,252.3l-12.4,6.5l3.9,7.3c5,0.1 9.6,-2.4 12.4,-6.5L203.4,252.3z" />
|
||||
<path
|
||||
android:fillColor="#FF6F00"
|
||||
android:pathData="M175.8,215m-47.5,0a47.5,47.5 0,1 1,95 0a47.5,47.5 0,1 1,-95 0" />
|
||||
<path
|
||||
android:fillColor="#FF5722"
|
||||
android:pathData="M223.3,212.3c-0.4,-6.8 -2.2,-13.4 -5.4,-19.5l0,0c-1.9,-3.6 -4.3,-6.9 -7,-9.9h-0.1c-27.9,12.7 -55,27 -81.2,42.8l-0.1,0.1c2.5,10.7 8.6,20.1 17.3,26.8C173.5,241.7 199.1,228.2 223.3,212.3z" />
|
||||
<path
|
||||
android:fillColor="#FF9800"
|
||||
android:pathData="M223.8,207.5c-25.6,17 -52.8,31.4 -81.3,42.9c-0.8,0.3 -1.8,0 -2.2,-0.8l-13.1,-24.8c-0.4,-0.8 -0.2,-1.8 0.6,-2.3c26.2,-15.8 53.3,-30.1 81.2,-42.8c0.8,-0.4 1.8,0 2.3,0.8l13.1,24.8C224.8,206 224.6,207 223.8,207.5z" />
|
||||
<path
|
||||
android:fillColor="#FFE082"
|
||||
android:pathData="M133.3,206.5c2.5,-12.2 10.1,-22.8 20.9,-29.1c5.3,-3.3 11.3,-5.3 17.5,-5.9c6.2,-0.6 12.4,0.3 18.2,2.7c0.1,0 0.1,0.1 0.1,0.1c0,0 -0.1,0.1 -0.1,0.1c-5.9,-1.3 -11.9,-1.5 -17.9,-0.8c-5.9,0.7 -11.7,2.5 -16.9,5.3c-5.3,2.9 -9.9,6.8 -13.6,11.6c-3.7,4.8 -6.5,10.3 -8,16.1c0,0.1 -0.1,0.1 -0.1,0.1c0,0 0,0 0,0C133.3,206.6 133.3,206.5 133.3,206.5z" />
|
||||
<path
|
||||
android:fillColor="#FFE082"
|
||||
android:pathData="M133.3,223.6c11.2,-7.6 22.9,-14.5 34.9,-20.8c6,-3.1 12.1,-6.2 18.2,-9s12.4,-5.6 18.7,-8l-18,9.3c-6,3.1 -12,6.2 -18,9.4C157.1,210.7 145.3,217.2 133.3,223.6z" />
|
||||
<path
|
||||
android:fillColor="#EEEEEE"
|
||||
android:pathData="M258.3,247.8h-14V509c4.4,2.4 9.6,2.4 14,0V247.8z" />
|
||||
<path
|
||||
android:fillColor="#BDBDBD"
|
||||
android:pathData="M258.3,247.8h-14v8.3c4.4,2.4 9.6,2.4 14,0V247.8z" />
|
||||
<path
|
||||
android:fillColor="#FF4081"
|
||||
android:pathData="M251.3,201.9m-47.5,0a47.5,47.5 0,1 1,95 0a47.5,47.5 0,1 1,-95 0" />
|
||||
<path
|
||||
android:fillColor="#F50057"
|
||||
android:pathData="M294.5,221.6c2.8,-6.2 4.3,-12.9 4.3,-19.8l0,0c0,-4 -0.5,-8.1 -1.5,-12h-0.1c-30.6,-1.8 -61.2,-1.8 -91.8,0h-0.1c-2.8,10.6 -1.8,21.8 2.8,31.8C236.8,224.4 265.8,224.4 294.5,221.6z" />
|
||||
<path
|
||||
android:fillColor="#FF7FAB"
|
||||
android:pathData="M297.2,217.7c-30.6,3.1 -61.4,3.1 -91.9,0c-0.9,-0.1 -1.6,-0.8 -1.6,-1.7v-28c0,-0.9 0.7,-1.7 1.6,-1.7c30.6,-1.8 61.2,-1.8 91.8,0c0.9,0.1 1.6,0.8 1.6,1.7v28C298.8,216.8 298.1,217.6 297.2,217.7z" />
|
||||
<path
|
||||
android:fillColor="#F8BBD0"
|
||||
android:pathData="M217.6,174.6c8,-9.6 19.6,-15.4 32.1,-16c6.2,-0.4 12.5,0.6 18.3,2.9c5.7,2.4 10.8,6.1 14.8,10.8c0,0 0,0.1 0,0.1c0,0 0,0 0,0c0,0 -0.1,0 -0.1,0c0,0 0,0 0,0c-4.6,-3.8 -9.8,-6.9 -15.5,-9c-5.6,-2.1 -11.5,-3.2 -17.4,-3.2c-6,0.1 -11.9,1.4 -17.4,3.9c-5.5,2.5 -10.5,6.1 -14.6,10.5c0,0 -0.1,0 -0.1,0c0,0 0,0 0,0C217.6,174.7 217.6,174.6 217.6,174.6z" />
|
||||
<path
|
||||
android:fillColor="#F8BBD0"
|
||||
android:pathData="M209.6,189.7c13.5,-1.4 27,-2.1 40.6,-2.1c6.8,0 13.5,0.2 20.3,0.5s13.5,0.9 20.2,1.6l-20.3,-0.2c-6.8,-0.1 -13.5,-0.1 -20.3,-0.1C236.7,189.4 223.2,189.6 209.6,189.7z" />
|
||||
<path
|
||||
android:fillColor="#F50057"
|
||||
android:pathData="M151.3,321.6c0,0 41,1.3 64.8,11.6s33.4,23.4 33.4,23.4l-9,12.9L151.3,321.6z" />
|
||||
<path
|
||||
android:fillColor="#FF4081"
|
||||
android:pathData="M247.2,359.1c0,0 -89.1,-39.7 -96,-37.5c-4.2,5.7 -14.3,60.7 -11.4,66.9c4.7,3.7 42.4,10.1 42.4,10.1C215.1,387.1 248.6,375.9 247.2,359.1z" />
|
||||
<path
|
||||
android:fillColor="#F50057"
|
||||
android:pathData="M179.4,520l-42.8,-65l44.9,-81.6c8.5,-15.4 25.4,-24.2 42.9,-22.2c8.8,1 14,3.7 20.8,7l2.2,1.7l-3,25.3c-1.1,6.5 -3.2,12.7 -6.2,18.6L179.4,520z" />
|
||||
<path
|
||||
android:fillColor="#F50057"
|
||||
android:pathData="M323.8,527l39.7,-70.7l-41.7,-75.9c-8.5,-15.4 -25.4,-24.1 -42.8,-22.2c-8.8,1 -16.7,6.1 -21.2,13.8l-1.8,3l3,17.2c1.1,6.5 3.2,12.7 6.2,18.6L323.8,527z" />
|
||||
<path
|
||||
android:fillColor="#FF4081"
|
||||
android:pathData="M256,349.7c0,0 69.2,-41 84.2,-38.7c4.9,5.1 23.5,52.6 21.4,59.1c-4.1,4.3 -40.7,15.7 -40.7,15.7l0,0c-18.9,7.1 -40.1,4.9 -57.2,-5.9l-7.8,-4.9V349.7z" />
|
||||
<path
|
||||
android:fillColor="#FF7FAB"
|
||||
android:pathData="M244.8,381.5l6.3,-2.2c4.7,-1.6 7.8,-6 7.8,-11v-22.6l-6.3,2.2c-4.7,1.6 -7.8,6 -7.8,11L244.8,381.5z" />
|
||||
</vector>
|
||||
@ -0,0 +1,46 @@
|
||||
<!--
|
||||
~ Copyright 2019, The Android Open Source Project
|
||||
~
|
||||
~ Licensed under the Apache License, Version 2.0 (the "License");
|
||||
~ you may not use this file except in compliance with the License.
|
||||
~ You may obtain a copy of the License at
|
||||
~
|
||||
~ http://www.apache.org/licenses/LICENSE-2.0
|
||||
~
|
||||
~ Unless required by applicable law or agreed to in writing, software
|
||||
~ distributed under the License is distributed on an "AS IS" BASIS,
|
||||
~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
~ See the License for the specific language governing permissions and
|
||||
~ limitations under the License.
|
||||
-->
|
||||
|
||||
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:width="500dp"
|
||||
android:height="700dp"
|
||||
android:viewportWidth="500"
|
||||
android:viewportHeight="700">
|
||||
<path
|
||||
android:fillColor="#C2CACC"
|
||||
android:pathData="M167.8,451.8c-50.3,0 -91,13.7 -91,30.7c0,17 40.8,30.7 91,30.7c1.2,0 2.4,0 3.6,0c-3.8,3.4 -5.9,7.1 -5.9,10.9c0,17 40.8,30.7 91,30.7c50.3,0 91,-13.7 91,-30.7c0,-17 -40.8,-30.7 -91,-30.7c-1.2,0 -2.4,0 -3.6,0c3.8,-3.4 5.9,-7.1 5.9,-10.9C258.8,465.5 218,451.8 167.8,451.8" />
|
||||
<path
|
||||
android:fillColor="#C2CACC"
|
||||
android:pathData="M354,430.5c-38.3,0 -69.3,13.7 -69.3,30.7c0,17 31,30.7 69.3,30.7s69.3,-13.7 69.3,-30.7C423.3,444.2 392.2,430.5 354,430.5" />
|
||||
<path
|
||||
android:fillColor="#90CAF9"
|
||||
android:pathData="M413.4,462.3c0,17.4 -15.3,22.2 -65.7,22.2c-36.3,0 -65.7,-8 -65.7,-22.2c7.4,-64.3 -2.6,-107.9 0,-125.3h131.5C415.8,384 409.6,428.7 413.4,462.3z" />
|
||||
<path
|
||||
android:fillColor="#BBDEFB"
|
||||
android:pathData="M413.4,337c0,8.5 -33.8,26.6 -70.1,26.6s-61.4,-18 -61.4,-26.6c0,-8.5 34.3,-11.6 70.6,-11.6S413.4,328.5 413.4,337z" />
|
||||
<path
|
||||
android:fillColor="#F48FB1"
|
||||
android:pathData="M224.2,480.6c0,18.5 -16.2,23.6 -69.8,23.6c-38.6,0 -69.8,-8.5 -69.8,-23.6c7.8,-68.3 -2.8,-114.6 0,-133h139.6C226.7,397.5 220.2,444.9 224.2,480.6z" />
|
||||
<path
|
||||
android:fillColor="#F8BBD0"
|
||||
android:pathData="M224.2,347.6c0,9.1 -35.8,28.2 -74.4,28.2s-65.2,-19.2 -65.2,-28.2c0,-9.1 36.4,-12.3 75,-12.3S224.2,338.5 224.2,347.6z" />
|
||||
<path
|
||||
android:fillColor="#E7E7E7"
|
||||
android:pathData="M337.8,518.7c0,21.6 -19,27.6 -81.7,27.6c-45.1,0 -81.7,-10 -81.7,-27.6c9.2,-79.9 -3.3,-134.1 0,-155.7h163.4C340.7,421.4 333.1,476.9 337.8,518.7z" />
|
||||
<path
|
||||
android:fillColor="#F5F5F5"
|
||||
android:pathData="M337.8,363c0,10.6 -41.9,33 -87.1,33s-76.3,-22.4 -76.3,-33s42.6,-14.4 87.8,-14.4S337.8,352.4 337.8,363z" />
|
||||
</vector>
|
||||
82
DessertClickerFinal/app/src/main/res/drawable/nougat.xml
Normal file
@ -0,0 +1,82 @@
|
||||
<!--
|
||||
~ Copyright 2019, The Android Open Source Project
|
||||
~
|
||||
~ Licensed under the Apache License, Version 2.0 (the "License");
|
||||
~ you may not use this file except in compliance with the License.
|
||||
~ You may obtain a copy of the License at
|
||||
~
|
||||
~ http://www.apache.org/licenses/LICENSE-2.0
|
||||
~
|
||||
~ Unless required by applicable law or agreed to in writing, software
|
||||
~ distributed under the License is distributed on an "AS IS" BASIS,
|
||||
~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
~ See the License for the specific language governing permissions and
|
||||
~ limitations under the License.
|
||||
-->
|
||||
|
||||
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:width="500dp"
|
||||
android:height="700dp"
|
||||
android:viewportWidth="500"
|
||||
android:viewportHeight="700">
|
||||
<path
|
||||
android:fillColor="#C2CACC"
|
||||
android:pathData="M242.3,425.8c-58.2,7.9 -115.6,20.7 -171.6,38.3c-3.2,0.3 -3.7,4.5 -0.7,5.9c59.5,30 119.9,57 181.5,80.1c7.1,3.3 14.8,5 22.5,5c5.9,0 11.7,-1 17.3,-2.9c47.5,-12.6 93.9,-29.1 138.7,-49.4c2.9,-1 2.6,-5.1 -0.5,-6C370.4,469.8 307.8,446.3 242.3,425.8" />
|
||||
<path
|
||||
android:fillColor="#E0E0E0"
|
||||
android:pathData="M402.8,506.9l-113,36.3c-9.1,2.9 -19,2.5 -27.9,-1.1L86.4,470.2c-4.1,-1.7 -6.8,-5.8 -6.8,-10.2v-28.9l328.2,36.3v32.6C407.8,503.2 405.8,505.9 402.8,506.9z" />
|
||||
<path
|
||||
android:fillColor="#F5F5F5"
|
||||
android:pathData="M85.5,427c27.7,-6.6 74.7,-21.7 114.8,-34.9c5.9,-1.9 15.5,-1.7 21,0.6c52,21.9 114.7,45.5 182.3,70.9c5.3,2 5.5,5 0.6,6.9c-28,10.7 -72.4,23.2 -119,35.8c-5.6,1.5 -13.8,1.3 -19,-0.6c-34.6,-12.1 -110.9,-44.9 -182.4,-71.1C77.5,432.4 78.3,428.7 85.5,427z" />
|
||||
<path
|
||||
android:fillColor="#FFAB00"
|
||||
android:pathData="M181.7,442.7c0,0 17.3,-0.6 21.7,1.2s25.9,5.5 27.5,3.8c1.2,-1.5 2.1,-3.2 2.8,-5c0,0 -8.8,-4.5 -15.7,-6.2c-6.8,-1.7 -22,-3.6 -24.8,-2.7S178.6,440.5 181.7,442.7z" />
|
||||
<path
|
||||
android:fillColor="#FF7FAB"
|
||||
android:pathData="M301.1,453.7c-1.2,0.7 -1.5,2.2 -0.8,3.4c0.4,0.6 0.9,1 1.6,1.1c9.9,2 31.5,2.3 33.3,3c2.2,0.9 9.9,3.6 16.8,-0.1c6.9,-3.7 5.5,-8 -6.7,-12.1c-12.1,-4.1 -27.2,-2.9 -32.4,-1.3C309.8,448.6 304.6,451.6 301.1,453.7z" />
|
||||
<path
|
||||
android:fillColor="#6D4C41"
|
||||
android:pathData="M398.3,472.9c5.8,2.3 -0.6,12.6 -3.5,13.5c-2.9,0.9 -12.9,-3.1 -17.3,-5.2c-4.4,-2.1 -6.9,-5.1 -7.2,-6.9C379.7,472.9 398.3,472.9 398.3,472.9z" />
|
||||
<path
|
||||
android:fillColor="#6D4C41"
|
||||
android:pathData="M314.7,507.2c20,-5.5 44.8,-11.6 7.4,-28.4c-11.3,6 -30.9,5.7 -17.3,18.5C318.4,510.1 314.7,507.2 314.7,507.2z" />
|
||||
<path
|
||||
android:fillColor="#8D6E63"
|
||||
android:pathData="M304.8,497.3l3.1,2.9c11.3,-3.1 22.2,-6.2 32.7,-9.2c-1.9,-3.3 -7.5,-7.3 -18.5,-12.3C310.8,484.8 291.2,484.5 304.8,497.3z" />
|
||||
<path
|
||||
android:fillColor="#8D6E63"
|
||||
android:pathData="M397.7,472.9c-3.3,0 -19,0.2 -27.4,1.4c0.2,1.6 2.2,4.1 5.6,6.1C383.8,477.8 391.1,475.3 397.7,472.9z" />
|
||||
<path
|
||||
android:fillColor="#FF7FAB"
|
||||
android:pathData="M236.7,479c10.9,-6.8 19.4,-10.9 11.3,-13.8s-19.8,1.6 -37.6,2.1c-9.9,0.2 -20.6,3.2 -28,5.7l30.3,12.2c0.5,0.2 1.1,0.3 1.7,0.3C222.2,484.9 229.5,483.5 236.7,479z" />
|
||||
<path
|
||||
android:fillColor="#8D6E63"
|
||||
android:pathData="M115.8,431.9c11.7,-1.1 22,-1.4 25.6,-5.1c2.1,-1.9 2.4,-5.1 0.8,-7.5c0,0 -4.2,-4.4 -12.1,-4.8l0,0c-14,4.3 -26.9,8 -37.7,10.8c0.8,0.6 1.6,1 2.6,1.4C102.1,429.5 104.1,433 115.8,431.9z" />
|
||||
<path
|
||||
android:fillColor="#8D6E63"
|
||||
android:pathData="M284,418.2c-12.5,-4.9 -24.5,-9.7 -36.1,-14.4c-2.2,-0.2 -4.4,0 -6.6,0.6c-9.9,2.9 -8.1,4.6 -10.6,7c-2.6,2.4 4.1,5.7 12.9,10.5c7.9,4.3 11.5,3.4 25.6,5.8c2.8,0.5 5.6,0 8.1,-1.4c1.8,-1 3.7,-1.8 5.6,-2.4C286.3,422.8 286,420.5 284,418.2z" />
|
||||
<path
|
||||
android:fillColor="#FF7FAB"
|
||||
android:pathData="M177.7,405c17.5,-1.1 16.7,-3.3 5.3,-7.2c-6.3,2.1 -12.7,4.1 -19.1,6.2C167.3,404.9 171.6,405.4 177.7,405z" />
|
||||
<path
|
||||
android:fillColor="#FF4081"
|
||||
android:pathData="M182.4,473c0,0 -0.7,12.1 6.1,16.5c6.9,4.4 17.3,-7.1 24.6,-4.2C199.4,479.6 182.4,473 182.4,473z" />
|
||||
<path
|
||||
android:fillColor="#FF4081"
|
||||
android:pathData="M92.2,472.6c-0.5,-1.9 -1.6,-3.6 -3.2,-4.7c-5.7,-4.1 0.6,-14.7 5.1,-14.6c6.9,0.2 10.4,7.3 15.4,12.3c3,3 -0.5,8.4 -5,12.1L92.2,472.6z" />
|
||||
<path
|
||||
android:fillColor="#FF4081"
|
||||
android:pathData="M315.1,527.7c-0.8,0.4 -1.5,0.9 -2.3,1.4c-2.9,2.2 -6.7,2.6 -10,1.1c-8,-3.6 -16,-7.2 -11.7,-12.9c3.5,-4.8 7.3,-2.9 9.7,-0.2c2.3,2.5 5.8,3.5 9.1,2.6c2.3,-0.6 4.5,-0.8 6.2,0.4c2.1,1.6 1.7,3.8 1,5.2C316.8,526.4 316,527.2 315.1,527.7z" />
|
||||
<path
|
||||
android:fillColor="#6D4C41"
|
||||
android:pathData="M141.8,458.6c-5.6,3 -15.2,10.4 -9.4,14.8c5.9,4.4 16.9,12.2 21.1,6.2c4.2,-6 1.8,-13.5 1.3,-19.1C154.4,454.7 145.7,456.5 141.8,458.6z" />
|
||||
<path
|
||||
android:fillColor="#FFAB00"
|
||||
android:pathData="M233.8,524.5c-0.2,3.7 11.8,3.1 14.8,3.1s-0.5,-4.5 -4.5,-10c-3.5,-4.7 -2.3,-5.7 -5.3,-6.8c-0.9,-0.3 -1.7,0.4 -2,1.3L233.8,524.5z" />
|
||||
<path
|
||||
android:fillColor="#FFAB00"
|
||||
android:pathData="M362.6,493c0,0 -7.3,2.7 -3.9,4.8c3.3,2.1 8.1,3.8 8.1,5.6s8.5,7.3 9.6,1.2C377.5,498.6 366.6,493.8 362.6,493z" />
|
||||
<path
|
||||
android:fillColor="#8D6E63"
|
||||
android:pathData="M144,457.7c4.3,-1.5 10.4,-2.1 10.9,2.7c0.1,0.5 0.1,1.1 0.2,1.6L144,457.7z" />
|
||||
</vector>
|
||||
59
DessertClickerFinal/app/src/main/res/drawable/oreo.xml
Normal file
@ -0,0 +1,59 @@
|
||||
<!--
|
||||
~ Copyright 2019, The Android Open Source Project
|
||||
~
|
||||
~ Licensed under the Apache License, Version 2.0 (the "License");
|
||||
~ you may not use this file except in compliance with the License.
|
||||
~ You may obtain a copy of the License at
|
||||
~
|
||||
~ http://www.apache.org/licenses/LICENSE-2.0
|
||||
~
|
||||
~ Unless required by applicable law or agreed to in writing, software
|
||||
~ distributed under the License is distributed on an "AS IS" BASIS,
|
||||
~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
~ See the License for the specific language governing permissions and
|
||||
~ limitations under the License.
|
||||
-->
|
||||
|
||||
<!--
|
||||
~ Copyright 2018, The Android Open Source Project
|
||||
~
|
||||
~ Licensed under the Apache License, Version 2.0 (the "License");
|
||||
~ you may not use this file except in compliance with the License.
|
||||
~ You may obtain a copy of the License at
|
||||
~
|
||||
~ http://www.apache.org/licenses/LICENSE-2.0
|
||||
~
|
||||
~ Unless required by applicable law or agreed to in writing, software
|
||||
~ distributed under the License is distributed on an "AS IS" BASIS,
|
||||
~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
~ See the License for the specific language governing permissions and
|
||||
~ limitations under the License.
|
||||
-->
|
||||
|
||||
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:width="500dp"
|
||||
android:height="700dp"
|
||||
android:viewportWidth="500"
|
||||
android:viewportHeight="700">
|
||||
<path
|
||||
android:fillColor="#C2CACC"
|
||||
android:pathData="M250,469.2c-80.4,0 -145.6,21.8 -145.6,48.7c0,26.9 65.2,48.7 145.6,48.7s145.6,-21.8 145.6,-48.7C395.6,491 330.4,469.2 250,469.2" />
|
||||
<path
|
||||
android:fillColor="#4E342E"
|
||||
android:pathData="M377.3,498c0,29.1 -57,52.6 -127.3,52.6S122.7,527.1 122.7,498v-13.4h254.7V498z" />
|
||||
<path
|
||||
android:fillColor="#5D4037"
|
||||
android:pathData="M122.7,484.6a127.3,52.6 0,1 0,254.6 0a127.3,52.6 0,1 0,-254.6 0z" />
|
||||
<path
|
||||
android:fillColor="#EEEEEE"
|
||||
android:pathData="M365.7,495.5c-77.1,39.8 -154.3,39.8 -231.5,-0.1c-6.2,-3.2 -10,-14.9 -9.3,-26.6c0.4,-5.5 1.2,-10.9 2.4,-16.2h245.2c1,5.2 1.8,10.3 2.3,15.1C376,479.8 372.1,492.2 365.7,495.5z" />
|
||||
<path
|
||||
android:fillColor="#4E342E"
|
||||
android:pathData="M377.3,452c0,29.1 -57,52.6 -127.3,52.6S122.7,481 122.7,452v-13.4h254.7V452z" />
|
||||
<path
|
||||
android:fillColor="#5D4037"
|
||||
android:pathData="M250,385.9c70.3,0 127.3,23.6 127.3,52.6c0,29.1 -57,52.6 -127.3,52.6s-127.3,-23.6 -127.3,-52.6C122.7,409.5 179.7,385.9 250,385.9z" />
|
||||
<path
|
||||
android:fillColor="#4E342E"
|
||||
android:pathData="M250,397.9c56.9,0 103,16.5 103,36.9c0,20.4 -46.1,36.9 -103,36.9s-103,-16.5 -103,-36.9C147,414.4 193.1,397.9 250,397.9z" />
|
||||
</vector>
|
||||
21
DessertClickerFinal/app/src/main/res/drawable/white_box.xml
Normal file
@ -0,0 +1,21 @@
|
||||
<?xml version="1.0" encoding="utf-8"?><!--
|
||||
~ Copyright 2019, The Android Open Source Project
|
||||
~
|
||||
~ Licensed under the Apache License, Version 2.0 (the "License");
|
||||
~ you may not use this file except in compliance with the License.
|
||||
~ You may obtain a copy of the License at
|
||||
~
|
||||
~ http://www.apache.org/licenses/LICENSE-2.0
|
||||
~
|
||||
~ Unless required by applicable law or agreed to in writing, software
|
||||
~ distributed under the License is distributed on an "AS IS" BASIS,
|
||||
~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
~ See the License for the specific language governing permissions and
|
||||
~ limitations under the License.
|
||||
-->
|
||||
|
||||
<shape xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:shape="rectangle">
|
||||
<solid android:color="@color/white" />
|
||||
<corners android:radius="@dimen/corner_radius" />
|
||||
</shape>
|
||||
130
DessertClickerFinal/app/src/main/res/layout/activity_main.xml
Normal file
@ -0,0 +1,130 @@
|
||||
<?xml version="1.0" encoding="utf-8"?><!--
|
||||
~ Copyright 2019, The Android Open Source Project
|
||||
~
|
||||
~ Licensed under the Apache License, Version 2.0 (the "License");
|
||||
~ you may not use this file except in compliance with the License.
|
||||
~ You may obtain a copy of the License at
|
||||
~
|
||||
~ http://www.apache.org/licenses/LICENSE-2.0
|
||||
~
|
||||
~ Unless required by applicable law or agreed to in writing, software
|
||||
~ distributed under the License is distributed on an "AS IS" BASIS,
|
||||
~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
~ See the License for the specific language governing permissions and
|
||||
~ limitations under the License.
|
||||
-->
|
||||
|
||||
<layout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||
xmlns:tools="http://schemas.android.com/tools">
|
||||
|
||||
<data>
|
||||
|
||||
<variable
|
||||
name="revenue"
|
||||
type="Integer" />
|
||||
|
||||
<variable
|
||||
name="amountSold"
|
||||
type="Integer" />
|
||||
</data>
|
||||
|
||||
<androidx.constraintlayout.widget.ConstraintLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
tools:context=".MainActivity">
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/background_image"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="match_parent"
|
||||
android:scaleType="centerCrop"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
app:layout_constraintLeft_toLeftOf="parent"
|
||||
app:layout_constraintRight_toRightOf="parent"
|
||||
app:layout_constraintTop_toTopOf="parent"
|
||||
app:srcCompat="@drawable/bakery_back" />
|
||||
|
||||
<androidx.constraintlayout.widget.Guideline
|
||||
android:id="@+id/margin_end_guide"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="vertical"
|
||||
app:layout_constraintGuide_end="@dimen/default_spacing" />
|
||||
|
||||
<androidx.constraintlayout.widget.Guideline
|
||||
android:id="@+id/margin_bottom_guide"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="horizontal"
|
||||
app:layout_constraintGuide_end="@dimen/default_spacing" />
|
||||
|
||||
<androidx.constraintlayout.widget.Guideline
|
||||
android:id="@+id/margin_start_guide"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="vertical"
|
||||
app:layout_constraintGuide_begin="@dimen/default_spacing" />
|
||||
|
||||
<ImageButton
|
||||
android:id="@+id/dessert_button"
|
||||
android:layout_width="@dimen/button_width"
|
||||
android:layout_height="@dimen/button_height"
|
||||
android:background="?android:selectableItemBackground"
|
||||
android:scaleType="centerCrop"
|
||||
app:layout_constraintBottom_toTopOf="@+id/white_background"
|
||||
app:layout_constraintLeft_toLeftOf="parent"
|
||||
app:layout_constraintRight_toRightOf="parent"
|
||||
app:layout_constraintTop_toTopOf="parent"
|
||||
tools:src="@drawable/cupcake" />
|
||||
|
||||
<!-- Code for white box at the bottom, using ShapeDrawable defined in the drawable folder -->
|
||||
|
||||
<View
|
||||
android:id="@+id/white_background"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="0dp"
|
||||
android:background="@drawable/white_box"
|
||||
android:visibility="visible"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
app:layout_constraintLeft_toLeftOf="parent"
|
||||
app:layout_constraintRight_toRightOf="parent"
|
||||
app:layout_constraintTop_toTopOf="@+id/amount_sold_text" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/revenue_text"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text='@{"$" + revenue.toString()}'
|
||||
android:textColor="@color/green"
|
||||
android:textSize="@dimen/large_text_size"
|
||||
app:layout_constraintBottom_toTopOf="@+id/margin_bottom_guide"
|
||||
app:layout_constraintEnd_toStartOf="@+id/margin_end_guide"
|
||||
tools:text="$92" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/dessert_sold_text"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:fontFamily="sans-serif-medium"
|
||||
android:text="@string/dessert_sold"
|
||||
android:textSize="@dimen/medium_text_size"
|
||||
app:layout_constraintBottom_toBottomOf="@+id/amount_sold_text"
|
||||
app:layout_constraintStart_toStartOf="@+id/margin_start_guide" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/amount_sold_text"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginBottom="@dimen/default_spacing"
|
||||
android:fontFamily="sans-serif-medium"
|
||||
android:paddingTop="@dimen/default_spacing"
|
||||
android:text="@{amountSold.toString()}"
|
||||
android:textColor="@color/grey"
|
||||
android:textSize="@dimen/medium_text_size"
|
||||
app:layout_constraintBottom_toTopOf="@+id/revenue_text"
|
||||
app:layout_constraintEnd_toStartOf="@+id/margin_end_guide"
|
||||
tools:text="12" />
|
||||
|
||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
||||
</layout>
|
||||
26
DessertClickerFinal/app/src/main/res/menu/main_menu.xml
Normal file
@ -0,0 +1,26 @@
|
||||
<?xml version="1.0" encoding="utf-8"?><!--
|
||||
~ Copyright 2019, The Android Open Source Project
|
||||
~
|
||||
~ Licensed under the Apache License, Version 2.0 (the "License");
|
||||
~ you may not use this file except in compliance with the License.
|
||||
~ You may obtain a copy of the License at
|
||||
~
|
||||
~ http://www.apache.org/licenses/LICENSE-2.0
|
||||
~
|
||||
~ Unless required by applicable law or agreed to in writing, software
|
||||
~ distributed under the License is distributed on an "AS IS" BASIS,
|
||||
~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
~ See the License for the specific language governing permissions and
|
||||
~ limitations under the License.
|
||||
-->
|
||||
|
||||
<menu xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:app="http://schemas.android.com/apk/res-auto">
|
||||
<item
|
||||
android:id="@+id/shareMenuButton"
|
||||
android:enabled="true"
|
||||
android:icon="?android:attr/actionModeShareDrawable"
|
||||
android:title="@string/share"
|
||||
android:visible="true"
|
||||
app:showAsAction="ifRoom" />
|
||||
</menu>
|
||||
@ -0,0 +1,5 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<background android:drawable="@color/ic_launcher_background" />
|
||||
<foreground android:drawable="@drawable/ic_launcher_foreground" />
|
||||
</adaptive-icon>
|
||||
@ -0,0 +1,5 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<background android:drawable="@color/ic_launcher_background" />
|
||||
<foreground android:drawable="@drawable/ic_launcher_foreground" />
|
||||
</adaptive-icon>
|
||||
|
After Width: | Height: | Size: 2.8 KiB |
|
After Width: | Height: | Size: 4.6 KiB |
|
After Width: | Height: | Size: 1.8 KiB |
|
After Width: | Height: | Size: 2.9 KiB |
|
After Width: | Height: | Size: 3.9 KiB |
|
After Width: | Height: | Size: 6.5 KiB |
|
After Width: | Height: | Size: 5.9 KiB |
|
After Width: | Height: | Size: 10 KiB |
|
After Width: | Height: | Size: 8.1 KiB |
|
After Width: | Height: | Size: 15 KiB |
24
DessertClickerFinal/app/src/main/res/values/colors.xml
Normal file
@ -0,0 +1,24 @@
|
||||
<?xml version="1.0" encoding="utf-8"?><!--
|
||||
~ Copyright 2019, The Android Open Source Project
|
||||
~
|
||||
~ Licensed under the Apache License, Version 2.0 (the "License");
|
||||
~ you may not use this file except in compliance with the License.
|
||||
~ You may obtain a copy of the License at
|
||||
~
|
||||
~ http://www.apache.org/licenses/LICENSE-2.0
|
||||
~
|
||||
~ Unless required by applicable law or agreed to in writing, software
|
||||
~ distributed under the License is distributed on an "AS IS" BASIS,
|
||||
~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
~ See the License for the specific language governing permissions and
|
||||
~ limitations under the License.
|
||||
-->
|
||||
|
||||
<resources>
|
||||
<color name="color_primary">#008577</color>
|
||||
<color name="color_primary_dark">#00574B</color>
|
||||
<color name="color_accent">#D81B60</color>
|
||||
<color name="white">#ffffff</color>
|
||||
<color name="green">#6ab343</color>
|
||||
<color name="grey">#99000000</color>
|
||||
</resources>
|
||||
24
DessertClickerFinal/app/src/main/res/values/dimens.xml
Normal file
@ -0,0 +1,24 @@
|
||||
<?xml version="1.0" encoding="utf-8"?><!--
|
||||
~ Copyright 2019, The Android Open Source Project
|
||||
~
|
||||
~ Licensed under the Apache License, Version 2.0 (the "License");
|
||||
~ you may not use this file except in compliance with the License.
|
||||
~ You may obtain a copy of the License at
|
||||
~
|
||||
~ http://www.apache.org/licenses/LICENSE-2.0
|
||||
~
|
||||
~ Unless required by applicable law or agreed to in writing, software
|
||||
~ distributed under the License is distributed on an "AS IS" BASIS,
|
||||
~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
~ See the License for the specific language governing permissions and
|
||||
~ limitations under the License.
|
||||
-->
|
||||
|
||||
<resources>
|
||||
<dimen name="default_spacing">16dp</dimen>
|
||||
<dimen name="button_width">150dp</dimen>
|
||||
<dimen name="button_height">150dp</dimen>
|
||||
<dimen name="medium_text_size">20sp</dimen>
|
||||
<dimen name="large_text_size">33sp</dimen>
|
||||
<dimen name="corner_radius">4dp</dimen>
|
||||
</resources>
|
||||
@ -0,0 +1,4 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<resources>
|
||||
<color name="ic_launcher_background">#FFFFFF</color>
|
||||
</resources>
|
||||
25
DessertClickerFinal/app/src/main/res/values/strings.xml
Normal file
@ -0,0 +1,25 @@
|
||||
<!--
|
||||
~ Copyright 2019, The Android Open Source Project
|
||||
~
|
||||
~ Licensed under the Apache License, Version 2.0 (the "License");
|
||||
~ you may not use this file except in compliance with the License.
|
||||
~ You may obtain a copy of the License at
|
||||
~
|
||||
~ http://www.apache.org/licenses/LICENSE-2.0
|
||||
~
|
||||
~ Unless required by applicable law or agreed to in writing, software
|
||||
~ distributed under the License is distributed on an "AS IS" BASIS,
|
||||
~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
~ See the License for the specific language governing permissions and
|
||||
~ limitations under the License.
|
||||
-->
|
||||
|
||||
<resources>
|
||||
<string name="app_name">Dessert Clicker</string>
|
||||
<string name="dollar_sign">$</string>
|
||||
<string name="zero">0</string>
|
||||
<string name="dessert_sold">Desserts Sold</string>
|
||||
<string name="share_text">I\'ve clicked %1$d Desserts for a total of %2$d$ #AndroidDessertClicker</string>
|
||||
<string name="share">Share</string>
|
||||
<string name="sharing_not_available">Sharing Not Available</string>
|
||||
</resources>
|
||||
27
DessertClickerFinal/app/src/main/res/values/styles.xml
Normal file
@ -0,0 +1,27 @@
|
||||
<!--
|
||||
~ Copyright 2019, The Android Open Source Project
|
||||
~
|
||||
~ Licensed under the Apache License, Version 2.0 (the "License");
|
||||
~ you may not use this file except in compliance with the License.
|
||||
~ You may obtain a copy of the License at
|
||||
~
|
||||
~ http://www.apache.org/licenses/LICENSE-2.0
|
||||
~
|
||||
~ Unless required by applicable law or agreed to in writing, software
|
||||
~ distributed under the License is distributed on an "AS IS" BASIS,
|
||||
~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
~ See the License for the specific language governing permissions and
|
||||
~ limitations under the License.
|
||||
-->
|
||||
|
||||
<resources>
|
||||
|
||||
<!-- Base application theme. -->
|
||||
<style name="AppTheme" parent="Theme.AppCompat.Light.DarkActionBar">
|
||||
<!-- Customize your theme here. -->
|
||||
<item name="colorPrimary">@color/color_primary</item>
|
||||
<item name="colorPrimaryDark">@color/color_primary_dark</item>
|
||||
<item name="colorAccent">@color/color_accent</item>
|
||||
</style>
|
||||
|
||||
</resources>
|
||||
44
DessertClickerFinal/build.gradle
Normal file
@ -0,0 +1,44 @@
|
||||
//noinspection GradleDynamicVersion
|
||||
/*
|
||||
* Copyright 2019, The Android Open Source Project
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
// Top-level build file where you can add configuration options common to all sub-projects/modules.
|
||||
|
||||
buildscript {
|
||||
ext.kotlin_version = '1.3.0'
|
||||
repositories {
|
||||
google()
|
||||
jcenter()
|
||||
}
|
||||
dependencies {
|
||||
classpath 'com.android.tools.build:gradle:3.4.0-alpha02'
|
||||
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
|
||||
|
||||
// NOTE: Do not place your application dependencies here; they belong
|
||||
// in the individual module build.gradle files
|
||||
}
|
||||
}
|
||||
|
||||
allprojects {
|
||||
repositories {
|
||||
google()
|
||||
jcenter()
|
||||
}
|
||||
}
|
||||
|
||||
task clean(type: Delete) {
|
||||
delete rootProject.buildDir
|
||||
}
|
||||
30
DessertClickerFinal/gradle.properties
Normal file
@ -0,0 +1,30 @@
|
||||
#
|
||||
# Copyright 2019, The Android Open Source Project
|
||||
#
|
||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||
# you may not use this file except in compliance with the License.
|
||||
# You may obtain a copy of the License at
|
||||
#
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing, software
|
||||
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
#
|
||||
# Project-wide Gradle settings.
|
||||
# IDE (e.g. Android Studio) users:
|
||||
# Gradle settings configured through the IDE *will override*
|
||||
# any settings specified in this file.
|
||||
# For more details on how to configure your build environment visit
|
||||
# http://www.gradle.org/docs/current/userguide/build_environment.html
|
||||
# Specifies the JVM arguments used for the daemon process.
|
||||
# The setting is particularly useful for tweaking memory settings.
|
||||
android.enableJetifier=true
|
||||
android.useAndroidX=true
|
||||
org.gradle.jvmargs=-Xmx1536m
|
||||
# When configured, Gradle will run in incubating parallel mode.
|
||||
# This option should only be used with decoupled projects. More details, visit
|
||||
# http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects
|
||||
# org.gradle.parallel=true
|
||||
BIN
DessertClickerFinal/gradle/wrapper/gradle-wrapper.jar
vendored
Normal file
6
DessertClickerFinal/gradle/wrapper/gradle-wrapper.properties
vendored
Normal file
@ -0,0 +1,6 @@
|
||||
#Fri Nov 02 17:08:21 PDT 2018
|
||||
distributionBase=GRADLE_USER_HOME
|
||||
distributionPath=wrapper/dists
|
||||
zipStoreBase=GRADLE_USER_HOME
|
||||
zipStorePath=wrapper/dists
|
||||
distributionUrl=https\://services.gradle.org/distributions/gradle-4.10.1-all.zip
|
||||
172
DessertClickerFinal/gradlew
vendored
Executable file
@ -0,0 +1,172 @@
|
||||
#!/usr/bin/env sh
|
||||
|
||||
##############################################################################
|
||||
##
|
||||
## Gradle start up script for UN*X
|
||||
##
|
||||
##############################################################################
|
||||
|
||||
# Attempt to set APP_HOME
|
||||
# Resolve links: $0 may be a link
|
||||
PRG="$0"
|
||||
# Need this for relative symlinks.
|
||||
while [ -h "$PRG" ] ; do
|
||||
ls=`ls -ld "$PRG"`
|
||||
link=`expr "$ls" : '.*-> \(.*\)$'`
|
||||
if expr "$link" : '/.*' > /dev/null; then
|
||||
PRG="$link"
|
||||
else
|
||||
PRG=`dirname "$PRG"`"/$link"
|
||||
fi
|
||||
done
|
||||
SAVED="`pwd`"
|
||||
cd "`dirname \"$PRG\"`/" >/dev/null
|
||||
APP_HOME="`pwd -P`"
|
||||
cd "$SAVED" >/dev/null
|
||||
|
||||
APP_NAME="Gradle"
|
||||
APP_BASE_NAME=`basename "$0"`
|
||||
|
||||
# Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
|
||||
DEFAULT_JVM_OPTS=""
|
||||
|
||||
# Use the maximum available, or set MAX_FD != -1 to use that value.
|
||||
MAX_FD="maximum"
|
||||
|
||||
warn () {
|
||||
echo "$*"
|
||||
}
|
||||
|
||||
die () {
|
||||
echo
|
||||
echo "$*"
|
||||
echo
|
||||
exit 1
|
||||
}
|
||||
|
||||
# OS specific support (must be 'true' or 'false').
|
||||
cygwin=false
|
||||
msys=false
|
||||
darwin=false
|
||||
nonstop=false
|
||||
case "`uname`" in
|
||||
CYGWIN* )
|
||||
cygwin=true
|
||||
;;
|
||||
Darwin* )
|
||||
darwin=true
|
||||
;;
|
||||
MINGW* )
|
||||
msys=true
|
||||
;;
|
||||
NONSTOP* )
|
||||
nonstop=true
|
||||
;;
|
||||
esac
|
||||
|
||||
CLASSPATH=$APP_HOME/gradle/wrapper/gradle-wrapper.jar
|
||||
|
||||
# Determine the Java command to use to start the JVM.
|
||||
if [ -n "$JAVA_HOME" ] ; then
|
||||
if [ -x "$JAVA_HOME/jre/sh/java" ] ; then
|
||||
# IBM's JDK on AIX uses strange locations for the executables
|
||||
JAVACMD="$JAVA_HOME/jre/sh/java"
|
||||
else
|
||||
JAVACMD="$JAVA_HOME/bin/java"
|
||||
fi
|
||||
if [ ! -x "$JAVACMD" ] ; then
|
||||
die "ERROR: JAVA_HOME is set to an invalid directory: $JAVA_HOME
|
||||
|
||||
Please set the JAVA_HOME variable in your environment to match the
|
||||
location of your Java installation."
|
||||
fi
|
||||
else
|
||||
JAVACMD="java"
|
||||
which java >/dev/null 2>&1 || die "ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
|
||||
|
||||
Please set the JAVA_HOME variable in your environment to match the
|
||||
location of your Java installation."
|
||||
fi
|
||||
|
||||
# Increase the maximum file descriptors if we can.
|
||||
if [ "$cygwin" = "false" -a "$darwin" = "false" -a "$nonstop" = "false" ] ; then
|
||||
MAX_FD_LIMIT=`ulimit -H -n`
|
||||
if [ $? -eq 0 ] ; then
|
||||
if [ "$MAX_FD" = "maximum" -o "$MAX_FD" = "max" ] ; then
|
||||
MAX_FD="$MAX_FD_LIMIT"
|
||||
fi
|
||||
ulimit -n $MAX_FD
|
||||
if [ $? -ne 0 ] ; then
|
||||
warn "Could not set maximum file descriptor limit: $MAX_FD"
|
||||
fi
|
||||
else
|
||||
warn "Could not query maximum file descriptor limit: $MAX_FD_LIMIT"
|
||||
fi
|
||||
fi
|
||||
|
||||
# For Darwin, add options to specify how the application appears in the dock
|
||||
if $darwin; then
|
||||
GRADLE_OPTS="$GRADLE_OPTS \"-Xdock:name=$APP_NAME\" \"-Xdock:icon=$APP_HOME/media/gradle.icns\""
|
||||
fi
|
||||
|
||||
# For Cygwin, switch paths to Windows format before running java
|
||||
if $cygwin ; then
|
||||
APP_HOME=`cygpath --path --mixed "$APP_HOME"`
|
||||
CLASSPATH=`cygpath --path --mixed "$CLASSPATH"`
|
||||
JAVACMD=`cygpath --unix "$JAVACMD"`
|
||||
|
||||
# We build the pattern for arguments to be converted via cygpath
|
||||
ROOTDIRSRAW=`find -L / -maxdepth 1 -mindepth 1 -type d 2>/dev/null`
|
||||
SEP=""
|
||||
for dir in $ROOTDIRSRAW ; do
|
||||
ROOTDIRS="$ROOTDIRS$SEP$dir"
|
||||
SEP="|"
|
||||
done
|
||||
OURCYGPATTERN="(^($ROOTDIRS))"
|
||||
# Add a user-defined pattern to the cygpath arguments
|
||||
if [ "$GRADLE_CYGPATTERN" != "" ] ; then
|
||||
OURCYGPATTERN="$OURCYGPATTERN|($GRADLE_CYGPATTERN)"
|
||||
fi
|
||||
# Now convert the arguments - kludge to limit ourselves to /bin/sh
|
||||
i=0
|
||||
for arg in "$@" ; do
|
||||
CHECK=`echo "$arg"|egrep -c "$OURCYGPATTERN" -`
|
||||
CHECK2=`echo "$arg"|egrep -c "^-"` ### Determine if an option
|
||||
|
||||
if [ $CHECK -ne 0 ] && [ $CHECK2 -eq 0 ] ; then ### Added a condition
|
||||
eval `echo args$i`=`cygpath --path --ignore --mixed "$arg"`
|
||||
else
|
||||
eval `echo args$i`="\"$arg\""
|
||||
fi
|
||||
i=$((i+1))
|
||||
done
|
||||
case $i in
|
||||
(0) set -- ;;
|
||||
(1) set -- "$args0" ;;
|
||||
(2) set -- "$args0" "$args1" ;;
|
||||
(3) set -- "$args0" "$args1" "$args2" ;;
|
||||
(4) set -- "$args0" "$args1" "$args2" "$args3" ;;
|
||||
(5) set -- "$args0" "$args1" "$args2" "$args3" "$args4" ;;
|
||||
(6) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" ;;
|
||||
(7) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" ;;
|
||||
(8) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" "$args7" ;;
|
||||
(9) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" "$args7" "$args8" ;;
|
||||
esac
|
||||
fi
|
||||
|
||||
# Escape application args
|
||||
save () {
|
||||
for i do printf %s\\n "$i" | sed "s/'/'\\\\''/g;1s/^/'/;\$s/\$/' \\\\/" ; done
|
||||
echo " "
|
||||
}
|
||||
APP_ARGS=$(save "$@")
|
||||
|
||||
# Collect all arguments for the java command, following the shell quoting and substitution rules
|
||||
eval set -- $DEFAULT_JVM_OPTS $JAVA_OPTS $GRADLE_OPTS "\"-Dorg.gradle.appname=$APP_BASE_NAME\"" -classpath "\"$CLASSPATH\"" org.gradle.wrapper.GradleWrapperMain "$APP_ARGS"
|
||||
|
||||
# by default we should be in the correct project dir, but when run from Finder on Mac, the cwd is wrong
|
||||
if [ "$(uname)" = "Darwin" ] && [ "$HOME" = "$PWD" ]; then
|
||||
cd "$(dirname "$0")"
|
||||
fi
|
||||
|
||||
exec "$JAVACMD" "$@"
|
||||
84
DessertClickerFinal/gradlew.bat
vendored
Normal file
@ -0,0 +1,84 @@
|
||||
@if "%DEBUG%" == "" @echo off
|
||||
@rem ##########################################################################
|
||||
@rem
|
||||
@rem Gradle startup script for Windows
|
||||
@rem
|
||||
@rem ##########################################################################
|
||||
|
||||
@rem Set local scope for the variables with windows NT shell
|
||||
if "%OS%"=="Windows_NT" setlocal
|
||||
|
||||
set DIRNAME=%~dp0
|
||||
if "%DIRNAME%" == "" set DIRNAME=.
|
||||
set APP_BASE_NAME=%~n0
|
||||
set APP_HOME=%DIRNAME%
|
||||
|
||||
@rem Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
|
||||
set DEFAULT_JVM_OPTS=
|
||||
|
||||
@rem Find java.exe
|
||||
if defined JAVA_HOME goto findJavaFromJavaHome
|
||||
|
||||
set JAVA_EXE=java.exe
|
||||
%JAVA_EXE% -version >NUL 2>&1
|
||||
if "%ERRORLEVEL%" == "0" goto init
|
||||
|
||||
echo.
|
||||
echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
|
||||
echo.
|
||||
echo Please set the JAVA_HOME variable in your environment to match the
|
||||
echo location of your Java installation.
|
||||
|
||||
goto fail
|
||||
|
||||
:findJavaFromJavaHome
|
||||
set JAVA_HOME=%JAVA_HOME:"=%
|
||||
set JAVA_EXE=%JAVA_HOME%/bin/java.exe
|
||||
|
||||
if exist "%JAVA_EXE%" goto init
|
||||
|
||||
echo.
|
||||
echo ERROR: JAVA_HOME is set to an invalid directory: %JAVA_HOME%
|
||||
echo.
|
||||
echo Please set the JAVA_HOME variable in your environment to match the
|
||||
echo location of your Java installation.
|
||||
|
||||
goto fail
|
||||
|
||||
:init
|
||||
@rem Get command-line arguments, handling Windows variants
|
||||
|
||||
if not "%OS%" == "Windows_NT" goto win9xME_args
|
||||
|
||||
:win9xME_args
|
||||
@rem Slurp the command line arguments.
|
||||
set CMD_LINE_ARGS=
|
||||
set _SKIP=2
|
||||
|
||||
:win9xME_args_slurp
|
||||
if "x%~1" == "x" goto execute
|
||||
|
||||
set CMD_LINE_ARGS=%*
|
||||
|
||||
:execute
|
||||
@rem Setup the command line
|
||||
|
||||
set CLASSPATH=%APP_HOME%\gradle\wrapper\gradle-wrapper.jar
|
||||
|
||||
@rem Execute Gradle
|
||||
"%JAVA_EXE%" %DEFAULT_JVM_OPTS% %JAVA_OPTS% %GRADLE_OPTS% "-Dorg.gradle.appname=%APP_BASE_NAME%" -classpath "%CLASSPATH%" org.gradle.wrapper.GradleWrapperMain %CMD_LINE_ARGS%
|
||||
|
||||
:end
|
||||
@rem End local scope for the variables with windows NT shell
|
||||
if "%ERRORLEVEL%"=="0" goto mainEnd
|
||||
|
||||
:fail
|
||||
rem Set variable GRADLE_EXIT_CONSOLE if you need the _script_ return code instead of
|
||||
rem the _cmd.exe /c_ return code!
|
||||
if not "" == "%GRADLE_EXIT_CONSOLE%" exit 1
|
||||
exit /b 1
|
||||
|
||||
:mainEnd
|
||||
if "%OS%"=="Windows_NT" endlocal
|
||||
|
||||
:omega
|
||||
17
DessertClickerFinal/settings.gradle
Normal file
@ -0,0 +1,17 @@
|
||||
/*
|
||||
* Copyright 2019, The Android Open Source Project
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
include ':app'
|
||||
49
DessertClickerLogs/README.md
Normal file
@ -0,0 +1,49 @@
|
||||
DessertClickerLogs - Solution Code
|
||||
==================================
|
||||
|
||||
Solution code for Android Kotlin Fundamentals Codelab 4.1: Lifecycles and logging.
|
||||
|
||||
Introduction
|
||||
------------
|
||||
|
||||
DessertClicker is a game about making desserts. Press the button, make a dessert,
|
||||
earn the big bucks.
|
||||
|
||||
You use this app in the course to explore the Android lifecycle and log messages to
|
||||
the Android console (Logcat).
|
||||
|
||||
Pre-requisites
|
||||
--------------
|
||||
|
||||
You need to know:
|
||||
- How to open, build, and run apps with Android Studio.
|
||||
- What an activity is, and how to create one in your app.
|
||||
- What the activity's onCreate() method does, and the kind of operations
|
||||
that are performed in that method.
|
||||
- How to create layouts in your activity, and how to update a layout in runtime.
|
||||
|
||||
|
||||
Getting Started
|
||||
---------------
|
||||
|
||||
1. Download and run the app.
|
||||
|
||||
License
|
||||
-------
|
||||
|
||||
Copyright 2019 Google, Inc.
|
||||
|
||||
Licensed to the Apache Software Foundation (ASF) under one or more contributor
|
||||
license agreements. See the NOTICE file distributed with this work for
|
||||
additional information regarding copyright ownership. The ASF licenses this
|
||||
file to you under the Apache License, Version 2.0 (the "License"); you may not
|
||||
use this file except in compliance with the License. You may obtain a copy of
|
||||
the License at
|
||||
|
||||
http://www.apache.org/licenses/LICENSE-2.0
|
||||
|
||||
Unless required by applicable law or agreed to in writing, software
|
||||
distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
||||
WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
||||
License for the specific language governing permissions and limitations under
|
||||
the License.
|
||||
48
DessertClickerLogs/app/build.gradle
Normal file
@ -0,0 +1,48 @@
|
||||
/*
|
||||
* Copyright 2019, The Android Open Source Project
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
apply plugin: 'com.android.application'
|
||||
apply plugin: 'kotlin-android'
|
||||
|
||||
android {
|
||||
compileSdkVersion 28
|
||||
defaultConfig {
|
||||
applicationId "com.example.android.dessertclicker"
|
||||
minSdkVersion 19
|
||||
targetSdkVersion 28
|
||||
versionCode 1
|
||||
versionName "1.0"
|
||||
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
|
||||
vectorDrawables.useSupportLibrary = true
|
||||
}
|
||||
buildTypes {
|
||||
release {
|
||||
minifyEnabled false
|
||||
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
|
||||
}
|
||||
}
|
||||
dataBinding {
|
||||
enabled = true
|
||||
}
|
||||
}
|
||||
|
||||
dependencies {
|
||||
implementation fileTree(dir: 'libs', include: ['*.jar'])
|
||||
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
|
||||
implementation 'androidx.appcompat:appcompat:1.0.0'
|
||||
implementation 'androidx.constraintlayout:constraintlayout:2.0.0-alpha2'
|
||||
implementation 'com.jakewharton.timber:timber:4.7.1'
|
||||
}
|
||||
21
DessertClickerLogs/app/proguard-rules.pro
vendored
Normal file
@ -0,0 +1,21 @@
|
||||
# Add project specific ProGuard rules here.
|
||||
# You can control the set of applied configuration files using the
|
||||
# proguardFiles setting in build.gradle.
|
||||
#
|
||||
# For more details, see
|
||||
# http://developer.android.com/guide/developing/tools/proguard.html
|
||||
|
||||
# If your project uses WebView with JS, uncomment the following
|
||||
# and specify the fully qualified class name to the JavaScript interface
|
||||
# class:
|
||||
#-keepclassmembers class fqcn.of.javascript.interface.for.webview {
|
||||
# public *;
|
||||
#}
|
||||
|
||||
# Uncomment this to preserve the line number information for
|
||||
# debugging stack traces.
|
||||
#-keepattributes SourceFile,LineNumberTable
|
||||
|
||||
# If you keep the line number information, uncomment this to
|
||||
# hide the original source file name.
|
||||
#-renamesourcefileattribute SourceFile
|
||||
37
DessertClickerLogs/app/src/main/AndroidManifest.xml
Normal file
@ -0,0 +1,37 @@
|
||||
<?xml version="1.0" encoding="utf-8"?><!--
|
||||
~ Copyright 2019, The Android Open Source Project
|
||||
~
|
||||
~ Licensed under the Apache License, Version 2.0 (the "License");
|
||||
~ you may not use this file except in compliance with the License.
|
||||
~ You may obtain a copy of the License at
|
||||
~
|
||||
~ http://www.apache.org/licenses/LICENSE-2.0
|
||||
~
|
||||
~ Unless required by applicable law or agreed to in writing, software
|
||||
~ distributed under the License is distributed on an "AS IS" BASIS,
|
||||
~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
~ See the License for the specific language governing permissions and
|
||||
~ limitations under the License.
|
||||
-->
|
||||
|
||||
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
package="com.example.android.dessertclicker">
|
||||
|
||||
<application
|
||||
android:name=".ClickerApplication"
|
||||
android:allowBackup="true"
|
||||
android:icon="@mipmap/ic_dessert_clicker"
|
||||
android:label="@string/app_name"
|
||||
android:roundIcon="@mipmap/ic_dessert_clicker_round"
|
||||
android:supportsRtl="true"
|
||||
android:theme="@style/AppTheme">
|
||||
<activity android:name="com.example.android.dessertclicker.MainActivity">
|
||||
<intent-filter>
|
||||
<action android:name="android.intent.action.MAIN" />
|
||||
|
||||
<category android:name="android.intent.category.LAUNCHER" />
|
||||
</intent-filter>
|
||||
</activity>
|
||||
</application>
|
||||
|
||||
</manifest>
|
||||
BIN
DessertClickerLogs/app/src/main/ic_dessert_clicker-web.png
Normal file
|
After Width: | Height: | Size: 26 KiB |
@ -0,0 +1,27 @@
|
||||
/*
|
||||
* Copyright 2019, The Android Open Source Project
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
package com.example.android.dessertclicker
|
||||
|
||||
import android.app.Application
|
||||
import timber.log.Timber
|
||||
|
||||
class ClickerApplication : Application() {
|
||||
override fun onCreate() {
|
||||
super.onCreate()
|
||||
|
||||
Timber.plant(Timber.DebugTree())
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,73 @@
|
||||
///*
|
||||
// * Copyright 2019, The Android Open Source Project
|
||||
// *
|
||||
// * Licensed under the Apache License, Version 2.0 (the "License");
|
||||
// * you may not use this file except in compliance with the License.
|
||||
// * You may obtain a copy of the License at
|
||||
// *
|
||||
// * http://www.apache.org/licenses/LICENSE-2.0
|
||||
// *
|
||||
// * Unless required by applicable law or agreed to in writing, software
|
||||
// * distributed under the License is distributed on an "AS IS" BASIS,
|
||||
// * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
// * See the License for the specific language governing permissions and
|
||||
// * limitations under the License.
|
||||
// */
|
||||
//
|
||||
//package com.example.android.dessertclicker
|
||||
//
|
||||
//import android.os.Handler
|
||||
//import timber.log.Timber
|
||||
//
|
||||
///**
|
||||
// * This is a class representing a timer that you can start or stop. The secondsCount outputs a count of
|
||||
// * how many seconds since it started, every one second.
|
||||
// *
|
||||
// * -----
|
||||
// *
|
||||
// * Handler and Runnable are beyond the scope of this lesson. This is in part because they deal with
|
||||
// * threading, which is a complex topic that will be covered in a later lesson.
|
||||
// *
|
||||
// * If you want to learn more now, you can take a look on the Android Developer documentation on
|
||||
// * threading:
|
||||
// *
|
||||
// * https://developer.android.com/guide/components/processes-and-threads
|
||||
// *
|
||||
// */
|
||||
//class DessertTimer {
|
||||
//
|
||||
// // The number of seconds counted since the timer started
|
||||
// var secondsCount = 0
|
||||
//
|
||||
// /**
|
||||
// * [Handler] is a class meant to process a queue of messages (known as [android.os.Message]s)
|
||||
// * or actions (known as [Runnable]s)
|
||||
// */
|
||||
// private var handler = Handler()
|
||||
// private lateinit var runnable: Runnable
|
||||
//
|
||||
//
|
||||
// fun startTimer() {
|
||||
// // Create the runnable action, which prints out a log and increments the seconds counter
|
||||
// runnable = Runnable {
|
||||
// secondsCount++
|
||||
// Timber.i("Timer is at : $secondsCount")
|
||||
// // postDelayed re-adds the action to the queue of actions the Handler is cycling
|
||||
// // through. The delayMillis param tells the handler to run the runnable in
|
||||
// // 1 second (1000ms)
|
||||
// handler.postDelayed(runnable, 1000)
|
||||
// }
|
||||
//
|
||||
// // This is what initially starts the timer
|
||||
// handler.postDelayed(runnable, 1000)
|
||||
//
|
||||
// // Note that the Thread the handler runs on is determined by a class called Looper.
|
||||
// // In this case, no looper is defined, and it defaults to the main or UI thread.
|
||||
// }
|
||||
//
|
||||
// fun stopTimer() {
|
||||
// // Removes all pending posts of runnable from the handler's queue, effectively stopping the
|
||||
// // timer
|
||||
// handler.removeCallbacks(runnable)
|
||||
// }
|
||||
//}
|
||||
@ -0,0 +1,184 @@
|
||||
/*
|
||||
* Copyright 2019, The Android Open Source Project
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
package com.example.android.dessertclicker
|
||||
|
||||
import android.content.ActivityNotFoundException
|
||||
import android.os.Bundle
|
||||
import android.util.Log
|
||||
import android.view.Menu
|
||||
import android.view.MenuItem
|
||||
import android.widget.Toast
|
||||
import androidx.appcompat.app.AppCompatActivity
|
||||
import androidx.core.app.ShareCompat
|
||||
import androidx.databinding.DataBindingUtil
|
||||
import com.example.android.dessertclicker.databinding.ActivityMainBinding
|
||||
import timber.log.Timber
|
||||
|
||||
class MainActivity : AppCompatActivity() {
|
||||
|
||||
private var revenue = 0
|
||||
private var dessertsSold = 0
|
||||
|
||||
// Contains all the views
|
||||
private lateinit var binding: ActivityMainBinding
|
||||
|
||||
/** Dessert Data **/
|
||||
|
||||
/**
|
||||
* Simple data class that represents a dessert. Includes the resource id integer associated with
|
||||
* the image, the price it's sold for, and the startProductionAmount, which determines when
|
||||
* the dessert starts to be produced.
|
||||
*/
|
||||
data class Dessert(val imageId: Int, val price: Int, val startProductionAmount: Int)
|
||||
|
||||
// Create a list of all desserts, in order of when they start being produced
|
||||
private val allDesserts = listOf(
|
||||
Dessert(R.drawable.cupcake, 5, 0),
|
||||
Dessert(R.drawable.donut, 10, 5),
|
||||
Dessert(R.drawable.eclair, 15, 20),
|
||||
Dessert(R.drawable.froyo, 30, 50),
|
||||
Dessert(R.drawable.gingerbread, 50, 100),
|
||||
Dessert(R.drawable.honeycomb, 100, 200),
|
||||
Dessert(R.drawable.icecreamsandwich, 500, 500),
|
||||
Dessert(R.drawable.jellybean, 1000, 1000),
|
||||
Dessert(R.drawable.kitkat, 2000, 2000),
|
||||
Dessert(R.drawable.lollipop, 3000, 4000),
|
||||
Dessert(R.drawable.marshmallow, 4000, 8000),
|
||||
Dessert(R.drawable.nougat, 5000, 16000),
|
||||
Dessert(R.drawable.oreo, 6000, 20000)
|
||||
)
|
||||
private var currentDessert = allDesserts[0]
|
||||
|
||||
override fun onCreate(savedInstanceState: Bundle?) {
|
||||
super.onCreate(savedInstanceState)
|
||||
|
||||
Timber.i("onCreate called")
|
||||
|
||||
// Use Data Binding to get reference to the views
|
||||
binding = DataBindingUtil.setContentView(this, R.layout.activity_main)
|
||||
|
||||
binding.dessertButton.setOnClickListener {
|
||||
onDessertClicked()
|
||||
}
|
||||
|
||||
// Set the TextViews to the right values
|
||||
binding.revenue = revenue
|
||||
binding.amountSold = dessertsSold
|
||||
|
||||
// Make sure the correct dessert is showing
|
||||
binding.dessertButton.setImageResource(currentDessert.imageId)
|
||||
}
|
||||
|
||||
/**
|
||||
* Updates the score when the dessert is clicked. Possibly shows a new dessert.
|
||||
*/
|
||||
private fun onDessertClicked() {
|
||||
|
||||
// Update the score
|
||||
revenue += currentDessert.price
|
||||
dessertsSold++
|
||||
|
||||
binding.revenue = revenue
|
||||
binding.amountSold = dessertsSold
|
||||
|
||||
// Show the next dessert
|
||||
showCurrentDessert()
|
||||
}
|
||||
|
||||
/**
|
||||
* Determine which dessert to show.
|
||||
*/
|
||||
private fun showCurrentDessert() {
|
||||
var newDessert = allDesserts[0]
|
||||
for (dessert in allDesserts) {
|
||||
if (dessertsSold >= dessert.startProductionAmount) {
|
||||
newDessert = dessert
|
||||
}
|
||||
// The list of desserts is sorted by startProductionAmount. As you sell more desserts,
|
||||
// you'll start producing more expensive desserts as determined by startProductionAmount
|
||||
// We know to break as soon as we see a dessert who's "startProductionAmount" is greater
|
||||
// than the amount sold.
|
||||
else break
|
||||
}
|
||||
|
||||
// If the new dessert is actually different than the current dessert, update the image
|
||||
if (newDessert != currentDessert) {
|
||||
currentDessert = newDessert
|
||||
binding.dessertButton.setImageResource(newDessert.imageId)
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Menu methods
|
||||
*/
|
||||
private fun onShare() {
|
||||
val shareIntent = ShareCompat.IntentBuilder.from(this)
|
||||
.setText(getString(R.string.share_text, dessertsSold, revenue))
|
||||
.setType("text/plain")
|
||||
.intent
|
||||
try {
|
||||
startActivity(shareIntent)
|
||||
} catch (ex: ActivityNotFoundException) {
|
||||
Toast.makeText(this, getString(R.string.sharing_not_available),
|
||||
Toast.LENGTH_LONG).show()
|
||||
}
|
||||
}
|
||||
|
||||
override fun onCreateOptionsMenu(menu: Menu): Boolean {
|
||||
menuInflater.inflate(R.menu.main_menu, menu)
|
||||
return super.onCreateOptionsMenu(menu)
|
||||
}
|
||||
|
||||
override fun onOptionsItemSelected(item: MenuItem): Boolean {
|
||||
when (item.itemId) {
|
||||
R.id.shareMenuButton -> onShare()
|
||||
}
|
||||
return super.onOptionsItemSelected(item)
|
||||
}
|
||||
|
||||
/** Lifecycle Methods **/
|
||||
override fun onStart() {
|
||||
super.onStart()
|
||||
|
||||
Timber.i("onStart called")
|
||||
}
|
||||
|
||||
override fun onResume() {
|
||||
super.onResume()
|
||||
Timber.i("onResume Called")
|
||||
}
|
||||
|
||||
override fun onPause() {
|
||||
super.onPause()
|
||||
Timber.i("onPause Called")
|
||||
}
|
||||
|
||||
override fun onStop() {
|
||||
super.onStop()
|
||||
Timber.i("onStop Called")
|
||||
}
|
||||
|
||||
override fun onDestroy() {
|
||||
super.onDestroy()
|
||||
Timber.i("onDestroy Called")
|
||||
}
|
||||
|
||||
override fun onRestart() {
|
||||
super.onRestart()
|
||||
Timber.i("onRestart Called")
|
||||
}
|
||||
}
|
||||
210
DessertClickerLogs/app/src/main/res/drawable/bakery_back.xml
Normal file
@ -0,0 +1,210 @@
|
||||
<!--
|
||||
~ Copyright 2019, The Android Open Source Project
|
||||
~
|
||||
~ Licensed under the Apache License, Version 2.0 (the "License");
|
||||
~ you may not use this file except in compliance with the License.
|
||||
~ You may obtain a copy of the License at
|
||||
~
|
||||
~ http://www.apache.org/licenses/LICENSE-2.0
|
||||
~
|
||||
~ Unless required by applicable law or agreed to in writing, software
|
||||
~ distributed under the License is distributed on an "AS IS" BASIS,
|
||||
~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
~ See the License for the specific language governing permissions and
|
||||
~ limitations under the License.
|
||||
-->
|
||||
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:width="1920dp"
|
||||
android:height="1920dp"
|
||||
android:viewportWidth="1920"
|
||||
android:viewportHeight="1920">
|
||||
<path
|
||||
android:fillColor="#B0BEC5"
|
||||
android:pathData="M0,-16h1920v1920h-1920z" />
|
||||
<path
|
||||
android:fillColor="#546E7A"
|
||||
android:pathData="M885.8,366.6h335.2v168h-335.2z" />
|
||||
<path
|
||||
android:fillColor="#546E7A"
|
||||
android:pathData="M520.6,-29.3h335.2v167.9h-335.2z" />
|
||||
<path
|
||||
android:fillColor="#546E7A"
|
||||
android:pathData="M1251.1,-29.3h335.2v167.9h-335.2z" />
|
||||
<path
|
||||
android:fillColor="#546E7A"
|
||||
android:pathData="M338,168.7h335.2v168h-335.2z" />
|
||||
<path
|
||||
android:fillColor="#546E7A"
|
||||
android:pathData="M1433.7,168.7h335.2v168h-335.2z" />
|
||||
<path
|
||||
android:fillColor="#546E7A"
|
||||
android:pathData="M1068.4,168.7h335.2v168h-335.2z" />
|
||||
<path
|
||||
android:fillColor="#546E7A"
|
||||
android:pathData="M520.6,366.6h335.2v168h-335.2z" />
|
||||
<path
|
||||
android:fillColor="#546E7A"
|
||||
android:pathData="M1251.1,366.6h335.2v168h-335.2z" />
|
||||
<path
|
||||
android:fillColor="#546E7A"
|
||||
android:pathData="M338,976.5h335.2v167.9h-335.2z" />
|
||||
<path
|
||||
android:fillColor="#546E7A"
|
||||
android:pathData="M1433.7,976.5h335.2v167.9h-335.2z" />
|
||||
<path
|
||||
android:fillColor="#546E7A"
|
||||
android:pathData="M1068.5,976.5h335.2v167.9h-335.2z" />
|
||||
<path
|
||||
android:fillColor="#546E7A"
|
||||
android:pathData="M703.2,976.5h335.2v167.9h-335.2z" />
|
||||
<path
|
||||
android:fillColor="#546E7A"
|
||||
android:pathData="M-27.2,976.5h335.2v167.9h-335.2z" />
|
||||
<path
|
||||
android:fillColor="#546E7A"
|
||||
android:pathData="M1798.9,976.5h335.2v167.9h-335.2z" />
|
||||
<path
|
||||
android:fillColor="#8D6E63"
|
||||
android:pathData="M-267.7,1071.6h2465v921.1h-2465z" />
|
||||
<path
|
||||
android:fillColor="#546E7A"
|
||||
android:pathData="M155.4,-13.3h335.2v168h-335.2z" />
|
||||
<path
|
||||
android:fillColor="#546E7A"
|
||||
android:pathData="M155.4,382.6h335.2v168h-335.2z" />
|
||||
<path
|
||||
android:fillColor="#546E7A"
|
||||
android:pathData="M338,580.6h335.2v168h-335.2z" />
|
||||
<path
|
||||
android:fillColor="#546E7A"
|
||||
android:pathData="M1433.7,580.6h335.2v168h-335.2z" />
|
||||
<path
|
||||
android:fillColor="#546E7A"
|
||||
android:pathData="M1068.5,580.6h335.2v168h-335.2z" />
|
||||
<path
|
||||
android:fillColor="#546E7A"
|
||||
android:pathData="M703.2,580.6h335.2v168h-335.2z" />
|
||||
<path
|
||||
android:fillColor="#546E7A"
|
||||
android:pathData="M520.6,778.5h335.2v168h-335.2z" />
|
||||
<path
|
||||
android:fillColor="#546E7A"
|
||||
android:pathData="M155.4,778.5h335.2v168h-335.2z" />
|
||||
<path
|
||||
android:fillColor="#546E7A"
|
||||
android:pathData="M1251.1,778.5h335.2v168h-335.2z" />
|
||||
<path
|
||||
android:fillColor="#546E7A"
|
||||
android:pathData="M885.8,778.5h335.2v168h-335.2z" />
|
||||
<path
|
||||
android:fillColor="#546E7A"
|
||||
android:pathData="M-209.8,-13.3h335.2v168h-335.2z" />
|
||||
<path
|
||||
android:fillColor="#546E7A"
|
||||
android:pathData="M-27.2,184.7h335.2v167.9h-335.2z" />
|
||||
<path
|
||||
android:fillColor="#546E7A"
|
||||
android:pathData="M-209.8,382.6h335.2v168h-335.2z" />
|
||||
<path
|
||||
android:fillColor="#546E7A"
|
||||
android:pathData="M-27.2,580.6h335.2v168h-335.2z" />
|
||||
<path
|
||||
android:fillColor="#546E7A"
|
||||
android:pathData="M-209.8,778.5h335.2v168h-335.2z" />
|
||||
<path
|
||||
android:fillColor="#546E7A"
|
||||
android:pathData="M1616.3,-13.3h335.2v168h-335.2z" />
|
||||
<path
|
||||
android:fillColor="#546E7A"
|
||||
android:pathData="M1798.9,184.7h335.2v167.9h-335.2z" />
|
||||
<path
|
||||
android:fillColor="#546E7A"
|
||||
android:pathData="M1616.3,382.6h335.2v168h-335.2z" />
|
||||
<path
|
||||
android:fillColor="#546E7A"
|
||||
android:pathData="M1798.9,580.6h335.2v168h-335.2z" />
|
||||
<path
|
||||
android:fillColor="#546E7A"
|
||||
android:pathData="M1616.3,778.5h335.2v168h-335.2z" />
|
||||
<path
|
||||
android:fillColor="#77544B"
|
||||
android:pathData="M543.8,1241.3a415.2,142.3 0,1 0,830.4 0a415.2,142.3 0,1 0,-830.4 0z" />
|
||||
<path
|
||||
android:fillColor="#60423A"
|
||||
android:pathData="M768.8,1209.6a193.2,77.3 0,1 0,386.4 0a193.2,77.3 0,1 0,-386.4 0z" />
|
||||
<path
|
||||
android:fillColor="#B0BEC5"
|
||||
android:pathData="M960,1161.3H812.5c0,0 -11.3,3.5 -11.3,37.2S879.4,1258 960,1258s158.8,-25.8 158.8,-59.5c0,-33.7 -11.3,-37.2 -11.3,-37.2L960,1161.3z" />
|
||||
<path
|
||||
android:fillColor="#ECEFF1"
|
||||
android:pathData="M960,1101.6c-39.3,0 -61,18 -82,27.8c-45.1,21.1 -71.6,27 -71.6,44.8c0,25.9 68.8,46.8 153.6,46.8s153.6,-21 153.6,-46.8c0,-17.9 -26.4,-23.8 -71.6,-44.8C1021,1119.6 999.3,1101.6 960,1101.6z" />
|
||||
<path
|
||||
android:fillColor="#CFD8DC"
|
||||
android:pathData="M991.2,975c0,-10.6 -62.4,-10.6 -62.4,0l-13.3,147.5c28.8,10 60.2,10 89,0L991.2,975z" />
|
||||
<path
|
||||
android:fillColor="#90A4AE"
|
||||
android:pathData="M928.8,975l-7.9,87.3c12.2,0.4 24.6,0.6 37.1,0.6c13.9,0 27.5,-0.2 41,-0.7l-7.8,-87.2C991.2,964.4 928.8,964.4 928.8,975z" />
|
||||
<path
|
||||
android:fillColor="#B0BEC5"
|
||||
android:pathData="M1323.7,936.8c0,60.1 -162.9,108.8 -363.8,108.8s-363.8,-48.7 -363.8,-108.8v-25.2h727.6V936.8z" />
|
||||
<path
|
||||
android:fillColor="#ECEFF1"
|
||||
android:pathData="M596.2,911.6a363.8,108.8 0,1 0,727.6 0a363.8,108.8 0,1 0,-727.6 0z" />
|
||||
<path
|
||||
android:fillColor="#CFD8DC"
|
||||
android:pathData="M614.9,905.1a345.1,97.6 0,1 0,690.2 0a345.1,97.6 0,1 0,-690.2 0z" />
|
||||
<path
|
||||
android:fillColor="#B0BEC5"
|
||||
android:pathData="M960,824.8c180.3,0 328.3,39.1 343.7,89c0.9,-2.8 1.3,-5.7 1.4,-8.6c0,-53.9 -154.5,-97.6 -345.1,-97.6s-345.1,43.7 -345.1,97.6c0,2.9 0.5,5.8 1.4,8.6C631.7,863.9 779.7,824.8 960,824.8z" />
|
||||
<path
|
||||
android:fillColor="#EEEEEE"
|
||||
android:pathData="M632,-40.3l689.3,35.3l-29.5,575.4l-689.2,-35.3l29.4,-575.4" />
|
||||
<path
|
||||
android:fillColor="#424242"
|
||||
android:pathData="M614.2,-57.9l-1.5,30l696.6,35.7l-28.1,548.6l-666.7,-34.1l29.7,-578.6l-30,-1.6l-1.5,30l1.5,-30l-30,-1.5l-32.6,638.6l786.5,40.2l34.2,-668.5l-786.5,-40.3l-1.6,30l30,1.5" />
|
||||
<path
|
||||
android:fillColor="#989898"
|
||||
android:pathData="M614.6,522.4l-0.4,6.9l666.6,34.2l0.3,-7l-666.5,-34.1" />
|
||||
<path
|
||||
android:fillColor="#424242"
|
||||
android:pathData="M714.4,222.6c-6.8,-0.1 -11.6,-2.9 -12.6,-7.2c-0.3,-1 0.2,-1.6 1.3,-1.4c10.1,1.3 29.2,-1.9 35.7,-1.4c4.8,0.4 9,1.8 10.5,6.4c0.3,0.9 0,1.8 -1.5,1.6c-5.5,-0.9 -12.8,-0.1 -19.5,0.7c0,2.7 -1,6.5 -4.4,11.9c-7.5,12.1 -18,27.5 -27.9,47.9c-0.5,1.1 -1.1,1.1 -1.8,0.2c-1.5,-1.6 -2.7,-5 -1,-10.4c3.1,-9.2 16.7,-33.3 28.1,-48.8C719.1,222.5 716.8,222.6 714.4,222.6z" />
|
||||
<path
|
||||
android:fillColor="#424242"
|
||||
android:pathData="M751.7,260.7c-2.9,9.6 -10.7,20.7 -19.2,23.1c-4.2,1.2 -9.9,0.4 -14.1,-5.8c-4.7,-6.9 -2.5,-16.7 3.1,-25.5c4.7,-7.5 12,-13.8 18.9,-13.9c3.5,0 5.4,1.1 7.6,4.3c2.4,3.7 5.8,4.6 4.7,12.8c-0.2,0.9 -0.2,1.7 -0.4,2.6c0.7,0 1.4,-0.2 2.3,-0.1c0.9,0 0.8,0.6 0.3,1.2C754,260.2 752.9,260.6 751.7,260.7zM742.1,257.3c-2.9,-2.6 -4.7,-6.4 -4.7,-10.3c-3.7,2.9 -6.8,6.3 -9.3,10.3c-5.2,8.4 -7.5,18.8 -4.6,21.5c3.1,2.8 10.2,-0.9 16.3,-11c1.7,-2.8 3.2,-5.8 4.5,-8.9C743.5,258.4 742.8,257.9 742.1,257.3zM746.5,247.4c-0.4,-3.7 -2.7,-3.1 -3.4,0.2c-0.7,2.9 0.1,6 2.1,8.2C746.3,252.3 746.8,249.4 746.5,247.4z" />
|
||||
<path
|
||||
android:fillColor="#424242"
|
||||
android:pathData="M784.7,284.2c4.7,0 11.2,-7.3 15.6,-15c0.6,-1 1.4,-1 1.8,0s0.4,4 -1.3,7c-3.4,6.1 -10.8,11.8 -17,11.1c-6.2,-0.7 -9,-4.2 -8.8,-9.6c-3.9,4.4 -9.2,8.3 -14.6,8c-10.6,-0.5 -11.9,-15.1 -1.9,-28.3c9.7,-12.8 19.1,-17.4 24.8,-17.1c4.7,0.2 6.8,3.9 6.4,8.1c6.7,-11.4 16.2,-26.4 20.6,-32c1.2,-1.5 2.2,-1.4 2.7,0.1c1.4,3.8 0.8,8.7 -4.4,17c-6,9.5 -17.9,27.8 -24.2,39.5C781.2,279.5 780.9,284.2 784.7,284.2zM766,262.4c-6.6,9.5 -8.4,19.3 -4,19.7s11,-6.1 16.9,-16.2c7.3,-12.3 9.3,-19.4 6,-19.7C781.5,246 772.8,252.7 766,262.4z" />
|
||||
<path
|
||||
android:fillColor="#424242"
|
||||
android:pathData="M841.4,244.2c1.1,-1.4 2,-1.6 2.8,-0.5c1.6,2.1 2.3,7.1 -0.8,12.6c-2.8,5 -8.9,13.2 -11.9,19.2c-3.2,6.2 -3.5,11.1 0.3,11.1c4.7,0 11.4,-7.4 15.7,-15.1c0.6,-1 1.4,-1.1 1.8,0c0.4,1.1 0.2,3.9 -1.4,7c-3.3,6.1 -10.8,12 -17,11.4s-9.1,-4.5 -8.9,-9.8c-3.9,4.5 -9.2,8.4 -14.7,8.2c-10.6,-0.5 -12,-15.1 -1.9,-28.4c9.9,-13 19.2,-17.6 24.9,-17.4c4.9,0.2 7,4.1 6.5,8.6C838.6,248.3 840,246 841.4,244.2zM832,248.4c-3.6,-0.5 -12.3,6.5 -19.1,16.3c-6.5,9.5 -8.5,19.4 -4.1,19.8c4.7,0.4 11,-6.6 17.3,-16.4C833.9,256 835.3,249 832,248.4L832,248.4z" />
|
||||
<path
|
||||
android:fillColor="#424242"
|
||||
android:pathData="M866.4,293.8c-7.2,14.9 -16.2,32.9 -25.8,36c-2.2,0.7 -4.4,0.6 -6.4,-2.7c-2.1,-3.5 -4.2,-7.6 -1.5,-14.2c3.9,-10.1 14,-16.4 25.5,-20.3c1.3,-2.6 2.6,-5.4 4,-8c-3.7,3.5 -8.2,6.2 -12.7,5.6c-8.2,-1.1 -8,-9.4 -5,-16.8c2.9,-7.2 9,-18.2 17,-28c0.4,-0.8 1.4,-1 2.1,-0.6c0.3,0.2 0.6,0.4 0.7,0.8c2.5,3.8 1.6,8.5 -2.9,15c-3.7,5.1 -6.9,10.5 -9.6,16.2c-2.6,5.5 -2.5,9.5 0.1,9.8c4.4,0.6 10.5,-6.4 16.8,-16c5.3,-8.2 10.8,-18.2 15,-23.8c1.1,-1.4 1.9,-1.6 2.9,-0.6c1.5,2.1 2.1,7.1 -1.1,12.7c-3.8,6.4 -11.4,19.8 -16.8,30.6c8.2,-3.9 15.4,-9.5 21.1,-16.5c0.6,-0.8 1.6,-0.8 1.8,0.3c0.2,1.1 -0.3,3.6 -2.4,6.5C884.2,286.5 876,290.5 866.4,293.8zM836.6,323.4c1.4,2.2 11.4,-9.7 19.3,-26.1C840.7,305.1 834.8,320.4 836.6,323.4z" />
|
||||
<path
|
||||
android:fillColor="#424242"
|
||||
android:pathData="M894.8,242.4c-0.7,-0.2 -0.9,-1 -0.4,-2.1c2.9,-5.5 10.1,-17.1 14.2,-21.2c1.6,-1.5 2.5,-1 2.8,0.3c0.7,2.2 -0.5,4.8 -1.8,6.8c-3.7,5.2 -7.6,10.1 -11.8,14.9C896.5,242.4 895.6,242.6 894.8,242.4z" />
|
||||
<path
|
||||
android:fillColor="#424242"
|
||||
android:pathData="M906.7,253.3c0.8,-4.4 2,-6.5 4.5,-8.6c2.6,-2 5.3,-2.5 6.2,-1.4c1,1.1 0.4,2.4 -1.2,5c-0.5,0.7 -0.9,1.3 -1.4,2.1c-1.3,10.4 0.4,19.4 -0.4,27.3c-0.5,4.4 -1.5,9.2 -5.7,11.7c7.8,-2.4 12.9,-9 16.1,-15c0.6,-1.2 1.8,-0.8 2.2,0.1c0.4,0.9 0.1,4 -2,7.4c-4.4,7.2 -12.3,11.6 -20.8,11.5c-6.6,-0.1 -12.9,-2.2 -16.4,-9.4c-2.5,-5.3 -1.8,-12.8 2.3,-15.8c1.4,-1.1 2.3,-0.6 2.3,1.3c0.1,0.9 0,1.8 0.1,2.8C897.6,266.2 902.4,259.9 906.7,253.3zM893.3,278.4c1.4,6.7 4.4,11.5 8.3,10.6c5.3,-1.3 4.5,-19.3 4.5,-28.4C902.2,266.8 897.9,272.7 893.3,278.4z" />
|
||||
<path
|
||||
android:fillColor="#424242"
|
||||
android:pathData="M955.1,281.2c4.4,3.9 11.8,10.2 19.2,10.6c3.2,0.2 5.6,-0.5 7.2,-1.7c1.7,-1.5 1.8,-4 0.4,-5.6c-0.1,-0.1 -0.2,-0.2 -0.3,-0.3c-5.8,-5.4 -23.4,-13.4 -22.8,-25.2c0.8,-15.6 19.2,-28 29.5,-31.8c5.6,-2 11.1,-2.6 14.7,1c2.6,2.7 4.4,6.2 5.2,9.9c0.9,4.6 -2.1,8.9 -3.9,11.2c-3.1,3.9 -5.9,8 -8.5,12.2c-0.6,1 -1.3,1.5 -2.5,0.2c-2.1,-2.3 -3.2,-5.9 -0.6,-11.1s11.7,-14.4 9.1,-17.4c-3.7,-4.2 -32.6,11.8 -33.9,26c-0.7,7.4 13.5,14.2 19.7,19.1c4.2,3.3 3.3,8.5 -2,14.1c-7.2,7.5 -27.2,8.7 -42.2,-11.5c-1.2,-1.6 -0.7,-2.3 0.4,-2.6C947.8,277.4 952,278.5 955.1,281.2z" />
|
||||
<path
|
||||
android:fillColor="#424242"
|
||||
android:pathData="M1043.6,281.6c0.8,-1.6 2,-1 2.2,0.1c0.3,2.6 -0.4,5.3 -1.9,7.5c-4.7,7.6 -12.7,11 -20.9,11.1c-7.3,0.1 -12,-1.2 -15.8,-5c-2.1,-2.1 -3.3,-4.9 -3.5,-7.8c-5.9,9.5 -12.3,20.9 -18.4,33.2c-0.5,1 -1.3,1.2 -1.9,0.1c-1.6,-2.5 -2,-5.7 0.5,-12.5c4,-10.9 25,-46 32.6,-55.2c1.2,-1.4 2.2,-1.1 2.7,0.2c0.5,1.7 0.6,3.4 0.4,5.2c5.2,-4.1 12.1,-6.9 16.8,-1.5c5.2,6.1 2.1,16.1 -2.5,25.2c-3.8,7.4 -8.3,12.6 -12.8,15C1032.3,297 1039.6,289.1 1043.6,281.6zM1009.6,293c3.5,3.1 11.3,-4.8 17.2,-15.5c4.9,-8.9 6.7,-18.3 3.9,-19.8s-10,3.8 -15.8,12.3c-1.4,2 -2.7,4 -4.2,6.3C1007.4,283.4 1006.5,290.2 1009.6,293z" />
|
||||
<path
|
||||
android:fillColor="#424242"
|
||||
android:pathData="M1057.3,297.9c9.4,0.9 18.2,-7.7 23.5,-15c0.6,-0.9 1.5,-0.8 1.9,0.2c0.4,1 -0.1,4.1 -2.3,7c-5.1,6.7 -14.2,11.5 -23,11.2c-14.5,-0.5 -18.8,-15 -10.6,-29.3c8.2,-14.3 20.1,-19.6 25.6,-16c2.6,1.6 4.8,3.7 6.4,6.3c1.9,2.8 0.7,9.7 -4.4,15.3c-5.9,6.5 -13.7,9.1 -21.4,2.2C1048.9,289.9 1051.3,297.3 1057.3,297.9zM1068.1,272.2c3.9,-4.6 6.7,-10.4 5.2,-11.7c-2.3,-2.1 -12.1,4.3 -18,14.8c-0.4,0.7 -0.8,1.3 -1,1.9C1059.6,281 1064.6,276.4 1068.1,272.2z" />
|
||||
<path
|
||||
android:fillColor="#424242"
|
||||
android:pathData="M1114.4,264.5c2.1,4.9 -2.7,10.7 -5.3,16.8c-0.5,1.4 -1,1.7 -2.4,0.8c-2.7,-1.5 -4.1,-5 -2.2,-10c1.5,-4 5.1,-8.8 3.6,-10.1c-1.8,-1.7 -10.8,5.2 -16.4,15.3c-6.9,12.6 -5,22.1 1.7,22.6c9.6,0.6 18.2,-8.1 23.3,-15c0.6,-0.9 1.7,-0.9 2,0.2c0.3,0.9 -0.3,3.8 -2.4,6.7c-4.7,6.5 -14,11.6 -22.6,11.3c-14.5,-0.5 -18.7,-14.9 -10.5,-29.2c8,-14 19.8,-19.5 25.4,-15.8C1111,259.5 1113.1,261.8 1114.4,264.5z" />
|
||||
<path
|
||||
android:fillColor="#424242"
|
||||
android:pathData="M1114.5,287.4c3.3,-8.2 11.5,-21.2 16,-26.9c1.1,-1.3 1.9,-1.6 2.8,-0.6c1.6,1.9 2.3,6.9 -0.8,12.4c-2.7,4.9 -7.8,12.4 -10.5,18c-3.1,6.5 -3.1,10.9 0.6,10.9c5.1,0 11.8,-7.2 15.6,-14.9c0.6,-1 1.4,-0.8 1.8,0.1c0.8,1.9 0.3,4.2 -1.2,7c-3.8,6.9 -11.2,11.3 -17.6,11C1112.6,304 1110.8,296.5 1114.5,287.4zM1141.4,258.9c-1.6,1.5 -4.7,1 -6.3,-2c-1.6,-2.7 -1.2,-6.1 1,-8.4c1.9,-1.8 5.2,-0.3 6.5,2.9C1143.8,253.9 1143.3,256.9 1141.4,258.9z" />
|
||||
<path
|
||||
android:fillColor="#424242"
|
||||
android:pathData="M1179.1,261.5c1.1,-1.4 2,-1.6 2.8,-0.5c1.6,2.1 2.3,7.1 -0.8,12.6c-2.8,5 -8.9,13.3 -11.9,19.1c-3.2,6.2 -3.5,11.1 0.3,11.1c4.7,0 11.3,-7.4 15.7,-15.1c0.6,-1 1.4,-1.1 1.8,0c0.4,1.1 0.2,3.9 -1.4,7c-3.3,6.1 -10.8,12 -17,11.4c-6.2,-0.6 -9.1,-4.5 -8.9,-9.8c-3.9,4.5 -9.2,8.4 -14.7,8.2c-10.6,-0.5 -12,-15.1 -1.9,-28.4c9.9,-13 19.2,-17.6 24.9,-17.3c4.9,0.2 7,4.1 6.5,8.6C1176,266 1177.5,263.7 1179.1,261.5zM1169.7,265.8c-3.6,-0.5 -12.3,6.5 -19.1,16.3c-6.5,9.5 -8.5,19.4 -4.1,19.8c4.7,0.4 11,-6.6 17.3,-16.4C1171.6,273.3 1173,266.3 1169.7,265.8z" />
|
||||
<path
|
||||
android:fillColor="#424242"
|
||||
android:pathData="M1192.8,304.6c5.5,0.7 13.9,-7.1 18.7,-15.6c0.9,-1.4 2.1,-1.5 2.5,0.1c0.5,1.9 -0.1,4.3 -1.5,7c-1.8,3.3 -10.6,12.4 -19.7,11.7c-7.8,-0.6 -11.8,-6.3 -8.5,-18.5c5.2,-19.6 19.3,-39.6 31.5,-51c1.8,-1.7 3.4,-1.9 4.9,-0.3c3.1,3.1 3.6,7.4 2,12.7c-4.2,13.8 -17.7,26.9 -28.2,32.9C1189.4,294.5 1187.7,303.9 1192.8,304.6zM1219,248c-1.4,-1 -10.5,11.2 -19.1,25.4c-1.1,1.8 -2.1,3.5 -3,5.3C1213.1,266.9 1220.4,249 1219,248z" />
|
||||
</vector>
|
||||
49
DessertClickerLogs/app/src/main/res/drawable/cupcake.xml
Normal file
@ -0,0 +1,49 @@
|
||||
<!--
|
||||
~ Copyright 2019, The Android Open Source Project
|
||||
~
|
||||
~ Licensed under the Apache License, Version 2.0 (the "License");
|
||||
~ you may not use this file except in compliance with the License.
|
||||
~ You may obtain a copy of the License at
|
||||
~
|
||||
~ http://www.apache.org/licenses/LICENSE-2.0
|
||||
~
|
||||
~ Unless required by applicable law or agreed to in writing, software
|
||||
~ distributed under the License is distributed on an "AS IS" BASIS,
|
||||
~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
~ See the License for the specific language governing permissions and
|
||||
~ limitations under the License.
|
||||
-->
|
||||
|
||||
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:width="500dp"
|
||||
android:height="700dp"
|
||||
android:viewportWidth="500"
|
||||
android:viewportHeight="700">
|
||||
<path
|
||||
android:fillColor="#C2CACC"
|
||||
android:pathData="M245.9,471.2c-80.4,0 -145.6,21.8 -145.6,48.7c0,26.9 65.2,48.7 145.6,48.7s145.6,-21.8 145.6,-48.7C391.5,493 326.3,471.2 245.9,471.2" />
|
||||
<path
|
||||
android:fillColor="#987C72"
|
||||
android:pathData="M367.6,380.1l-13.7,105l9.1,-103.5c-9.2,2.8 -20.6,5 -33.6,6.8l-8.2,108.5l3.6,-107.9c-10.6,1.3 -22,2.3 -33.9,3l-6.3,117.9l1.4,-117.6c-11.2,0.6 -22.7,0.9 -34.2,0.9l-2.4,116.7L247,393.2c-11.6,0 -23.1,-0.4 -34.2,-1l1.4,117.7l-6.3,-118c-11.9,-0.7 -23.4,-1.8 -33.9,-3.1l3.6,108l-8.2,-108.6c-13,-1.8 -24.5,-4.2 -33.6,-7l9.2,103.9l-13.7,-105.4c-9.5,-3.5 -15.6,-7.7 -16.9,-12.6l16.3,115.1c2.2,15.7 12.3,29.1 26.7,35.5c61.8,27.4 123.6,27.4 185.4,0c14.4,-6.5 24.5,-19.9 26.7,-35.5l16.3,-114.9C384.2,372.3 377.7,376.6 367.6,380.1z" />
|
||||
<path
|
||||
android:fillColor="#8D6E63"
|
||||
android:pathData="M250,377.5c-59.8,0 -111.8,-4.2 -137.9,-26.5l2,14.2c0,0.1 0,0.1 0,0.2c0,0.6 0.1,1.2 0.3,1.8c1.3,4.9 7.3,9.1 16.9,12.6l13.7,105.4l-9.2,-103.9c9.1,2.8 20.6,5.2 33.6,7l8.2,108.6l-3.6,-108c10.5,1.3 22,2.4 33.9,3.1l6.3,118l-1.4,-117.7c11.2,0.6 22.7,0.9 34.2,1l2.4,116.7l2.4,-116.7c11.5,0 23.1,-0.3 34.2,-0.9l-1.4,117.6L291,392c11.9,-0.7 23.3,-1.7 33.9,-3l-3.6,107.9l8.2,-108.5c13,-1.8 24.4,-4 33.6,-6.8L354,485.1l13.7,-105c10.1,-3.5 16.6,-7.8 18,-12.8c0.2,-0.7 0.3,-1.4 0.3,-2.2l2,-14.2C361.8,373.3 309.9,377.5 250,377.5z" />
|
||||
<path
|
||||
android:fillColor="#FFE0B2"
|
||||
android:pathData="M250,371c84,0 152.5,-8.3 155.8,-63.4c0.1,0.7 0.1,1.5 0.1,2.2c0,12 -2.9,21.9 -8.2,30.1c5.3,-8.2 8.2,-18.1 8.2,-30.1c0,-11.2 -9.5,-21.5 -25.9,-30.2c1.3,3.8 2,7.8 2,12.1v5.1c0.1,19.1 -13.8,35.6 -33.2,39.2c-68.3,12.8 -133.8,13.7 -196.4,2.1c-19.2,-3.5 -33.2,-19.7 -33.3,-38.7v-5.9c0,-5.4 1,-10.5 3,-15.2c-16.7,8.3 -26.9,18.4 -28.1,29.3C97.5,362.7 166,371 250,371z" />
|
||||
<path
|
||||
android:fillColor="#F8BBD0"
|
||||
android:pathData="M312.4,190.5c-2.2,-5.2 -5.5,-9.8 -9.6,-13.6c-4.2,-3.8 -9.2,-6.5 -14.6,-8.1c-5.4,-1.5 -11,-1.8 -16.6,-1c-5.3,0.6 -10.7,1 -16.1,1.1c-5.3,0.1 -10.7,-0.4 -15.9,-1.5c-5.1,-1.2 -10.2,-3.4 -13.9,-7.2c-1.8,-1.9 -3.2,-4.2 -4.1,-6.7c-0.9,-2.5 -1.4,-5.2 -1.4,-7.9l0,0l-0.1,-0.2l-0.1,0.1c0,2.7 0.4,5.4 1.2,8.1c0.8,2.6 2.2,5.1 4,7.1c1.8,2.1 4,3.8 6.5,5.1c2.4,1.3 5,2.3 7.7,3c5.3,1.3 10.8,2 16.2,2c5.4,0.1 10.9,-0.2 16.3,-0.6c5.2,-0.6 10.5,-0.1 15.5,1.5c4.9,1.6 9.5,4.2 13.5,7.5c0.5,0.4 1,0.8 1.5,1.3s1,0.9 1.4,1.4c0.9,1 1.8,1.9 2.6,3c1.6,2.1 3,4.3 4.2,6.6c0.9,1.8 1.6,3.6 2.2,5.4l1.6,0C313.8,194.7 313.2,192.6 312.4,190.5z" />
|
||||
<path
|
||||
android:fillColor="#FF7FAB"
|
||||
android:pathData="M119.2,293.6v5.9c0.1,19 14.1,35.1 33.3,38.7c62.6,11.5 128.1,10.6 196.4,-2.1c19.4,-3.7 33.3,-20.1 33.2,-39.2v-5.1c0,-4.2 -0.7,-8.3 -2,-12.1c-3.9,-11.6 -13.2,-20.8 -25,-24.9c3.4,-5.7 5.3,-12.4 5.2,-19.5l0,-0.6c-0.2,-20.2 -15.9,-36.5 -35.8,-37.7c-0.7,-17 -12.5,-31.5 -29,-35.7c-4.2,-1 -8.5,-1.3 -12.8,-0.8c-15.2,1.4 -52.5,5.2 -52.9,-23.3c-47.5,0.2 -54.5,40.2 -55.4,60.8l-18.6,0.1c-21,0.2 -38,17.3 -37.8,38.4l0,0.6c0.1,11.4 5.2,21.6 13.1,28.5c-3.7,3.7 -6.7,8.1 -8.8,12.9C120.3,283.1 119.2,288.2 119.2,293.6zM359.6,265.2c4.8,3.7 8.5,8.6 10.8,14.1c2.3,5.4 3.4,11.4 3,17.3l-0.1,0.1h0l-0.2,-0.1c-0.4,-5.7 -2,-11.3 -4.6,-16.4c-0.6,-1.3 -1.4,-2.5 -2.1,-3.6c-0.4,-0.6 -0.8,-1.2 -1.2,-1.7l-1.3,-1.7c-1.8,-2.1 -3.9,-4 -6.1,-5.7c-0.6,-0.4 -1.1,-0.8 -1.7,-1.2l-1.8,-1.1c-1.2,-0.7 -2.4,-1.3 -3.7,-1.9c-0.6,-0.3 -1.3,-0.5 -1.9,-0.8c-0.7,-0.2 -1.3,-0.5 -2,-0.7l-2,-0.5c-0.7,-0.2 -1.3,-0.3 -2,-0.5c-1.4,-0.3 -2.8,-0.4 -4.2,-0.5c-1.4,-0.1 -2.8,-0.2 -4.2,-0.2l-8.7,-0.1l-34.8,-0.2l-34.8,-0.4l-0.2,-0.1l0.1,-0.2h0l34.8,-0.9l34.8,-0.7l8.7,-0.2c1.4,-0.1 2.9,0 4.4,0c1.5,0 3,0.2 4.5,0.4C349.2,258.9 354.8,261.4 359.6,265.2zM335.3,211l2,1.6c0.3,0.3 0.7,0.5 1,0.8l0.9,0.9c0.6,0.6 1.2,1.1 1.8,1.8c1.1,1.3 2.2,2.6 3.1,4c0.5,0.7 1,1.4 1.4,2.1l1.2,2.2c3,6 4.4,12.6 4,19.3l-0.2,0.1l-0.1,-0.1c-0.3,-3.2 -0.8,-6.4 -1.8,-9.5c-0.4,-1.5 -1,-3.1 -1.6,-4.5c-0.3,-0.7 -0.6,-1.5 -1,-2.1c-0.3,-0.7 -0.7,-1.4 -1.1,-2.1l-1.3,-2c-0.4,-0.7 -0.9,-1.3 -1.4,-1.9c-1,-1.3 -2,-2.4 -3.1,-3.6c-0.5,-0.6 -1.2,-1.1 -1.7,-1.6l-0.9,-0.8c-0.3,-0.3 -0.6,-0.5 -0.9,-0.7l-1.9,-1.4l-2,-1.2l-1,-0.6l-1.1,-0.5l-2.1,-1l-2.2,-0.8l-1.1,-0.4l-1.1,-0.3c-0.8,-0.2 -1.5,-0.4 -2.3,-0.6l-2.3,-0.4l-1.2,-0.2c-0.4,-0.1 -0.8,-0.1 -1.2,-0.1l-2.3,-0.1l-19.6,-0.2l-39.2,-0.2l-39.2,-0.3l-0.1,-0.1l0.1,-0.1l39.2,-0.9l39.2,-0.8l19.6,-0.4c6.8,-0.1 13.6,1.7 19.4,5.2C333.9,210.1 334.6,210.6 335.3,211zM310.5,191.4c-1.2,-2.3 -2.6,-4.5 -4.2,-6.6c-0.8,-1.1 -1.7,-2 -2.6,-3c-0.4,-0.5 -0.9,-0.9 -1.4,-1.4s-0.9,-0.9 -1.5,-1.3c-4,-3.4 -8.5,-5.9 -13.5,-7.5c-5,-1.6 -10.3,-2.1 -15.5,-1.5c-5.4,0.5 -10.9,0.7 -16.3,0.6c-5.5,0 -10.9,-0.7 -16.2,-2c-2.7,-0.7 -5.2,-1.7 -7.7,-3c-2.4,-1.3 -4.6,-3 -6.5,-5.1c-1.8,-2.1 -3.2,-4.5 -4,-7.1c-0.8,-2.6 -1.2,-5.3 -1.2,-8.1l0.1,-0.1l0.1,0.2l0,0c0.1,2.7 0.6,5.3 1.4,7.9c0.9,2.5 2.3,4.8 4.1,6.7c3.7,3.9 8.7,6 13.9,7.2c5.2,1.1 10.6,1.7 15.9,1.5c5.4,-0.1 10.7,-0.5 16.1,-1.1c5.5,-0.8 11.2,-0.5 16.6,1c5.4,1.6 10.4,4.3 14.6,8.1c4.1,3.8 7.4,8.4 9.6,13.6c0.8,2 1.5,4.1 1.9,6.3l-1.6,0C312.1,195 311.3,193.1 310.5,191.4z" />
|
||||
<path
|
||||
android:fillColor="#F8BBD0"
|
||||
android:pathData="M338.7,257.6c-1.5,0 -3,-0.1 -4.4,0l-8.7,0.2l-34.8,0.7l-34.8,0.9h0l-0.1,0.2l0.2,0.1l34.8,0.4l34.8,0.2l8.7,0.1c1.5,0 2.9,0.1 4.2,0.2c1.4,0.1 2.8,0.3 4.2,0.5c0.7,0.1 1.3,0.3 2,0.5l2,0.5c0.7,0.2 1.3,0.5 2,0.7c0.7,0.2 1.3,0.5 1.9,0.8c1.3,0.6 2.5,1.2 3.7,1.9l1.8,1.1c0.6,0.4 1.1,0.8 1.7,1.2c2.2,1.7 4.3,3.6 6.1,5.7l1.3,1.7c0.4,0.5 0.9,1.1 1.2,1.7c0.8,1.2 1.5,2.4 2.1,3.6c2.6,5.1 4.2,10.7 4.6,16.4l0.2,0.1h0l0.1,-0.1c0.4,-5.9 -0.7,-11.8 -3,-17.3c-2.3,-5.6 -6.1,-10.4 -10.8,-14.1c-4.8,-3.8 -10.4,-6.2 -16.4,-7.2C341.7,257.8 340.2,257.6 338.7,257.6z" />
|
||||
<path
|
||||
android:fillColor="#F8BBD0"
|
||||
android:pathData="M313.8,204.4l-19.6,0.4l-39.2,0.8l-39.2,0.9l-0.1,0.1l0.1,0.1l39.2,0.3l39.2,0.2l19.6,0.2l2.3,0.1c0.4,0 0.8,0 1.2,0.1l1.2,0.2l2.3,0.4c0.8,0.2 1.5,0.4 2.3,0.6l1.1,0.3l1.1,0.4l2.2,0.8l2.1,1l1.1,0.5l1,0.6l2,1.2l1.9,1.4c0.3,0.2 0.7,0.5 0.9,0.7l0.9,0.8c0.6,0.5 1.2,1 1.7,1.6c1.1,1.1 2.2,2.3 3.1,3.6c0.5,0.6 1,1.2 1.4,1.9l1.3,2c0.4,0.7 0.8,1.4 1.1,2.1c0.4,0.7 0.7,1.4 1,2.1c0.6,1.5 1.2,3 1.6,4.5c0.9,3.1 1.5,6.3 1.8,9.5l0.1,0.1l0.2,-0.1c0.4,-6.7 -1,-13.3 -4,-19.3l-1.2,-2.2c-0.4,-0.8 -0.9,-1.4 -1.4,-2.1c-1,-1.4 -2,-2.7 -3.1,-4c-0.6,-0.6 -1.2,-1.2 -1.8,-1.8l-0.9,-0.9c-0.3,-0.3 -0.7,-0.5 -1,-0.8l-2,-1.6c-0.7,-0.5 -1.4,-0.9 -2.2,-1.4C327.3,206.2 320.6,204.4 313.8,204.4z" />
|
||||
<path
|
||||
android:fillColor="#FFCC80"
|
||||
android:pathData="M397.8,339.9c5.3,-8.2 8.2,-18.1 8.2,-30.1c0,-0.7 0,-1.5 -0.1,-2.2C402.5,362.7 334,371 250,371c-84,0 -152.5,-8.3 -155.9,-63.3c0,0 0,-0.1 0,-0.1c-0.1,0.7 -0.1,1.5 -0.1,2.2c0,18 6.5,31.4 18.1,41.2c0,0 0,0 0,0c26.2,22.3 78.1,26.5 137.9,26.5c59.9,0 111.9,-4.2 138,-26.6C391.8,347.7 395.1,344 397.8,339.9z" />
|
||||
</vector>
|
||||
79
DessertClickerLogs/app/src/main/res/drawable/donut.xml
Normal file
@ -0,0 +1,79 @@
|
||||
<!--
|
||||
~ Copyright 2019, The Android Open Source Project
|
||||
~
|
||||
~ Licensed under the Apache License, Version 2.0 (the "License");
|
||||
~ you may not use this file except in compliance with the License.
|
||||
~ You may obtain a copy of the License at
|
||||
~
|
||||
~ http://www.apache.org/licenses/LICENSE-2.0
|
||||
~
|
||||
~ Unless required by applicable law or agreed to in writing, software
|
||||
~ distributed under the License is distributed on an "AS IS" BASIS,
|
||||
~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
~ See the License for the specific language governing permissions and
|
||||
~ limitations under the License.
|
||||
-->
|
||||
|
||||
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:width="500dp"
|
||||
android:height="700dp"
|
||||
android:viewportWidth="500"
|
||||
android:viewportHeight="700">
|
||||
<path
|
||||
android:fillColor="#C2CACC"
|
||||
android:pathData="M250,471.2c-110.2,0 -199.6,21.8 -199.6,48.7c0,26.9 89.4,48.7 199.6,48.7s199.6,-21.8 199.6,-48.7C449.6,493 360.2,471.2 250,471.2" />
|
||||
<path
|
||||
android:fillColor="#8D6E63"
|
||||
android:pathData="M437,422.9c-6.4,-18.7 -18.8,-33.9 -34.5,-41.9c2.7,1.5 5.3,3.2 7.8,5.1C422.5,395.5 431,408.7 437,422.9z" />
|
||||
<path
|
||||
android:fillColor="#8D6E63"
|
||||
android:pathData="M441.6,449.7c0,-0.4 0,-0.9 0,-1.3c-0.2,-6.5 -1.1,-12.8 -2.7,-18.8c-0.2,1.4 -1,2.8 -2,4c-6.5,8 -12.7,25.2 -38.8,25.2c-8.7,0 -10.4,3.8 -15.8,4.2c-8.8,0.6 -17.3,-2.6 -26.1,-3.5c-11.7,-1.2 -23.5,1.6 -33.5,7.9c-7.7,4.9 -14.3,12 -23.2,14.1c-8,1.9 -16.3,-0.7 -24.2,-3c-29.1,-8.5 -51,-12.7 -80.5,-5.5c-8.5,2.1 -12.9,2.6 -15.4,6.8c-1,1.7 -2.2,3.2 -3.6,4.6c-6.1,6.5 -17.5,2 -22.8,-5.1c-5.3,-7.1 -7.8,-16.3 -14,-22.6c-9.7,-9.8 -25.5,-9.9 -39,-7.1c-4.4,0.9 -9,2 -13.1,0.2c-6,-2.6 -8.4,-10.3 -9.3,-16.1c-0.5,-3.6 -1.7,-7.1 -3.5,-10.3c-1.4,-2.4 -2.9,-3.9 -4.9,-4.7c-1.1,-0.4 -1.8,-1.3 -2,-2.4c-4.2,9.7 -6.7,20.5 -7.1,31.9c0,0.4 0,0.9 0,1.3c-0.9,36.8 20.7,69 50.8,76.9c45.5,12.1 92.4,18.8 139.5,20h0.8c47.1,-1.2 93.9,-7.9 139.5,-20C421,518.8 442.5,486.6 441.6,449.7z" />
|
||||
<path
|
||||
android:fillColor="#8D6E63"
|
||||
android:pathData="M112.7,376.3c-3.3,0.8 -6.5,1.8 -9.6,3.1c3.9,-1.4 7.9,-2.6 11.9,-3.6C114.3,375.9 113.5,376.1 112.7,376.3z" />
|
||||
<path
|
||||
android:fillColor="#FF80AB"
|
||||
android:pathData="M69.4,418.9c2,0.8 3.5,2.3 4.9,4.7c1.8,3.2 3,6.7 3.5,10.3c0.9,5.8 3.3,13.6 9.3,16.1c4.1,1.8 8.8,0.7 13.1,-0.2c13.5,-2.8 29.3,-2.7 39,7.1c6.2,6.3 8.7,15.5 14,22.6c5.3,7.1 16.7,11.6 22.8,5.1c1.3,-1.4 2.5,-3 3.6,-4.6c2.5,-4.2 6.9,-4.7 15.4,-6.8c29.5,-7.2 51.4,-3 80.5,5.5c7.9,2.3 16.2,4.8 24.2,3c8.9,-2.1 15.5,-9.2 23.2,-14.1c9.9,-6.3 21.7,-9.1 33.5,-7.9c8.7,0.9 17.3,4.1 26.1,3.5c5.5,-0.4 7.1,-4.2 15.8,-4.2c26.1,0 32.3,-17.3 38.8,-25.2c1,-1.2 1.8,-2.6 2,-4c0.1,-0.8 0.1,-1.7 -0.3,-2.5c-0.5,-1.4 -1.1,-2.8 -1.7,-4.2c-6,-14.2 -14.5,-27.4 -26.7,-36.7c-2.5,-1.9 -5.1,-3.6 -7.8,-5.1c-15.2,-8.7 -33.4,-12 -51,-14.4c-49.7,-6.8 -99.9,-8.2 -149.9,-4.1c-23.9,2 -47.7,5.3 -71.3,9.9c-5.1,1 -10.2,2 -15.2,3.3c-4,1 -8,2.2 -11.9,3.6c-7.1,2.6 -13.8,5.9 -19.8,10.5c-8.2,6.2 -13.8,15.1 -15.9,25.1c-0.1,0.5 -0.1,1 0,1.4C67.7,417.6 68.4,418.5 69.4,418.9zM111.5,425.4c-0.1,0.2 -0.3,0.3 -0.5,0.5l-6.6,5.5c-1.1,1.2 -3,1.3 -4.2,0.2c-1.2,-1.1 -1.3,-3 -0.2,-4.2c0.2,-0.2 0.4,-0.4 0.6,-0.5l6.6,-5.5c1.3,-1 3.2,-0.7 4.2,0.6C112.2,423 112.2,424.3 111.5,425.4zM159.8,402.7c-0.1,0.2 -0.3,0.4 -0.5,0.6l-5.5,6.6c-1.1,1.3 -2.9,1.4 -4.2,0.4c-0.5,-0.4 -0.8,-0.9 -1,-1.5c-0.3,-0.9 0,-1.9 0.6,-2.7l5.5,-6.6c0.9,-1.4 2.7,-1.8 4.1,-0.9C160.3,399.5 160.7,401.3 159.8,402.7zM175.4,448.6c-0.5,0.9 -1.5,1.4 -2.5,1.4h0c-0.5,0 -1,-0.1 -1.5,-0.4l-7.4,-4.3c-1.3,-1 -1.6,-2.9 -0.7,-4.2c0.8,-1.2 2.4,-1.6 3.7,-1l7.4,4.3C175.8,445.4 176.3,447.2 175.4,448.6zM226,438.9c-0.1,0.2 -0.3,0.3 -0.5,0.5l-6.6,5.5c-1.4,0.9 -3.3,0.5 -4.1,-0.9c-0.7,-1.2 -0.6,-2.7 0.3,-3.7l6.6,-5.5c1.3,-1 3.1,-0.9 4.2,0.4C226.8,436.3 226.8,437.8 226,438.9zM273.1,455.9c-0.4,0.4 -0.9,0.8 -1.4,0.9c-0.9,0.3 -1.9,0 -2.7,-0.6l-6.6,-5.5c-1.4,-0.9 -1.8,-2.7 -0.9,-4.1s2.7,-1.8 4.1,-0.9c0.2,0.1 0.4,0.3 0.6,0.5l6.6,5.5C274.1,452.8 274.2,454.7 273.1,455.9zM311.2,431.9l-4.8,7.1c-1.1,1.3 -3,1.4 -4.2,0.3c-1,-0.9 -1.3,-2.3 -0.8,-3.5h0l0.1,-0.1l4.8,-7.1c1.1,-1.2 3,-1.4 4.2,-0.3C311.5,429.2 311.8,430.7 311.2,431.9zM293.2,412.5c-12.2,1.6 -26.7,2.6 -42.2,2.6s-30,-0.9 -42.2,-2.6c-22.4,-3 -37.3,-8.2 -37.3,-14.2c0,-9.3 35.6,-16.8 79.5,-16.8s79.5,7.5 79.5,16.8C330.5,404.2 315.6,409.5 293.2,412.5zM187.6,375.1c0,-1.4 1,-2.5 2.4,-2.8l8.6,-0.8c1.7,-0.1 3.1,1.1 3.2,2.8c0.1,1 -0.4,2 -1.2,2.6h0c-0.4,0.3 -0.9,0.5 -1.5,0.5l-8.5,0.8C188.8,378.2 187.5,376.8 187.6,375.1zM311.9,378.8l-8.4,-2c-1.6,-0.6 -2.4,-2.3 -1.8,-3.8c0.5,-1.3 1.8,-2.1 3.2,-2l8.4,2c1.6,0.5 2.5,2.1 2.1,3.7c-0.4,1.2 -1.4,2.1 -2.7,2.2C312.3,378.8 312.1,378.8 311.9,378.8zM255.4,368.1l0.1,-0.1l7.9,-3.3c1.6,-0.5 3.3,0.5 3.7,2.1c0.4,1.3 -0.2,2.8 -1.4,3.4l-7.9,3.3c-1.6,0.5 -3.3,-0.4 -3.7,-2C253.7,370.2 254.2,368.8 255.4,368.1zM366.8,390.6c-0.6,-0.9 -0.6,-1.9 -0.2,-2.9h0c0.2,-0.5 0.6,-0.9 1,-1.2l7.1,-4.9c1.5,-0.8 3.3,-0.2 4,1.3c0.6,1.2 0.3,2.7 -0.7,3.6l-7.1,4.9C369.6,392.4 367.8,392 366.8,390.6zM382.5,425.8c-0.5,0.3 -1.1,0.5 -1.7,0.5c-1,0 -1.9,-0.5 -2.4,-1.3l-4.9,-7c-0.8,-1.5 -0.2,-3.3 1.3,-4.1c1.2,-0.6 2.7,-0.4 3.6,0.6l4.9,7C384.1,423 383.8,424.8 382.5,425.8zM106.2,390.9c0.2,-1.4 1.4,-2.4 2.7,-2.5l8.6,0.4c1.7,0 3,1.4 2.9,3.1c0,1.7 -1.4,3 -3.1,2.9v0h-0.1l-8.6,-0.4C107,394.1 105.9,392.6 106.2,390.9z" />
|
||||
<path
|
||||
android:fillColor="#FF4081"
|
||||
android:pathData="M251,381.4c-43.9,0 -79.5,7.5 -79.5,16.8c0,6 14.9,11.3 37.3,14.2c7.9,-1.8 23.8,-3 42.2,-3s34.3,1.2 42.2,3c22.4,-3 37.3,-8.2 37.3,-14.2C330.5,389 294.9,381.4 251,381.4z" />
|
||||
<path
|
||||
android:fillColor="#2196F3"
|
||||
android:pathData="M315.3,376.7c0.5,-1.6 -0.5,-3.3 -2.1,-3.7l-8.4,-2c-1.4,-0.2 -2.7,0.7 -3.2,2c-0.6,1.6 0.2,3.3 1.8,3.8l8.4,2c0.2,0.1 0.5,0.1 0.7,0.1C313.8,378.8 314.9,377.9 315.3,376.7z" />
|
||||
<path
|
||||
android:fillColor="#FFEB3B"
|
||||
android:pathData="M108.6,394.4l8.6,0.4h0.1v0c1.7,0 3,-1.3 3.1,-2.9c0,-1.7 -1.3,-3 -2.9,-3.1l-8.6,-0.4c-1.4,0.1 -2.5,1.1 -2.7,2.5C105.9,392.6 107,394.1 108.6,394.4z" />
|
||||
<path
|
||||
android:fillColor="#F44336"
|
||||
android:pathData="M378.2,414.6c-0.9,-1 -2.4,-1.3 -3.6,-0.6c-1.5,0.8 -2,2.6 -1.3,4.1l4.9,7c0.6,0.8 1.5,1.3 2.4,1.3c0.6,0 1.2,-0.2 1.7,-0.5c1.3,-1 1.7,-2.8 0.7,-4.2L378.2,414.6z" />
|
||||
<path
|
||||
android:fillColor="#4CAF50"
|
||||
android:pathData="M174.4,444.5l-7.4,-4.3c-1.3,-0.6 -2.8,-0.2 -3.7,1c-1,1.3 -0.7,3.2 0.7,4.2l7.4,4.3c0.4,0.3 1,0.4 1.5,0.4h0c1,0 1.9,-0.6 2.5,-1.4C176.3,447.2 175.8,445.4 174.4,444.5z" />
|
||||
<path
|
||||
android:fillColor="#2196F3"
|
||||
android:pathData="M221.7,434.8l-6.6,5.5c-0.9,1 -1.1,2.5 -0.3,3.7c0.9,1.4 2.7,1.8 4.1,0.9l6.6,-5.5c0.2,-0.1 0.3,-0.3 0.5,-0.5c0.8,-1.1 0.8,-2.6 -0.1,-3.7C224.9,433.9 223,433.8 221.7,434.8z" />
|
||||
<path
|
||||
android:fillColor="#FFEB3B"
|
||||
android:pathData="M306.2,428.5l-4.8,7.1l-0.1,0.1h0c-0.6,1.2 -0.2,2.7 0.8,3.5c1.3,1.1 3.2,0.9 4.2,-0.3l4.8,-7.1c0.6,-1.2 0.3,-2.7 -0.7,-3.6C309.2,427.2 307.3,427.3 306.2,428.5z" />
|
||||
<path
|
||||
android:fillColor="#F44336"
|
||||
android:pathData="M158.9,398.6c-1.4,-0.9 -3.3,-0.5 -4.1,0.9l-5.5,6.6c-0.6,0.8 -0.8,1.8 -0.6,2.7c0.2,0.6 0.5,1.1 1,1.5c1.3,1 3.1,0.9 4.2,-0.4l5.5,-6.6c0.2,-0.2 0.3,-0.4 0.5,-0.6C160.7,401.3 160.3,399.5 158.9,398.6z" />
|
||||
<path
|
||||
android:fillColor="#4CAF50"
|
||||
android:pathData="M378.7,383c-0.8,-1.5 -2.6,-2.1 -4,-1.3l-7.1,4.9c-0.4,0.3 -0.8,0.7 -1,1.2h0c-0.4,0.9 -0.3,2 0.2,2.9c0.9,1.4 2.8,1.8 4.2,0.9l7.1,-4.9C379.1,385.7 379.4,384.2 378.7,383z" />
|
||||
<path
|
||||
android:fillColor="#4CAF50"
|
||||
android:pathData="M199,377.5c0.5,0 1,-0.2 1.5,-0.5h0c0.8,-0.6 1.3,-1.6 1.2,-2.6c-0.1,-1.7 -1.5,-2.9 -3.2,-2.8l-8.6,0.8c-1.3,0.3 -2.3,1.5 -2.4,2.8c-0.1,1.7 1.2,3 2.9,3.1L199,377.5z" />
|
||||
<path
|
||||
android:fillColor="#2196F3"
|
||||
android:pathData="M107.2,421.3l-6.6,5.5c-0.2,0.1 -0.4,0.3 -0.6,0.5c-1.1,1.2 -1.1,3.1 0.2,4.2c1.2,1.1 3.1,1.1 4.2,-0.2l6.6,-5.5c0.2,-0.1 0.3,-0.3 0.5,-0.5c0.7,-1.1 0.7,-2.4 -0.1,-3.5C110.4,420.6 108.6,420.3 107.2,421.3z" />
|
||||
<path
|
||||
android:fillColor="#FFEB3B"
|
||||
android:pathData="M257.8,373.5l7.9,-3.3c1.2,-0.7 1.8,-2.1 1.4,-3.4c-0.5,-1.6 -2.1,-2.5 -3.7,-2.1l-7.9,3.3l-0.1,0.1c-1.2,0.7 -1.7,2.1 -1.3,3.4C254.6,373.1 256.2,374 257.8,373.5z" />
|
||||
<path
|
||||
android:fillColor="#F44336"
|
||||
android:pathData="M266.2,446.2c-0.2,-0.2 -0.4,-0.4 -0.6,-0.5c-1.4,-0.9 -3.3,-0.5 -4.1,0.9s-0.5,3.3 0.9,4.1l6.6,5.5c0.8,0.6 1.8,0.8 2.7,0.6c0.6,-0.2 1.1,-0.5 1.4,-0.9c1.1,-1.3 0.9,-3.2 -0.3,-4.2L266.2,446.2z" />
|
||||
<path
|
||||
android:fillColor="#F50057"
|
||||
android:pathData="M208.8,412.5c12.2,1.6 26.7,2.6 42.2,2.6s30,-0.9 42.2,-2.6c-7.9,-1.8 -23.8,-3 -42.2,-3S216.7,410.7 208.8,412.5z" />
|
||||
</vector>
|
||||
37
DessertClickerLogs/app/src/main/res/drawable/eclair.xml
Normal file
@ -0,0 +1,37 @@
|
||||
<!--
|
||||
~ Copyright 2019, The Android Open Source Project
|
||||
~
|
||||
~ Licensed under the Apache License, Version 2.0 (the "License");
|
||||
~ you may not use this file except in compliance with the License.
|
||||
~ You may obtain a copy of the License at
|
||||
~
|
||||
~ http://www.apache.org/licenses/LICENSE-2.0
|
||||
~
|
||||
~ Unless required by applicable law or agreed to in writing, software
|
||||
~ distributed under the License is distributed on an "AS IS" BASIS,
|
||||
~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
~ See the License for the specific language governing permissions and
|
||||
~ limitations under the License.
|
||||
-->
|
||||
|
||||
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:width="500dp"
|
||||
android:height="700dp"
|
||||
android:viewportWidth="500"
|
||||
android:viewportHeight="700">
|
||||
<path
|
||||
android:fillColor="#C2CACC"
|
||||
android:pathData="M249.6,451.8c-113.9,0 -206.2,26.1 -206.2,58.4c0,32.3 92.3,58.4 206.2,58.4c113.9,0 206.2,-26.1 206.2,-58.4C455.8,478 363.5,451.8 249.6,451.8" />
|
||||
<path
|
||||
android:fillColor="#FFD698"
|
||||
android:pathData="M449.2,444.9c0,-0.1 0.2,-0.4 0.1,-0.5c-4.1,-12.7 -6.2,-22.4 -22.1,-26.8c-66.2,-18.2 -130.7,-39.9 -198.1,-52.8c-27.2,-5.2 -41,-3.1 -66.5,2.7c-19.6,4.4 -46.7,12 -66.5,17.7c-22.7,6.5 -34.1,23.2 -39.2,44.6c-1.5,6.5 -2.6,13.1 -3.2,19.8c-0.9,18.1 1.6,36 22.7,42.5c61.4,19.2 127.8,39.2 188.2,58.2c28.8,9.1 46.7,8.1 73.4,3.1c26.8,-5 50.5,-16.6 73.5,-32.3C435,505 451,475.8 449.2,444.9z" />
|
||||
<path
|
||||
android:fillColor="#8D6E63"
|
||||
android:pathData="M80.4,427c5.3,9.8 15.2,11.7 25,13.4c26.7,4.5 52,11.8 75.7,26.5c6.4,4 11.1,8.3 18.3,11.9c39.4,19.8 82.4,5.3 123.6,11.9c15.7,2.5 31.3,7.3 46.3,0.6c7.6,-3.4 14.1,-10.1 21.7,-13.8c4.5,-2.2 9.2,-3 13.8,-5.4c14.9,-7.8 26.3,-21.3 41,-29.3c2.7,-1.5 4.6,-4.5 3.4,-7.2c-4.3,-9.7 -11.4,-16.3 -20.6,-21.4c-16.6,-9.3 -32.9,-15.1 -50.8,-21c-48.4,-16 -97.3,-26 -146.9,-35.3c-9.7,-1.8 -19.5,-3.8 -29.9,-3.6c-12.8,0.2 -25.5,2.8 -38.2,6.1c-22.7,6 -44.9,13.3 -66.7,22c-8.4,3.4 -17.1,7.1 -24.6,13c-7.8,6.3 -13.7,14.9 -15.4,25.3c-0.2,0.8 -0.1,1.7 0.2,2.5c2.1,3.8 6,2.1 9.4,1.5c5.9,-1.3 12.2,-0.1 17.1,3.5" />
|
||||
<path
|
||||
android:fillColor="#FF80AB"
|
||||
android:pathData="M164.5,358.4c-10.8,6.2 -24.8,13.9 -36.4,23.9c-5.8,5 -10.9,10.6 -14.6,16.9c-3.7,6.3 -6,13.4 -6,21.3l0,0.1c0,1.1 0.7,2 1.7,2.4l0.2,0.1c0.7,0.2 1.4,0.2 2,-0.2c49.1,-26.6 102.8,-44.9 160.6,-48.7l-0.2,-2.5L271,374l0.2,0.1l0.8,-2.4l-1.1,-2.3c-6.6,3.1 -15.3,7.1 -24.7,11.9c-14.1,7.3 -29.6,16.4 -41.8,27.2c-6.1,5.4 -11.4,11.2 -15.1,17.5c-3.8,6.3 -6.1,13 -6.1,20.2c0,1.1 0.7,2.1 1.8,2.4l0.2,0.1c0.6,0.2 1.3,0.1 1.9,-0.2c47.1,-25.1 99.9,-45.1 155.7,-45.1c1.3,0 2.5,0 3.8,0l0,-2.5l-1,2.3l0.2,0.1l1,-2.3l-0.9,-2.3c-13.6,5.4 -35,14.5 -53.2,26.8c-9.1,6.2 -17.4,13.1 -23.6,20.9c-3.1,3.9 -5.6,8 -7.4,12.3c-1.8,4.3 -2.8,8.9 -2.9,13.6c0,1.1 0.6,2 1.6,2.4l0.2,0.1c0.7,0.2 1.4,0.2 2,-0.1c24.5,-12.7 47.1,-21.9 70.4,-27.9c23.3,-6 47.5,-8.9 75.3,-8.9c3.3,0 6.7,0 10.1,0.1c1.4,0 2.5,-1.1 2.6,-2.4c0,-1.4 -1.1,-2.5 -2.4,-2.6c-3.4,-0.1 -6.8,-0.1 -10.2,-0.1c-28.2,0 -52.8,2.9 -76.6,9c-23.8,6.1 -46.7,15.5 -71.4,28.3l1.2,2.2l0.9,-2.3l-0.2,-0.1l-0.9,2.3l2.5,0c0.1,-4 0.9,-8 2.5,-11.8c2.8,-6.7 7.7,-13.1 14,-19c9.4,-8.9 21.9,-16.8 34.2,-23.2c12.3,-6.5 24.4,-11.5 33.3,-15c0.9,-0.4 1.6,-1.3 1.6,-2.3c0,-1 -0.6,-1.9 -1.5,-2.3l-0.2,-0.1c-0.3,-0.1 -0.6,-0.2 -1,-0.2c-1.3,0 -2.6,0 -3.9,0c-57,0 -110.6,20.4 -158.1,45.7l1.2,2.2l0.7,-2.4l-0.2,-0.1l-0.7,2.4l2.5,0c0,-4 0.9,-8 2.5,-11.9c2.8,-6.8 7.8,-13.3 14.3,-19.5c9.6,-9.2 22.4,-17.5 34.8,-24.4c12.5,-6.9 24.6,-12.5 33.3,-16.5c0.9,-0.4 1.5,-1.4 1.4,-2.4c-0.1,-1 -0.7,-1.9 -1.7,-2.2l-0.2,-0.1c-0.3,-0.1 -0.7,-0.2 -1,-0.1C213,373 158.6,391.6 109,418.4l1.2,2.2l0.8,-2.4l-0.2,-0.1l-0.8,2.4l2.5,0l0,0c0,-6.8 2,-13 5.3,-18.7c5,-8.6 13.2,-16 22.2,-22.5c9,-6.5 18.8,-11.9 26.9,-16.6c1.2,-0.7 1.6,-2.2 0.9,-3.4C167.2,358.1 165.6,357.7 164.5,358.4L164.5,358.4z" />
|
||||
<path
|
||||
android:fillColor="#FFF9C4"
|
||||
android:pathData="M422,500.5L402.9,515c-5.5,4.2 -13.3,3.2 -17.5,-2.3c0,0 0,0 0,0l0,0c-3.8,-5.4 -7.2,-18.4 5.3,-27.9c5.7,7.3 11.6,0 15.3,-3.3c1,-1 2.2,-1.7 3.5,-2.3c5.2,-2.2 11.3,-0.6 14.8,3.9l0,0C428.5,488.5 427.5,496.3 422,500.5C422,500.5 422,500.5 422,500.5z" />
|
||||
</vector>
|
||||
58
DessertClickerLogs/app/src/main/res/drawable/froyo.xml
Normal file
@ -0,0 +1,58 @@
|
||||
<!--
|
||||
~ Copyright 2019, The Android Open Source Project
|
||||
~
|
||||
~ Licensed under the Apache License, Version 2.0 (the "License");
|
||||
~ you may not use this file except in compliance with the License.
|
||||
~ You may obtain a copy of the License at
|
||||
~
|
||||
~ http://www.apache.org/licenses/LICENSE-2.0
|
||||
~
|
||||
~ Unless required by applicable law or agreed to in writing, software
|
||||
~ distributed under the License is distributed on an "AS IS" BASIS,
|
||||
~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
~ See the License for the specific language governing permissions and
|
||||
~ limitations under the License.
|
||||
-->
|
||||
|
||||
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:width="500dp"
|
||||
android:height="700dp"
|
||||
android:viewportWidth="500"
|
||||
android:viewportHeight="700">
|
||||
<path
|
||||
android:fillColor="#C2CACC"
|
||||
android:pathData="M250.5,471.2c-80.4,0 -145.6,21.8 -145.6,48.7c0,26.9 65.2,48.7 145.6,48.7c80.4,0 145.6,-21.8 145.6,-48.7C396.2,493 331,471.2 250.5,471.2" />
|
||||
<path
|
||||
android:fillColor="#CFD8DC"
|
||||
android:pathData="M379.2,488.2c0,72.6 -260,72.6 -260,0l-15.4,-172.3h290.7L379.2,488.2z" />
|
||||
<path
|
||||
android:fillColor="#B0BEC5"
|
||||
android:pathData="M106,316.3a144.3,40.7 0,1 0,288.6 0a144.3,40.7 0,1 0,-288.6 0z" />
|
||||
<path
|
||||
android:fillColor="#F5F5F5"
|
||||
android:pathData="M108.4,315.9c0,-0.9 0.2,-1.7 0.5,-2.7c0.6,-1.7 1.9,-3.7 4.1,-5.8c1.9,-1.8 4.4,-3.7 7.6,-5.5c5.5,-3.2 12.7,-6.3 21.4,-9c13,-4.1 29.1,-7.5 47.3,-9.9c18.2,-2.4 38.5,-3.7 60,-3.7c19.9,0 38.8,1.1 56,3.2c12.9,1.5 24.8,3.6 35.4,6.1c7.9,1.8 15.1,3.9 21.4,6.2c9.4,3.4 16.8,7.2 21.5,11c2.4,1.9 4,3.7 5.1,5.4c1,1.7 1.4,3.2 1.4,4.6c0,2.5 2,4.6 4.6,4.6c2.5,0 4.6,-2 4.6,-4.6c0,-2 -0.4,-3.9 -1,-5.7c-1.2,-3.5 -3.5,-6.5 -6.4,-9.3c-2.6,-2.4 -5.7,-4.7 -9.3,-6.8c-6.3,-3.7 -14.1,-6.9 -23.2,-9.8c-13.7,-4.3 -30.3,-7.8 -48.9,-10.2c-18.6,-2.4 -39.3,-3.8 -61.1,-3.8c-20.2,0 -39.5,1.2 -57.1,3.3c-13.2,1.6 -25.4,3.7 -36.4,6.2c-8.2,1.9 -15.7,4.1 -22.4,6.5c-10,3.6 -18.2,7.7 -24.1,12.4c-3,2.4 -5.4,4.9 -7.1,7.8c-1.7,2.8 -2.8,6.1 -2.8,9.4c0,2.5 2,4.6 4.6,4.6C106.4,320.5 108.4,318.5 108.4,315.9L108.4,315.9z" />
|
||||
<path
|
||||
android:fillColor="#FBCD44"
|
||||
android:pathData="M288.8,261.4L211,255c-22.5,-1.7 -39.3,-21.3 -37.6,-43.8c2.6,-21.4 13,-64.6 64.2,-60.6c-2.1,30.2 37.8,29.5 53.9,29.4c22.2,-0.6 40.6,17 41.1,39.1c0,1.5 0,3 -0.1,4.5C330.9,246.2 311.3,263.1 288.8,261.4z" />
|
||||
<path
|
||||
android:fillColor="#FFF8E1"
|
||||
android:pathData="M226.8,158.9c-0.1,2.8 0.2,5.7 0.9,8.4c0.7,2.7 2,5.3 3.8,7.5c3.5,4.4 8.7,7.1 14,8.8c5.4,1.7 11,2.7 16.7,3c5.7,0.4 11.4,0.5 17.1,0.2c5.9,-0.4 11.9,0.5 17.5,2.5c1.4,0.5 2.8,1.1 4.1,1.8c0.7,0.3 1.3,0.7 2,1.1c0.7,0.4 1.3,0.8 1.9,1.2c2.5,1.7 4.8,3.6 6.8,5.8c4.1,4.4 7.2,9.6 9,15.3c1.7,5.6 2.2,11.5 1.3,17.4l-0.2,0.1l0,0l-0.1,-0.2v0c-0.1,-5.7 -1.2,-11.3 -3.2,-16.5c-1.1,-2.6 -2.4,-5 -3.9,-7.3c-0.7,-1.2 -1.6,-2.2 -2.4,-3.3c-0.4,-0.5 -0.9,-1 -1.4,-1.5c-0.4,-0.5 -0.9,-1 -1.4,-1.5c-1,-1 -2,-1.9 -3,-2.8c-1.1,-0.9 -2.1,-1.7 -3.3,-2.5c-0.5,-0.4 -1.2,-0.7 -1.7,-1.1c-0.6,-0.4 -1.2,-0.7 -1.8,-1c-1.2,-0.7 -2.5,-1.2 -3.7,-1.8c-5.1,-2.2 -10.7,-3.2 -16.2,-2.9c-5.8,0 -11.6,-0.2 -17.3,-0.8c-5.8,-0.5 -11.5,-1.7 -17,-3.6c-2.8,-1 -5.4,-2.3 -7.9,-3.9c-2.5,-1.6 -4.7,-3.6 -6.4,-6c-1.7,-2.4 -3,-5.1 -3.6,-7.9c-0.6,-2.8 -0.8,-5.8 -0.5,-8.6c0,-0.1 0.1,-0.2 0.2,-0.2l0,0L226.8,158.9z" />
|
||||
<path
|
||||
android:fillColor="#FBCD44"
|
||||
android:pathData="M151,208.5l181.8,13.8c20.7,1.6 36.2,19.6 34.6,40.3l-0.5,6.4c-1.6,20.7 -19.6,36.2 -40.3,34.6l-181.8,-13.8c-20.7,-1.6 -36.2,-19.6 -34.6,-40.3l0.5,-6.4C112.2,222.4 130.3,206.9 151,208.5z" />
|
||||
<path
|
||||
android:fillColor="#FBCD44"
|
||||
android:pathData="M265.6,358.3l-117.7,-9c-19.7,-1.5 -34.5,-18.7 -33,-38.4l0,0l0.8,-9.9c1.5,-19.7 18.7,-34.5 38.4,-33l198.6,15.1c19.7,1.5 34.5,18.7 33,38.4l0,0l-0.8,9.9C383.4,351.2 265.6,358.3 265.6,358.3z" />
|
||||
<path
|
||||
android:fillColor="#FFF8E1"
|
||||
android:pathData="M254.6,282.5l36.9,2.1l36.9,2.3l9.2,0.5c1.5,0.1 3.1,0.2 4.7,0.4c1.6,0.2 3.2,0.5 4.7,0.9c0.8,0.2 1.6,0.4 2.3,0.7l2.3,0.8c0.7,0.3 1.5,0.6 2.2,1c0.7,0.3 1.5,0.7 2.2,1l2.1,1.2c0.7,0.4 1.4,0.9 2,1.3l1.9,1.5c0.6,0.5 1.2,1.1 1.8,1.6c4.7,4.4 8.3,9.9 10.2,16c2,6 2.5,12.3 1.6,18.6c0,0.1 -0.1,0.2 -0.2,0.1l-0.2,-0.2c0,-6.1 -1.2,-12.1 -3.5,-17.7c-0.6,-1.4 -1.2,-2.7 -1.9,-4c-0.3,-0.7 -0.7,-1.3 -1.1,-1.9l-1.2,-1.9c-1.7,-2.4 -3.8,-4.6 -6,-6.5c-0.5,-0.5 -1.1,-1 -1.7,-1.4l-1.8,-1.3c-1.2,-0.8 -2.4,-1.6 -3.7,-2.3c-0.6,-0.4 -1.3,-0.6 -2,-1c-0.7,-0.4 -1.3,-0.6 -2,-0.9l-2.1,-0.7c-0.7,-0.3 -1.4,-0.5 -2.1,-0.7c-1.4,-0.4 -2.9,-0.7 -4.3,-0.9c-1.5,-0.2 -2.9,-0.5 -4.5,-0.6l-9.2,-0.9l-36.8,-3.3l-36.8,-3.5c-0.1,0 -0.2,-0.1 -0.2,-0.2l0,0c0,-0.1 0,-0.2 0.1,-0.2L254.6,282.5z" />
|
||||
<path
|
||||
android:fillColor="#FFF8E1"
|
||||
android:pathData="M216.8,223l41.5,2.5l41.5,2.6l20.8,1.3c7.3,0.5 14.3,3 20.2,7.3c0.7,0.6 1.4,1.1 2.2,1.6l2,1.9c0.3,0.3 0.7,0.6 1,0.9l0.9,1c0.6,0.7 1.2,1.3 1.8,2c1.1,1.4 2.1,2.9 3,4.5c0.4,0.8 0.9,1.5 1.3,2.4l1.1,2.5c2.6,6.6 3.5,13.8 2.5,20.8c0,0.1 -0.1,0.2 -0.2,0.2l0,0l-0.1,-0.2c0,-3.4 -0.4,-6.9 -1.2,-10.2c-0.3,-1.7 -0.8,-3.3 -1.3,-4.9c-0.3,-0.8 -0.6,-1.6 -0.9,-2.4c-0.3,-0.8 -0.6,-1.6 -1,-2.3l-1.2,-2.2c-0.4,-0.8 -0.9,-1.4 -1.3,-2.1c-0.9,-1.4 -1.9,-2.7 -3,-4c-0.5,-0.6 -1.1,-1.2 -1.7,-1.8l-0.8,-0.9c-0.3,-0.3 -0.6,-0.6 -0.9,-0.8l-1.9,-1.6l-2,-1.4l-1,-0.7l-1.1,-0.6l-2.1,-1.2l-2.3,-1l-1.1,-0.5L330,235c-0.8,-0.2 -1.6,-0.5 -2.3,-0.8l-2.4,-0.6l-1.2,-0.3c-0.4,-0.1 -0.8,-0.1 -1.2,-0.2l-2.5,-0.3c-6.9,-0.7 -13.8,-1.3 -20.7,-1.9l-41.4,-3.7l-41.4,-3.8c-0.1,0 -0.2,-0.1 -0.2,-0.2v0C216.6,223.1 216.7,223 216.8,223z" />
|
||||
<path
|
||||
android:fillColor="#FF7FAB"
|
||||
android:pathData="M384.3,431.4c0,54.7 -270.1,54.7 -270.1,0l-6,-66.8c0,55.5 282.1,55.5 282.1,0L384.3,431.4z" />
|
||||
<path
|
||||
android:fillColor="#F5F5F5"
|
||||
android:pathData="M390,315.9c0,0.9 -0.2,1.7 -0.5,2.7c-0.6,1.7 -1.9,3.7 -4.1,5.8c-1.9,1.8 -4.4,3.7 -7.6,5.5c-5.5,3.2 -12.7,6.3 -21.4,9c-13,4.1 -29.1,7.5 -47.3,9.9c-18.2,2.4 -38.5,3.7 -60,3.7c-19.9,0 -38.8,-1.1 -56,-3.2c-12.9,-1.5 -24.8,-3.6 -35.4,-6.1c-7.9,-1.8 -15.1,-3.9 -21.4,-6.2c-9.4,-3.4 -16.8,-7.2 -21.5,-11c-2.4,-1.9 -4,-3.7 -5.1,-5.4c-1,-1.7 -1.4,-3.2 -1.4,-4.6c0,-2.5 -2,-4.6 -4.6,-4.6c-2.5,0 -4.6,2 -4.6,4.6c0,2 0.4,3.9 1,5.7c1.2,3.5 3.5,6.5 6.4,9.3c2.6,2.4 5.7,4.7 9.3,6.8c6.3,3.7 14.1,6.9 23.2,9.8c13.7,4.3 30.3,7.8 48.9,10.2c18.6,2.4 39.3,3.8 61.1,3.8c20.2,0 39.5,-1.2 57.1,-3.3c13.2,-1.6 25.4,-3.7 36.4,-6.2c8.2,-1.9 15.7,-4.1 22.4,-6.5c10,-3.6 18.2,-7.7 24.1,-12.4c3,-2.4 5.4,-4.9 7.1,-7.8c1.7,-2.8 2.8,-6.1 2.8,-9.4c0,-2.5 -2,-4.6 -4.6,-4.6C392.1,311.4 390,313.4 390,315.9L390,315.9z" />
|
||||
</vector>
|
||||
73
DessertClickerLogs/app/src/main/res/drawable/gingerbread.xml
Normal file
@ -0,0 +1,73 @@
|
||||
<!--
|
||||
~ Copyright 2019, The Android Open Source Project
|
||||
~
|
||||
~ Licensed under the Apache License, Version 2.0 (the "License");
|
||||
~ you may not use this file except in compliance with the License.
|
||||
~ You may obtain a copy of the License at
|
||||
~
|
||||
~ http://www.apache.org/licenses/LICENSE-2.0
|
||||
~
|
||||
~ Unless required by applicable law or agreed to in writing, software
|
||||
~ distributed under the License is distributed on an "AS IS" BASIS,
|
||||
~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
~ See the License for the specific language governing permissions and
|
||||
~ limitations under the License.
|
||||
-->
|
||||
|
||||
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:width="500dp"
|
||||
android:height="700dp"
|
||||
android:viewportWidth="500"
|
||||
android:viewportHeight="700">
|
||||
<path
|
||||
android:fillColor="#C2CACC"
|
||||
android:pathData="M250,471.2c-80.4,0 -145.6,21.8 -145.6,48.7c0,26.9 65.2,48.7 145.6,48.7c80.4,0 145.6,-21.8 145.6,-48.7C395.6,493 330.4,471.2 250,471.2" />
|
||||
<path
|
||||
android:fillColor="#4E342E"
|
||||
android:pathData="M322.2,291.2l-30,2.3l-0.3,-8.5l-8.1,-138.5l-26.4,-9.5c-22.4,-8.1 -44.7,-7.7 -60.2,1.5c-28.2,16.7 -46.9,50.2 -45.3,87.4c1.1,27.9 13.5,52.1 32.1,67.5l0.4,8.5l-30,2.3c-16.4,1.3 -29,17 -28.3,35l0.5,11.4c1.7,22 38.6,42.3 38.6,42.3l22.5,-14.2l1.2,28.8l-28,61.6c-8.8,19.1 -2.2,40.4 14.9,51.4c14.5,9.8 12.5,8.4 22.9,15.3l46.3,-81.9l26,45.2c11,20.3 27.3,27.6 46.3,31.9c16.2,-11.9 22.7,-57.3 12.3,-74.9l-32.9,-56.9l-1.2,-28.8l30,-2.3c16.4,-1.3 29,-16.9 28.3,-35l4.3,-24.3L322.2,291.2" />
|
||||
<path
|
||||
android:fillColor="#8D6E63"
|
||||
android:pathData="M348.2,383.2l-168,13c-16.4,1.3 -30.2,-12.3 -31,-30.4l-0.5,-11.3c-0.8,-18.1 11.9,-33.7 28.3,-35l168,-13c16.4,-1.3 30.2,12.3 31,30.4l0.5,11.4C377.2,366.3 364.6,382 348.2,383.2z" />
|
||||
<path
|
||||
android:fillColor="#8D6E63"
|
||||
android:pathData="M313.6,273.8l7.1,174.4l-107.9,8.4l-7.2,-174.4z" />
|
||||
<path
|
||||
android:fillColor="#8D6E63"
|
||||
android:pathData="M246.649,326.15a92.102,83.102 96.938,1 0,22.251 -182.855a92.102,83.102 96.938,1 0,-22.251 182.855z" />
|
||||
<path
|
||||
android:fillColor="#4E342E"
|
||||
android:pathData="M202,220.6c0.3,-2.7 2.6,-4.6 5,-4.3c2.4,0.3 4.1,2.7 3.8,5.4c-0.3,2.7 -2.6,4.6 -5,4.3C203.3,225.7 201.6,223.3 202,220.6z" />
|
||||
<path
|
||||
android:fillColor="#4E342E"
|
||||
android:pathData="M303.5,212.7c0.3,-2.7 2.6,-4.6 5,-4.3c2.4,0.3 4.1,2.7 3.8,5.4c-0.3,2.7 -2.6,4.6 -5,4.3C304.9,217.8 303.2,215.4 303.5,212.7z" />
|
||||
<path
|
||||
android:fillColor="#8D6E63"
|
||||
android:pathData="M274.4,453.9L245.2,518c-8.9,19.1 -29.9,27 -46.9,17.7c-17.1,-9.3 -23.7,-32.3 -14.9,-51.4l29.1,-64.1c8.8,-19.1 29.9,-27 46.9,-17.7C276.5,411.8 283.2,434.8 274.4,453.9z" />
|
||||
<path
|
||||
android:fillColor="#8D6E63"
|
||||
android:pathData="M259.4,455.1l34.2,59.2c10.4,17.6 31.9,22.2 48.1,10.4c16.2,-11.9 20.9,-35.8 10.6,-53.4L318,412c-10.4,-17.6 -31.9,-22.2 -48.1,-10.4C253.7,413.5 249,437.5 259.4,455.1z" />
|
||||
<path
|
||||
android:fillColor="#42A5F5"
|
||||
android:pathData="M255.2,412.1c0.7,-6.1 5.8,-10.6 11.4,-9.9c5.5,0.7 9.4,6.2 8.7,12.3c-0.7,6.1 -5.8,10.6 -11.4,9.9C258.3,423.8 254.4,418.3 255.2,412.1z" />
|
||||
<path
|
||||
android:fillColor="#4E342E"
|
||||
android:pathData="M297.1,239.1c7.4,-1.1 14,5.4 12.2,12c-3.9,14 -25,36.6 -44.4,39.4c-19.4,2.8 -31.6,-14.9 -41.5,-27c-4.7,-5.7 -1.4,-13.6 6,-14.6L297.1,239.1z" />
|
||||
<path
|
||||
android:fillColor="#FF7FAB"
|
||||
android:pathData="M237.3,279.8c3.4,-2.8 9.5,-4.2 16.4,-3.4c10.1,1.2 17.9,6.7 17.4,12.3v0.2c-2,0.7 -4.1,1.2 -6.3,1.6C253.5,292.2 244.7,286.9 237.3,279.8z" />
|
||||
<path
|
||||
android:fillColor="#FF9800"
|
||||
android:pathData="M249.4,509.1l-3.2,6.9l-62,-33.5l3.2,-6.8z" />
|
||||
<path
|
||||
android:fillColor="#FF9800"
|
||||
android:pathData="M288.8,506l3.7,6.4l58.8,-42.8l-3.7,-6.4z" />
|
||||
<path
|
||||
android:fillColor="#42A5F5"
|
||||
android:pathData="M189.2,395.6l-6.9,0.5l-3.2,-76.7l6.9,-0.6z" />
|
||||
<path
|
||||
android:fillColor="#42A5F5"
|
||||
android:pathData="M346.2,383.4l-6.9,0.5l-3.2,-76.7l6.9,-0.6z" />
|
||||
<path
|
||||
android:fillColor="#FF9800"
|
||||
android:pathData="M253.3,367c0.7,-6.1 5.8,-10.6 11.4,-9.9c5.5,0.7 9.4,6.2 8.7,12.3c-0.7,6.1 -5.8,10.6 -11.4,9.9C256.5,378.7 252.6,373.2 253.3,367z" />
|
||||
</vector>
|
||||
226
DessertClickerLogs/app/src/main/res/drawable/honeycomb.xml
Normal file
@ -0,0 +1,226 @@
|
||||
<!--
|
||||
~ Copyright 2019, The Android Open Source Project
|
||||
~
|
||||
~ Licensed under the Apache License, Version 2.0 (the "License");
|
||||
~ you may not use this file except in compliance with the License.
|
||||
~ You may obtain a copy of the License at
|
||||
~
|
||||
~ http://www.apache.org/licenses/LICENSE-2.0
|
||||
~
|
||||
~ Unless required by applicable law or agreed to in writing, software
|
||||
~ distributed under the License is distributed on an "AS IS" BASIS,
|
||||
~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
~ See the License for the specific language governing permissions and
|
||||
~ limitations under the License.
|
||||
-->
|
||||
|
||||
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:width="500dp"
|
||||
android:height="700dp"
|
||||
android:viewportWidth="500"
|
||||
android:viewportHeight="700">
|
||||
<path
|
||||
android:fillColor="#C2CACC"
|
||||
android:pathData="M250,385.8c-95.9,0 -173.7,42.4 -173.7,94.6c0,33 31,71 78.1,88c16.6,6 35.1,7.1 55,7.1c13,0 26.6,-0.5 40.6,-0.5c11.9,0 23.4,0.3 34.6,0.3c24.1,0 46.4,-1.2 65.8,-8.7c44.3,-17.1 73.2,-54.3 73.2,-86.2C423.7,428.1 345.9,385.8 250,385.8" />
|
||||
<path
|
||||
android:fillColor="#DB8303"
|
||||
android:pathData="M410.4,453.4l-0.2,-19.2l-29.8,8.4l0.7,69.6l23.5,-6.6c1.4,-0.4 2.6,-1.3 3.4,-2.4c0.9,-1.1 1.4,-2.5 1.4,-3.9L410.4,453.4z" />
|
||||
<path
|
||||
android:fillColor="#EA8B03"
|
||||
android:pathData="M379.2,424.2l-31.8,9l0.2,18.7l0.8,-0.2l0.9,88.7l0,0l26.3,-7.4c1.5,-0.4 2.8,-1.4 3.7,-2.6c0.9,-1.2 1.5,-2.6 1.5,-4.1l-0.3,-13.5l1,-0.2l-2,-69.9L379.2,424.2z" />
|
||||
<path
|
||||
android:fillColor="#E5B54A"
|
||||
android:pathData="M88.4,434.2l0.6,61.7c-0.1,1.7 1,3.1 2.6,3.7l28.9,9.2l-0.8,-83.3L88.4,434.2z" />
|
||||
<path
|
||||
android:fillColor="#EFBF48"
|
||||
android:pathData="M152.4,488.1l-0.4,-37.5l-31.6,8.9l0.5,49.3l0.3,15.7c-0.1,1.6 1,3.1 2.5,3.6l28.7,9.1v0.1V488.1L152.4,488.1z" />
|
||||
<path
|
||||
android:fillColor="#FBCD46"
|
||||
android:pathData="M188.4,496.8v-0.4l-0.2,-18.3l-35.8,10l0,0v49.3v0.4l0.3,15.4c-0.1,1.6 1,3.1 2.5,3.6l30.6,9.7c0.9,0.3 1.8,0.3 2.6,0v0.5l1,0L188.4,496.8z" />
|
||||
<path
|
||||
android:fillColor="#FFA100"
|
||||
android:pathData="M218.4,488l0,-0.1l-30,8.5l0.7,70.3l0,0l30.3,-8.6l0,-70.1z" />
|
||||
<path
|
||||
android:fillColor="#FBCD46"
|
||||
android:pathData="M251.4,514.4l-0.4,-35.3l-32.6,9.2l0,0l0.7,70.3l29.7,9.4c0.9,0.3 1.8,0.3 2.7,0v0l1,0L251.4,514.4z" />
|
||||
<path
|
||||
android:fillColor="#FFA100"
|
||||
android:pathData="M250.4,498.2l1,16.1l0.5,53.7l0.1,0l29.4,-8.3l-0.7,-70.1z" />
|
||||
<path
|
||||
android:fillColor="#FBCD46"
|
||||
android:pathData="M313.5,480.3l-33.1,9.3l0.7,69.9l29.7,9.4c0.9,0.3 1.8,0.3 2.7,0v0l1,0L313.5,480.3z" />
|
||||
<path
|
||||
android:fillColor="#FFA100"
|
||||
android:pathData="M348.5,451.7l-0.8,0.2l-35.3,9.9l1,18.8l0.9,88.4l0.1,0l30.4,-8.6c1.4,-0.4 2.7,-1.3 3.6,-2.5c0.9,-1.1 1.4,-2.6 1.4,-4l-0.3,-13.2l0,0L348.5,451.7z" />
|
||||
<path
|
||||
android:fillColor="#FF9800"
|
||||
android:pathData="M185.6,365.8l-30.9,8.7l0.4,18.7l31.3,9.9z" />
|
||||
<path
|
||||
android:fillColor="#FFAB00"
|
||||
android:pathData="M185.6,365.8l0.8,37.3l31,-8.7l-0.4,-18.7z" />
|
||||
<path
|
||||
android:fillColor="#FF9800"
|
||||
android:pathData="M186.2,422l-30.9,8.7l0.4,18.7l31.3,10z" />
|
||||
<path
|
||||
android:fillColor="#FFAB00"
|
||||
android:pathData="M186.2,422l0.8,37.4l30.9,-8.7l-0.4,-18.7z" />
|
||||
<path
|
||||
android:fillColor="#FF9800"
|
||||
android:pathData="M186.7,478.2l-30.9,8.8l0.4,18.7l31.3,9.9z" />
|
||||
<path
|
||||
android:fillColor="#FFAB00"
|
||||
android:pathData="M186.7,478.2l0.8,37.4l31,-8.7l-0.4,-18.7z" />
|
||||
<path
|
||||
android:fillColor="#FF9800"
|
||||
android:pathData="M248.2,366.9l-30.9,8.7l0.4,18.7l31.3,10z" />
|
||||
<path
|
||||
android:fillColor="#FFAB00"
|
||||
android:pathData="M248.2,366.9l0.8,37.4l31,-8.7l-0.4,-18.7z" />
|
||||
<path
|
||||
android:fillColor="#FF9800"
|
||||
android:pathData="M248.8,423.2l-31,8.7l0.4,18.7l31.4,9.9z" />
|
||||
<path
|
||||
android:fillColor="#FFAB00"
|
||||
android:pathData="M248.8,423.2l0.8,37.3l30.9,-8.7l-0.4,-18.7z" />
|
||||
<path
|
||||
android:fillColor="#FF9800"
|
||||
android:pathData="M249.3,479.4l-30.9,8.7l0.4,18.7l31.3,10z" />
|
||||
<path
|
||||
android:fillColor="#FFAB00"
|
||||
android:pathData="M249.3,479.4l0.8,37.4l31,-8.7l-0.4,-18.7z" />
|
||||
<path
|
||||
android:fillColor="#FF9800"
|
||||
android:pathData="M310.5,368.5l-30.9,8.7l0.4,18.7l31.4,9.9z" />
|
||||
<path
|
||||
android:fillColor="#FFAB00"
|
||||
android:pathData="M310.5,368.5l0.9,37.3l30.9,-8.7l-0.4,-18.7z" />
|
||||
<path
|
||||
android:fillColor="#FF9800"
|
||||
android:pathData="M311.1,424.7l-31,8.7l0.5,18.7l31.3,10z" />
|
||||
<path
|
||||
android:fillColor="#FFAB00"
|
||||
android:pathData="M311.1,424.7l0.8,37.4l30.9,-8.7l-0.4,-18.7z" />
|
||||
<path
|
||||
android:fillColor="#FF9800"
|
||||
android:pathData="M311.6,481l-30.9,8.7l0.4,18.7l31.3,9.9z" />
|
||||
<path
|
||||
android:fillColor="#FFAB00"
|
||||
android:pathData="M311.6,481l0.8,37.3l31,-8.7l-0.4,-18.7z" />
|
||||
<path
|
||||
android:fillColor="#FF9800"
|
||||
android:pathData="M154.7,393.6l-31,8.7l0.4,18.7l31.4,10z" />
|
||||
<path
|
||||
android:fillColor="#FFAB00"
|
||||
android:pathData="M154.7,393.6l0.8,37.4l30.9,-8.7l-0.4,-18.7z" />
|
||||
<path
|
||||
android:fillColor="#FF9800"
|
||||
android:pathData="M155.2,449.9l-30.9,8.7l0.4,18.7l31.3,9.9z" />
|
||||
<path
|
||||
android:fillColor="#FFAB00"
|
||||
android:pathData="M155.2,449.9l0.8,37.3l31,-8.7l-0.4,-18.7z" />
|
||||
<path
|
||||
android:fillColor="#FF9800"
|
||||
android:pathData="M217.2,394.5l-31,8.7l0.4,18.7l31.4,9.9z" />
|
||||
<path
|
||||
android:fillColor="#FFAB00"
|
||||
android:pathData="M217.2,394.5l0.8,37.3l30.9,-8.7l-0.4,-18.7z" />
|
||||
<path
|
||||
android:fillColor="#FF9800"
|
||||
android:pathData="M217.7,450.7l-30.9,8.7l0.4,18.7l31.3,10z" />
|
||||
<path
|
||||
android:fillColor="#FFAB00"
|
||||
android:pathData="M217.7,450.7l0.8,37.4l31,-8.7l-0.5,-18.7z" />
|
||||
<path
|
||||
android:fillColor="#FF9800"
|
||||
android:pathData="M279.6,396l-31,8.7l0.4,18.7l31.4,10z" />
|
||||
<path
|
||||
android:fillColor="#FFAB00"
|
||||
android:pathData="M279.6,396l0.8,37.4l30.9,-8.7l-0.4,-18.7z" />
|
||||
<path
|
||||
android:fillColor="#FF9800"
|
||||
android:pathData="M280.1,452.2l-30.9,8.8l0.4,18.7l31.3,9.9z" />
|
||||
<path
|
||||
android:fillColor="#FFAB00"
|
||||
android:pathData="M280.1,452.2l0.8,37.4l31,-8.7l-0.4,-18.7z" />
|
||||
<path
|
||||
android:fillColor="#FF9800"
|
||||
android:pathData="M342.1,397.2l-31,8.7l0.4,18.7l31.4,9.9z" />
|
||||
<path
|
||||
android:fillColor="#FFAB00"
|
||||
android:pathData="M342.1,397.2l0.8,37.3l30.9,-8.7l-0.4,-18.7z" />
|
||||
<path
|
||||
android:fillColor="#FF9800"
|
||||
android:pathData="M342.6,453.4l-30.9,8.7l0.4,18.7l31.3,10z" />
|
||||
<path
|
||||
android:fillColor="#FFAB00"
|
||||
android:pathData="M342.6,453.4l0.8,37.4l31,-8.7l-0.4,-18.7z" />
|
||||
<path
|
||||
android:fillColor="#FF9800"
|
||||
android:pathData="M373.8,425.5l-30.9,8.7l0.4,18.7l31.3,10z" />
|
||||
<path
|
||||
android:fillColor="#FFAB00"
|
||||
android:pathData="M373.8,425.5l0.8,37.4l30.9,-8.7l-0.4,-18.7z" />
|
||||
<path
|
||||
android:fillColor="#FF9800"
|
||||
android:pathData="M123.7,420.8l-30.9,8.7l0.4,18.7l31.3,10z" />
|
||||
<path
|
||||
android:fillColor="#FFAB00"
|
||||
android:pathData="M123.7,420.8l0.8,37.4l30.9,-8.7l-0.4,-18.7z" />
|
||||
<path
|
||||
android:fillColor="#FBC02D"
|
||||
android:pathData="M249.1,423.1l-1.2,-4.3l-30.9,8.7c-2,0.6 -3.3,2.4 -3.3,4.4l0.4,18.7c0,1.9 1.3,3.6 3.1,4.2l31.3,10c0.8,0.3 1.7,0.3 2.6,0l30.9,-8.7c2,-0.6 3.3,-2.4 3.3,-4.4l-0.4,-18.7c0,-1.9 -1.3,-3.6 -3.1,-4.2l-31.3,-10c-0.8,-0.3 -1.7,-0.3 -2.6,0L249.1,423.1l-1.4,4.3l28.3,9l0.3,12l-26.3,7.4l-27,-8.6l-0.3,-12l27.6,-7.8L249.1,423.1l-1.4,4.3L249.1,423.1z" />
|
||||
<path
|
||||
android:fillColor="#FBC02D"
|
||||
android:pathData="M217.4,394.4l-1.2,-4.3l-30.9,8.7c-2,0.6 -3.3,2.4 -3.3,4.4l0.4,18.7c0,1.9 1.3,3.6 3.1,4.2l31.3,10c0.8,0.3 1.7,0.3 2.6,0l30.9,-8.7c2,-0.6 3.3,-2.4 3.3,-4.4l-0.4,-18.7c0,-1.9 -1.3,-3.6 -3.1,-4.2l-31.3,-10c-0.8,-0.3 -1.7,-0.3 -2.6,0L217.4,394.4l-1.4,4.3l28.3,9l0.3,12l-26.3,7.4l-27,-8.6l-0.3,-12l27.6,-7.8L217.4,394.4l-1.4,4.3L217.4,394.4z" />
|
||||
<path
|
||||
android:fillColor="#FBC02D"
|
||||
android:pathData="M185.6,365.8l-1.2,-4.3l-30.9,8.7c-2,0.6 -3.3,2.4 -3.3,4.4l0.4,18.7c0,1.9 1.3,3.6 3.1,4.2l31.3,10c0.8,0.3 1.7,0.3 2.6,0l30.9,-8.7c2,-0.6 3.3,-2.4 3.3,-4.4l-0.4,-18.7c0,-1.9 -1.3,-3.6 -3.1,-4.2l-31.3,-10c-0.8,-0.3 -1.7,-0.3 -2.6,0L185.6,365.8l-1.4,4.3l28.3,9l0.3,12l-26.3,7.4l-27,-8.6l-0.3,-12l27.6,-7.8L185.6,365.8l-1.4,4.3L185.6,365.8z" />
|
||||
<path
|
||||
android:fillColor="#FBC02D"
|
||||
android:pathData="M312.6,480.4l-1.2,-4.3l-30.9,8.7c-2,0.6 -3.3,2.4 -3.3,4.4l0.4,18.7c0,1.9 1.3,3.6 3.1,4.2l31.3,10c0.8,0.3 1.7,0.3 2.6,0l30.9,-8.7c2,-0.6 3.3,-2.4 3.3,-4.4l-0.4,-18.7c0,-1.9 -1.3,-3.6 -3.1,-4.2l-31.3,-10c-0.8,-0.3 -1.7,-0.3 -2.6,0L312.6,480.4l-1.4,4.3l28.3,9l0.3,12l-26.3,7.4l-27,-8.6l-0.3,-12l27.6,-7.8L312.6,480.4l-1.4,4.3L312.6,480.4z" />
|
||||
<path
|
||||
android:fillColor="#FBC02D"
|
||||
android:pathData="M280.9,451.7l-1.2,-4.3l-30.9,8.7c-2,0.6 -3.3,2.4 -3.3,4.4l0.4,18.7c0,1.9 1.3,3.6 3.1,4.2l31.3,10c0.8,0.3 1.7,0.3 2.6,0l30.9,-8.7c2,-0.6 3.3,-2.4 3.3,-4.4l-0.4,-18.7c0,-1.9 -1.3,-3.6 -3.1,-4.2l-31.3,-10c-0.8,-0.3 -1.7,-0.3 -2.6,0L280.9,451.7l-1.4,4.3l28.3,9l0.3,12l-26.3,7.4l-27,-8.6l-0.3,-12l27.6,-7.8L280.9,451.7l-1.4,4.3L280.9,451.7z" />
|
||||
<path
|
||||
android:fillColor="#FBC02D"
|
||||
android:pathData="M219,450.4l-1.2,-4.3l-30.9,8.7c-2,0.6 -3.3,2.4 -3.3,4.4l0.4,18.7c0,1.9 1.3,3.6 3.1,4.2l31.3,10c0.8,0.3 1.7,0.3 2.6,0l30.9,-8.7c2,-0.6 3.3,-2.4 3.3,-4.4l-0.4,-18.7c0,-1.9 -1.3,-3.6 -3.1,-4.2l-31.3,-10c-0.8,-0.3 -1.7,-0.3 -2.6,0L219,450.4l-1.4,4.3l28.3,9l0.3,12l-26.3,7.4l-27,-8.6l-0.3,-12l27.6,-7.8L219,450.4l-1.4,4.3L219,450.4z" />
|
||||
<path
|
||||
android:fillColor="#FBC02D"
|
||||
android:pathData="M187.2,421.7l-1.2,-4.3l-30.9,8.7c-2,0.6 -3.3,2.4 -3.3,4.4l0.4,18.7c0,1.9 1.3,3.6 3.1,4.2l31.3,10c0.8,0.3 1.7,0.3 2.6,0l30.9,-8.7c2,-0.6 3.3,-2.4 3.3,-4.4l-0.4,-18.7c0,-1.9 -1.3,-3.6 -3.1,-4.2l-31.3,-10c-0.8,-0.3 -1.7,-0.3 -2.6,0L187.2,421.7l-1.4,4.3l28.3,9l0.3,12l-26.3,7.4l-27,-8.6l-0.3,-12l27.6,-7.8L187.2,421.7l-1.4,4.3L187.2,421.7z" />
|
||||
<path
|
||||
android:fillColor="#FBC02D"
|
||||
android:pathData="M155.5,393.1l-1.2,-4.3l-30.9,8.7c-2,0.6 -3.3,2.4 -3.3,4.4l0.4,18.7c0,1.9 1.3,3.6 3.1,4.2l31.3,10c0.8,0.3 1.7,0.3 2.6,0l30.9,-8.7c2,-0.6 3.3,-2.4 3.3,-4.4l-0.4,-18.7c0,-1.9 -1.3,-3.6 -3.1,-4.2l-31.3,-10c-0.8,-0.3 -1.7,-0.3 -2.6,0L155.5,393.1l-1.4,4.3l28.3,9l0.3,12l-26.3,7.4l-27,-8.6l-0.3,-12l27.6,-7.8L155.5,393.1l-1.4,4.3L155.5,393.1z" />
|
||||
<path
|
||||
android:fillColor="#FBC02D"
|
||||
android:pathData="M250.7,479l-1.2,-4.3l-30.9,8.7c-2,0.6 -3.3,2.4 -3.3,4.4l0.4,18.7c0,1.9 1.3,3.6 3.1,4.2l31.3,10c0.8,0.3 1.7,0.3 2.6,0l30.9,-8.7c2,-0.6 3.3,-2.4 3.3,-4.4l-0.4,-18.7c0,-1.9 -1.3,-3.6 -3.1,-4.2l-31.3,-10c-0.8,-0.3 -1.7,-0.3 -2.6,0L250.7,479l-1.4,4.3l28.3,9l0.3,12l-26.3,7.4l-27,-8.6l-0.3,-12l27.6,-7.8L250.7,479l-1.4,4.3L250.7,479z" />
|
||||
<path
|
||||
android:fillColor="#FBC02D"
|
||||
android:pathData="M156.4,449.2l-1.2,-4.3l-30.9,8.7c-2,0.6 -3.3,2.4 -3.3,4.4l0.4,18.7c0,1.9 1.3,3.6 3.1,4.2l31.3,10c0.8,0.3 1.7,0.3 2.6,0l30.9,-8.7c2,-0.6 3.3,-2.4 3.3,-4.4l-0.4,-18.7c0,-1.9 -1.3,-3.6 -3.1,-4.2l-31.3,-10c-0.8,-0.3 -1.7,-0.3 -2.6,0L156.4,449.2l-1.4,4.3l28.3,9l0.3,12l-26.3,7.4l-27,-8.6l-0.3,-12l27.6,-7.8L156.4,449.2l-1.4,4.3L156.4,449.2z" />
|
||||
<path
|
||||
android:fillColor="#FBC02D"
|
||||
android:pathData="M124.6,420.6l-1.2,-4.3L92.5,425c-2,0.6 -3.3,2.4 -3.3,4.4l0.4,18.7c0,1.9 1.3,3.6 3.1,4.2l31.3,10c0.8,0.3 1.7,0.3 2.6,0l30.9,-8.7c2,-0.6 3.3,-2.4 3.3,-4.4l-0.4,-18.7c0,-1.9 -1.3,-3.6 -3.1,-4.2l-31.3,-10c-0.8,-0.3 -1.7,-0.3 -2.6,0L124.6,420.6l-1.4,4.3l28.3,9l0.3,12l-26.3,7.4l-27,-8.6l-0.3,-12l27.6,-7.8L124.6,420.6l-1.4,4.3L124.6,420.6z" />
|
||||
<path
|
||||
android:fillColor="#FBC02D"
|
||||
android:pathData="M188.1,477.9l-1.2,-4.3l-30.9,8.7c-2,0.6 -3.3,2.4 -3.3,4.4l0.4,18.7c0,1.9 1.3,3.6 3.1,4.2l31.3,10c0.8,0.3 1.7,0.3 2.6,0l30.9,-8.7c2,-0.6 3.3,-2.4 3.3,-4.4l-0.4,-18.7c0,-1.9 -1.3,-3.6 -3.1,-4.2l-31.3,-10c-0.8,-0.3 -1.7,-0.3 -2.6,0L188.1,477.9l-1.4,4.3l28.3,9l0.3,12l-26.3,7.4l-27,-8.6l-0.3,-12l27.6,-7.8L188.1,477.9l-1.4,4.3L188.1,477.9z" />
|
||||
<path
|
||||
android:fillColor="#FBC02D"
|
||||
android:pathData="M311.7,424.2l-1.2,-4.3l-30.9,8.7c-2,0.6 -3.3,2.4 -3.3,4.4l0.4,18.7c0,1.9 1.3,3.6 3.1,4.2l31.3,10c0.8,0.3 1.7,0.3 2.6,0l30.9,-8.7c2,-0.6 3.3,-2.4 3.3,-4.4l-0.4,-18.7c0,-1.9 -1.3,-3.6 -3.1,-4.2l-31.3,-10c-0.8,-0.3 -1.7,-0.3 -2.6,0L311.7,424.2l-1.4,4.3l28.3,9l0.3,12l-26.3,7.4l-27,-8.6l-0.3,-12l27.6,-7.8L311.7,424.2l-1.4,4.3L311.7,424.2z" />
|
||||
<path
|
||||
android:fillColor="#FBC02D"
|
||||
android:pathData="M280,395.6l-1.2,-4.3l-30.9,8.7c-2,0.6 -3.3,2.4 -3.3,4.4l0.4,18.7c0,1.9 1.3,3.6 3.1,4.2l31.3,10c0.8,0.3 1.7,0.3 2.6,0l30.9,-8.7c2,-0.6 3.3,-2.4 3.3,-4.4l-0.4,-18.7c0,-1.9 -1.3,-3.6 -3.1,-4.2l-31.3,-10c-0.8,-0.3 -1.7,-0.3 -2.6,0L280,395.6l-1.4,4.3l28.3,9l0.3,12l-26.3,7.4l-27,-8.6l-0.3,-12l27.6,-7.8L280,395.6l-1.4,4.3L280,395.6z" />
|
||||
<path
|
||||
android:fillColor="#FBC02D"
|
||||
android:pathData="M248.2,366.9l-1.2,-4.3l-30.9,8.7c-2,0.6 -3.3,2.4 -3.3,4.4l0.4,18.7c0,1.9 1.3,3.6 3.1,4.2l31.3,10c0.8,0.3 1.7,0.3 2.6,0l30.9,-8.7c2,-0.6 3.3,-2.4 3.3,-4.4l-0.4,-18.7c0,-1.9 -1.3,-3.6 -3.1,-4.2l-31.3,-10c-0.8,-0.3 -1.7,-0.3 -2.6,0L248.2,366.9l-1.4,4.3l28.3,9l0.3,12l-26.3,7.4l-27,-8.6l-0.3,-12l27.6,-7.8L248.2,366.9l-1.4,4.3L248.2,366.9z" />
|
||||
<path
|
||||
android:fillColor="#FBC02D"
|
||||
android:pathData="M343.5,452.9l-1.2,-4.3l-30.9,8.7c-2,0.6 -3.3,2.4 -3.3,4.4l0.4,18.7c0,1.9 1.3,3.6 3.1,4.2l31.3,10c0.8,0.3 1.7,0.3 2.6,0l30.9,-8.7c2,-0.6 3.3,-2.4 3.3,-4.4l-0.4,-18.7c0,-1.9 -1.3,-3.6 -3.1,-4.2l-31.3,-10c-0.8,-0.3 -1.7,-0.3 -2.6,0L343.5,452.9l-1.4,4.3l28.3,9l0.3,12l-26.3,7.4l-27,-8.6l-0.3,-12l27.6,-7.8L343.5,452.9l-1.4,4.3L343.5,452.9z" />
|
||||
<path
|
||||
android:fillColor="#FBC02D"
|
||||
android:pathData="M342.3,396.8l-1.2,-4.3l-30.9,8.7c-2,0.6 -3.3,2.4 -3.3,4.4l0.4,18.7c0,1.9 1.3,3.6 3.1,4.2l31.3,10c0.8,0.3 1.7,0.3 2.6,0l30.9,-8.7c2,-0.6 3.3,-2.4 3.3,-4.4l-0.4,-18.7c0,-1.9 -1.3,-3.6 -3.1,-4.2l-31.3,-10c-0.8,-0.3 -1.7,-0.3 -2.6,0L342.3,396.8l-1.4,4.3l28.3,9l0.3,12l-26.3,7.4l-27,-8.6l-0.3,-12l27.6,-7.8L342.3,396.8l-1.4,4.3L342.3,396.8z" />
|
||||
<path
|
||||
android:fillColor="#FBC02D"
|
||||
android:pathData="M310.5,368.1l-1.2,-4.3l-30.9,8.7c-2,0.6 -3.3,2.4 -3.3,4.4l0.4,18.7c0,1.9 1.3,3.6 3.1,4.2l31.3,10c0.8,0.3 1.7,0.3 2.6,0l30.9,-8.7c2,-0.6 3.3,-2.4 3.3,-4.4l-0.4,-18.7c0,-1.9 -1.3,-3.6 -3.1,-4.2l-31.3,-10c-0.8,-0.3 -1.7,-0.3 -2.6,0L310.5,368.1l-1.4,4.3l28.3,9l0.3,12l-26.3,7.4l-27,-8.6l-0.3,-12l27.6,-7.8L310.5,368.1l-1.4,4.3L310.5,368.1z" />
|
||||
<path
|
||||
android:fillColor="#FBC02D"
|
||||
android:pathData="M374,425.4l-1.2,-4.3l-30.9,8.7c-2,0.6 -3.3,2.4 -3.3,4.4l0.4,18.7c0,1.9 1.3,3.6 3.1,4.2l31.3,10c0.8,0.3 1.7,0.3 2.6,0l30.9,-8.7c2,-0.6 3.3,-2.4 3.3,-4.4l-0.4,-18.7c0,-1.9 -1.3,-3.6 -3.1,-4.2l-31.3,-10c-0.8,-0.3 -1.7,-0.3 -2.6,0L374,425.4l-1.4,4.3l28.3,9l0.3,12l-26.3,7.4l-27,-8.6l-0.3,-12l27.6,-7.8L374,425.4l-1.4,4.3L374,425.4z" />
|
||||
</vector>
|
||||
@ -0,0 +1,45 @@
|
||||
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:width="108dp"
|
||||
android:height="108dp"
|
||||
android:viewportWidth="750"
|
||||
android:viewportHeight="750">
|
||||
<path
|
||||
android:fillColor="#E8F5E9"
|
||||
android:pathData="M0,0h750v750h-750z" />
|
||||
<path
|
||||
android:fillColor="#6AB343"
|
||||
android:pathData="M0,348.9h750v401.1h-750z" />
|
||||
<path
|
||||
android:fillColor="#43A047"
|
||||
android:pathData="M164.6,553a210.4,84.1 0,1 0,420.8 0a210.4,84.1 0,1 0,-420.8 0z" />
|
||||
<path
|
||||
android:fillColor="#B0BEC5"
|
||||
android:pathData="M375,504.7h-74.7c0,0 -5.7,1.8 -5.7,18.8c0,17.1 39.6,30.1 80.4,30.1s80.4,-13.1 80.4,-30.1c0,-17.1 -5.7,-18.8 -5.7,-18.8H375z" />
|
||||
<path
|
||||
android:fillColor="#ECEFF1"
|
||||
android:pathData="M375,474.4c-19.9,0 -30.9,9.1 -41.6,14.1c-22.9,10.7 -36.3,13.7 -36.3,22.7c0,13.1 34.8,23.7 77.8,23.7s77.8,-10.6 77.8,-23.7c0,-9.1 -13.4,-12 -36.3,-22.7C405.9,483.5 394.9,474.4 375,474.4z" />
|
||||
<path
|
||||
android:fillColor="#CFD8DC"
|
||||
android:pathData="M390.8,410.3c0,-5.4 -31.6,-5.4 -31.6,0l-6.7,74.7c15,5.1 30.1,5.1 45.1,0L390.8,410.3z" />
|
||||
<path
|
||||
android:fillColor="#90A4AE"
|
||||
android:pathData="M359.2,410.3l-4,44.2c6.2,0.2 12.5,0.3 18.8,0.3c7,0 13.9,-0.1 20.8,-0.4l-4,-44.2C390.8,404.9 359.2,404.9 359.2,410.3z" />
|
||||
<path
|
||||
android:fillColor="#B0BEC5"
|
||||
android:pathData="M559.3,390.9c0,30.5 -82.5,55.1 -184.3,55.1s-184.3,-24.7 -184.3,-55.1v-12.8h368.6V390.9z" />
|
||||
<path
|
||||
android:fillColor="#ECEFF1"
|
||||
android:pathData="M190.7,378.2a184.3,55.1 0,1 0,368.6 0a184.3,55.1 0,1 0,-368.6 0z" />
|
||||
<path
|
||||
android:fillColor="#CFD8DC"
|
||||
android:pathData="M200.2,374.9a174.8,49.5 0,1 0,349.6 0a174.8,49.5 0,1 0,-349.6 0z" />
|
||||
<path
|
||||
android:fillColor="#B0BEC5"
|
||||
android:pathData="M375,334.2c91.4,0 166.3,19.8 174.2,45.1c0.4,-1.4 0.7,-2.9 0.7,-4.4c0,-27.3 -78.3,-49.5 -174.8,-49.5c-96.6,0 -174.8,22.1 -174.8,49.5c0,1.5 0.2,2.9 0.7,4.4C208.7,354 283.6,334.2 375,334.2z" />
|
||||
<path
|
||||
android:fillColor="#B0BEC5"
|
||||
android:pathData="M288.7,378.2a86.3,17.7 0,1 0,172.6 0a86.3,17.7 0,1 0,-172.6 0z" />
|
||||
<path
|
||||
android:fillColor="#6AB343"
|
||||
android:pathData="M303.4,248c-6.7,0 -12.2,5.5 -12.2,12.2l0,51.2c0,6.8 5.5,12.2 12.2,12.2c6.8,0 12.2,-5.5 12.2,-12.2l0,-51.2C315.7,253.5 310.2,248 303.4,248M402,202.1l8.5,-15.6c0.5,-0.8 0.2,-1.8 -0.7,-2.3c-0.8,-0.4 -1.9,-0.1 -2.3,0.7l-8.6,15.7c-7.2,-3.2 -15.4,-5 -23.9,-5c-8.6,0 -16.7,1.8 -23.9,5l-8.6,-15.7c-0.4,-0.8 -1.5,-1.1 -2.3,-0.7c-0.8,0.4 -1.1,1.5 -0.7,2.3l8.5,15.6c-16.8,8.6 -28.1,25.1 -28.1,44l110.1,0C430,227.2 418.7,210.8 402,202.1M349.9,226.1c-2.5,0 -4.6,-2.1 -4.6,-4.6c0,-2.5 2.1,-4.6 4.6,-4.6c2.6,0 4.6,2.1 4.6,4.6C354.6,224.1 352.5,226.1 349.9,226.1M400,226.1c-2.5,0 -4.6,-2.1 -4.6,-4.6c0,-2.5 2.1,-4.6 4.6,-4.6c2.5,0 4.6,2.1 4.6,4.6C404.7,224.1 402.6,226.1 400,226.1M320.4,250.3l0,79.3c0,7.2 5.8,13 13,13l8.9,0l0,27.1c0,6.7 5.5,12.2 12.2,12.2c6.8,0 12.2,-5.5 12.2,-12.2l0,-27.1l16.5,0l0,27.1c0,6.7 5.5,12.2 12.2,12.2c6.8,0 12.2,-5.5 12.2,-12.2l0,-27.1l8.9,0c7.2,0 13,-5.8 13,-13l0,-79.3L320.4,250.3zM458.8,260.2c0,-6.7 -5.5,-12.2 -12.2,-12.2c-6.7,0 -12.2,5.5 -12.2,12.2l0,51.2c0,6.8 5.5,12.2 12.2,12.2c6.7,0 12.2,-5.5 12.2,-12.2L458.8,260.2z" />
|
||||
</vector>
|
||||
@ -0,0 +1,37 @@
|
||||
<!--
|
||||
~ Copyright 2019, The Android Open Source Project
|
||||
~
|
||||
~ Licensed under the Apache License, Version 2.0 (the "License");
|
||||
~ you may not use this file except in compliance with the License.
|
||||
~ You may obtain a copy of the License at
|
||||
~
|
||||
~ http://www.apache.org/licenses/LICENSE-2.0
|
||||
~
|
||||
~ Unless required by applicable law or agreed to in writing, software
|
||||
~ distributed under the License is distributed on an "AS IS" BASIS,
|
||||
~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
~ See the License for the specific language governing permissions and
|
||||
~ limitations under the License.
|
||||
-->
|
||||
|
||||
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:width="500dp"
|
||||
android:height="700dp"
|
||||
android:viewportWidth="500"
|
||||
android:viewportHeight="700">
|
||||
<path
|
||||
android:fillColor="#C2CACC"
|
||||
android:pathData="M142.8,412.3c-35.8,0 -51,10 -82.8,28c-68.3,38.5 67.3,74.2 174.3,112.1c32.4,11.5 59.3,16.3 83.9,16.3c45.3,0 82.7,-16.5 131.9,-38.1c46.5,-20.4 -107.1,-89.2 -219.1,-108.1C190.3,415.6 163.2,412.3 142.8,412.3" />
|
||||
<path
|
||||
android:fillColor="#6D4C41"
|
||||
android:pathData="M299.2,560.5L50.9,468.3c-5.3,-2 -7.9,-7.8 -6,-13.1c1.1,-2.9 3.3,-5.1 6.2,-6.1l107.1,-37.1c11.9,-4.1 24.9,-4 36.8,0.4l248.3,92.2c5.3,2 7.9,7.8 6,13.1c-1.1,2.9 -3.3,5.1 -6.2,6.1L336,560.9C324.1,565 311.1,564.9 299.2,560.5z" />
|
||||
<path
|
||||
android:fillColor="#F8BBD0"
|
||||
android:pathData="M322.1,555l-268.8,-95.8l0,-49.3l268.8,94.2z" />
|
||||
<path
|
||||
android:fillColor="#FF7FAB"
|
||||
android:pathData="M322.1,555l121.1,-43.5l0,-49.4l-121.1,42z" />
|
||||
<path
|
||||
android:fillColor="#6D4C41"
|
||||
android:pathData="M299.2,506.2L50.9,414c-5.3,-2 -7.9,-7.8 -6,-13.1c1.1,-2.8 3.3,-5.1 6.2,-6.1l107.1,-37.1c11.9,-4.1 24.9,-4 36.8,0.4l248.3,92.1c5.3,2 7.9,7.8 6,13.1c-1.1,2.8 -3.3,5.1 -6.2,6.1L336,506.6C324.1,510.7 311.1,510.5 299.2,506.2z" />
|
||||
</vector>
|
||||
52
DessertClickerLogs/app/src/main/res/drawable/jellybean.xml
Normal file
@ -0,0 +1,52 @@
|
||||
<!--
|
||||
~ Copyright 2019, The Android Open Source Project
|
||||
~
|
||||
~ Licensed under the Apache License, Version 2.0 (the "License");
|
||||
~ you may not use this file except in compliance with the License.
|
||||
~ You may obtain a copy of the License at
|
||||
~
|
||||
~ http://www.apache.org/licenses/LICENSE-2.0
|
||||
~
|
||||
~ Unless required by applicable law or agreed to in writing, software
|
||||
~ distributed under the License is distributed on an "AS IS" BASIS,
|
||||
~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
~ See the License for the specific language governing permissions and
|
||||
~ limitations under the License.
|
||||
-->
|
||||
|
||||
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:width="500dp"
|
||||
android:height="700dp"
|
||||
android:viewportWidth="500"
|
||||
android:viewportHeight="700">
|
||||
<path
|
||||
android:fillColor="#C2CACC"
|
||||
android:pathData="M451.5,482.8c0,-17 -41.2,-30.8 -92.1,-30.8c-9.3,0 -18.3,0.5 -26.8,1.3c-19.6,-3.3 -41.8,-5.2 -65.3,-5.2c-8,0 -15.9,0.2 -23.6,0.6c-21,-5.2 -46.9,-8.2 -75,-8.2c-70.2,0 -127,19 -127,42.5c0,21.2 46.3,38.7 106.8,42c26.4,12.4 69.8,20.5 118.8,20.5c68.1,0 125.2,-15.6 141.2,-36.8C434.3,503.4 451.5,493.8 451.5,482.8z" />
|
||||
<path
|
||||
android:fillColor="#FF9800"
|
||||
android:pathData="M393.2,495.4c-46.7,-9.5 -87.9,-33.6 -124.8,-69.3c-18.2,-17.5 -22.6,-45 -10.7,-67.3c15.4,-28.7 51.9,-38.6 79.4,-21.3c23,14.4 48.1,25.2 74.4,32.1c42.3,11.2 63.1,58.7 42.5,97.2C442.4,488.7 417.6,500.4 393.2,495.4" />
|
||||
<path
|
||||
android:fillColor="#FFBC41"
|
||||
android:pathData="M405.7,378.1l-0.2,0.1l0.1,0.2c5.2,1.6 10.2,3.8 14.8,6.5c4.7,2.7 9,5.9 12.8,9.7c3.7,3.8 7.2,7.9 10.2,12.3c3.1,4.4 6,9 8.5,13.8l0.2,0.1l0.1,-0.2c-1.2,-5.4 -3.3,-10.6 -6.3,-15.3c-3,-4.7 -6.7,-8.9 -11,-12.4c-4.2,-3.6 -8.8,-6.7 -13.8,-9.2C416.3,381.2 411.1,379.3 405.7,378.1L405.7,378.1" />
|
||||
<path
|
||||
android:fillColor="#FFBC41"
|
||||
android:pathData="M306.2,338c-3.3,0 -6.6,0.3 -9.9,0.9c-4.3,0.8 -8.5,2.1 -12.5,3.9l0,0l-0.1,0.2l0.2,0.1c4.1,-1.4 8.3,-2.3 12.6,-2.7c1.9,-0.2 3.8,-0.3 5.7,-0.3c2.3,0 4.7,0.1 7,0.4c4.2,0.7 8.3,1.6 12.3,2.9c4.1,1.2 8,2.7 12.1,4.3h0.2l0,0l0,-0.2c-3.3,-3 -7.2,-5.3 -11.3,-6.9c-4.2,-1.5 -8.6,-2.3 -13.1,-2.5C308.4,338 307.3,338 306.2,338" />
|
||||
<path
|
||||
android:fillColor="#42A5F5"
|
||||
android:pathData="M96.9,504.7c57.2,8 114,-3 170.6,-28.8c27.9,-12.7 44,-42.4 39.4,-72.7c-6,-39 -43.7,-65 -82.2,-56.4c-32.1,7.2 -65.2,9.4 -98,6.6c-52.8,-4.3 -95.9,41.6 -87.8,93.9C43.4,477.2 67,500.5 96.9,504.7" />
|
||||
<path
|
||||
android:fillColor="#7FC2F8"
|
||||
android:pathData="M120.6,365c-10.2,0 -20.4,1.9 -29.9,5.8c-6.3,2.4 -12.2,5.6 -17.6,9.7c-5.3,4.1 -9.9,9.1 -13.5,14.7v0.2h0.2c4.7,-4.5 9.8,-8.7 15.1,-12.5c5.2,-3.8 10.8,-7.1 16.7,-9.9c6,-2.7 12.2,-4.6 18.6,-5.8c5.2,-1 10.4,-1.4 15.6,-1.4c1.3,0 2.7,0 4,0.1l0.2,-0.1l-0.1,-0.2C126.8,365.2 123.7,365 120.6,365" />
|
||||
<path
|
||||
android:fillColor="#7FC2F8"
|
||||
android:pathData="M240.1,356.4C240.1,356.4 240.1,356.4 240.1,356.4c-5.4,0.1 -10.7,1.1 -15.7,3l-0.1,0.1l0.2,0.2c3.5,-0.3 6.9,-0.4 10.4,-0.4c1.7,0 3.5,0 5.2,0.1c5.2,0.1 10.3,0.7 15.3,1.7c5.1,1.1 10,2.8 14.7,5.1c3.3,1.6 6.4,3.4 9.5,5.4c0.3,-0.1 0.6,-0.1 0.9,-0.2c-3,-2.5 -6.3,-4.7 -9.7,-6.6c-4.7,-2.6 -9.6,-4.6 -14.8,-6.1C250.9,357.2 245.5,356.4 240.1,356.4" />
|
||||
<path
|
||||
android:fillColor="#FF7FAB"
|
||||
android:pathData="M358,519.9c-58.3,17.5 -119.4,15.2 -182.5,-2.7c-31.1,-8.8 -52.7,-37.1 -52.7,-69.5c0,-41.6 35.1,-74.8 76.7,-72c34.7,2.3 69.5,-0.7 103.2,-8.8c54.4,-13 106.6,28 106.6,83.8C409.4,482.6 388.5,510.7 358,519.9" />
|
||||
<path
|
||||
android:fillColor="#FB9DBE"
|
||||
android:pathData="M323.7,377.1c-7.5,0 -15.1,1 -22.4,3l0,0l-0.1,0.2l0.2,0.1c5.9,-1.2 11.9,-1.8 17.9,-1.8c0.9,0 1.8,0 2.7,0c6.9,0.2 13.7,1.2 20.4,3c6.6,1.9 12.9,4.5 19,7.7c6.2,3.1 12.1,6.7 17.7,10.7h0.2v-0.2c-4.7,-5.3 -10.3,-9.7 -16.5,-13.1c-6.2,-3.4 -12.9,-5.9 -19.8,-7.3C336.6,377.8 330.2,377.1 323.7,377.1" />
|
||||
<path
|
||||
android:fillColor="#FB9DBE"
|
||||
android:pathData="M191.8,387.8c-2.3,0 -4.6,0.2 -6.9,0.5c-5.6,0.9 -11.1,2.5 -16.2,5c-5.1,2.3 -10,5.2 -14.4,8.7c-4.4,3.5 -8.4,7.4 -11.9,11.8l0,0.2l0,0l0.2,0c3.8,-4.1 8,-7.7 12.5,-10.8c4.5,-3.1 9.4,-5.7 14.5,-7.7c5.1,-1.9 10.4,-3.3 15.7,-4.3c5.4,-1 10.9,-1.7 16.3,-2.1l0.1,-0.1l0,0l-0.1,-0.2C198.5,388.2 195.2,387.8 191.8,387.8" />
|
||||
</vector>
|
||||
73
DessertClickerLogs/app/src/main/res/drawable/kitkat.xml
Normal file
@ -0,0 +1,73 @@
|
||||
<!--
|
||||
~ Copyright 2019, The Android Open Source Project
|
||||
~
|
||||
~ Licensed under the Apache License, Version 2.0 (the "License");
|
||||
~ you may not use this file except in compliance with the License.
|
||||
~ You may obtain a copy of the License at
|
||||
~
|
||||
~ http://www.apache.org/licenses/LICENSE-2.0
|
||||
~
|
||||
~ Unless required by applicable law or agreed to in writing, software
|
||||
~ distributed under the License is distributed on an "AS IS" BASIS,
|
||||
~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
~ See the License for the specific language governing permissions and
|
||||
~ limitations under the License.
|
||||
-->
|
||||
|
||||
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:width="500dp"
|
||||
android:height="700dp"
|
||||
android:viewportWidth="500"
|
||||
android:viewportHeight="700">
|
||||
<path
|
||||
android:fillColor="#C2CACC"
|
||||
android:pathData="M447.9,465.7c-0.5,-1 -1.4,-1.7 -2.5,-1.9c-53,-26.9 -127,-44.3 -207,-59.1c-70.6,20.6 -133,42.1 -183.8,64.6c-1.9,0.4 -3.2,2.3 -2.7,4.3c0.3,1.2 1.1,2.2 2.3,2.6c64.6,30.2 132,53.7 201.4,70.2c6.1,2.2 12.5,3.3 18.8,3.3c8.4,0 16.8,-1.9 24.5,-5.7c59.8,-20.4 109.6,-44.6 147.5,-73.4C448.1,469.6 448.8,467.4 447.9,465.7z" />
|
||||
<path
|
||||
android:fillColor="#8D6E63"
|
||||
android:pathData="M224.2,389l-2.7,1.3l206.9,71.3l2.7,-1.3z" />
|
||||
<path
|
||||
android:fillColor="#A1887F"
|
||||
android:pathData="M68,470.7l207.1,71.3l-0.2,-6.7l-206.9,-71.2z" />
|
||||
<path
|
||||
android:fillColor="#8D6E63"
|
||||
android:pathData="M213.7,372.4l207,71.2l-23.7,11.4l-207,-71.2z" />
|
||||
<path
|
||||
android:fillColor="#A1887F"
|
||||
android:pathData="M190,383.8l-6.2,24.7l206.9,71.2l6.3,-24.7z" />
|
||||
<path
|
||||
android:fillColor="#8D6E63"
|
||||
android:pathData="M175.8,390.7l206.9,71.2l-23.7,11.4l-206.9,-71.3z" />
|
||||
<path
|
||||
android:fillColor="#A1887F"
|
||||
android:pathData="M152.1,402l-6.3,24.7l207,71.3l6.2,-24.7z" />
|
||||
<path
|
||||
android:fillColor="#8D6E63"
|
||||
android:pathData="M138.1,408.7l206.9,71.2l-23.7,11.4l-206.9,-71.2z" />
|
||||
<path
|
||||
android:fillColor="#A1887F"
|
||||
android:pathData="M114.4,420.1l-6.2,24.7l206.9,71.2l6.2,-24.7z" />
|
||||
<path
|
||||
android:fillColor="#8D6E63"
|
||||
android:pathData="M100.6,426.7l206.9,71.3l-23.7,11.3l-206.9,-71.2z" />
|
||||
<path
|
||||
android:fillColor="#A1887F"
|
||||
android:pathData="M76.9,438.1l-6.3,24.7l207,71.2l6.2,-24.7z" />
|
||||
<path
|
||||
android:fillColor="#6D4C41"
|
||||
android:pathData="M283.8,509.3l-6.2,24.7l37.5,-18l-7.6,-18z" />
|
||||
<path
|
||||
android:fillColor="#6D4C41"
|
||||
android:pathData="M321.3,491.3l-6.2,24.7l37.5,-18l-7.6,-18.1z" />
|
||||
<path
|
||||
android:fillColor="#6D4C41"
|
||||
android:pathData="M358.9,473.3l-6.3,24.7l37.6,-18l-7.6,-18.1z" />
|
||||
<path
|
||||
android:fillColor="#6D4C41"
|
||||
android:pathData="M420.7,443.6l-23.7,11.4l-6.3,24.7l37.6,-18z" />
|
||||
<path
|
||||
android:fillColor="#6D4C41"
|
||||
android:pathData="M431.2,467.1l-156.1,74.9l-0.2,-6.7l156,-74.9z" />
|
||||
<path
|
||||
android:fillColor="#8D6E63"
|
||||
android:pathData="M70.6,462.8l-2.6,1.3l206.9,71.2l2.7,-1.3z" />
|
||||
</vector>
|
||||
106
DessertClickerLogs/app/src/main/res/drawable/lollipop.xml
Normal file
@ -0,0 +1,106 @@
|
||||
<!--
|
||||
~ Copyright 2019, The Android Open Source Project
|
||||
~
|
||||
~ Licensed under the Apache License, Version 2.0 (the "License");
|
||||
~ you may not use this file except in compliance with the License.
|
||||
~ You may obtain a copy of the License at
|
||||
~
|
||||
~ http://www.apache.org/licenses/LICENSE-2.0
|
||||
~
|
||||
~ Unless required by applicable law or agreed to in writing, software
|
||||
~ distributed under the License is distributed on an "AS IS" BASIS,
|
||||
~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
~ See the License for the specific language governing permissions and
|
||||
~ limitations under the License.
|
||||
-->
|
||||
|
||||
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:width="500dp"
|
||||
android:height="700dp"
|
||||
android:viewportWidth="500"
|
||||
android:viewportHeight="700">
|
||||
<path
|
||||
android:fillColor="#C2CACC"
|
||||
android:pathData="M250,448.2c-80.4,0 -145.6,21.8 -145.6,48.7c0,26.9 65.2,48.7 145.6,48.7s145.6,-21.8 145.6,-48.7C395.6,470 330.4,448.2 250,448.2" />
|
||||
<path
|
||||
android:fillColor="#EEEEEE"
|
||||
android:pathData="M299.1,252.3l12.4,6.5l-121.8,231c-5,0 -9.6,-2.4 -12.4,-6.5L299.1,252.3z" />
|
||||
<path
|
||||
android:fillColor="#BDBDBD"
|
||||
android:pathData="M299.1,252.3l12.4,6.5l-3.9,7.3c-5,0 -9.6,-2.4 -12.4,-6.5L299.1,252.3z" />
|
||||
<path
|
||||
android:fillColor="#1E88E5"
|
||||
android:pathData="M326.7,215m-47.5,0a47.5,47.5 0,1 1,95 0a47.5,47.5 0,1 1,-95 0" />
|
||||
<path
|
||||
android:fillColor="#1976D2"
|
||||
android:pathData="M279.3,212.3c0.4,-6.8 2.2,-13.4 5.4,-19.5l0,0c1.9,-3.6 4.2,-6.9 7,-9.9h0.1c27.9,12.7 55,27 81.2,42.8l0.1,0.1c-2.5,10.6 -8.6,20.1 -17.2,26.8C329,241.6 303.4,228.2 279.3,212.3z" />
|
||||
<path
|
||||
android:fillColor="#42A5F5"
|
||||
android:pathData="M278.7,207.5c25.6,17 52.8,31.4 81.3,42.9c0.8,0.3 1.8,0 2.2,-0.8l13.1,-24.8c0.4,-0.8 0.2,-1.8 -0.6,-2.3c-26.2,-15.8 -53.3,-30.1 -81.2,-42.8c-0.8,-0.4 -1.8,0 -2.3,0.8l-13.1,24.8C277.7,206 278,207 278.7,207.5z" />
|
||||
<path
|
||||
android:fillColor="#BBDEFB"
|
||||
android:pathData="M369,206.5c-1.5,-5.9 -4.3,-11.4 -8,-16.1c-3.7,-4.8 -8.3,-8.7 -13.6,-11.6c-5.3,-2.8 -11,-4.6 -16.9,-5.3c-6,-0.8 -12,-0.5 -17.9,0.8c-0.1,0 -0.1,0 -0.1,-0.1c0,0 0,0 0,0c0,0 0,-0.1 0.1,-0.1c5.8,-2.3 12,-3.2 18.2,-2.7c6.2,0.6 12.2,2.7 17.5,5.9c10.8,6.3 18.3,16.9 20.9,29.1C369.2,206.5 369.1,206.6 369,206.5C369.1,206.6 369.1,206.6 369,206.5C369,206.6 369,206.6 369,206.5z" />
|
||||
<path
|
||||
android:fillColor="#BBDEFB"
|
||||
android:pathData="M369.3,223.6c-12,-6.4 -23.8,-12.9 -35.8,-19.1c-6,-3.2 -12,-6.3 -18,-9.4l-18,-9.3c6.3,2.5 12.5,5.1 18.7,8c6.1,2.9 12.2,5.9 18.2,9C346.4,209 358,216 369.3,223.6z" />
|
||||
<path
|
||||
android:fillColor="#EEEEEE"
|
||||
android:pathData="M203.4,252.3l-12.4,6.5l121.8,231c5,0 9.6,-2.4 12.4,-6.5L203.4,252.3z" />
|
||||
<path
|
||||
android:fillColor="#BDBDBD"
|
||||
android:pathData="M203.4,252.3l-12.4,6.5l3.9,7.3c5,0.1 9.6,-2.4 12.4,-6.5L203.4,252.3z" />
|
||||
<path
|
||||
android:fillColor="#FF6F00"
|
||||
android:pathData="M175.8,215m-47.5,0a47.5,47.5 0,1 1,95 0a47.5,47.5 0,1 1,-95 0" />
|
||||
<path
|
||||
android:fillColor="#FF5722"
|
||||
android:pathData="M223.3,212.3c-0.4,-6.8 -2.2,-13.4 -5.4,-19.5l0,0c-1.9,-3.6 -4.3,-6.9 -7,-9.9h-0.1c-27.9,12.7 -55,27 -81.2,42.8l-0.1,0.1c2.5,10.7 8.6,20.1 17.3,26.8C173.5,241.7 199.1,228.2 223.3,212.3z" />
|
||||
<path
|
||||
android:fillColor="#FF9800"
|
||||
android:pathData="M223.8,207.5c-25.6,17 -52.8,31.4 -81.3,42.9c-0.8,0.3 -1.8,0 -2.2,-0.8l-13.1,-24.8c-0.4,-0.8 -0.2,-1.8 0.6,-2.3c26.2,-15.8 53.3,-30.1 81.2,-42.8c0.8,-0.4 1.8,0 2.3,0.8l13.1,24.8C224.8,206 224.6,207 223.8,207.5z" />
|
||||
<path
|
||||
android:fillColor="#FFE082"
|
||||
android:pathData="M133.3,206.5c2.5,-12.2 10.1,-22.8 20.9,-29.1c5.3,-3.3 11.3,-5.3 17.5,-5.9c6.2,-0.6 12.4,0.3 18.2,2.7c0.1,0 0.1,0.1 0.1,0.1c0,0 -0.1,0.1 -0.1,0.1c-5.9,-1.3 -11.9,-1.5 -17.9,-0.8c-5.9,0.7 -11.7,2.5 -16.9,5.3c-5.3,2.9 -9.9,6.8 -13.6,11.6c-3.7,4.8 -6.5,10.3 -8,16.1c0,0.1 -0.1,0.1 -0.1,0.1c0,0 0,0 0,0C133.3,206.6 133.3,206.5 133.3,206.5z" />
|
||||
<path
|
||||
android:fillColor="#FFE082"
|
||||
android:pathData="M133.3,223.6c11.2,-7.6 22.9,-14.5 34.9,-20.8c6,-3.1 12.1,-6.2 18.2,-9s12.4,-5.6 18.7,-8l-18,9.3c-6,3.1 -12,6.2 -18,9.4C157.1,210.7 145.3,217.2 133.3,223.6z" />
|
||||
<path
|
||||
android:fillColor="#EEEEEE"
|
||||
android:pathData="M258.3,247.8h-14V509c4.4,2.4 9.6,2.4 14,0V247.8z" />
|
||||
<path
|
||||
android:fillColor="#BDBDBD"
|
||||
android:pathData="M258.3,247.8h-14v8.3c4.4,2.4 9.6,2.4 14,0V247.8z" />
|
||||
<path
|
||||
android:fillColor="#FF4081"
|
||||
android:pathData="M251.3,201.9m-47.5,0a47.5,47.5 0,1 1,95 0a47.5,47.5 0,1 1,-95 0" />
|
||||
<path
|
||||
android:fillColor="#F50057"
|
||||
android:pathData="M294.5,221.6c2.8,-6.2 4.3,-12.9 4.3,-19.8l0,0c0,-4 -0.5,-8.1 -1.5,-12h-0.1c-30.6,-1.8 -61.2,-1.8 -91.8,0h-0.1c-2.8,10.6 -1.8,21.8 2.8,31.8C236.8,224.4 265.8,224.4 294.5,221.6z" />
|
||||
<path
|
||||
android:fillColor="#FF7FAB"
|
||||
android:pathData="M297.2,217.7c-30.6,3.1 -61.4,3.1 -91.9,0c-0.9,-0.1 -1.6,-0.8 -1.6,-1.7v-28c0,-0.9 0.7,-1.7 1.6,-1.7c30.6,-1.8 61.2,-1.8 91.8,0c0.9,0.1 1.6,0.8 1.6,1.7v28C298.8,216.8 298.1,217.6 297.2,217.7z" />
|
||||
<path
|
||||
android:fillColor="#F8BBD0"
|
||||
android:pathData="M217.6,174.6c8,-9.6 19.6,-15.4 32.1,-16c6.2,-0.4 12.5,0.6 18.3,2.9c5.7,2.4 10.8,6.1 14.8,10.8c0,0 0,0.1 0,0.1c0,0 0,0 0,0c0,0 -0.1,0 -0.1,0c0,0 0,0 0,0c-4.6,-3.8 -9.8,-6.9 -15.5,-9c-5.6,-2.1 -11.5,-3.2 -17.4,-3.2c-6,0.1 -11.9,1.4 -17.4,3.9c-5.5,2.5 -10.5,6.1 -14.6,10.5c0,0 -0.1,0 -0.1,0c0,0 0,0 0,0C217.6,174.7 217.6,174.6 217.6,174.6z" />
|
||||
<path
|
||||
android:fillColor="#F8BBD0"
|
||||
android:pathData="M209.6,189.7c13.5,-1.4 27,-2.1 40.6,-2.1c6.8,0 13.5,0.2 20.3,0.5s13.5,0.9 20.2,1.6l-20.3,-0.2c-6.8,-0.1 -13.5,-0.1 -20.3,-0.1C236.7,189.4 223.2,189.6 209.6,189.7z" />
|
||||
<path
|
||||
android:fillColor="#F50057"
|
||||
android:pathData="M151.3,321.6c0,0 41,1.3 64.8,11.6s33.4,23.4 33.4,23.4l-9,12.9L151.3,321.6z" />
|
||||
<path
|
||||
android:fillColor="#FF4081"
|
||||
android:pathData="M247.2,359.1c0,0 -89.1,-39.7 -96,-37.5c-4.2,5.7 -14.3,60.7 -11.4,66.9c4.7,3.7 42.4,10.1 42.4,10.1C215.1,387.1 248.6,375.9 247.2,359.1z" />
|
||||
<path
|
||||
android:fillColor="#F50057"
|
||||
android:pathData="M179.4,520l-42.8,-65l44.9,-81.6c8.5,-15.4 25.4,-24.2 42.9,-22.2c8.8,1 14,3.7 20.8,7l2.2,1.7l-3,25.3c-1.1,6.5 -3.2,12.7 -6.2,18.6L179.4,520z" />
|
||||
<path
|
||||
android:fillColor="#F50057"
|
||||
android:pathData="M323.8,527l39.7,-70.7l-41.7,-75.9c-8.5,-15.4 -25.4,-24.1 -42.8,-22.2c-8.8,1 -16.7,6.1 -21.2,13.8l-1.8,3l3,17.2c1.1,6.5 3.2,12.7 6.2,18.6L323.8,527z" />
|
||||
<path
|
||||
android:fillColor="#FF4081"
|
||||
android:pathData="M256,349.7c0,0 69.2,-41 84.2,-38.7c4.9,5.1 23.5,52.6 21.4,59.1c-4.1,4.3 -40.7,15.7 -40.7,15.7l0,0c-18.9,7.1 -40.1,4.9 -57.2,-5.9l-7.8,-4.9V349.7z" />
|
||||
<path
|
||||
android:fillColor="#FF7FAB"
|
||||
android:pathData="M244.8,381.5l6.3,-2.2c4.7,-1.6 7.8,-6 7.8,-11v-22.6l-6.3,2.2c-4.7,1.6 -7.8,6 -7.8,11L244.8,381.5z" />
|
||||
</vector>
|
||||
46
DessertClickerLogs/app/src/main/res/drawable/marshmallow.xml
Normal file
@ -0,0 +1,46 @@
|
||||
<!--
|
||||
~ Copyright 2019, The Android Open Source Project
|
||||
~
|
||||
~ Licensed under the Apache License, Version 2.0 (the "License");
|
||||
~ you may not use this file except in compliance with the License.
|
||||
~ You may obtain a copy of the License at
|
||||
~
|
||||
~ http://www.apache.org/licenses/LICENSE-2.0
|
||||
~
|
||||
~ Unless required by applicable law or agreed to in writing, software
|
||||
~ distributed under the License is distributed on an "AS IS" BASIS,
|
||||
~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
~ See the License for the specific language governing permissions and
|
||||
~ limitations under the License.
|
||||
-->
|
||||
|
||||
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:width="500dp"
|
||||
android:height="700dp"
|
||||
android:viewportWidth="500"
|
||||
android:viewportHeight="700">
|
||||
<path
|
||||
android:fillColor="#C2CACC"
|
||||
android:pathData="M167.8,451.8c-50.3,0 -91,13.7 -91,30.7c0,17 40.8,30.7 91,30.7c1.2,0 2.4,0 3.6,0c-3.8,3.4 -5.9,7.1 -5.9,10.9c0,17 40.8,30.7 91,30.7c50.3,0 91,-13.7 91,-30.7c0,-17 -40.8,-30.7 -91,-30.7c-1.2,0 -2.4,0 -3.6,0c3.8,-3.4 5.9,-7.1 5.9,-10.9C258.8,465.5 218,451.8 167.8,451.8" />
|
||||
<path
|
||||
android:fillColor="#C2CACC"
|
||||
android:pathData="M354,430.5c-38.3,0 -69.3,13.7 -69.3,30.7c0,17 31,30.7 69.3,30.7s69.3,-13.7 69.3,-30.7C423.3,444.2 392.2,430.5 354,430.5" />
|
||||
<path
|
||||
android:fillColor="#90CAF9"
|
||||
android:pathData="M413.4,462.3c0,17.4 -15.3,22.2 -65.7,22.2c-36.3,0 -65.7,-8 -65.7,-22.2c7.4,-64.3 -2.6,-107.9 0,-125.3h131.5C415.8,384 409.6,428.7 413.4,462.3z" />
|
||||
<path
|
||||
android:fillColor="#BBDEFB"
|
||||
android:pathData="M413.4,337c0,8.5 -33.8,26.6 -70.1,26.6s-61.4,-18 -61.4,-26.6c0,-8.5 34.3,-11.6 70.6,-11.6S413.4,328.5 413.4,337z" />
|
||||
<path
|
||||
android:fillColor="#F48FB1"
|
||||
android:pathData="M224.2,480.6c0,18.5 -16.2,23.6 -69.8,23.6c-38.6,0 -69.8,-8.5 -69.8,-23.6c7.8,-68.3 -2.8,-114.6 0,-133h139.6C226.7,397.5 220.2,444.9 224.2,480.6z" />
|
||||
<path
|
||||
android:fillColor="#F8BBD0"
|
||||
android:pathData="M224.2,347.6c0,9.1 -35.8,28.2 -74.4,28.2s-65.2,-19.2 -65.2,-28.2c0,-9.1 36.4,-12.3 75,-12.3S224.2,338.5 224.2,347.6z" />
|
||||
<path
|
||||
android:fillColor="#E7E7E7"
|
||||
android:pathData="M337.8,518.7c0,21.6 -19,27.6 -81.7,27.6c-45.1,0 -81.7,-10 -81.7,-27.6c9.2,-79.9 -3.3,-134.1 0,-155.7h163.4C340.7,421.4 333.1,476.9 337.8,518.7z" />
|
||||
<path
|
||||
android:fillColor="#F5F5F5"
|
||||
android:pathData="M337.8,363c0,10.6 -41.9,33 -87.1,33s-76.3,-22.4 -76.3,-33s42.6,-14.4 87.8,-14.4S337.8,352.4 337.8,363z" />
|
||||
</vector>
|
||||
82
DessertClickerLogs/app/src/main/res/drawable/nougat.xml
Normal file
@ -0,0 +1,82 @@
|
||||
<!--
|
||||
~ Copyright 2019, The Android Open Source Project
|
||||
~
|
||||
~ Licensed under the Apache License, Version 2.0 (the "License");
|
||||
~ you may not use this file except in compliance with the License.
|
||||
~ You may obtain a copy of the License at
|
||||
~
|
||||
~ http://www.apache.org/licenses/LICENSE-2.0
|
||||
~
|
||||
~ Unless required by applicable law or agreed to in writing, software
|
||||
~ distributed under the License is distributed on an "AS IS" BASIS,
|
||||
~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
~ See the License for the specific language governing permissions and
|
||||
~ limitations under the License.
|
||||
-->
|
||||
|
||||
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:width="500dp"
|
||||
android:height="700dp"
|
||||
android:viewportWidth="500"
|
||||
android:viewportHeight="700">
|
||||
<path
|
||||
android:fillColor="#C2CACC"
|
||||
android:pathData="M242.3,425.8c-58.2,7.9 -115.6,20.7 -171.6,38.3c-3.2,0.3 -3.7,4.5 -0.7,5.9c59.5,30 119.9,57 181.5,80.1c7.1,3.3 14.8,5 22.5,5c5.9,0 11.7,-1 17.3,-2.9c47.5,-12.6 93.9,-29.1 138.7,-49.4c2.9,-1 2.6,-5.1 -0.5,-6C370.4,469.8 307.8,446.3 242.3,425.8" />
|
||||
<path
|
||||
android:fillColor="#E0E0E0"
|
||||
android:pathData="M402.8,506.9l-113,36.3c-9.1,2.9 -19,2.5 -27.9,-1.1L86.4,470.2c-4.1,-1.7 -6.8,-5.8 -6.8,-10.2v-28.9l328.2,36.3v32.6C407.8,503.2 405.8,505.9 402.8,506.9z" />
|
||||
<path
|
||||
android:fillColor="#F5F5F5"
|
||||
android:pathData="M85.5,427c27.7,-6.6 74.7,-21.7 114.8,-34.9c5.9,-1.9 15.5,-1.7 21,0.6c52,21.9 114.7,45.5 182.3,70.9c5.3,2 5.5,5 0.6,6.9c-28,10.7 -72.4,23.2 -119,35.8c-5.6,1.5 -13.8,1.3 -19,-0.6c-34.6,-12.1 -110.9,-44.9 -182.4,-71.1C77.5,432.4 78.3,428.7 85.5,427z" />
|
||||
<path
|
||||
android:fillColor="#FFAB00"
|
||||
android:pathData="M181.7,442.7c0,0 17.3,-0.6 21.7,1.2s25.9,5.5 27.5,3.8c1.2,-1.5 2.1,-3.2 2.8,-5c0,0 -8.8,-4.5 -15.7,-6.2c-6.8,-1.7 -22,-3.6 -24.8,-2.7S178.6,440.5 181.7,442.7z" />
|
||||
<path
|
||||
android:fillColor="#FF7FAB"
|
||||
android:pathData="M301.1,453.7c-1.2,0.7 -1.5,2.2 -0.8,3.4c0.4,0.6 0.9,1 1.6,1.1c9.9,2 31.5,2.3 33.3,3c2.2,0.9 9.9,3.6 16.8,-0.1c6.9,-3.7 5.5,-8 -6.7,-12.1c-12.1,-4.1 -27.2,-2.9 -32.4,-1.3C309.8,448.6 304.6,451.6 301.1,453.7z" />
|
||||
<path
|
||||
android:fillColor="#6D4C41"
|
||||
android:pathData="M398.3,472.9c5.8,2.3 -0.6,12.6 -3.5,13.5c-2.9,0.9 -12.9,-3.1 -17.3,-5.2c-4.4,-2.1 -6.9,-5.1 -7.2,-6.9C379.7,472.9 398.3,472.9 398.3,472.9z" />
|
||||
<path
|
||||
android:fillColor="#6D4C41"
|
||||
android:pathData="M314.7,507.2c20,-5.5 44.8,-11.6 7.4,-28.4c-11.3,6 -30.9,5.7 -17.3,18.5C318.4,510.1 314.7,507.2 314.7,507.2z" />
|
||||
<path
|
||||
android:fillColor="#8D6E63"
|
||||
android:pathData="M304.8,497.3l3.1,2.9c11.3,-3.1 22.2,-6.2 32.7,-9.2c-1.9,-3.3 -7.5,-7.3 -18.5,-12.3C310.8,484.8 291.2,484.5 304.8,497.3z" />
|
||||
<path
|
||||
android:fillColor="#8D6E63"
|
||||
android:pathData="M397.7,472.9c-3.3,0 -19,0.2 -27.4,1.4c0.2,1.6 2.2,4.1 5.6,6.1C383.8,477.8 391.1,475.3 397.7,472.9z" />
|
||||
<path
|
||||
android:fillColor="#FF7FAB"
|
||||
android:pathData="M236.7,479c10.9,-6.8 19.4,-10.9 11.3,-13.8s-19.8,1.6 -37.6,2.1c-9.9,0.2 -20.6,3.2 -28,5.7l30.3,12.2c0.5,0.2 1.1,0.3 1.7,0.3C222.2,484.9 229.5,483.5 236.7,479z" />
|
||||
<path
|
||||
android:fillColor="#8D6E63"
|
||||
android:pathData="M115.8,431.9c11.7,-1.1 22,-1.4 25.6,-5.1c2.1,-1.9 2.4,-5.1 0.8,-7.5c0,0 -4.2,-4.4 -12.1,-4.8l0,0c-14,4.3 -26.9,8 -37.7,10.8c0.8,0.6 1.6,1 2.6,1.4C102.1,429.5 104.1,433 115.8,431.9z" />
|
||||
<path
|
||||
android:fillColor="#8D6E63"
|
||||
android:pathData="M284,418.2c-12.5,-4.9 -24.5,-9.7 -36.1,-14.4c-2.2,-0.2 -4.4,0 -6.6,0.6c-9.9,2.9 -8.1,4.6 -10.6,7c-2.6,2.4 4.1,5.7 12.9,10.5c7.9,4.3 11.5,3.4 25.6,5.8c2.8,0.5 5.6,0 8.1,-1.4c1.8,-1 3.7,-1.8 5.6,-2.4C286.3,422.8 286,420.5 284,418.2z" />
|
||||
<path
|
||||
android:fillColor="#FF7FAB"
|
||||
android:pathData="M177.7,405c17.5,-1.1 16.7,-3.3 5.3,-7.2c-6.3,2.1 -12.7,4.1 -19.1,6.2C167.3,404.9 171.6,405.4 177.7,405z" />
|
||||
<path
|
||||
android:fillColor="#FF4081"
|
||||
android:pathData="M182.4,473c0,0 -0.7,12.1 6.1,16.5c6.9,4.4 17.3,-7.1 24.6,-4.2C199.4,479.6 182.4,473 182.4,473z" />
|
||||
<path
|
||||
android:fillColor="#FF4081"
|
||||
android:pathData="M92.2,472.6c-0.5,-1.9 -1.6,-3.6 -3.2,-4.7c-5.7,-4.1 0.6,-14.7 5.1,-14.6c6.9,0.2 10.4,7.3 15.4,12.3c3,3 -0.5,8.4 -5,12.1L92.2,472.6z" />
|
||||
<path
|
||||
android:fillColor="#FF4081"
|
||||
android:pathData="M315.1,527.7c-0.8,0.4 -1.5,0.9 -2.3,1.4c-2.9,2.2 -6.7,2.6 -10,1.1c-8,-3.6 -16,-7.2 -11.7,-12.9c3.5,-4.8 7.3,-2.9 9.7,-0.2c2.3,2.5 5.8,3.5 9.1,2.6c2.3,-0.6 4.5,-0.8 6.2,0.4c2.1,1.6 1.7,3.8 1,5.2C316.8,526.4 316,527.2 315.1,527.7z" />
|
||||
<path
|
||||
android:fillColor="#6D4C41"
|
||||
android:pathData="M141.8,458.6c-5.6,3 -15.2,10.4 -9.4,14.8c5.9,4.4 16.9,12.2 21.1,6.2c4.2,-6 1.8,-13.5 1.3,-19.1C154.4,454.7 145.7,456.5 141.8,458.6z" />
|
||||
<path
|
||||
android:fillColor="#FFAB00"
|
||||
android:pathData="M233.8,524.5c-0.2,3.7 11.8,3.1 14.8,3.1s-0.5,-4.5 -4.5,-10c-3.5,-4.7 -2.3,-5.7 -5.3,-6.8c-0.9,-0.3 -1.7,0.4 -2,1.3L233.8,524.5z" />
|
||||
<path
|
||||
android:fillColor="#FFAB00"
|
||||
android:pathData="M362.6,493c0,0 -7.3,2.7 -3.9,4.8c3.3,2.1 8.1,3.8 8.1,5.6s8.5,7.3 9.6,1.2C377.5,498.6 366.6,493.8 362.6,493z" />
|
||||
<path
|
||||
android:fillColor="#8D6E63"
|
||||
android:pathData="M144,457.7c4.3,-1.5 10.4,-2.1 10.9,2.7c0.1,0.5 0.1,1.1 0.2,1.6L144,457.7z" />
|
||||
</vector>
|
||||
59
DessertClickerLogs/app/src/main/res/drawable/oreo.xml
Normal file
@ -0,0 +1,59 @@
|
||||
<!--
|
||||
~ Copyright 2019, The Android Open Source Project
|
||||
~
|
||||
~ Licensed under the Apache License, Version 2.0 (the "License");
|
||||
~ you may not use this file except in compliance with the License.
|
||||
~ You may obtain a copy of the License at
|
||||
~
|
||||
~ http://www.apache.org/licenses/LICENSE-2.0
|
||||
~
|
||||
~ Unless required by applicable law or agreed to in writing, software
|
||||
~ distributed under the License is distributed on an "AS IS" BASIS,
|
||||
~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
~ See the License for the specific language governing permissions and
|
||||
~ limitations under the License.
|
||||
-->
|
||||
|
||||
<!--
|
||||
~ Copyright 2018, The Android Open Source Project
|
||||
~
|
||||
~ Licensed under the Apache License, Version 2.0 (the "License");
|
||||
~ you may not use this file except in compliance with the License.
|
||||
~ You may obtain a copy of the License at
|
||||
~
|
||||
~ http://www.apache.org/licenses/LICENSE-2.0
|
||||
~
|
||||
~ Unless required by applicable law or agreed to in writing, software
|
||||
~ distributed under the License is distributed on an "AS IS" BASIS,
|
||||
~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
~ See the License for the specific language governing permissions and
|
||||
~ limitations under the License.
|
||||
-->
|
||||
|
||||
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:width="500dp"
|
||||
android:height="700dp"
|
||||
android:viewportWidth="500"
|
||||
android:viewportHeight="700">
|
||||
<path
|
||||
android:fillColor="#C2CACC"
|
||||
android:pathData="M250,469.2c-80.4,0 -145.6,21.8 -145.6,48.7c0,26.9 65.2,48.7 145.6,48.7s145.6,-21.8 145.6,-48.7C395.6,491 330.4,469.2 250,469.2" />
|
||||
<path
|
||||
android:fillColor="#4E342E"
|
||||
android:pathData="M377.3,498c0,29.1 -57,52.6 -127.3,52.6S122.7,527.1 122.7,498v-13.4h254.7V498z" />
|
||||
<path
|
||||
android:fillColor="#5D4037"
|
||||
android:pathData="M122.7,484.6a127.3,52.6 0,1 0,254.6 0a127.3,52.6 0,1 0,-254.6 0z" />
|
||||
<path
|
||||
android:fillColor="#EEEEEE"
|
||||
android:pathData="M365.7,495.5c-77.1,39.8 -154.3,39.8 -231.5,-0.1c-6.2,-3.2 -10,-14.9 -9.3,-26.6c0.4,-5.5 1.2,-10.9 2.4,-16.2h245.2c1,5.2 1.8,10.3 2.3,15.1C376,479.8 372.1,492.2 365.7,495.5z" />
|
||||
<path
|
||||
android:fillColor="#4E342E"
|
||||
android:pathData="M377.3,452c0,29.1 -57,52.6 -127.3,52.6S122.7,481 122.7,452v-13.4h254.7V452z" />
|
||||
<path
|
||||
android:fillColor="#5D4037"
|
||||
android:pathData="M250,385.9c70.3,0 127.3,23.6 127.3,52.6c0,29.1 -57,52.6 -127.3,52.6s-127.3,-23.6 -127.3,-52.6C122.7,409.5 179.7,385.9 250,385.9z" />
|
||||
<path
|
||||
android:fillColor="#4E342E"
|
||||
android:pathData="M250,397.9c56.9,0 103,16.5 103,36.9c0,20.4 -46.1,36.9 -103,36.9s-103,-16.5 -103,-36.9C147,414.4 193.1,397.9 250,397.9z" />
|
||||
</vector>
|
||||
21
DessertClickerLogs/app/src/main/res/drawable/white_box.xml
Normal file
@ -0,0 +1,21 @@
|
||||
<?xml version="1.0" encoding="utf-8"?><!--
|
||||
~ Copyright 2019, The Android Open Source Project
|
||||
~
|
||||
~ Licensed under the Apache License, Version 2.0 (the "License");
|
||||
~ you may not use this file except in compliance with the License.
|
||||
~ You may obtain a copy of the License at
|
||||
~
|
||||
~ http://www.apache.org/licenses/LICENSE-2.0
|
||||
~
|
||||
~ Unless required by applicable law or agreed to in writing, software
|
||||
~ distributed under the License is distributed on an "AS IS" BASIS,
|
||||
~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
~ See the License for the specific language governing permissions and
|
||||
~ limitations under the License.
|
||||
-->
|
||||
|
||||
<shape xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:shape="rectangle">
|
||||
<solid android:color="@color/white" />
|
||||
<corners android:radius="@dimen/corner_radius" />
|
||||
</shape>
|
||||
130
DessertClickerLogs/app/src/main/res/layout/activity_main.xml
Normal file
@ -0,0 +1,130 @@
|
||||
<?xml version="1.0" encoding="utf-8"?><!--
|
||||
~ Copyright 2019, The Android Open Source Project
|
||||
~
|
||||
~ Licensed under the Apache License, Version 2.0 (the "License");
|
||||
~ you may not use this file except in compliance with the License.
|
||||
~ You may obtain a copy of the License at
|
||||
~
|
||||
~ http://www.apache.org/licenses/LICENSE-2.0
|
||||
~
|
||||
~ Unless required by applicable law or agreed to in writing, software
|
||||
~ distributed under the License is distributed on an "AS IS" BASIS,
|
||||
~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
~ See the License for the specific language governing permissions and
|
||||
~ limitations under the License.
|
||||
-->
|
||||
|
||||
<layout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||
xmlns:tools="http://schemas.android.com/tools">
|
||||
|
||||
<data>
|
||||
|
||||
<variable
|
||||
name="revenue"
|
||||
type="Integer" />
|
||||
|
||||
<variable
|
||||
name="amountSold"
|
||||
type="Integer" />
|
||||
</data>
|
||||
|
||||
<androidx.constraintlayout.widget.ConstraintLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
tools:context=".MainActivity">
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/background_image"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="match_parent"
|
||||
android:scaleType="centerCrop"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
app:layout_constraintLeft_toLeftOf="parent"
|
||||
app:layout_constraintRight_toRightOf="parent"
|
||||
app:layout_constraintTop_toTopOf="parent"
|
||||
app:srcCompat="@drawable/bakery_back" />
|
||||
|
||||
<androidx.constraintlayout.widget.Guideline
|
||||
android:id="@+id/margin_end_guide"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="vertical"
|
||||
app:layout_constraintGuide_end="@dimen/default_spacing" />
|
||||
|
||||
<androidx.constraintlayout.widget.Guideline
|
||||
android:id="@+id/margin_bottom_guide"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="horizontal"
|
||||
app:layout_constraintGuide_end="@dimen/default_spacing" />
|
||||
|
||||
<androidx.constraintlayout.widget.Guideline
|
||||
android:id="@+id/margin_start_guide"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="vertical"
|
||||
app:layout_constraintGuide_begin="@dimen/default_spacing" />
|
||||
|
||||
<ImageButton
|
||||
android:id="@+id/dessert_button"
|
||||
android:layout_width="@dimen/button_width"
|
||||
android:layout_height="@dimen/button_height"
|
||||
android:background="?android:selectableItemBackground"
|
||||
android:scaleType="centerCrop"
|
||||
app:layout_constraintBottom_toTopOf="@+id/white_background"
|
||||
app:layout_constraintLeft_toLeftOf="parent"
|
||||
app:layout_constraintRight_toRightOf="parent"
|
||||
app:layout_constraintTop_toTopOf="parent"
|
||||
tools:src="@drawable/cupcake" />
|
||||
|
||||
<!-- Code for white box at the bottom, using ShapeDrawable defined in the drawable folder -->
|
||||
|
||||
<View
|
||||
android:id="@+id/white_background"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="0dp"
|
||||
android:background="@drawable/white_box"
|
||||
android:visibility="visible"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
app:layout_constraintLeft_toLeftOf="parent"
|
||||
app:layout_constraintRight_toRightOf="parent"
|
||||
app:layout_constraintTop_toTopOf="@+id/amount_sold_text" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/revenue_text"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text='@{"$" + revenue.toString()}'
|
||||
android:textColor="@color/green"
|
||||
android:textSize="@dimen/large_text_size"
|
||||
app:layout_constraintBottom_toTopOf="@+id/margin_bottom_guide"
|
||||
app:layout_constraintEnd_toStartOf="@+id/margin_end_guide"
|
||||
tools:text="$92" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/dessert_sold_text"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:fontFamily="sans-serif-medium"
|
||||
android:text="@string/dessert_sold"
|
||||
android:textSize="@dimen/medium_text_size"
|
||||
app:layout_constraintBottom_toBottomOf="@+id/amount_sold_text"
|
||||
app:layout_constraintStart_toStartOf="@+id/margin_start_guide" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/amount_sold_text"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginBottom="@dimen/default_spacing"
|
||||
android:fontFamily="sans-serif-medium"
|
||||
android:paddingTop="@dimen/default_spacing"
|
||||
android:text="@{amountSold.toString()}"
|
||||
android:textColor="@color/grey"
|
||||
android:textSize="@dimen/medium_text_size"
|
||||
app:layout_constraintBottom_toTopOf="@+id/revenue_text"
|
||||
app:layout_constraintEnd_toStartOf="@+id/margin_end_guide"
|
||||
tools:text="12" />
|
||||
|
||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
||||
</layout>
|
||||
26
DessertClickerLogs/app/src/main/res/menu/main_menu.xml
Normal file
@ -0,0 +1,26 @@
|
||||
<?xml version="1.0" encoding="utf-8"?><!--
|
||||
~ Copyright 2019, The Android Open Source Project
|
||||
~
|
||||
~ Licensed under the Apache License, Version 2.0 (the "License");
|
||||
~ you may not use this file except in compliance with the License.
|
||||
~ You may obtain a copy of the License at
|
||||
~
|
||||
~ http://www.apache.org/licenses/LICENSE-2.0
|
||||
~
|
||||
~ Unless required by applicable law or agreed to in writing, software
|
||||
~ distributed under the License is distributed on an "AS IS" BASIS,
|
||||
~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
~ See the License for the specific language governing permissions and
|
||||
~ limitations under the License.
|
||||
-->
|
||||
|
||||
<menu xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:app="http://schemas.android.com/apk/res-auto">
|
||||
<item
|
||||
android:id="@+id/shareMenuButton"
|
||||
android:enabled="true"
|
||||
android:icon="?android:attr/actionModeShareDrawable"
|
||||
android:title="@string/share"
|
||||
android:visible="true"
|
||||
app:showAsAction="ifRoom" />
|
||||
</menu>
|
||||
@ -0,0 +1,5 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<background android:drawable="@color/ic_launcher_background" />
|
||||
<foreground android:drawable="@drawable/ic_launcher_foreground" />
|
||||
</adaptive-icon>
|
||||
@ -0,0 +1,5 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<background android:drawable="@color/ic_launcher_background" />
|
||||
<foreground android:drawable="@drawable/ic_launcher_foreground" />
|
||||
</adaptive-icon>
|
||||
|
After Width: | Height: | Size: 2.8 KiB |
|
After Width: | Height: | Size: 4.6 KiB |
|
After Width: | Height: | Size: 1.8 KiB |
|
After Width: | Height: | Size: 2.9 KiB |
|
After Width: | Height: | Size: 3.9 KiB |
|
After Width: | Height: | Size: 6.5 KiB |
|
After Width: | Height: | Size: 5.9 KiB |
|
After Width: | Height: | Size: 10 KiB |
|
After Width: | Height: | Size: 8.1 KiB |
|
After Width: | Height: | Size: 15 KiB |
24
DessertClickerLogs/app/src/main/res/values/colors.xml
Normal file
@ -0,0 +1,24 @@
|
||||
<?xml version="1.0" encoding="utf-8"?><!--
|
||||
~ Copyright 2019, The Android Open Source Project
|
||||
~
|
||||
~ Licensed under the Apache License, Version 2.0 (the "License");
|
||||
~ you may not use this file except in compliance with the License.
|
||||
~ You may obtain a copy of the License at
|
||||
~
|
||||
~ http://www.apache.org/licenses/LICENSE-2.0
|
||||
~
|
||||
~ Unless required by applicable law or agreed to in writing, software
|
||||
~ distributed under the License is distributed on an "AS IS" BASIS,
|
||||
~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
~ See the License for the specific language governing permissions and
|
||||
~ limitations under the License.
|
||||
-->
|
||||
|
||||
<resources>
|
||||
<color name="color_primary">#008577</color>
|
||||
<color name="color_primary_dark">#00574B</color>
|
||||
<color name="color_accent">#D81B60</color>
|
||||
<color name="white">#ffffff</color>
|
||||
<color name="green">#6ab343</color>
|
||||
<color name="grey">#99000000</color>
|
||||
</resources>
|
||||
24
DessertClickerLogs/app/src/main/res/values/dimens.xml
Normal file
@ -0,0 +1,24 @@
|
||||
<?xml version="1.0" encoding="utf-8"?><!--
|
||||
~ Copyright 2019, The Android Open Source Project
|
||||
~
|
||||
~ Licensed under the Apache License, Version 2.0 (the "License");
|
||||
~ you may not use this file except in compliance with the License.
|
||||
~ You may obtain a copy of the License at
|
||||
~
|
||||
~ http://www.apache.org/licenses/LICENSE-2.0
|
||||
~
|
||||
~ Unless required by applicable law or agreed to in writing, software
|
||||
~ distributed under the License is distributed on an "AS IS" BASIS,
|
||||
~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
~ See the License for the specific language governing permissions and
|
||||
~ limitations under the License.
|
||||
-->
|
||||
|
||||
<resources>
|
||||
<dimen name="default_spacing">16dp</dimen>
|
||||
<dimen name="button_width">150dp</dimen>
|
||||
<dimen name="button_height">150dp</dimen>
|
||||
<dimen name="medium_text_size">20sp</dimen>
|
||||
<dimen name="large_text_size">33sp</dimen>
|
||||
<dimen name="corner_radius">4dp</dimen>
|
||||
</resources>
|
||||
@ -0,0 +1,4 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<resources>
|
||||
<color name="ic_launcher_background">#FFFFFF</color>
|
||||
</resources>
|
||||
25
DessertClickerLogs/app/src/main/res/values/strings.xml
Normal file
@ -0,0 +1,25 @@
|
||||
<!--
|
||||
~ Copyright 2019, The Android Open Source Project
|
||||
~
|
||||
~ Licensed under the Apache License, Version 2.0 (the "License");
|
||||
~ you may not use this file except in compliance with the License.
|
||||
~ You may obtain a copy of the License at
|
||||
~
|
||||
~ http://www.apache.org/licenses/LICENSE-2.0
|
||||
~
|
||||
~ Unless required by applicable law or agreed to in writing, software
|
||||
~ distributed under the License is distributed on an "AS IS" BASIS,
|
||||
~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
~ See the License for the specific language governing permissions and
|
||||
~ limitations under the License.
|
||||
-->
|
||||
|
||||
<resources>
|
||||
<string name="app_name">Dessert Clicker</string>
|
||||
<string name="dollar_sign">$</string>
|
||||
<string name="zero">0</string>
|
||||
<string name="dessert_sold">Desserts Sold</string>
|
||||
<string name="share_text">I\'ve clicked %1$d Desserts for a total of %2$d$ #AndroidDessertClicker</string>
|
||||
<string name="share">Share</string>
|
||||
<string name="sharing_not_available">Sharing Not Available</string>
|
||||
</resources>
|
||||
27
DessertClickerLogs/app/src/main/res/values/styles.xml
Normal file
@ -0,0 +1,27 @@
|
||||
<!--
|
||||
~ Copyright 2019, The Android Open Source Project
|
||||
~
|
||||
~ Licensed under the Apache License, Version 2.0 (the "License");
|
||||
~ you may not use this file except in compliance with the License.
|
||||
~ You may obtain a copy of the License at
|
||||
~
|
||||
~ http://www.apache.org/licenses/LICENSE-2.0
|
||||
~
|
||||
~ Unless required by applicable law or agreed to in writing, software
|
||||
~ distributed under the License is distributed on an "AS IS" BASIS,
|
||||
~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
~ See the License for the specific language governing permissions and
|
||||
~ limitations under the License.
|
||||
-->
|
||||
|
||||
<resources>
|
||||
|
||||
<!-- Base application theme. -->
|
||||
<style name="AppTheme" parent="Theme.AppCompat.Light.DarkActionBar">
|
||||
<!-- Customize your theme here. -->
|
||||
<item name="colorPrimary">@color/color_primary</item>
|
||||
<item name="colorPrimaryDark">@color/color_primary_dark</item>
|
||||
<item name="colorAccent">@color/color_accent</item>
|
||||
</style>
|
||||
|
||||
</resources>
|
||||
44
DessertClickerLogs/build.gradle
Normal file
@ -0,0 +1,44 @@
|
||||
//noinspection GradleDynamicVersion
|
||||
/*
|
||||
* Copyright 2019, The Android Open Source Project
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
// Top-level build file where you can add configuration options common to all sub-projects/modules.
|
||||
|
||||
buildscript {
|
||||
ext.kotlin_version = '1.3.0'
|
||||
repositories {
|
||||
google()
|
||||
jcenter()
|
||||
}
|
||||
dependencies {
|
||||
classpath 'com.android.tools.build:gradle:3.4.0-alpha02'
|
||||
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
|
||||
|
||||
// NOTE: Do not place your application dependencies here; they belong
|
||||
// in the individual module build.gradle files
|
||||
}
|
||||
}
|
||||
|
||||
allprojects {
|
||||
repositories {
|
||||
google()
|
||||
jcenter()
|
||||
}
|
||||
}
|
||||
|
||||
task clean(type: Delete) {
|
||||
delete rootProject.buildDir
|
||||
}
|
||||
30
DessertClickerLogs/gradle.properties
Normal file
@ -0,0 +1,30 @@
|
||||
#
|
||||
# Copyright 2019, The Android Open Source Project
|
||||
#
|
||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||
# you may not use this file except in compliance with the License.
|
||||
# You may obtain a copy of the License at
|
||||
#
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing, software
|
||||
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
#
|
||||
# Project-wide Gradle settings.
|
||||
# IDE (e.g. Android Studio) users:
|
||||
# Gradle settings configured through the IDE *will override*
|
||||
# any settings specified in this file.
|
||||
# For more details on how to configure your build environment visit
|
||||
# http://www.gradle.org/docs/current/userguide/build_environment.html
|
||||
# Specifies the JVM arguments used for the daemon process.
|
||||
# The setting is particularly useful for tweaking memory settings.
|
||||
android.enableJetifier=true
|
||||
android.useAndroidX=true
|
||||
org.gradle.jvmargs=-Xmx1536m
|
||||
# When configured, Gradle will run in incubating parallel mode.
|
||||
# This option should only be used with decoupled projects. More details, visit
|
||||
# http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects
|
||||
# org.gradle.parallel=true
|
||||
BIN
DessertClickerLogs/gradle/wrapper/gradle-wrapper.jar
vendored
Normal file
6
DessertClickerLogs/gradle/wrapper/gradle-wrapper.properties
vendored
Normal file
@ -0,0 +1,6 @@
|
||||
#Fri Nov 02 17:08:21 PDT 2018
|
||||
distributionBase=GRADLE_USER_HOME
|
||||
distributionPath=wrapper/dists
|
||||
zipStoreBase=GRADLE_USER_HOME
|
||||
zipStorePath=wrapper/dists
|
||||
distributionUrl=https\://services.gradle.org/distributions/gradle-4.10.1-all.zip
|
||||
172
DessertClickerLogs/gradlew
vendored
Executable file
@ -0,0 +1,172 @@
|
||||
#!/usr/bin/env sh
|
||||
|
||||
##############################################################################
|
||||
##
|
||||
## Gradle start up script for UN*X
|
||||
##
|
||||
##############################################################################
|
||||
|
||||
# Attempt to set APP_HOME
|
||||
# Resolve links: $0 may be a link
|
||||
PRG="$0"
|
||||
# Need this for relative symlinks.
|
||||
while [ -h "$PRG" ] ; do
|
||||
ls=`ls -ld "$PRG"`
|
||||
link=`expr "$ls" : '.*-> \(.*\)$'`
|
||||
if expr "$link" : '/.*' > /dev/null; then
|
||||
PRG="$link"
|
||||
else
|
||||
PRG=`dirname "$PRG"`"/$link"
|
||||
fi
|
||||
done
|
||||
SAVED="`pwd`"
|
||||
cd "`dirname \"$PRG\"`/" >/dev/null
|
||||
APP_HOME="`pwd -P`"
|
||||
cd "$SAVED" >/dev/null
|
||||
|
||||
APP_NAME="Gradle"
|
||||
APP_BASE_NAME=`basename "$0"`
|
||||
|
||||
# Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
|
||||
DEFAULT_JVM_OPTS=""
|
||||
|
||||
# Use the maximum available, or set MAX_FD != -1 to use that value.
|
||||
MAX_FD="maximum"
|
||||
|
||||
warn () {
|
||||
echo "$*"
|
||||
}
|
||||
|
||||
die () {
|
||||
echo
|
||||
echo "$*"
|
||||
echo
|
||||
exit 1
|
||||
}
|
||||
|
||||
# OS specific support (must be 'true' or 'false').
|
||||
cygwin=false
|
||||
msys=false
|
||||
darwin=false
|
||||
nonstop=false
|
||||
case "`uname`" in
|
||||
CYGWIN* )
|
||||
cygwin=true
|
||||
;;
|
||||
Darwin* )
|
||||
darwin=true
|
||||
;;
|
||||
MINGW* )
|
||||
msys=true
|
||||
;;
|
||||
NONSTOP* )
|
||||
nonstop=true
|
||||
;;
|
||||
esac
|
||||
|
||||
CLASSPATH=$APP_HOME/gradle/wrapper/gradle-wrapper.jar
|
||||
|
||||
# Determine the Java command to use to start the JVM.
|
||||
if [ -n "$JAVA_HOME" ] ; then
|
||||
if [ -x "$JAVA_HOME/jre/sh/java" ] ; then
|
||||
# IBM's JDK on AIX uses strange locations for the executables
|
||||
JAVACMD="$JAVA_HOME/jre/sh/java"
|
||||
else
|
||||
JAVACMD="$JAVA_HOME/bin/java"
|
||||
fi
|
||||
if [ ! -x "$JAVACMD" ] ; then
|
||||
die "ERROR: JAVA_HOME is set to an invalid directory: $JAVA_HOME
|
||||
|
||||
Please set the JAVA_HOME variable in your environment to match the
|
||||
location of your Java installation."
|
||||
fi
|
||||
else
|
||||
JAVACMD="java"
|
||||
which java >/dev/null 2>&1 || die "ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
|
||||
|
||||
Please set the JAVA_HOME variable in your environment to match the
|
||||
location of your Java installation."
|
||||
fi
|
||||
|
||||
# Increase the maximum file descriptors if we can.
|
||||
if [ "$cygwin" = "false" -a "$darwin" = "false" -a "$nonstop" = "false" ] ; then
|
||||
MAX_FD_LIMIT=`ulimit -H -n`
|
||||
if [ $? -eq 0 ] ; then
|
||||
if [ "$MAX_FD" = "maximum" -o "$MAX_FD" = "max" ] ; then
|
||||
MAX_FD="$MAX_FD_LIMIT"
|
||||
fi
|
||||
ulimit -n $MAX_FD
|
||||
if [ $? -ne 0 ] ; then
|
||||
warn "Could not set maximum file descriptor limit: $MAX_FD"
|
||||
fi
|
||||
else
|
||||
warn "Could not query maximum file descriptor limit: $MAX_FD_LIMIT"
|
||||
fi
|
||||
fi
|
||||
|
||||
# For Darwin, add options to specify how the application appears in the dock
|
||||
if $darwin; then
|
||||
GRADLE_OPTS="$GRADLE_OPTS \"-Xdock:name=$APP_NAME\" \"-Xdock:icon=$APP_HOME/media/gradle.icns\""
|
||||
fi
|
||||
|
||||
# For Cygwin, switch paths to Windows format before running java
|
||||
if $cygwin ; then
|
||||
APP_HOME=`cygpath --path --mixed "$APP_HOME"`
|
||||
CLASSPATH=`cygpath --path --mixed "$CLASSPATH"`
|
||||
JAVACMD=`cygpath --unix "$JAVACMD"`
|
||||
|
||||
# We build the pattern for arguments to be converted via cygpath
|
||||
ROOTDIRSRAW=`find -L / -maxdepth 1 -mindepth 1 -type d 2>/dev/null`
|
||||
SEP=""
|
||||
for dir in $ROOTDIRSRAW ; do
|
||||
ROOTDIRS="$ROOTDIRS$SEP$dir"
|
||||
SEP="|"
|
||||
done
|
||||
OURCYGPATTERN="(^($ROOTDIRS))"
|
||||
# Add a user-defined pattern to the cygpath arguments
|
||||
if [ "$GRADLE_CYGPATTERN" != "" ] ; then
|
||||
OURCYGPATTERN="$OURCYGPATTERN|($GRADLE_CYGPATTERN)"
|
||||
fi
|
||||
# Now convert the arguments - kludge to limit ourselves to /bin/sh
|
||||
i=0
|
||||
for arg in "$@" ; do
|
||||
CHECK=`echo "$arg"|egrep -c "$OURCYGPATTERN" -`
|
||||
CHECK2=`echo "$arg"|egrep -c "^-"` ### Determine if an option
|
||||
|
||||
if [ $CHECK -ne 0 ] && [ $CHECK2 -eq 0 ] ; then ### Added a condition
|
||||
eval `echo args$i`=`cygpath --path --ignore --mixed "$arg"`
|
||||
else
|
||||
eval `echo args$i`="\"$arg\""
|
||||
fi
|
||||
i=$((i+1))
|
||||
done
|
||||
case $i in
|
||||
(0) set -- ;;
|
||||
(1) set -- "$args0" ;;
|
||||
(2) set -- "$args0" "$args1" ;;
|
||||
(3) set -- "$args0" "$args1" "$args2" ;;
|
||||
(4) set -- "$args0" "$args1" "$args2" "$args3" ;;
|
||||
(5) set -- "$args0" "$args1" "$args2" "$args3" "$args4" ;;
|
||||
(6) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" ;;
|
||||
(7) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" ;;
|
||||
(8) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" "$args7" ;;
|
||||
(9) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" "$args7" "$args8" ;;
|
||||
esac
|
||||
fi
|
||||
|
||||
# Escape application args
|
||||
save () {
|
||||
for i do printf %s\\n "$i" | sed "s/'/'\\\\''/g;1s/^/'/;\$s/\$/' \\\\/" ; done
|
||||
echo " "
|
||||
}
|
||||
APP_ARGS=$(save "$@")
|
||||
|
||||
# Collect all arguments for the java command, following the shell quoting and substitution rules
|
||||
eval set -- $DEFAULT_JVM_OPTS $JAVA_OPTS $GRADLE_OPTS "\"-Dorg.gradle.appname=$APP_BASE_NAME\"" -classpath "\"$CLASSPATH\"" org.gradle.wrapper.GradleWrapperMain "$APP_ARGS"
|
||||
|
||||
# by default we should be in the correct project dir, but when run from Finder on Mac, the cwd is wrong
|
||||
if [ "$(uname)" = "Darwin" ] && [ "$HOME" = "$PWD" ]; then
|
||||
cd "$(dirname "$0")"
|
||||
fi
|
||||
|
||||
exec "$JAVACMD" "$@"
|
||||
84
DessertClickerLogs/gradlew.bat
vendored
Normal file
@ -0,0 +1,84 @@
|
||||
@if "%DEBUG%" == "" @echo off
|
||||
@rem ##########################################################################
|
||||
@rem
|
||||
@rem Gradle startup script for Windows
|
||||
@rem
|
||||
@rem ##########################################################################
|
||||
|
||||
@rem Set local scope for the variables with windows NT shell
|
||||
if "%OS%"=="Windows_NT" setlocal
|
||||
|
||||
set DIRNAME=%~dp0
|
||||
if "%DIRNAME%" == "" set DIRNAME=.
|
||||
set APP_BASE_NAME=%~n0
|
||||
set APP_HOME=%DIRNAME%
|
||||
|
||||
@rem Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
|
||||
set DEFAULT_JVM_OPTS=
|
||||
|
||||
@rem Find java.exe
|
||||
if defined JAVA_HOME goto findJavaFromJavaHome
|
||||
|
||||
set JAVA_EXE=java.exe
|
||||
%JAVA_EXE% -version >NUL 2>&1
|
||||
if "%ERRORLEVEL%" == "0" goto init
|
||||
|
||||
echo.
|
||||
echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
|
||||
echo.
|
||||
echo Please set the JAVA_HOME variable in your environment to match the
|
||||
echo location of your Java installation.
|
||||
|
||||
goto fail
|
||||
|
||||
:findJavaFromJavaHome
|
||||
set JAVA_HOME=%JAVA_HOME:"=%
|
||||
set JAVA_EXE=%JAVA_HOME%/bin/java.exe
|
||||
|
||||
if exist "%JAVA_EXE%" goto init
|
||||
|
||||
echo.
|
||||
echo ERROR: JAVA_HOME is set to an invalid directory: %JAVA_HOME%
|
||||
echo.
|
||||
echo Please set the JAVA_HOME variable in your environment to match the
|
||||
echo location of your Java installation.
|
||||
|
||||
goto fail
|
||||
|
||||
:init
|
||||
@rem Get command-line arguments, handling Windows variants
|
||||
|
||||
if not "%OS%" == "Windows_NT" goto win9xME_args
|
||||
|
||||
:win9xME_args
|
||||
@rem Slurp the command line arguments.
|
||||
set CMD_LINE_ARGS=
|
||||
set _SKIP=2
|
||||
|
||||
:win9xME_args_slurp
|
||||
if "x%~1" == "x" goto execute
|
||||
|
||||
set CMD_LINE_ARGS=%*
|
||||
|
||||
:execute
|
||||
@rem Setup the command line
|
||||
|
||||
set CLASSPATH=%APP_HOME%\gradle\wrapper\gradle-wrapper.jar
|
||||
|
||||
@rem Execute Gradle
|
||||
"%JAVA_EXE%" %DEFAULT_JVM_OPTS% %JAVA_OPTS% %GRADLE_OPTS% "-Dorg.gradle.appname=%APP_BASE_NAME%" -classpath "%CLASSPATH%" org.gradle.wrapper.GradleWrapperMain %CMD_LINE_ARGS%
|
||||
|
||||
:end
|
||||
@rem End local scope for the variables with windows NT shell
|
||||
if "%ERRORLEVEL%"=="0" goto mainEnd
|
||||
|
||||
:fail
|
||||
rem Set variable GRADLE_EXIT_CONSOLE if you need the _script_ return code instead of
|
||||
rem the _cmd.exe /c_ return code!
|
||||
if not "" == "%GRADLE_EXIT_CONSOLE%" exit 1
|
||||
exit /b 1
|
||||
|
||||
:mainEnd
|
||||
if "%OS%"=="Windows_NT" endlocal
|
||||
|
||||
:omega
|
||||
17
DessertClickerLogs/settings.gradle
Normal file
@ -0,0 +1,17 @@
|
||||
/*
|
||||
* Copyright 2019, The Android Open Source Project
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
include ':app'
|
||||