Initial commit

This commit is contained in:
jtavva
2025-11-12 00:00:00 +07:00
commit 501b18d6d5
43 changed files with 2620 additions and 0 deletions

36
.gitignore vendored Normal file
View File

@@ -0,0 +1,36 @@
# built application files
*.apk
*.ap_
# Mac files
.DS_Store
# files for the dex VM
*.dex
# Java class files
*.class
# generated files
bin/
gen/
# Ignore gradle files
.gradle/
build/
# Local configuration file (sdk path, etc)
local.properties
# Proguard folder generated by Eclipse
proguard/
proguard-project.txt
# Eclipse files
.project
.classpath
.settings/
# Android Studio/IDEA
*.iml
.idea

88
ASSETS_LICENSE.txt Normal file
View File

@@ -0,0 +1,88 @@
All font files are licensed under the SIL OPEN FONT LICENSE license. All other files are licensed under the Apache 2 license.
-----------------------------------------------------------
SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
-----------------------------------------------------------
PREAMBLE
The goals of the Open Font License (OFL) are to stimulate worldwide
development of collaborative font projects, to support the font creation
efforts of academic and linguistic communities, and to provide a free and
open framework in which fonts may be shared and improved in partnership
with others.
The OFL allows the licensed fonts to be used, studied, modified and
redistributed freely as long as they are not sold by themselves. The
fonts, including any derivative works, can be bundled, embedded,
redistributed and/or sold with any software provided that any reserved
names are not used by derivative works. The fonts and derivatives,
however, cannot be released under any other type of license. The
requirement for fonts to remain under this license does not apply
to any document created using the fonts or their derivatives.
DEFINITIONS
"Font Software" refers to the set of files released by the Copyright
Holder(s) under this license and clearly marked as such. This may
include source files, build scripts and documentation.
"Reserved Font Name" refers to any names specified as such after the
copyright statement(s).
"Original Version" refers to the collection of Font Software components as
distributed by the Copyright Holder(s).
"Modified Version" refers to any derivative made by adding to, deleting,
or substituting -- in part or in whole -- any of the components of the
Original Version, by changing formats or by porting the Font Software to a
new environment.
"Author" refers to any designer, engineer, programmer, technical
writer or other person who contributed to the Font Software.
PERMISSION & CONDITIONS
Permission is hereby granted, free of charge, to any person obtaining
a copy of the Font Software, to use, study, copy, merge, embed, modify,
redistribute, and sell modified and unmodified copies of the Font
Software, subject to the following conditions:
1) Neither the Font Software nor any of its individual components,
in Original or Modified Versions, may be sold by itself.
2) Original or Modified Versions of the Font Software may be bundled,
redistributed and/or sold with any software, provided that each copy
contains the above copyright notice and this license. These can be
included either as stand-alone text files, human-readable headers or
in the appropriate machine-readable metadata fields within text or
binary files as long as those fields can be easily viewed by the user.
3) No Modified Version of the Font Software may use the Reserved Font
Name(s) unless explicit written permission is granted by the corresponding
Copyright Holder. This restriction only applies to the primary font name as
presented to the users.
4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
Software shall not be used to promote, endorse or advertise any
Modified Version, except to acknowledge the contribution(s) of the
Copyright Holder(s) and the Author(s) or with their explicit written
permission.
5) The Font Software, modified or unmodified, in part or in whole,
must be distributed entirely under this license, and must not be
distributed under any other license. The requirement for fonts to
remain under this license does not apply to any document created
using the Font Software.
TERMINATION
This license becomes null and void if any of the above conditions are
not met.
DISCLAIMER
THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
OTHER DEALINGS IN THE FONT SOFTWARE.

36
CONTRIBUTING.md Normal file
View File

@@ -0,0 +1,36 @@
# How to become a contributor and submit your own code
## Contributor License Agreements
We'd love to accept your sample apps and patches! Before we can take them, we
have to jump a couple of legal hurdles.
Please fill out either the individual or corporate Contributor License Agreement
(CLA).
* If you are an individual writing original source code and you're sure you
own the intellectual property, then you'll need to sign an [individual CLA]
(https://developers.google.com/open-source/cla/individual).
* If you work for a company that wants to allow you to contribute your work,
then you'll need to sign a [corporate CLA]
(https://developers.google.com/open-source/cla/corporate).
Follow either of the two links above to access the appropriate CLA and
instructions for how to sign and return it. Once we receive it, we'll be able to
accept your pull requests.
## Contributing A Patch
1. Submit an issue describing your proposed change to the repo in question.
1. The repo owner will respond to your issue promptly.
1. If your proposed change is accepted, and you haven't already done so, sign a
Contributor License Agreement (see details above).
1. Fork the desired repo, develop and test your code changes.
1. Ensure that your code adheres to the existing style in the sample to which
you are contributing. Refer to the
[Google Cloud Platform Samples Style Guide]
(https://github.com/GoogleCloudPlatform/Template/wiki/style.html) for the
recommended coding standards for this organization.
1. Ensure that your code has an appropriate set of unit tests which all pass.
1. Submit a pull request.

201
LICENSE Normal file
View File

@@ -0,0 +1,201 @@
Apache License
Version 2.0, January 2004
http://www.apache.org/licenses/
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
1. Definitions.
"License" shall mean the terms and conditions for use, reproduction,
and distribution as defined by Sections 1 through 9 of this document.
"Licensor" shall mean the copyright owner or entity authorized by
the copyright owner that is granting the License.
"Legal Entity" shall mean the union of the acting entity and all
other entities that control, are controlled by, or are under common
control with that entity. For the purposes of this definition,
"control" means (i) the power, direct or indirect, to cause the
direction or management of such entity, whether by contract or
otherwise, or (ii) ownership of fifty percent (50%) or more of the
outstanding shares, or (iii) beneficial ownership of such entity.
"You" (or "Your") shall mean an individual or Legal Entity
exercising permissions granted by this License.
"Source" form shall mean the preferred form for making modifications,
including but not limited to software source code, documentation
source, and configuration files.
"Object" form shall mean any form resulting from mechanical
transformation or translation of a Source form, including but
not limited to compiled object code, generated documentation,
and conversions to other media types.
"Work" shall mean the work of authorship, whether in Source or
Object form, made available under the License, as indicated by a
copyright notice that is included in or attached to the work
(an example is provided in the Appendix below).
"Derivative Works" shall mean any work, whether in Source or Object
form, that is based on (or derived from) the Work and for which the
editorial revisions, annotations, elaborations, or other modifications
represent, as a whole, an original work of authorship. For the purposes
of this License, Derivative Works shall not include works that remain
separable from, or merely link (or bind by name) to the interfaces of,
the Work and Derivative Works thereof.
"Contribution" shall mean any work of authorship, including
the original version of the Work and any modifications or additions
to that Work or Derivative Works thereof, that is intentionally
submitted to Licensor for inclusion in the Work by the copyright owner
or by an individual or Legal Entity authorized to submit on behalf of
the copyright owner. For the purposes of this definition, "submitted"
means any form of electronic, verbal, or written communication sent
to the Licensor or its representatives, including but not limited to
communication on electronic mailing lists, source code control systems,
and issue tracking systems that are managed by, or on behalf of, the
Licensor for the purpose of discussing and improving the Work, but
excluding communication that is conspicuously marked or otherwise
designated in writing by the copyright owner as "Not a Contribution."
"Contributor" shall mean Licensor and any individual or Legal Entity
on behalf of whom a Contribution has been received by Licensor and
subsequently incorporated within the Work.
2. Grant of Copyright License. Subject to the terms and conditions of
this License, each Contributor hereby grants to You a perpetual,
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
copyright license to reproduce, prepare Derivative Works of,
publicly display, publicly perform, sublicense, and distribute the
Work and such Derivative Works in Source or Object form.
3. Grant of Patent License. Subject to the terms and conditions of
this License, each Contributor hereby grants to You a perpetual,
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
(except as stated in this section) patent license to make, have made,
use, offer to sell, sell, import, and otherwise transfer the Work,
where such license applies only to those patent claims licensable
by such Contributor that are necessarily infringed by their
Contribution(s) alone or by combination of their Contribution(s)
with the Work to which such Contribution(s) was submitted. If You
institute patent litigation against any entity (including a
cross-claim or counterclaim in a lawsuit) alleging that the Work
or a Contribution incorporated within the Work constitutes direct
or contributory patent infringement, then any patent licenses
granted to You under this License for that Work shall terminate
as of the date such litigation is filed.
4. Redistribution. You may reproduce and distribute copies of the
Work or Derivative Works thereof in any medium, with or without
modifications, and in Source or Object form, provided that You
meet the following conditions:
(a) You must give any other recipients of the Work or
Derivative Works a copy of this License; and
(b) You must cause any modified files to carry prominent notices
stating that You changed the files; and
(c) You must retain, in the Source form of any Derivative Works
that You distribute, all copyright, patent, trademark, and
attribution notices from the Source form of the Work,
excluding those notices that do not pertain to any part of
the Derivative Works; and
(d) If the Work includes a "NOTICE" text file as part of its
distribution, then any Derivative Works that You distribute must
include a readable copy of the attribution notices contained
within such NOTICE file, excluding those notices that do not
pertain to any part of the Derivative Works, in at least one
of the following places: within a NOTICE text file distributed
as part of the Derivative Works; within the Source form or
documentation, if provided along with the Derivative Works; or,
within a display generated by the Derivative Works, if and
wherever such third-party notices normally appear. The contents
of the NOTICE file are for informational purposes only and
do not modify the License. You may add Your own attribution
notices within Derivative Works that You distribute, alongside
or as an addendum to the NOTICE text from the Work, provided
that such additional attribution notices cannot be construed
as modifying the License.
You may add Your own copyright statement to Your modifications and
may provide additional or different license terms and conditions
for use, reproduction, or distribution of Your modifications, or
for any such Derivative Works as a whole, provided Your use,
reproduction, and distribution of the Work otherwise complies with
the conditions stated in this License.
5. Submission of Contributions. Unless You explicitly state otherwise,
any Contribution intentionally submitted for inclusion in the Work
by You to the Licensor shall be under the terms and conditions of
this License, without any additional terms or conditions.
Notwithstanding the above, nothing herein shall supersede or modify
the terms of any separate license agreement you may have executed
with Licensor regarding such Contributions.
6. Trademarks. This License does not grant permission to use the trade
names, trademarks, service marks, or product names of the Licensor,
except as required for reasonable and customary use in describing the
origin of the Work and reproducing the content of the NOTICE file.
7. Disclaimer of Warranty. Unless required by applicable law or
agreed to in writing, Licensor provides the Work (and each
Contributor provides its Contributions) on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
implied, including, without limitation, any warranties or conditions
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
PARTICULAR PURPOSE. You are solely responsible for determining the
appropriateness of using or redistributing the Work and assume any
risks associated with Your exercise of permissions under this License.
8. Limitation of Liability. In no event and under no legal theory,
whether in tort (including negligence), contract, or otherwise,
unless required by applicable law (such as deliberate and grossly
negligent acts) or agreed to in writing, shall any Contributor be
liable to You for damages, including any direct, indirect, special,
incidental, or consequential damages of any character arising as a
result of this License or out of the use or inability to use the
Work (including but not limited to damages for loss of goodwill,
work stoppage, computer failure or malfunction, or any and all
other commercial damages or losses), even if such Contributor
has been advised of the possibility of such damages.
9. Accepting Warranty or Additional Liability. While redistributing
the Work or Derivative Works thereof, You may choose to offer,
and charge a fee for, acceptance of support, warranty, indemnity,
or other liability obligations and/or rights consistent with this
License. However, in accepting such obligations, You may act only
on Your own behalf and on Your sole responsibility, not on behalf
of any other Contributor, and only if You agree to indemnify,
defend, and hold each Contributor harmless for any liability
incurred by, or claims asserted against, such Contributor by reason
of your accepting any such warranty or additional liability.
END OF TERMS AND CONDITIONS
APPENDIX: How to apply the Apache License to your work.
To apply the Apache License to your work, attach the following
boilerplate notice, with the fields enclosed by brackets "[]"
replaced with your own identifying information. (Don't include
the brackets!) The text should be enclosed in the appropriate
comment syntax for the file format. We also recommend that a
file or class name and description of purpose be included on the
same "printed page" as the copyright notice for easier
identification within third-party archives.
Copyright [yyyy] [name of copyright owner]
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.

21
README.md Normal file
View File

@@ -0,0 +1,21 @@
Superheroes app
=================================
Material themeing is used to display a list of super heroes in this app.
The app also demonstrates simple aminations.
Pre-requisites
--------------
* Experience with Kotlin syntax.
* How to create and run a project in Android Studio.
* How to create composable functions
* Familiarity with lazy list
Getting Started
---------------
1. Install Android Studio, if you don't already have it.
2. Download the sample.
3. Import the sample into Android Studio.
4. Build and run the sample.

1
app/.gitignore vendored Normal file
View File

@@ -0,0 +1 @@
/build

69
app/build.gradle Normal file
View File

@@ -0,0 +1,69 @@
/*
* Copyright (c) 2022 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.
*/
plugins {
id 'com.android.application'
id 'org.jetbrains.kotlin.android'
}
android {
compileSdk 32
defaultConfig {
applicationId "com.example.superheroes"
minSdk 21
targetSdk 32
versionCode 1
versionName "1.0"
vectorDrawables {
useSupportLibrary true
}
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
}
}
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
}
kotlinOptions {
jvmTarget = '1.8'
}
buildFeatures {
compose true
}
composeOptions {
kotlinCompilerExtensionVersion compose_version
}
packagingOptions {
resources {
excludes += '/META-INF/{AL2.0,LGPL2.1}'
}
}
}
dependencies {
implementation 'androidx.activity:activity-compose:1.4.0'
implementation "androidx.compose.material:material:$compose_version"
implementation "androidx.compose.ui:ui:$compose_version"
implementation "androidx.compose.ui:ui-tooling-preview:$compose_version"
implementation 'androidx.core:core-ktx:1.8.0'
debugImplementation "androidx.compose.ui:ui-tooling:$compose_version"
}

21
app/proguard-rules.pro vendored Normal file
View 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

View File

@@ -0,0 +1,41 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
~ Copyright (c) 2022 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"
xmlns:tools="http://schemas.android.com/tools"
package="com.example.superheroes">
<application
android:allowBackup="true"
android:icon="@mipmap/ic_launcher"
android:label="@string/app_name"
android:roundIcon="@mipmap/ic_launcher_round"
android:supportsRtl="true"
android:theme="@style/Theme.Superheroes"
tools:targetApi="32">
<activity
android:name=".MainActivity"
android:exported="true"
android:theme="@style/Theme.Superheroes">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
</application>
</manifest>

Binary file not shown.

After

Width:  |  Height:  |  Size: 32 KiB

View File

@@ -0,0 +1,176 @@
/*
* Copyright (c) 2022 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.
*/
// This file uses Experimental APIs.
// Caution: Experimental APIs can change in the future or may be removed entirely.
@file:OptIn(ExperimentalAnimationApi::class)
package com.example.superheroes
import android.content.res.Configuration
import androidx.compose.animation.AnimatedVisibility
import androidx.compose.animation.ExperimentalAnimationApi
import androidx.compose.animation.core.MutableTransitionState
import androidx.compose.animation.core.Spring.DampingRatioLowBouncy
import androidx.compose.animation.core.Spring.StiffnessVeryLow
import androidx.compose.animation.core.spring
import androidx.compose.animation.fadeIn
import androidx.compose.animation.fadeOut
import androidx.compose.animation.slideInVertically
import androidx.compose.foundation.Image
import androidx.compose.foundation.layout.Box
import androidx.compose.foundation.layout.Column
import androidx.compose.foundation.layout.Row
import androidx.compose.foundation.layout.Spacer
import androidx.compose.foundation.layout.fillMaxWidth
import androidx.compose.foundation.layout.padding
import androidx.compose.foundation.layout.size
import androidx.compose.foundation.layout.sizeIn
import androidx.compose.foundation.layout.width
import androidx.compose.foundation.lazy.LazyColumn
import androidx.compose.foundation.lazy.itemsIndexed
import androidx.compose.foundation.shape.RoundedCornerShape
import androidx.compose.material.Card
import androidx.compose.material.MaterialTheme
import androidx.compose.material.Surface
import androidx.compose.material.Text
import androidx.compose.runtime.Composable
import androidx.compose.runtime.remember
import androidx.compose.ui.Alignment
import androidx.compose.ui.Modifier
import androidx.compose.ui.draw.clip
import androidx.compose.ui.layout.ContentScale
import androidx.compose.ui.res.painterResource
import androidx.compose.ui.res.stringResource
import androidx.compose.ui.tooling.preview.Preview
import androidx.compose.ui.unit.dp
import com.example.superheroes.model.Hero
import com.example.superheroes.model.HeroesRepository
import com.example.superheroes.ui.theme.SuperheroesTheme
@Composable
fun HeroesList(
heroes: List<Hero>,
modifier: Modifier = Modifier,
) {
val visibleState = remember {
MutableTransitionState(false).apply {
// Start the animation immediately.
targetState = true
}
}
// Fade in entry animation for the entire list
AnimatedVisibility(
visibleState = visibleState,
enter = fadeIn(
animationSpec = spring(dampingRatio = DampingRatioLowBouncy)
),
exit = fadeOut()
) {
LazyColumn {
itemsIndexed(heroes) { index, hero ->
HeroListItem(
hero = hero,
modifier = Modifier
.padding(horizontal = 16.dp, vertical = 8.dp)
// Animate each list item to slide in vertically
.animateEnterExit(
enter = slideInVertically(
animationSpec = spring(
stiffness = StiffnessVeryLow,
dampingRatio = DampingRatioLowBouncy
),
initialOffsetY = { it * (index + 1) } // staggered entrance
)
)
)
}
}
}
}
@Composable
fun HeroListItem(
hero: Hero,
modifier: Modifier = Modifier
) {
Card(
elevation = 2.dp,
modifier = modifier,
) {
Row(
modifier = Modifier
.fillMaxWidth()
.padding(16.dp)
.sizeIn(minHeight = 72.dp)
) {
Column(modifier = Modifier.weight(1f)) {
Text(
text = stringResource(hero.nameRes),
style = MaterialTheme.typography.h3
)
Text(
text = stringResource(hero.descriptionRes),
style = MaterialTheme.typography.body1
)
}
Spacer(Modifier.width(16.dp))
Box(
modifier = Modifier
.size(72.dp)
.clip(RoundedCornerShape(8.dp))
) {
Image(
painter = painterResource(hero.imageRes),
contentDescription = null,
alignment = Alignment.TopCenter,
contentScale = ContentScale.FillWidth
)
}
}
}
}
@Preview("Light Theme")
@Preview("Dark Theme", uiMode = Configuration.UI_MODE_NIGHT_YES)
@Composable
fun HeroPreview() {
val hero = Hero(
R.string.hero1,
R.string.description1,
R.drawable.android_superhero1
)
SuperheroesTheme {
HeroListItem(hero = hero)
}
}
@Preview("Heroes List")
@Composable
fun HeroesPreview() {
SuperheroesTheme(darkTheme = false) {
Surface (
color = MaterialTheme.colors.background
) {
/* Important: It is not a good practice to access data source directly from the UI.
In later units you will learn how to use ViewModel in such scenarios that takes the
data source as a dependency and exposes heroes.
*/
HeroesList(heroes = HeroesRepository.heroes)
}
}
}

View File

@@ -0,0 +1,96 @@
/*
* Copyright (c) 2022 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.superheroes
import android.os.Bundle
import androidx.activity.ComponentActivity
import androidx.activity.compose.setContent
import androidx.compose.foundation.layout.Box
import androidx.compose.foundation.layout.fillMaxSize
import androidx.compose.foundation.layout.fillMaxWidth
import androidx.compose.foundation.layout.padding
import androidx.compose.foundation.layout.size
import androidx.compose.material.MaterialTheme
import androidx.compose.material.Scaffold
import androidx.compose.material.Text
import androidx.compose.runtime.Composable
import androidx.compose.ui.Alignment
import androidx.compose.ui.Modifier
import androidx.compose.ui.res.stringResource
import androidx.compose.ui.tooling.preview.Preview
import androidx.compose.ui.unit.dp
import com.example.superheroes.model.HeroesRepository
import com.example.superheroes.ui.theme.SuperheroesTheme
class MainActivity : ComponentActivity() {
override fun onCreate(savedInstanceState: Bundle?) {
super.onCreate(savedInstanceState)
setContent {
SuperheroesTheme {
SuperheroesApp()
}
}
}
}
/**
* Composable that displays an app bar and a list of heroes.
*/
@Composable
fun SuperheroesApp() {
Scaffold(
modifier = Modifier.fillMaxSize(),
topBar = {
TopAppBar()
}
) {
/* Important: It is not a good practice to access data source directly from the UI.
In later units you will learn how to use ViewModel in such scenarios that takes the
data source as a dependency and exposes heroes.
*/
val heroes = HeroesRepository.heroes
HeroesList(heroes = heroes, Modifier.padding(it))
}
}
/**
* Composable that displays a Top Bar with an icon and text.
*
* @param modifier modifiers to set to this composable
*/
@Composable
fun TopAppBar(modifier: Modifier = Modifier) {
Box(
modifier = modifier
.fillMaxWidth()
.size(56.dp),
contentAlignment = Alignment.Center
) {
Text(
text = stringResource(R.string.app_name),
style = MaterialTheme.typography.h1,
)
}
}
@Preview(showBackground = true)
@Composable
fun SuperHeroesPreview() {
SuperheroesTheme {
SuperheroesApp()
}
}

View File

@@ -0,0 +1,26 @@
/*
* Copyright (c) 2022 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.superheroes.model
import androidx.annotation.DrawableRes
import androidx.annotation.StringRes
import com.example.superheroes.R
data class Hero(
@StringRes val nameRes: Int,
@StringRes val descriptionRes: Int,
@DrawableRes val imageRes: Int
)

View File

@@ -0,0 +1,53 @@
/*
* Copyright (c) 2022 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.superheroes.model
import com.example.superheroes.R
object HeroesRepository {
val heroes = listOf(
Hero(
nameRes = R.string.hero1,
descriptionRes = R.string.description1,
imageRes = R.drawable.android_superhero1
),
Hero(
nameRes = R.string.hero2,
descriptionRes = R.string.description2,
imageRes = R.drawable.android_superhero2
),
Hero(
nameRes = R.string.hero3,
descriptionRes = R.string.description3,
imageRes = R.drawable.android_superhero3
),
Hero(
nameRes = R.string.hero4,
descriptionRes = R.string.description4,
imageRes = R.drawable.android_superhero4
),
Hero(
nameRes = R.string.hero5,
descriptionRes = R.string.description5,
imageRes = R.drawable.android_superhero5
),
Hero(
nameRes = R.string.hero6,
descriptionRes = R.string.description6,
imageRes = R.drawable.android_superhero6
)
)
}

View File

@@ -0,0 +1,35 @@
/*
* Copyright (c) 2022 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.superheroes.ui.theme
import androidx.compose.ui.graphics.Color
//Light Theme
val md_theme_light_background = Color(0xFFFDFCF4)
val md_theme_light_surface = Color(0xFFE0EACE)
val md_theme_light_secondary = Color(0xFF596148)
val md_theme_light_onSurface = Color(0xFF1B1C18)
val md_theme_light_primary = Color(0xFF466800)
val md_theme_light_onPrimary = Color(0xFF223600)
// Dark Theme
val md_theme_dark_background = Color(0xFF1B1C18)
val md_theme_dark_surface = Color(0xFF373F29)
val md_theme_dark_secondary = Color(0xFFDDE6C6)
val md_theme_dark_onSurface = Color(0xFFE4E3DB)
val md_theme_dark_primary = Color(0xFFC1CAAB)
val md_theme_dark_onPrimary = Color(0xFFDDE6C6)

View File

@@ -0,0 +1,26 @@
/*
* Copyright (c) 2022 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.superheroes.ui.theme
import androidx.compose.foundation.shape.RoundedCornerShape
import androidx.compose.material.Shapes
import androidx.compose.ui.unit.dp
val Shapes = Shapes(
small = RoundedCornerShape(8.dp),
medium = RoundedCornerShape(16.dp),
large = RoundedCornerShape(16.dp)
)

View File

@@ -0,0 +1,56 @@
/*
* Copyright (c) 2022 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.superheroes.ui.theme
import androidx.compose.foundation.isSystemInDarkTheme
import androidx.compose.material.MaterialTheme
import androidx.compose.material.darkColors
import androidx.compose.material.lightColors
import androidx.compose.runtime.Composable
private val DarkColorPalette = darkColors(
background = md_theme_dark_background,
surface = md_theme_dark_surface,
onSurface = md_theme_dark_onSurface,
primary = md_theme_dark_primary,
onPrimary = md_theme_dark_onPrimary,
secondary = md_theme_dark_secondary
)
private val LightColorPalette = lightColors(
background = md_theme_light_background,
surface = md_theme_light_surface,
onSurface = md_theme_light_onSurface,
primary = md_theme_light_primary,
onPrimary = md_theme_light_onPrimary,
secondary = md_theme_light_secondary
)
@Composable
fun SuperheroesTheme(darkTheme: Boolean = isSystemInDarkTheme(), content: @Composable () -> Unit) {
val colors = if (darkTheme) {
DarkColorPalette
} else {
LightColorPalette
}
MaterialTheme(
colors = colors,
typography = Typography,
shapes = Shapes,
content = content
)
}

View File

@@ -0,0 +1,51 @@
/*
* Copyright (c) 2022 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.superheroes.ui.theme
import androidx.compose.material.Typography
import androidx.compose.ui.text.TextStyle
import androidx.compose.ui.text.font.Font
import androidx.compose.ui.text.font.FontFamily
import androidx.compose.ui.text.font.FontWeight
import androidx.compose.ui.unit.sp
import com.example.superheroes.R
val Cabin = FontFamily(
Font(R.font.cabin_regular, FontWeight.Normal),
Font(R.font.cabin_bold, FontWeight.Bold)
)
// Set of Material typography styles to start with
val Typography = Typography(
defaultFontFamily = Cabin,
h1 = TextStyle(
fontWeight = FontWeight.Normal,
fontSize = 30.sp
),
h2 = TextStyle(
fontWeight = FontWeight.Bold,
fontSize = 20.sp
),
h3 = TextStyle(
fontWeight = FontWeight.Bold,
fontSize = 20.sp
),
body1 = TextStyle(
fontWeight = FontWeight.Normal,
fontSize = 16.sp
)
)

View File

@@ -0,0 +1,96 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
~ Copyright (c) 2022 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="1080dp"
android:height="1080dp"
android:viewportWidth="1080"
android:viewportHeight="1080">
<path
android:fillColor="#3DDB85"
android:pathData="M 0 0 H 1080 V 1080 H 0 V 0 Z" />
<group>
<path
android:fillColor="#F86734"
android:pathData="M435.89,669H319.11c-29.09,0-52.2-24.48-50.52-53.52l14.15-244.8c1.55-26.77,23.71-47.68,50.52-47.68h88.48 c26.81,0,48.97,20.91,50.52,47.68l14.15,244.8C488.09,644.52,464.98,669,435.89,669z" />
<path
android:fillColor="#F86734"
android:pathData="M760.89,669H644.11c-29.09,0-52.2-24.48-50.52-53.52l14.15-244.8c1.55-26.77,23.71-47.68,50.52-47.68h88.48 c26.81,0,48.97,20.91,50.52,47.68l14.15,244.8C813.09,644.52,789.98,669,760.89,669z" />
</group>
<group>
<path
android:fillColor="#2C80F9"
android:pathData="M678.9,868.59c-34.82-8.81-31.01-121.36-31.01-121.36L441.92,734c0,0,1.68,123.1-27.13,134.59 c-12.82,5.11-92.15,19.23-92.15,19.67c0,95.11,146.4,145.99,227.54,145.96c80.68-0.03,227.17-50.85,227.17-143.74 c0-0.7-24-5.7-49.19-11.02C709.13,875.45,689.42,871.25,678.9,868.59z" />
</group>
<group>
<path
android:fillColor="#163A57"
android:pathData="M222.92,1187.51h647.6l7.37-106.08c5.06-116.59-88.72-213.56-205.41-212.42l-261.6,2.56 c-116.69,1.14-208.55,99.93-201.22,216.39L222.92,1187.51z" />
</group>
<group>
<path
android:fillColor="#163A57"
android:pathData="M704.85,1187.51h314.05c-135.89-288.34-249.35-321.95-367.2-317.85c-61.31,2.13-17.83,244.76-17.83,244.76 L704.85,1187.51z" />
</group>
<group>
<path
android:fillColor="#D6F0FF"
android:pathData="M 861.34 1187.51 L 865.14 1055.73 L 856.61 1055.49 L 852.81 1187.51 Z" />
</group>
<path
android:fillColor="#163A57"
android:pathData="M375.15,1187.51 l70.98-73.09c0,0,43.48-242.62-17.83-244.76c-117.85-4.1-231.31,29.5-367.2,317.85H375.15z" />
<group>
<path
android:fillColor="#D6F0FF"
android:pathData="M 243.39 1187.51 L 239.59 1055.49 L 231.06 1055.73 L 234.86 1187.51 Z" />
</group>
<path
android:fillColor="#F86734"
android:pathData="M371.42,870.01 l16.9,56.41c2.77,9.25,11.28,15.58,20.93,15.58h261.49c9.65,0,18.16-6.33,20.93-15.58l16.9-56.41c4.2-14.02-6.3-28.13-20.93-28.13 h-295.3C377.72,841.89,367.22,855.99,371.42,870.01z" />
<path
android:fillColor="#F86734"
android:pathData="M521.36,1006.47 l-37.72-70.27c-6.59-12.28,2.58-27.08,16.51-26.65l79.72,2.46c13.93,0.43,22.16,15.78,14.83,27.62l-41.99,67.8 C545.36,1019.29,527.95,1018.75,521.36,1006.47z" />
<group>
<path
android:fillColor="#163A57"
android:pathData="M466.82,857h-57.65c-13.35,0-24.18-10.82-24.18-24.18v-19.65c0-13.35,10.82-24.18,24.18-24.18h57.65 c13.35,0,24.18,10.82,24.18,24.18v19.65C491,846.18,480.18,857,466.82,857z" />
<path
android:fillColor="#163A57"
android:pathData="M670.82,857h-57.65c-13.35,0-24.18-10.82-24.18-24.18v-19.65c0-13.35,10.82-24.18,24.18-24.18h57.65 c13.35,0,24.18,10.82,24.18,24.18v19.65C695,846.18,684.18,857,670.82,857z" />
</group>
<path
android:fillColor="#163A57"
android:pathData="M590.97,185H541h-2 h-49.97C392.36,185,314,263.36,314,360.03v220.94C314,677.64,392.36,756,489.03,756H539h2h49.97C687.64,756,766,677.64,766,580.97 V360.03C766,263.36,687.64,185,590.97,185z" />
<path
android:fillColor="#537DE9"
android:pathData="M541,185h-2h-49.97 c-27.73,0-53.96,6.46-77.26,17.94l-13.2,147.81c-2.46,27.53,19.23,51.25,46.87,51.25h181.1c27.64,0,49.33-23.71,46.87-51.25 L659.88,199.1c-21.15-9.07-44.44-14.1-68.91-14.1H541z" />
<path
android:fillColor="#F86734"
android:pathData="M607.42,372H464.58 c-21.8,0-38.91-18.7-36.97-40.42l13.37-149.76c1.71-19.14,17.75-33.82,36.97-33.82h116.1c19.22,0,35.26,14.67,36.97,33.82 l13.37,149.76C646.33,353.3,629.22,372,607.42,372z" />
<path
android:fillColor="#D6F0FF"
android:pathData="M 460.2 478.26 C 469.301652677 478.26 476.68 490.907955817 476.68 506.51 C 476.68 522.112044183 469.301652677 534.76 460.2 534.76 C 451.098347323 534.76 443.72 522.112044183 443.72 506.51 C 443.72 490.907955817 451.098347323 478.26 460.2 478.26 Z" />
<path
android:fillColor="#D6F0FF"
android:pathData="M 619.8 478.26 C 628.901652677 478.26 636.28 490.907955817 636.28 506.51 C 636.28 522.112044183 628.901652677 534.76 619.8 534.76 C 610.698347323 534.76 603.32 522.112044183 603.32 506.51 C 603.32 490.907955817 610.698347323 478.26 619.8 478.26 Z" />
<group>
<path
android:fillColor="#D6F0FF"
android:pathData="M563,592.5c-0.32,16.08-13.17,29.5-29.5,29.5c-16.33,0-29.18-13.42-29.5-29.5c-0.13-6.43-10.13-6.45-10,0 c0.42,21.46,17.68,39.54,39.5,39.5c21.82-0.04,39.08-17.98,39.5-39.5C573.13,586.06,563.13,586.06,563,592.5L563,592.5z" />
</group>
</vector>

View File

@@ -0,0 +1,153 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
~ Copyright (c) 2022 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="1080dp"
android:height="1080dp"
android:viewportWidth="1080"
android:viewportHeight="1080">
<path
android:fillColor="#3DDB85"
android:pathData="M 0 0 H 1080 V 1080 H 0 V 0 Z" />
<group>
<path
android:fillColor="#C66E4F"
android:pathData="M635.75,810.28C609,772,613.45,637.01,613.45,637.01l-148.16-9.51c0,0,19.25,149.07-19.52,182.78 C407,844,291,866,241,904s-176.37,227.02-118,227c58.04-0.02,843.4,12.53,847-22c0.05-0.5-48-159-114-211 S662.51,848.57,635.75,810.28z" />
</group>
<group>
<path
android:fillColor="#F0F7CF"
android:pathData="M856,898c-37.82-29.8-95.82-41.68-143.5-53.59V894c0,25.41-20.59,46-46,46h-253c-25.41,0-46-20.59-46-46 v-45.69C321.83,865.1,270.18,881.82,241,904c-50,38-176.37,227.02-118,227c58.04-0.02,843.4,12.53,847-22 C970.05,1108.5,922,950,856,898z" />
</group>
<path
android:fillColor="#773D35"
android:pathData="M573.39,712 c14.16,0,27.91-1.75,41.05-5.04c-2.06-37.55-0.99-69.94-0.99-69.94l-148.16-9.51c0,0,2.92,22.65,4.2,52.28 C497.3,700.04,531.56,712,568.61,712H573.39z" />
<group>
<path
android:fillColor="#2F1917"
android:pathData="M404.94,505.21c-2.27-1.97-4.63-3.76-7.05-5.41c11.29,26.14,7.47,57.57-12.44,80.52 c-25.72,29.65-69.23,34.69-100.87,13.07c4.41,10.21,11.13,19.62,20.09,27.4c31.91,27.69,80.23,24.26,107.92-7.66 C440.28,581.21,436.85,532.9,404.94,505.21z" />
</group>
<group>
<path
android:fillColor="#2F1917"
android:pathData="M773.77,643.81c2.06-2.19,3.94-4.47,5.69-6.82c-26.57,10.23-57.82,5.16-79.96-15.65 c-28.59-26.89-31.89-70.57-9.02-101.31c-10.38,4-20.05,10.33-28.18,18.98c-28.94,30.78-27.45,79.19,3.33,108.14 C696.42,676.08,744.83,674.59,773.77,643.81z" />
</group>
<path
android:fillColor="#331816"
android:pathData="M 642.13 148.12 C 764.737214462 148.12 864.13 258.705666792 864.13 395.12 C 864.13 531.534333208 764.737214462 642.12 642.13 642.12 C 519.522785538 642.12 420.13 531.534333208 420.13 395.12 C 420.13 258.705666792 519.522785538 148.12 642.13 148.12 Z" />
<path
android:fillColor="#331816"
android:pathData="M 471 164 C 607.414333208 164 718 263.392785538 718 386 C 718 508.607214462 607.414333208 608 471 608 C 334.585666792 608 224 508.607214462 224 386 C 224 263.392785538 334.585666792 164 471 164 Z" />
<path
android:fillColor="#C66E4F"
android:pathData="M542.39,695h-4.78 C444.49,695,369,619.51,369,526.39V271h342v255.39C711,619.51,635.51,695,542.39,695z" />
<group>
<path
android:fillColor="#910916"
android:fillAlpha="0.7"
android:strokeAlpha="0.7"
android:strokeWidth="1"
android:pathData="M575.44,617.37c-14.06,3.67-37.19,6.42-57.93-6.27c-3.2-1.96-4.21-6.15-2.26-9.35 c1.97-3.19,6.16-4.22,9.35-2.25c25.6,15.66,57.83,1.2,58.17,1.06c3.43-1.55,7.45-0.07,9.02,3.33c1.58,3.41,0.09,7.44-3.31,9.02 C587.93,613.16,582.99,615.39,575.44,617.37z" />
</group>
<path
android:fillColor="#331816"
android:pathData="M 736.01 141.78 C 782.181005086 141.78 819.61 222.556785436 819.61 322.2 C 819.61 421.843214564 782.181005086 502.62 736.01 502.62 C 689.838994914 502.62 652.41 421.843214564 652.41 322.2 C 652.41 222.556785436 689.838994914 141.78 736.01 141.78 Z" />
<path
android:fillColor="#F1F7D3"
android:pathData="M726.1,549.09 c-125.19,45.96-245.49,44.28-361.44,0.14c-9.44-3.59-15.66-12.67-15.66-22.77V408.45c0-15.99,15.15-27.67,30.61-23.55 c110.59,29.46,221.19,29.46,331.78,0c15.46-4.12,30.61,7.55,30.61,23.55v117.77C742,536.42,735.66,545.57,726.1,549.09z" />
<group>
<path
android:fillColor="#4F2521"
android:pathData="M 465 478.26 C 474.101652677 478.26 481.48 490.907955817 481.48 506.51 C 481.48 522.112044183 474.101652677 534.76 465 534.76 C 455.898347323 534.76 448.52 522.112044183 448.52 506.51 C 448.52 490.907955817 455.898347323 478.26 465 478.26 Z" />
<path
android:fillColor="#4F2521"
android:pathData="M 615 478.26 C 624.101652677 478.26 631.48 490.907955817 631.48 506.51 C 631.48 522.112044183 624.101652677 534.76 615 534.76 C 605.898347323 534.76 598.52 522.112044183 598.52 506.51 C 598.52 490.907955817 605.898347323 478.26 615 478.26 Z" />
</group>
<group>
<path
android:fillColor="#55221F"
android:pathData="M490.37,434.36c1.97,0.06,3.92-0.87,5.08-2.64c1.77-2.7,1.02-6.33-1.69-8.11 c-25.02-16.4-51.24-17.35-77.96-2.84c-2.84,1.54-3.89,5.1-2.35,7.94c1.54,2.84,5.1,3.89,7.94,2.35 c22.95-12.47,44.52-11.7,65.95,2.34C488.28,434.02,489.32,434.33,490.37,434.36z" />
</group>
<group>
<path
android:fillColor="#55221F"
android:pathData="M678.47,434.69c1.96,0.19,3.97-0.61,5.24-2.3c1.95-2.58,1.43-6.25-1.15-8.2 c-23.88-18.01-49.98-20.7-77.6-7.98c-2.94,1.35-4.22,4.83-2.87,7.77c1.35,2.94,4.83,4.22,7.77,2.87 c23.72-10.92,45.2-8.73,65.65,6.7C676.4,434.21,677.43,434.59,678.47,434.69z" />
</group>
<path
android:fillColor="#331816"
android:pathData="M 457.62 214.63 C 557.263214564 214.63 638.04 258.138968011 638.04 311.81 C 638.04 365.481031989 557.263214564 408.99 457.62 408.99 C 357.976785436 408.99 277.2 365.481031989 277.2 311.81 C 277.2 258.138968011 357.976785436 214.63 457.62 214.63 Z" />
<group>
<path
android:fillColor="#163A57"
android:pathData="M 350.19 978.24 L 237.28 872.81 L 320.33 826.67 Z" />
<path
android:fillColor="#163A57"
android:pathData="M 539 751.99 L 392 799.49 L 392 704.49 Z" />
<path
android:fillColor="#163A57"
android:pathData="M 547.68 805.62 L 681.22 727.95 L 701.42 820.77 Z" />
<path
android:fillColor="#163A57"
android:pathData="M 301.17 1011.19 L 146.78 1016.47 L 172.88 925.13 Z" />
<path
android:fillColor="#163A57"
android:pathData="M 742 978.24 L 854.66 872.81 L 771.8 826.67 Z" />
<path
android:fillColor="#163A57"
android:pathData="M 790.91 1011.19 L 944.97 1016.47 L 918.93 925.13 Z" />
</group>
<group>
<path
android:fillColor="#3A4750"
android:pathData="M 422 499.99 L 275 547.49 L 275 452.49 Z" />
<path
android:fillColor="#3A4750"
android:pathData="M 421.75 531.49 L 331.36 656.78 L 275.14 580.2 Z" />
<path
android:fillColor="#3A4750"
android:pathData="M 685 499.99 L 832 547.49 L 832 452.49 Z" />
<path
android:fillColor="#3A4750"
android:pathData="M 685.25 531.49 L 775.64 656.78 L 831.86 580.2 Z" />
</group>
<group>
<path
android:fillColor="#163A57"
android:pathData="M659.47,939.56c-24.86,26.94-69.48,44.9-120.4,44.9s-95.54-17.96-120.4-44.9H409 c21.52,33.71,71.65,57.34,130.07,57.34s108.55-23.63,130.07-57.34H659.47z" />
<path
android:fillColor="#163A57"
android:pathData="M478.03,1022.23l-2.41-34.32c-0.2-2.81,2.41-5,5.15-4.33l20.54,5.08c2.74,0.68,4.02,3.83,2.54,6.23 l-18.13,29.24C483.58,1027.56,478.31,1026.25,478.03,1022.23z" />
<path
android:fillColor="#163A57"
android:pathData="M535.37,1027.12l-10.58-32.74c-0.87-2.68,1.13-5.44,3.96-5.44h21.16c2.82,0,4.82,2.75,3.96,5.44 l-10.58,32.74C542.04,1030.96,536.61,1030.96,535.37,1027.12z" />
<path
android:fillColor="#163A57"
android:pathData="M591.24,1024.06l-16.35-30.27c-1.34-2.48,0.13-5.55,2.9-6.06l20.8-3.85c2.77-0.51,5.24,1.83,4.88,4.63 l-4.45,34.11C598.5,1026.62,593.16,1027.61,591.24,1024.06z" />
<path
android:fillColor="#163A57"
android:pathData="M644.69,1002.45l-25.28-23.33c-2.07-1.91-1.68-5.29,0.78-6.68l18.43-10.38c2.46-1.38,5.55,0.03,6.11,2.79 l6.85,33.71C652.38,1002.52,647.65,1005.19,644.69,1002.45z" />
<path
android:fillColor="#163A57"
android:pathData="M431.59,1000.37l3.53-34.22c0.29-2.81,3.23-4.52,5.81-3.38l19.36,8.54c2.58,1.14,3.3,4.46,1.43,6.57 l-22.89,25.68C436.14,1006.57,431.17,1004.38,431.59,1000.37z" />
</group>
<path
android:fillColor="#5B2928"
android:pathData="M545.5,220.44 c0,0-53.5,127.56-196.5,165.56C349,386,540,370.87,545.5,220.44z" />
<path
android:fillColor="#5B2928"
android:pathData="M643.22,231.25 C643.22,231.25,773,249,817,372C817,372,790.44,203.5,643.22,231.25z" />
</vector>

View File

@@ -0,0 +1,183 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
~ Copyright (c) 2022 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="1080dp"
android:height="1080dp"
android:viewportWidth="1080"
android:viewportHeight="1080">
<path
android:fillColor="#3DDB85"
android:pathData="M 0 0 H 1080 V 1080 H 0 V 0 Z" />
<group>
<path
android:fillColor="#D33916"
android:pathData="M 825.02 1134.48 L 838.28 1036.77 L 833.54 1036.31 L 820.22 1134.48 Z" />
</group>
<group>
<path
android:fillColor="#FFAE5D"
android:pathData="M 992.7 1134.48 L 909.61 936.31 L 729.43 989.75 L 790.11 1134.48 Z" />
</group>
<group>
<path
android:fillColor="#FF9954"
android:pathData="M 992.7 1134.48 L 909.61 936.31 L 729.43 989.75 L 790.11 1134.48 Z" />
</group>
<group>
<path
android:fillColor="#FF5D1A"
android:pathData="M572.35,1134.48h252.53c82.46-41.79,118.48-129.11,80.54-206.21c-41.81-84.98-157.61-125.37-258.66-90.21 s-247.22,124.43-205.41,209.41C459.76,1084.89,511.54,1115.23,572.35,1134.48z" />
</group>
<group>
<path
android:fillColor="#FF5D1A"
android:pathData="M 1052.87 1134.48 L 871.39 881.66 L 687.26 1035.91 L 771.58 1134.48 Z" />
</group>
<group>
<path
android:fillColor="#FF5D1A"
android:pathData="M 838.12 1134.48 L 789.5 992.3 L 192.49 991.07 L 203.13 1134.48 Z" />
</group>
<group>
<path
android:fillColor="#FFAE5D"
android:pathData="M 322.99 1134.48 L 386.31 1030.71 L 216.32 957.34 L 108.23 1134.48 Z" />
</group>
<group>
<path
android:fillColor="#FF5D1A"
android:pathData="M250.72,1134.48h190.05c85.25-39.44,164.12-123.25,164.12-191c0-91.97-184.27-120.46-254.66-120.46 c-109.35,0-198,75.5-198,167.47C152.22,1051.95,191.81,1105.63,250.72,1134.48z" />
<path
android:fillColor="#FF5D1A"
android:pathData="M363.73,1134.48l19.93-26.87L173.78,913.89l-99.01,170.3c0,0-15.06,26.75-27.83,50.3H363.73z" />
<path
android:fillColor="#DD4B19"
android:pathData="M242.21,1134.48l23.38-150.05c0.26-1.65-1.12-3.16-3.08-3.38c-1.96-0.21-3.76,0.95-4.01,2.59l-23.51,150.84 H242.21z" />
</group>
<group>
<path
android:fillColor="#FFAE5D"
android:pathData="M623.42,809.49c-24.51-6.2-21.83-107.28-21.83-107.28l-145.01-9.31c0,0,1.19,108.51-19.1,116.59 c-9.02,3.6-64.87,13.54-64.87,13.85c0,66.96,103.07,102.78,160.2,102.76c56.8-0.02,159.94-35.8,159.94-101.2 c0-0.49-16.9-4.01-34.63-7.76C644.71,814.32,630.83,811.36,623.42,809.49z" />
<path
android:fillColor="#DA803A"
android:pathData="M521.94,869.64c0.06,0,0.12,0,0.18-0.01l31.65-1.89c1.66-0.1,2.92-1.52,2.83-3.18 c-0.1-1.66-1.53-2.92-3.18-2.83l-31.65,1.89c-1.66,0.1-2.92,1.52-2.83,3.18C519.03,868.41,520.36,869.64,521.94,869.64z" />
</group>
<group>
<path
android:fillColor="#FF5D1A"
android:pathData="M 783.86 862.61 L 827.14 866.56 L 873.25 912.46 L 778.21 967.07 L 702 1061.24 L 608.84 979.73 Z" />
</group>
<group>
<path
android:fillColor="#DB8C52"
android:pathData="M602,714.65c0,0-0.49,13.22,1,33.35c-92.37-6.72-148-33-148-33L602,714.65z" />
</group>
<group>
<path
android:fillColor="#DD4B19"
android:pathData="M835.83,1134.48h7.22l-17.9-114.84c-0.26-1.65-2.06-2.81-4.01-2.59c-1.96,0.22-3.34,1.73-3.08,3.38 L835.83,1134.48z" />
</group>
<group>
<path
android:fillColor="#DD4B19"
android:pathData="M850.13,1134.48l15.26-83.32c0.3-1.64-1.04-3.18-2.99-3.43c-1.95-0.25-3.78,0.87-4.08,2.52l-15.43,84.24 H850.13z" />
</group>
<group>
<path
android:fillColor="#103042"
android:pathData="M447.06,397h-111.2c-6.55,0-11.85-5.31-11.85-11.85v-225.3c0-6.55,5.31-11.85,11.85-11.85h91.3 c6.14,0,11.26,4.69,11.8,10.81l19.91,225.3C459.47,391.04,454.01,397,447.06,397z" />
<path
android:fillColor="#103042"
android:pathData="M560.06,422H449.74c-6.88,0-12.32-5.84-11.82-12.71L454.21,184c0.45-6.2,5.61-11,11.82-11h74.12 c6.14,0,11.26,4.69,11.8,10.81l19.91,225.3C572.47,416.04,567.01,422,560.06,422z" />
<path
android:fillColor="#103042"
android:pathData="M725.52,397H553.17c-7.04,0-12.53-6.1-11.79-13.1l23.83-225.3c0.64-6.03,5.72-10.6,11.79-10.6h119.39 c5.96,0,10.99,4.42,11.75,10.33l29.13,225.3C738.19,390.72,732.67,397,725.52,397z" />
<path
android:fillColor="#103042"
android:pathData="M633.72,397h110.43c6.55,0,11.85-5.31,11.85-11.85V173.99c0-10.16-11.95-15.61-19.62-8.95l-91.06,79.08 c-2.14,1.86-3.54,4.42-3.95,7.23l-19.37,132.08C620.94,390.58,626.49,397,633.72,397z" />
<path
android:fillColor="#FFAE5D"
android:pathData="M632.76,715H447.24C379.18,715,324,659.82,324,591.76V319h432v272.76C756,659.82,700.82,715,632.76,715z" />
<path
android:fillColor="#103042"
android:pathData="M475.03,397L505,427c0,0,11-42,54-48s164,50,197,43V304H324v104C324,408,424.07,384,475.03,397z" />
</group>
<path
android:fillColor="#FFAE5D"
android:pathData="M 319.5 499 C 334.68783062 499 347 522.057335384 347 550.5 C 347 578.942664616 334.68783062 602 319.5 602 C 304.31216938 602 292 578.942664616 292 550.5 C 292 522.057335384 304.31216938 499 319.5 499 Z" />
<path
android:fillColor="#FFAE5D"
android:pathData="M 756.5 499 C 771.68783062 499 784 522.057335384 784 550.5 C 784 578.942664616 771.68783062 602 756.5 602 C 741.31216938 602 729 578.942664616 729 550.5 C 729 522.057335384 741.31216938 499 756.5 499 Z" />
<path
android:fillColor="#E54E1A"
android:pathData="M783.79,1159.31 l-56.57-12.75c-4.85-1.09-7.9-5.91-6.81-10.77l68.69-304.83c1.22-5.39,6.96-8.43,12.1-6.4l54.62,21.59 c4.13,1.63,6.45,6.03,5.48,10.36l-66.74,295.98C793.47,1157.36,788.65,1160.41,783.79,1159.31z" />
<path
android:fillColor="#E54E1A"
android:pathData="M306.9,1161.36 l54.73-17.63c4.7-1.51,7.27-6.58,5.74-11.31L271.55,835c-1.7-5.26-7.65-7.78-12.54-5.31l-52,26.26 c-3.93,1.99-5.82,6.56-4.46,10.79l93.08,288.78C297.16,1160.26,302.2,1162.87,306.9,1161.36z" />
<path
android:fillColor="#D8421A"
android:pathData="M 368 962 H 698 V 1035 H 368 V 962 Z" />
<path
android:fillColor="#E54E1A"
android:pathData="M702.79,1141.31 l-56.58-12.75c-4.85-1.09-7.89-5.9-6.81-10.75l65.93-295.35c0.96-4.31,4.9-7.28,9.3-7.03l59.31,3.37 c5.56,0.32,9.5,5.54,8.28,10.97l-68.66,304.72C712.47,1139.36,707.65,1142.41,702.79,1141.31z" />
<path
android:fillColor="#E54E1A"
android:pathData="M385.29,1136.36 l54.74-17.64c4.69-1.51,7.26-6.56,5.75-11.3l-92.23-288.22c-1.34-4.2-5.51-6.82-9.84-6.19l-58.3,8.54 c-5.46,0.8-8.88,6.35-7.17,11.65l95.78,297.31C375.55,1135.26,380.59,1137.87,385.29,1136.36z" />
<group>
<path
android:fillColor="#DA803A"
android:pathData="M538.41,586.96c10.41,0,24.32-4.67,25.51-18.45c0.87-10.15-5.51-18.58-9.39-22.7 c-1.01-1.07-1.55-2.57-1.49-4.1l0.91-22.49c0.08-2.05-1.51-3.78-3.56-3.86c-2.04-0.1-3.78,1.51-3.86,3.56l-0.91,22.49 c-0.14,3.52,1.13,6.98,3.5,9.5c3.03,3.22,8.02,9.7,7.39,16.97c-0.36,4.17-2.74,7.32-7.08,9.37c-4.29,2.03-9.49,2.48-12.92,2.22 c-2.03-0.15-3.83,1.38-3.98,3.43c-0.15,2.05,1.38,3.83,3.43,3.98C536.76,586.93,537.57,586.96,538.41,586.96z" />
</group>
<group>
<path
android:fillColor="#003144"
android:pathData="M658.52,473.98c1.02,0,2.02-0.44,2.71-1.29c1.21-1.5,0.97-3.69-0.52-4.89 c-10.19-8.22-42.99-13.57-57.84-7.31c-1.77,0.75-2.6,2.79-1.85,4.56c0.75,1.77,2.79,2.6,4.56,1.85 c12.98-5.47,43.12,0.14,50.77,6.32C656.98,473.73,657.75,473.98,658.52,473.98z" />
</group>
<path
android:fillColor="#103042"
android:pathData="M518.05,735.32 l-26.98-23.31c-7.99-6.9-3.11-20.01,7.45-20.01h53.97c10.55,0,15.43,13.11,7.45,20.01l-26.98,23.31 C528.67,739.01,522.33,739.01,518.05,735.32z" />
<group>
<path
android:fillColor="#A53835"
android:pathData="M551.17,668.82c2.32-0.45,4.02-2.55,3.89-4.98c-0.14-2.65-2.4-4.69-5.06-4.56 c-26.27,1.37-45.36-13.61-45.55-13.76c-2.07-1.65-5.1-1.32-6.76,0.75c-1.66,2.07-1.33,5.09,0.73,6.76 c0.89,0.71,22.02,17.44,52.09,15.87C550.73,668.88,550.95,668.86,551.17,668.82z" />
</group>
<path
android:fillColor="#182F40"
android:pathData="M532.65,599.88 c-41.11,0-63.75,9.94-63.75,28v9.34c0,1.06,0.61,2.02,1.55,2.5c0.39,0.2,0.82,0.3,1.25,0.3c0.59,0,1.19-0.19,1.68-0.56 c0.08-0.06,9.32-6.76,26.5-5.05c7.46,0.75,13.34,1.11,17.99,1.11c5.11,0,8.91-0.43,11.64-1.32c1.34-0.44,2.37-0.98,3.18-1.59 c4.03,2.85,11.32,2.91,14.72,2.91c4.65,0,10.54-0.36,17.99-1.11c17.1-1.7,26.36,4.95,26.5,5.05c0.49,0.37,1.09,0.57,1.69,0.57 c0.42,0,0.84-0.1,1.24-0.29c0.96-0.48,1.56-1.45,1.56-2.51v-9.34C596.4,609.82,573.76,599.88,532.65,599.88L532.65,599.88z" />
<path
android:fillColor="#FF5D1A"
android:pathData="M762,600.51V420.33 c0-20.47-22.58-32.88-39.86-21.91l-11.57,7.35C672.26,430.08,627.82,443,582.45,443h-83.9c-45.37,0-89.81-12.92-128.11-37.24 l-11.57-7.35c-17.28-10.97-39.86,1.44-39.86,21.91v180.18c0,21.22,23.09,34.37,41.34,23.55l122.93-72.87 c17.32-10.27,37.09-15.69,57.22-15.69h0c20.14,0,39.9,5.42,57.22,15.69l122.93,72.87C738.91,634.88,762,621.73,762,600.51z" />
<group>
<path
android:fillColor="#4F2521"
android:pathData="M 465 488.26 C 474.101652677 488.26 481.48 500.907955817 481.48 516.51 C 481.48 532.112044183 474.101652677 544.76 465 544.76 C 455.898347323 544.76 448.52 532.112044183 448.52 516.51 C 448.52 500.907955817 455.898347323 488.26 465 488.26 Z" />
<path
android:fillColor="#4F2521"
android:pathData="M 615 488.26 C 624.101652677 488.26 631.48 500.907955817 631.48 516.51 C 631.48 532.112044183 624.101652677 544.76 615 544.76 C 605.898347323 544.76 598.52 532.112044183 598.52 516.51 C 598.52 500.907955817 605.898347323 488.26 615 488.26 Z" />
</group>
<group>
<path
android:fillColor="#003144"
android:pathData="M490.39,472.35c1.13,0,2.24-0.55,2.91-1.57c1.05-1.61,0.61-3.76-1-4.82c-13.37-8.77-49.03-9.7-60.52-3.47 c-1.69,0.92-2.32,3.03-1.4,4.72c0.92,1.69,3.03,2.32,4.72,1.4c8.56-4.64,41.6-4.56,53.38,3.17 C489.07,472.17,489.74,472.35,490.39,472.35z" />
</group>
<group>
<path
android:fillColor="#003144"
android:pathData="M586.45,472.69c-1.12,0-2.22-0.55-2.88-1.57c-1.04-1.61-0.6-3.76,0.99-4.82 c13.23-8.77,48.54-9.7,59.91-3.47c1.67,0.92,2.29,3.03,1.39,4.72c-0.91,1.69-3,2.32-4.67,1.4c-8.48-4.64-41.18-4.56-52.85,3.17 C587.75,472.51,587.1,472.69,586.45,472.69z" />
</group>
</vector>

View File

@@ -0,0 +1,133 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
~ Copyright (c) 2022 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="1080dp"
android:height="1080dp"
android:viewportWidth="1080"
android:viewportHeight="1080">
<path
android:fillColor="#3DDB85"
android:pathData="M 0 0 H 1080 V 1080 H 0 V 0 Z" />
<group>
<path
android:fillColor="#261614"
android:pathData="M336.43,593.52c1.9,0.85,3.82,1.56,5.76,2.17c-12.74-15.07-16.52-36.67-7.93-55.89 c11.1-24.82,38.94-36.91,64.26-28.93c-4.98-5.89-11.32-10.77-18.83-14.13c-26.72-11.95-58.07,0.03-70.02,26.75 C297.73,550.22,309.71,581.57,336.43,593.52z" />
</group>
<group>
<path
android:fillColor="#F1F7D3"
android:pathData="M340.62,1121.25h398.76c-1.24-13.59-1.88-27.34-1.88-41.25c0-120.65,47.69-230.15,125.25-310.69 C781.25,684.67,666.78,632,540,632s-241.25,52.67-322.75,137.31C294.81,849.85,342.5,959.35,342.5,1080 C342.5,1093.91,341.86,1107.67,340.62,1121.25z" />
</group>
<path
android:fillColor="#013B59"
android:pathData="M701.74,847.82 c-9.56-1.28-19.32-1.91-29.26-1.81l-236.67,2.31c-2.31-0.99-4.81-1.56-7.52-1.66c-117.85-4.1-231.31,29.5-367.2,317.85h161.82 h152.23h329.7h165.67h148.38C902.32,917.13,802.25,857.25,701.74,847.82z" />
<group>
<path
android:fillColor="#773D35"
android:pathData="M678.9,840.59c-34.82-8.81-31.01-171.36-31.01-171.36L441.92,656c0,0,1.68,173.1-27.13,184.59 C401.97,845.7,346.87,854.57,347,855c19,61,115.86,133.03,197,133c80.68-0.03,193-71,198-119c0.07-0.7,11.35-12.22-13.83-17.53 C709.13,847.45,689.42,843.25,678.9,840.59z" />
</group>
<group>
<path
android:fillColor="#04142F"
android:pathData="M 861.34 1164.51 L 865.14 1032.73 L 856.61 1032.49 L 852.81 1164.51 Z" />
</group>
<group>
<path
android:fillColor="#04142F"
android:pathData="M 243.39 1164.51 L 239.59 1032.49 L 231.06 1032.73 L 234.86 1164.51 Z" />
</group>
<path
android:fillColor="#261614"
android:pathData="M 338.5 223 C 380.749783362 223 415 257.250216638 415 299.5 C 415 341.749783362 380.749783362 376 338.5 376 C 296.250216638 376 262 341.749783362 262 299.5 C 262 257.250216638 296.250216638 223 338.5 223 Z" />
<path
android:fillColor="#261614"
android:pathData="M 414.5 161 C 456.749783362 161 491 195.250216638 491 237.5 C 491 279.749783362 456.749783362 314 414.5 314 C 372.250216638 314 338 279.749783362 338 237.5 C 338 195.250216638 372.250216638 161 414.5 161 Z" />
<path
android:fillColor="#261614"
android:pathData="M 508.5 130 C 550.749783362 130 585 164.250216638 585 206.5 C 585 248.749783362 550.749783362 283 508.5 283 C 466.250216638 283 432 248.749783362 432 206.5 C 432 164.250216638 466.250216638 130 508.5 130 Z" />
<path
android:fillColor="#261614"
android:pathData="M661,209.5 c0,42.25-40.75,104.5-83,104.5s-70-62.25-70-104.5s34.25-76.5,76.5-76.5S661,167.25,661,209.5z" />
<path
android:fillColor="#261614"
android:pathData="M 649.5 170 C 691.749783362 170 726 204.250216638 726 246.5 C 726 288.749783362 691.749783362 323 649.5 323 C 607.250216638 323 573 288.749783362 573 246.5 C 573 204.250216638 607.250216638 170 649.5 170 Z" />
<path
android:fillColor="#261614"
android:pathData="M 706.5 247 C 748.749783362 247 783 281.250216638 783 323.5 C 783 365.749783362 748.749783362 400 706.5 400 C 664.250216638 400 630 365.749783362 630 323.5 C 630 281.250216638 664.250216638 247 706.5 247 Z" />
<path
android:fillColor="#261614"
android:pathData="M 735.5 335 C 777.749783362 335 812 369.250216638 812 411.5 C 812 453.749783362 777.749783362 488 735.5 488 C 693.250216638 488 659 453.749783362 659 411.5 C 659 369.250216638 693.250216638 335 735.5 335 Z" />
<path
android:fillColor="#261614"
android:pathData="M 687.5 418 C 729.749783362 418 764 452.250216638 764 494.5 C 764 536.749783362 729.749783362 571 687.5 571 C 645.250216638 571 611 536.749783362 611 494.5 C 611 452.250216638 645.250216638 418 687.5 418 Z" />
<path
android:fillColor="#261614"
android:pathData="M 390.5 441 C 432.749783362 441 467 475.250216638 467 517.5 C 467 559.749783362 432.749783362 594 390.5 594 C 348.250216638 594 314 559.749783362 314 517.5 C 314 475.250216638 348.250216638 441 390.5 441 Z" />
<path
android:fillColor="#261614"
android:pathData="M 322.5 397 C 364.749783362 397 399 431.250216638 399 473.5 C 399 515.749783362 364.749783362 550 322.5 550 C 280.250216638 550 246 515.749783362 246 473.5 C 246 431.250216638 280.250216638 397 322.5 397 Z" />
<path
android:fillColor="#261614"
android:pathData="M 311.5 323 C 353.749783362 323 388 357.250216638 388 399.5 C 388 441.749783362 353.749783362 476 311.5 476 C 269.250216638 476 235 441.749783362 235 399.5 C 235 357.250216638 269.250216638 323 311.5 323 Z" />
<path
android:fillColor="#562A28"
android:pathData="M590.61,759h4.78 c19.05,0,37.36-3.16,54.45-8.99c-2.8-39.32-1.95-75.79-1.95-75.79L441.92,661c0,0,0.03,3.29,0.01,8.97 C470.36,722.96,526.27,759,590.61,759z" />
<path
android:fillColor="#773D35"
android:pathData="M546.39,718h-4.78 C448.49,718,373,642.51,373,549.39V299h342v250.39C715,642.51,639.51,718,546.39,718z" />
<group>
<path
android:fillColor="#562A28"
android:pathData="M541.33,594.4c10.57,0,24.7-4.74,25.9-18.74c0.89-10.3-5.59-18.86-9.53-23.05 c-1.02-1.09-1.57-2.61-1.51-4.17l0.93-22.83c0.08-2.08-1.53-3.84-3.62-3.92c-2.07-0.1-3.84,1.53-3.92,3.62l-0.93,22.83 c-0.15,3.58,1.15,7.09,3.56,9.65c3.08,3.27,8.14,9.85,7.51,17.23c-0.37,4.23-2.78,7.44-7.19,9.52 c-4.36,2.06-9.63,2.52-13.12,2.26c-2.07-0.15-3.89,1.41-4.04,3.48c-0.15,2.08,1.41,3.89,3.48,4.04 C539.65,594.37,540.48,594.4,541.33,594.4z" />
</group>
<path
android:fillColor="#F86734"
android:pathData="M382.9,607h63.45 c24.22,0,45.3-16.58,51.01-40.12l0,0c6.24-25.75,29.29-43.88,55.78-43.88h0c26.36,0,49.32,17.95,55.69,43.52l0.17,0.67 c5.82,23.39,26.83,39.8,50.93,39.8h42.16c13.2,0,23.9-10.7,23.9-23.9V480H359v103.1C359,596.3,369.7,607,382.9,607z" />
<path
android:fillColor="#2C80F9"
android:pathData="M736,501H366 c-28.72,0-52-23.28-52-52v0c0-28.72,23.28-52,52-52h370c28.72,0,52,23.28,52,52v0C788,477.72,764.72,501,736,501z" />
<path
android:fillColor="#55221F"
android:pathData="M 470.2 425.26 C 479.301652677 425.26 486.68 437.907955817 486.68 453.51 C 486.68 469.112044183 479.301652677 481.76 470.2 481.76 C 461.098347323 481.76 453.72 469.112044183 453.72 453.51 C 453.72 437.907955817 461.098347323 425.26 470.2 425.26 Z" />
<path
android:fillColor="#55221F"
android:pathData="M 629.8 425.26 C 638.901652677 425.26 646.28 437.907955817 646.28 453.51 C 646.28 469.112044183 638.901652677 481.76 629.8 481.76 C 620.698347323 481.76 613.32 469.112044183 613.32 453.51 C 613.32 437.907955817 620.698347323 425.26 629.8 425.26 Z" />
<path
android:fillColor="#261614"
android:pathData="M 390.5 237 C 432.749783362 237 467 271.250216638 467 313.5 C 467 355.749783362 432.749783362 390 390.5 390 C 348.250216638 390 314 355.749783362 314 313.5 C 314 271.250216638 348.250216638 237 390.5 237 Z" />
<path
android:fillColor="#261614"
android:pathData="M 501.5 198 C 543.749783362 198 578 232.250216638 578 274.5 C 578 316.749783362 543.749783362 351 501.5 351 C 459.250216638 351 425 316.749783362 425 274.5 C 425 232.250216638 459.250216638 198 501.5 198 Z" />
<path
android:fillColor="#261614"
android:pathData="M 660.5 217 C 702.749783362 217 737 251.250216638 737 293.5 C 737 335.749783362 702.749783362 370 660.5 370 C 618.250216638 370 584 335.749783362 584 293.5 C 584 251.250216638 618.250216638 217 660.5 217 Z" />
<group>
<path
android:fillColor="#261614"
android:pathData="M520.5,259c-3,0-5.96,0.19-8.87,0.53C537.29,271.88,555,298.12,555,328.5c0,39.25-29.56,71.57-67.63,75.97 c10.02,4.82,21.26,7.53,33.13,7.53c42.25,0,76.5-34.25,76.5-76.5S562.75,259,520.5,259z" />
</group>
<path
android:fillColor="#E77044"
android:pathData="M769.1,863.18 c-18.5-7.09-36.89-11.47-55.27-13.97C683.78,909.54,621.48,951,549.5,951c-72.74,0-135.59-42.32-165.27-103.68 c-18.9,1.41-37.76,4.5-56.72,10.19C363.09,945.17,449.07,1007,549.5,1007C647.75,1007,732.17,947.83,769.1,863.18z" />
<path
android:fillColor="#FFFFFF"
android:pathData="M589.25,624.11 l-76.74,4.62c0,0,16.62,27.48,38.38,26.89C572.66,655.04,589.25,624.11,589.25,624.11z" />
<path
android:fillColor="#C15A3A"
android:pathData="M535,950.43v56.14 c4.8,0.29,9.63,0.44,14.5,0.44c5.89,0,11.72-0.22,17.5-0.64v-56.19c-5.76,0.55-11.6,0.83-17.5,0.83 C544.62,951,539.78,950.8,535,950.43z" />
</vector>

View File

@@ -0,0 +1,106 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
~ Copyright (c) 2022 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="1080dp"
android:height="1080dp"
android:viewportWidth="1080"
android:viewportHeight="1080">
<path
android:fillColor="#3DDB85"
android:pathData="M 0 0 H 1080 V 1080 H 0 V 0 Z" />
<path
android:fillColor="#F7C331"
android:pathData="M358.16,426.43 c0,0-26.42-54.83-61.83-11.61c0.44-0.63-66.95-30.98-61.25,61.68c0,0-50.23-2.44-53.17,53.23c-2.94,55.67,60.81,78,60.81,78 s-10.24,39.64,28.33,37.71c0,0,8.72,60.03,56.81,38.15c0,0,7.08,30.27,29.05,18.04s37.93-42.57,25.98-55.74 c0,0,45.86,14.1,62.33-21.67C461.67,588.45,358.16,426.43,358.16,426.43z" />
<path
android:fillColor="#D0925D"
android:pathData="M 447 665 H 629 V 778 H 447 V 665 Z" />
<group>
<path
android:fillColor="#F1F7D3"
android:pathData="M296.11,1450.22l523.33-5.11l31.32-450.92c4.65-107.23-81.59-196.42-188.92-195.37l-240.6,2.35 c-107.32,1.05-191.81,91.9-185.07,199.02L296.11,1450.22z" />
</group>
<group>
<path
android:fillColor="#F1F7D3"
android:pathData="M642.74,799.42c126.87-4.42,248.2,38.66,403.56,449.38l-189.69,12.85l-230.27-237.12 C626.34,1024.53,586.35,801.39,642.74,799.42z" />
</group>
<group>
<path
android:fillColor="#D0D3B6"
android:pathData="M 699.84 1097.96 H 962.82 V 1105.8 H 699.84 V 1097.96 Z" />
</group>
<group>
<path
android:fillColor="#F1F7D3"
android:pathData="M453.66,1024.53c0,0,39.99-223.15-16.4-225.11c-126.87-4.42-248.2,38.66-403.56,449.38l189.69,12.85" />
</group>
<group>
<path
android:fillColor="#D0D3B6"
android:pathData="M 259.65 970.39 H 267.49 V 1233.37 H 259.65 V 970.39 Z" />
</group>
<path
android:fillColor="#F1F7D3"
android:pathData="M433.14,775.19 c0.05,9.33-1.14,22.98-8.44,23.72l13.75,24.52l37.82-32.51C476.26,790.92,433.11,770.28,433.14,775.19z" />
<path
android:fillColor="#F1F7D3"
android:pathData="M642.89,779.38 c0.34,8.76,2.11,18.9,8.38,19.53l-13.75,24.52l-37.82-32.51C599.69,790.92,642.62,772.55,642.89,779.38z" />
<path
android:fillColor="#F1F7D3"
android:pathData="M 433.29 723.76 H 643.4 V 826.23 H 433.29 V 723.76 Z" />
<group>
<path
android:fillColor="#D0D3B6"
android:pathData="M 534.16 723.76 H 542 V 881 H 534.16 V 723.76 Z" />
</group>
<path
android:fillColor="#AE764D"
android:pathData="M447,676.03 C480.28,696.91,519.64,709,561.82,709h6.14c21.2,0,41.68-3.06,61.04-8.75V665H447V676.03z" />
<group>
<path
android:fillColor="#D0925D"
android:pathData="M544.96,700h-6.14c-119.47,0-216.33-96.85-216.33-216.33V260h438.79v223.67 C761.29,603.15,664.43,700,544.96,700z" />
<path
android:fillColor="#55221F"
android:pathData="M 458.2 392.26 C 467.301652677 392.26 474.68 404.907955817 474.68 420.51 C 474.68 436.112044183 467.301652677 448.76 458.2 448.76 C 449.098347323 448.76 441.72 436.112044183 441.72 420.51 C 441.72 404.907955817 449.098347323 392.26 458.2 392.26 Z" />
<path
android:fillColor="#55221F"
android:pathData="M 617.8 392.26 C 626.901652677 392.26 634.28 404.907955817 634.28 420.51 C 634.28 436.112044183 626.901652677 448.76 617.8 448.76 C 608.698347323 448.76 601.32 436.112044183 601.32 420.51 C 601.32 404.907955817 608.698347323 392.26 617.8 392.26 Z" />
<path
android:fillColor="#003144"
android:pathData="M419.3,367.16c-1.83,0-3.63-0.88-4.72-2.52c-1.75-2.61-1.05-6.13,1.55-7.88 c22.66-15.2,46.17-16.53,69.89-3.97c2.77,1.47,3.83,4.91,2.36,7.68c-1.47,2.77-4.91,3.83-7.68,2.36 c-20.29-10.74-38.8-9.68-58.25,3.37C421.49,366.85,420.39,367.16,419.3,367.16z" />
<path
android:fillColor="#003144"
android:pathData="M583.88,361.88c-1.81-0.29-3.44-1.45-4.26-3.24c-1.31-2.85-0.05-6.22,2.8-7.53 c24.8-11.37,48.23-8.92,69.63,7.28c2.5,1.89,2.99,5.46,1.1,7.96c-1.9,2.5-5.46,2.99-7.96,1.1 c-18.31-13.86-36.75-15.77-58.04-6.01C586.09,361.93,584.95,362.06,583.88,361.88z" />
<path
android:fillColor="#BF4036"
android:pathData="M552.53,614.54c-0.65,0-1.31-0.1-1.97-0.32c-21.88-7.19-45.22-18.05-69.37-32.29c-3-1.77-4-5.63-2.23-8.63 c1.77-3,5.63-4,8.63-2.23c23.37,13.77,45.88,24.26,66.9,31.17c3.31,1.09,5.11,4.65,4.02,7.95 C557.65,612.86,555.18,614.54,552.53,614.54z" />
<path
android:fillColor="#9E6452"
android:pathData="M546.34,539.83c-2.42,0-4.56-1.76-4.95-4.23c-0.44-2.74,1.43-5.31,4.17-5.75 c8.27-1.32,29.17-8.47,26.66-25.49c-1.69-11.48-11.72-19.64-17.55-23.49c-4.31-2.84-7.35-7.44-8.36-12.61l-6.66-34.28 c-0.53-2.72,1.25-5.36,3.97-5.89c2.72-0.52,5.36,1.25,5.89,3.97l6.66,34.28c0.49,2.54,1.96,4.78,4.03,6.14 c7.23,4.77,19.69,15.06,21.96,30.41c3.31,22.42-19.13,34.34-35.01,36.87C546.87,539.81,546.6,539.83,546.34,539.83z" />
<path
android:fillColor="#F1F7D3"
android:pathData="M664.57,185.37L664.57,185.37l-249.28,0v0c0-49.91-40.46-90.37-90.37-90.37h0 c-6.03,0-10.91,4.88-10.91,10.91v381.37c0,80.56,42.4,151.2,106.1,190.86c4.01,2.5,9.2-0.43,9.2-5.15v-37.7 c0-33.6-17.88-64.35-46.49-81.96c-31.62-19.47-52.71-54.4-52.71-94.27v-19.37c0-62.95,51.9-114.29,114.81-111.94 c20.48,0.76,39.54,7.1,55.71,17.53c23.96,15.47,54.63,15.47,78.59,0c16.16-10.43,35.22-16.77,55.71-17.53 c62.91-2.34,114.81,48.99,114.81,111.94v19.37c0,39.86-21.08,74.8-52.71,94.27c-28.61,17.61-46.49,48.37-46.49,81.96v40.09 c0,4.67,5.09,7.6,9.1,5.21c65.93-39.16,110.12-111.07,110.12-193.31V105.91c0-6.03-4.88-10.91-10.91-10.91h-3.93 C705.03,95,664.57,135.46,664.57,185.37z" />
<path
android:fillColor="#F1F7D3"
android:pathData="M 540.45 161.48 C 646.864225597 161.48 733.13 188.21755474 733.13 221.2 C 733.13 254.18244526 646.864225597 280.92 540.45 280.92 C 434.035774403 280.92 347.77 254.18244526 347.77 221.2 C 347.77 188.21755474 434.035774403 161.48 540.45 161.48 Z" />
</group>
<path
android:fillColor="#F7C331"
android:pathData="M576.98,962.4 c0.48-0.54,0.59-1.32,0.3-1.98s-0.96-1.08-1.68-1.08h-24.38c-0.38,0-0.74-0.21-0.93-0.55c-0.19-0.34-0.18-0.75,0.03-1.08 l21.63-34.74c0.62-0.99,0.65-2.25,0.08-3.27c-0.57-1.03-1.65-1.66-2.82-1.66h-29.46c-1.21,0-2.32,0.68-2.87,1.75l-32.17,62.64 c-0.2,0.38-0.18,0.84,0.04,1.21c0.23,0.37,0.63,0.59,1.06,0.59h20.12c0.61,0,1.19,0.3,1.53,0.82c0.34,0.51,0.41,1.15,0.18,1.72 l-22.6,55.68c-0.1,0.26-0.01,0.56,0.23,0.7c0.24,0.15,0.54,0.1,0.73-0.11L576.98,962.4z" />
</vector>

View File

@@ -0,0 +1,265 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
~ Copyright (c) 2022 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="1080dp"
android:height="1080dp"
android:viewportWidth="1080"
android:viewportHeight="1080">
<path
android:fillColor="#3DDB85"
android:pathData="M 0 0 H 1080 V 1080 H 0 V 0 Z" />
<group>
<path
android:fillColor="#003144"
android:pathData="M748.5,489h-76c-15.12,0-27.5-12.38-27.5-27.5v0c0-15.12,12.38-27.5,27.5-27.5h76 c15.12,0,27.5,12.38,27.5,27.5v0C776,476.62,763.62,489,748.5,489z" />
<path
android:fillColor="#003144"
android:pathData="M748.5,534h-76c-15.12,0-27.5-12.38-27.5-27.5v0c0-15.12,12.38-27.5,27.5-27.5h76 c15.12,0,27.5,12.38,27.5,27.5v0C776,521.62,763.62,534,748.5,534z" />
<path
android:fillColor="#003144"
android:pathData="M748.5,579h-76c-15.12,0-27.5-12.38-27.5-27.5l0,0c0-15.12,12.38-27.5,27.5-27.5h76 c15.12,0,27.5,12.38,27.5,27.5l0,0C776,566.62,763.62,579,748.5,579z" />
<path
android:fillColor="#003144"
android:pathData="M748.5,624h-76c-15.12,0-27.5-12.38-27.5-27.5l0,0c0-15.12,12.38-27.5,27.5-27.5h76 c15.12,0,27.5,12.38,27.5,27.5l0,0C776,611.62,763.62,624,748.5,624z" />
<path
android:fillColor="#003144"
android:pathData="M748.5,669h-76c-15.12,0-27.5-12.38-27.5-27.5l0,0c0-15.12,12.38-27.5,27.5-27.5h76 c15.12,0,27.5,12.38,27.5,27.5l0,0C776,656.62,763.62,669,748.5,669z" />
<path
android:fillColor="#003144"
android:pathData="M748.5,714h-76c-15.12,0-27.5-12.38-27.5-27.5l0,0c0-15.12,12.38-27.5,27.5-27.5h76 c15.12,0,27.5,12.38,27.5,27.5l0,0C776,701.62,763.62,714,748.5,714z" />
<path
android:fillColor="#003144"
android:pathData="M748.5,759h-76c-15.12,0-27.5-12.38-27.5-27.5l0,0c0-15.12,12.38-27.5,27.5-27.5h76 c15.12,0,27.5,12.38,27.5,27.5l0,0C776,746.62,763.62,759,748.5,759z" />
<path
android:fillColor="#003144"
android:pathData="M748.5,804h-76c-15.12,0-27.5-12.38-27.5-27.5l0,0c0-15.12,12.38-27.5,27.5-27.5h76 c15.12,0,27.5,12.38,27.5,27.5l0,0C776,791.62,763.62,804,748.5,804z" />
</group>
<group>
<path
android:fillColor="#003144"
android:pathData="M396.5,489h-76c-15.12,0-27.5-12.38-27.5-27.5v0c0-15.12,12.38-27.5,27.5-27.5h76 c15.12,0,27.5,12.38,27.5,27.5v0C424,476.62,411.62,489,396.5,489z" />
<path
android:fillColor="#003144"
android:pathData="M396.5,534h-76c-15.12,0-27.5-12.38-27.5-27.5v0c0-15.12,12.38-27.5,27.5-27.5h76 c15.12,0,27.5,12.38,27.5,27.5v0C424,521.62,411.62,534,396.5,534z" />
<path
android:fillColor="#003144"
android:pathData="M396.5,579h-76c-15.12,0-27.5-12.38-27.5-27.5l0,0c0-15.12,12.38-27.5,27.5-27.5h76 c15.12,0,27.5,12.38,27.5,27.5l0,0C424,566.62,411.62,579,396.5,579z" />
<path
android:fillColor="#003144"
android:pathData="M396.5,624h-76c-15.12,0-27.5-12.38-27.5-27.5l0,0c0-15.12,12.38-27.5,27.5-27.5h76 c15.12,0,27.5,12.38,27.5,27.5l0,0C424,611.62,411.62,624,396.5,624z" />
<path
android:fillColor="#003144"
android:pathData="M396.5,669h-76c-15.12,0-27.5-12.38-27.5-27.5l0,0c0-15.12,12.38-27.5,27.5-27.5h76 c15.12,0,27.5,12.38,27.5,27.5l0,0C424,656.62,411.62,669,396.5,669z" />
<path
android:fillColor="#003144"
android:pathData="M396.5,714h-76c-15.12,0-27.5-12.38-27.5-27.5l0,0c0-15.12,12.38-27.5,27.5-27.5h76 c15.12,0,27.5,12.38,27.5,27.5l0,0C424,701.62,411.62,714,396.5,714z" />
<path
android:fillColor="#003144"
android:pathData="M396.5,759h-76c-15.12,0-27.5-12.38-27.5-27.5l0,0c0-15.12,12.38-27.5,27.5-27.5h76 c15.12,0,27.5,12.38,27.5,27.5l0,0C424,746.62,411.62,759,396.5,759z" />
<path
android:fillColor="#003144"
android:pathData="M396.5,804h-76c-15.12,0-27.5-12.38-27.5-27.5l0,0c0-15.12,12.38-27.5,27.5-27.5h76 c15.12,0,27.5,12.38,27.5,27.5l0,0C424,791.62,411.62,804,396.5,804z" />
</group>
<path
android:fillColor="#103042"
android:pathData="M 528.5 159 C 665.190475583 159 776 242.498894157 776 345.5 C 776 448.501105843 665.190475583 532 528.5 532 C 391.809524417 532 281 448.501105843 281 345.5 C 281 242.498894157 391.809524417 159 528.5 159 Z" />
<group>
<path
android:fillColor="#002B38"
android:pathData="M695.5,539h-76c-15.12,0-27.5-12.38-27.5-27.5v0c0-15.12,12.38-27.5,27.5-27.5h76 c15.12,0,27.5,12.38,27.5,27.5v0C723,526.62,710.62,539,695.5,539z" />
<path
android:fillColor="#002B38"
android:pathData="M695.5,584h-76c-15.12,0-27.5-12.38-27.5-27.5l0,0c0-15.12,12.38-27.5,27.5-27.5h76 c15.12,0,27.5,12.38,27.5,27.5l0,0C723,571.62,710.62,584,695.5,584z" />
<path
android:fillColor="#002B38"
android:pathData="M695.5,629h-76c-15.12,0-27.5-12.38-27.5-27.5l0,0c0-15.12,12.38-27.5,27.5-27.5h76 c15.12,0,27.5,12.38,27.5,27.5l0,0C723,616.62,710.62,629,695.5,629z" />
<path
android:fillColor="#002B38"
android:pathData="M695.5,674h-76c-15.12,0-27.5-12.38-27.5-27.5l0,0c0-15.12,12.38-27.5,27.5-27.5h76 c15.12,0,27.5,12.38,27.5,27.5l0,0C723,661.62,710.62,674,695.5,674z" />
<path
android:fillColor="#002B38"
android:pathData="M695.5,719h-76c-15.12,0-27.5-12.38-27.5-27.5l0,0c0-15.12,12.38-27.5,27.5-27.5h76 c15.12,0,27.5,12.38,27.5,27.5l0,0C723,706.62,710.62,719,695.5,719z" />
<path
android:fillColor="#002B38"
android:pathData="M695.5,764h-76c-15.12,0-27.5-12.38-27.5-27.5l0,0c0-15.12,12.38-27.5,27.5-27.5h76 c15.12,0,27.5,12.38,27.5,27.5l0,0C723,751.62,710.62,764,695.5,764z" />
<path
android:fillColor="#002B38"
android:pathData="M695.5,809h-76c-15.12,0-27.5-12.38-27.5-27.5l0,0c0-15.12,12.38-27.5,27.5-27.5h76 c15.12,0,27.5,12.38,27.5,27.5l0,0C723,796.62,710.62,809,695.5,809z" />
<path
android:fillColor="#002B38"
android:pathData="M695.5,854h-76c-15.12,0-27.5-12.38-27.5-27.5l0,0c0-15.12,12.38-27.5,27.5-27.5h76 c15.12,0,27.5,12.38,27.5,27.5l0,0C723,841.62,710.62,854,695.5,854z" />
</group>
<group>
<path
android:fillColor="#002B38"
android:pathData="M456.5,534h-76c-15.12,0-27.5-12.38-27.5-27.5v0c0-15.12,12.38-27.5,27.5-27.5h76 c15.12,0,27.5,12.38,27.5,27.5v0C484,521.62,471.62,534,456.5,534z" />
<path
android:fillColor="#002B38"
android:pathData="M456.5,579h-76c-15.12,0-27.5-12.38-27.5-27.5l0,0c0-15.12,12.38-27.5,27.5-27.5h76 c15.12,0,27.5,12.38,27.5,27.5l0,0C484,566.62,471.62,579,456.5,579z" />
<path
android:fillColor="#002B38"
android:pathData="M456.5,624h-76c-15.12,0-27.5-12.38-27.5-27.5l0,0c0-15.12,12.38-27.5,27.5-27.5h76 c15.12,0,27.5,12.38,27.5,27.5l0,0C484,611.62,471.62,624,456.5,624z" />
<path
android:fillColor="#002B38"
android:pathData="M456.5,669h-76c-15.12,0-27.5-12.38-27.5-27.5l0,0c0-15.12,12.38-27.5,27.5-27.5h76 c15.12,0,27.5,12.38,27.5,27.5l0,0C484,656.62,471.62,669,456.5,669z" />
<path
android:fillColor="#002B38"
android:pathData="M456.5,714h-76c-15.12,0-27.5-12.38-27.5-27.5l0,0c0-15.12,12.38-27.5,27.5-27.5h76 c15.12,0,27.5,12.38,27.5,27.5l0,0C484,701.62,471.62,714,456.5,714z" />
<path
android:fillColor="#002B38"
android:pathData="M456.5,759h-76c-15.12,0-27.5-12.38-27.5-27.5l0,0c0-15.12,12.38-27.5,27.5-27.5h76 c15.12,0,27.5,12.38,27.5,27.5l0,0C484,746.62,471.62,759,456.5,759z" />
<path
android:fillColor="#002B38"
android:pathData="M456.5,804h-76c-15.12,0-27.5-12.38-27.5-27.5l0,0c0-15.12,12.38-27.5,27.5-27.5h76 c15.12,0,27.5,12.38,27.5,27.5l0,0C484,791.62,471.62,804,456.5,804z" />
<path
android:fillColor="#002B38"
android:pathData="M456.5,849h-76c-15.12,0-27.5-12.38-27.5-27.5l0,0c0-15.12,12.38-27.5,27.5-27.5h76 c15.12,0,27.5,12.38,27.5,27.5l0,0C484,836.62,471.62,849,456.5,849z" />
</group>
<group>
<path
android:fillColor="#F3B26B"
android:pathData="M636.8,797.28c-26.75-38.28-22.31-173.27-22.31-173.27l-148.16-9.51c0,0,19.25,149.07-19.52,182.78 C408.04,831,292.04,853,242.04,891s-176.37,227.02-118,227c58.04-0.02,843.4,12.53,847-22c0.05-0.5-48-159-114-211 S663.55,835.57,636.8,797.28z" />
</group>
<path
android:fillColor="#4282F2"
android:pathData="M643.96,927 c-38.03,0-72.64,10.4-98.5,27.41c-7.24,4.76-16.68,4.76-23.92,0C495.67,937.4,461.07,927,423.04,927 C342.94,927,278,973.11,278,1030v106.91c0,12.2,9.89,22.09,22.09,22.09h466.81c12.2,0,22.09-9.89,22.09-22.09V1030 C789,973.11,724.06,927,643.96,927z" />
<group>
<path
android:pathData="M852,950c17.67,0,33.47-7.98,44.02-20.52c-12.01-17.9-25.1-33.54-38.98-44.48 c-14.51-11.43-32-20.23-50.73-27.4c-7.4,9.68-11.81,21.77-11.81,34.9C794.5,924.26,820.24,950,852,950z" />
<path
android:pathData="M909.67,951.47C894.79,966.02,874.45,975,852,975c-45.56,0-82.5-36.94-82.5-82.5 c0-15.87,4.49-30.7,12.26-43.28c-60.81-18.63-126.61-25.67-144.97-51.94c-26.75-38.28-22.31-173.27-22.31-173.27l-148.16-9.51 c0,0,19.25,149.07-19.52,182.78c-26.71,23.23-90.07,40.9-143.26,62.07c4.46,10.15,6.95,21.35,6.95,33.15 c0,45.56-36.94,82.5-82.5,82.5c-17.5,0-33.71-5.46-47.06-14.75c-49.72,68.22-97.07,157.77-56.9,157.75 c58.04-0.02,843.4,12.53,847-22C971.08,1095.65,947.07,1016.31,909.67,951.47z" />
<path
android:pathData="M285.5,892.5c0-8.33-1.79-16.24-4.97-23.38c-14.82,6.77-28.08,13.98-38.49,21.88 c-12.1,9.2-28.67,27.23-46.01,49.3c9.14,6.13,20.14,9.7,31.97,9.7C259.76,950,285.5,924.26,285.5,892.5z" />
<path
android:fillColor="#4282F2"
android:pathData="M852,975c22.45,0,42.79-8.98,57.67-23.53c-4.37-7.58-8.93-14.96-13.65-21.99 C885.47,942.02,869.67,950,852,950c-31.76,0-57.5-25.74-57.5-57.5c0-13.13,4.41-25.22,11.81-34.9c-8-3.06-16.23-5.83-24.55-8.38 c-7.77,12.58-12.26,27.4-12.26,43.28C769.5,938.06,806.44,975,852,975z" />
<path
android:fillColor="#4282F2"
android:pathData="M310.5,892.5c0-11.79-2.49-23-6.95-33.15c-7.95,3.17-15.68,6.41-23.02,9.77 c3.19,7.15,4.97,15.05,4.97,23.38c0,31.76-25.74,57.5-57.5,57.5c-11.83,0-22.83-3.58-31.97-9.7c-5,6.35-10.05,13.04-15.09,19.95 C194.29,969.54,210.5,975,228,975C273.56,975,310.5,938.06,310.5,892.5z" />
</group>
<path
android:fillColor="#D0905C"
android:pathData="M555.39,704 c21.15,0,41.38-3.91,60.04-11.02c-1.99-37.14-0.94-68.97-0.94-68.97l-148.16-9.51c0,0,4.12,31.93,4.71,69.57 c23.7,12.71,50.8,19.93,79.58,19.93H555.39z" />
<path
android:fillColor="#F3B26B"
android:pathData="M542.39,685h-4.78 C444.49,685,369,609.51,369,516.39V261h342v255.39C711,609.51,635.51,685,542.39,685z" />
<group>
<path
android:fillColor="#910916"
android:fillAlpha="0.7"
android:strokeAlpha="0.7"
android:strokeWidth="1"
android:pathData="M559.44,612.37c-14.06,3.67-37.19,6.42-57.93-6.27c-3.2-1.96-4.21-6.15-2.26-9.35 c1.97-3.19,6.16-4.22,9.35-2.25c25.6,15.66,57.83,1.2,58.17,1.06c3.43-1.55,7.45-0.07,9.02,3.33c1.58,3.41,0.09,7.44-3.31,9.02 C571.93,608.16,566.99,610.39,559.44,612.37z" />
</group>
<path
android:fillColor="#5280EA"
android:pathData="M700.09,424H359.91 c-3.26,0-5.91,2.65-5.91,5.91v77.18c0,3.26,2.65,5.91,5.91,5.91h0.34c2.46,0,4.65,1.54,5.53,3.84 c12.6,32.85,44.43,56.16,81.72,56.16c33.59,0,62.76-18.93,77.42-46.71c2.24-4.25,8.26-4.25,10.5,0 c14.66,27.78,43.83,46.71,77.42,46.71c37.28,0,69.11-23.32,81.72-56.16c0.88-2.3,3.07-3.84,5.53-3.84l0,0 c3.26,0,5.91-2.65,5.91-5.91v-77.18C706,426.65,703.35,424,700.09,424z" />
<group>
<path
android:fillColor="#4F2521"
android:pathData="M 462 468.26 C 471.101652677 468.26 478.48 480.907955817 478.48 496.51 C 478.48 512.112044183 471.101652677 524.76 462 524.76 C 452.898347323 524.76 445.52 512.112044183 445.52 496.51 C 445.52 480.907955817 452.898347323 468.26 462 468.26 Z" />
<path
android:fillColor="#4F2521"
android:pathData="M 612 468.26 C 621.101652677 468.26 628.48 480.907955817 628.48 496.51 C 628.48 512.112044183 621.101652677 524.76 612 524.76 C 602.898347323 524.76 595.52 512.112044183 595.52 496.51 C 595.52 480.907955817 602.898347323 468.26 612 468.26 Z" />
</group>
<group>
<path
android:fillColor="#003144"
android:pathData="M365.9,401h-65.8c-14.35,0-26.1-11.74-26.1-26.1v-2.8c0-14.35,11.74-26.1,26.1-26.1h65.8 c14.35,0,26.1,11.74,26.1,26.1v2.8C392,389.26,380.26,401,365.9,401z" />
<path
android:fillColor="#003144"
android:pathData="M365.9,446h-65.8c-14.35,0-26.1-11.74-26.1-26.1v-2.8c0-14.35,11.74-26.1,26.1-26.1h65.8 c14.35,0,26.1,11.74,26.1,26.1v2.8C392,434.26,380.26,446,365.9,446z" />
<path
android:fillColor="#003144"
android:pathData="M365.9,491h-65.8c-14.35,0-26.1-11.74-26.1-26.1v-2.8c0-14.35,11.74-26.1,26.1-26.1h65.8 c14.35,0,26.1,11.74,26.1,26.1v2.8C392,479.26,380.26,491,365.9,491z" />
<path
android:fillColor="#003144"
android:pathData="M365.9,536h-65.8c-14.35,0-26.1-11.74-26.1-26.1v-2.8c0-14.35,11.74-26.1,26.1-26.1h65.8 c14.35,0,26.1,11.74,26.1,26.1v2.8C392,524.26,380.26,536,365.9,536z" />
<path
android:fillColor="#003144"
android:pathData="M365.9,581h-65.8c-14.35,0-26.1-11.74-26.1-26.1v-2.8c0-14.35,11.74-26.1,26.1-26.1h65.8 c14.35,0,26.1,11.74,26.1,26.1v2.8C392,569.26,380.26,581,365.9,581z" />
<path
android:fillColor="#003144"
android:pathData="M365.9,626h-65.8c-14.35,0-26.1-11.74-26.1-26.1v-2.8c0-14.35,11.74-26.1,26.1-26.1h65.8 c14.35,0,26.1,11.74,26.1,26.1v2.8C392,614.26,380.26,626,365.9,626z" />
<path
android:fillColor="#003144"
android:pathData="M365.9,671h-65.8c-14.35,0-26.1-11.74-26.1-26.1v-2.8c0-14.35,11.74-26.1,26.1-26.1h65.8 c14.35,0,26.1,11.74,26.1,26.1v2.8C392,659.26,380.26,671,365.9,671z" />
<path
android:fillColor="#003144"
android:pathData="M365.9,716h-65.8c-14.35,0-26.1-11.74-26.1-26.1v-2.8c0-14.35,11.74-26.1,26.1-26.1h65.8 c14.35,0,26.1,11.74,26.1,26.1v2.8C392,704.26,380.26,716,365.9,716z" />
</group>
<group>
<path
android:fillColor="#003144"
android:pathData="M755.9,411h-65.8c-14.35,0-26.1-11.74-26.1-26.1v-2.8c0-14.35,11.74-26.1,26.1-26.1h65.8 c14.35,0,26.1,11.74,26.1,26.1v2.8C782,399.26,770.26,411,755.9,411z" />
<path
android:fillColor="#003144"
android:pathData="M755.9,456h-65.8c-14.35,0-26.1-11.74-26.1-26.1v-2.8c0-14.35,11.74-26.1,26.1-26.1h65.8 c14.35,0,26.1,11.74,26.1,26.1v2.8C782,444.26,770.26,456,755.9,456z" />
<path
android:fillColor="#003144"
android:pathData="M755.9,501h-65.8c-14.35,0-26.1-11.74-26.1-26.1v-2.8c0-14.35,11.74-26.1,26.1-26.1h65.8 c14.35,0,26.1,11.74,26.1,26.1v2.8C782,489.26,770.26,501,755.9,501z" />
<path
android:fillColor="#003144"
android:pathData="M755.9,546h-65.8c-14.35,0-26.1-11.74-26.1-26.1v-2.8c0-14.35,11.74-26.1,26.1-26.1h65.8 c14.35,0,26.1,11.74,26.1,26.1v2.8C782,534.26,770.26,546,755.9,546z" />
<path
android:fillColor="#003144"
android:pathData="M755.9,591h-65.8c-14.35,0-26.1-11.74-26.1-26.1v-2.8c0-14.35,11.74-26.1,26.1-26.1h65.8 c14.35,0,26.1,11.74,26.1,26.1v2.8C782,579.26,770.26,591,755.9,591z" />
<path
android:fillColor="#003144"
android:pathData="M755.9,636h-65.8c-14.35,0-26.1-11.74-26.1-26.1v-2.8c0-14.35,11.74-26.1,26.1-26.1h65.8 c14.35,0,26.1,11.74,26.1,26.1v2.8C782,624.26,770.26,636,755.9,636z" />
<path
android:fillColor="#003144"
android:pathData="M755.9,681h-65.8c-14.35,0-26.1-11.74-26.1-26.1v-2.8c0-14.35,11.74-26.1,26.1-26.1h65.8 c14.35,0,26.1,11.74,26.1,26.1v2.8C782,669.26,770.26,681,755.9,681z" />
<path
android:fillColor="#003144"
android:pathData="M755.9,726h-65.8c-14.35,0-26.1-11.74-26.1-26.1v-2.8c0-14.35,11.74-26.1,26.1-26.1h65.8 c14.35,0,26.1,11.74,26.1,26.1v2.8C782,714.26,770.26,726,755.9,726z" />
</group>
<path
android:fillColor="#003144"
android:pathData="M631.16,381.16 l49.43-3.27l31.29-43.03l-24.31-63.69l-328.59,17.8L365.64,395l209.52-10.33c4.74-0.3,8.69-3.74,9.64-8.39l12.03-59.07 c0.26-1.3,2.06-1.43,2.52-0.2l21.29,57.32C622.26,378.68,626.53,381.45,631.16,381.16z" />
<path
android:fillColor="#003144"
android:pathData="M660.6,379.27 l53.19-3.34c4.98-0.31,9.05-4.08,9.75-9.02c3.72-26.18,9.28-105.92-53.21-141.24c-25.3-14.3-101.75-13.02-101.75-13.02 L660.6,379.27z" />
<path
android:fillColor="#003144"
android:pathData="M736.86,373.67 c-0.14,0-0.27-0.01-0.41-0.02c-2.16-0.23-3.74-2.16-3.51-4.33c6.69-64.25-16.52-99.02-30.95-114.03 c-24.8-25.79-62.97-37.21-113.46-33.94c-2.18,0.15-4.05-1.51-4.19-3.68c-0.14-2.17,1.51-4.05,3.68-4.19 c52.91-3.42,93.17,8.8,119.65,36.34c15.38,15.99,40.13,52.89,33.11,120.31C740.56,372.16,738.85,373.67,736.86,373.67z" />
<path
android:fillColor="#003144"
android:pathData="M 345 233 H 716 V 293 H 345 V 233 Z" />
<group>
<path
android:fillColor="#003144"
android:pathData="M490.37,443.36c1.97,0.06,3.92-0.87,5.08-2.64c1.77-2.7,1.02-6.33-1.69-8.11 c-25.02-16.4-51.24-17.35-77.96-2.84c-2.84,1.54-3.89,5.1-2.35,7.94c1.54,2.84,5.1,3.89,7.94,2.35 c22.95-12.47,44.52-11.7,65.95,2.34C488.28,443.02,489.32,443.33,490.37,443.36z" />
</group>
<group>
<path
android:fillColor="#003144"
android:pathData="M652.47,447.69c1.96,0.19,3.97-0.61,5.24-2.3c1.95-2.58,1.43-6.25-1.15-8.2 c-23.88-18.01-49.98-20.7-77.6-7.98c-2.94,1.35-4.22,4.83-2.87,7.77c1.35,2.94,4.83,4.22,7.77,2.87 c23.72-10.92,45.2-8.73,65.65,6.7C650.4,447.21,651.43,447.59,652.47,447.69z" />
</group>
<path
android:fillColor="#103042"
android:pathData="M 274 372.1 L 285.5 309.92 L 353 323.06 L 313.5 395 Z" />
<path
android:fillColor="#103042"
android:pathData="M 769.5 302.86 L 782 382.1 L 742 383.5 L 739.16 314.82 Z" />
<group>
<path
android:fillColor="#4166BA"
android:pathData="M514,214c-55.75,0-104.87-11.44-133.77-28.82c-5.7,3.22-11.21,6.61-16.51,10.18 C386.96,219.72,445.48,237,514,237c79.69,0,145.85-23.38,158.72-54.07c-4.16-2.25-8.43-4.4-12.77-6.46 C634.31,198.64,578.6,214,514,214z" />
</group>
</vector>

View File

@@ -0,0 +1,29 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
~ Copyright (c) 2022 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="108dp"
android:height="108dp"
android:viewportWidth="108"
android:viewportHeight="108">
<group android:scaleX="0.99722993"
android:scaleY="0.99722993">
<path
android:fillColor="#F86734"
android:pathData="M 0 0 H 108.3 V 108.3 H 0 V 0 Z" />
</group>
</vector>

View File

@@ -0,0 +1,49 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
~ Copyright (c) 2022 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="108dp"
android:height="108dp"
android:viewportWidth="108"
android:viewportHeight="108">
<group android:scaleX="0.9430986"
android:scaleY="0.9430986"
android:translateX="20.52"
android:translateY="20.567156">
<path
android:fillColor="#fbc02d"
android:pathData="M 35.5 0 C 55.106108619 0 71 15.893891381 71 35.5 C 71 55.106108619 55.106108619 71 35.5 71 C 15.893891381 71 0 55.106108619 0 35.5 C 0 15.893891381 15.893891381 0 35.5 0 Z" />
<path
android:fillColor="#000000"
android:fillAlpha="0.1"
android:strokeAlpha="0.1"
android:strokeWidth="1"
android:pathData="M35.5,0a35.45,35.45,0,1,1,0,70.9" />
<path
android:fillColor="#083042"
android:pathData="M17.4,21.9a18.8,18.8,0,0,1,10.8,3.9,19.4,19.4,0,0,0,2.4,1.5,9.43,9.43,0,0,0,9.6 0.1 ,30.24,30.24,0,0,0,3.3-2.1,18.91,18.91,0,0,1,10.3-3.4,40.39,40.39,0,0,1,15.8,2.6c0.6 0.2 0.7 0.5 0.6,1.1a62.36,62.36,0,0,1-3.8,14.7,17.18,17.18,0,0,1-5.2,7c-2.8,2.1-5.8,2.8-9.1,1.5a53.92,53.92,0,0,1-6.8-3.4c-2.2-1.2-4.3-2.5-6.7-2.9a15.06,15.06,0,0,0-10.2,1.6c-2,1.2-4.1,2.3-6.1,3.4a15,15,0,0,1-5.4,1.8c-3.7 0.4 -6.5-1.4-8.9-4a16.05,16.05,0,0,1-4.5-8C2.4,33.4,1.7,29.4 0.8 ,25.5a0.58 0.58 ,0,0,1,0.5-0.8A45.6,45.6,0,0,1,17.4,21.9ZM60.6,32.7c-6-6.4-12.9-5.7-18.1,1.1C48.5,40,55,39.6,60.6,32.7ZM28.5,33.8c-5.4-7-12.3-7.3-18.1-1.1C15.7,39.5,22.2,40,28.5,33.8Z" />
<path
android:fillColor="#d6f0ff"
android:pathData="M60.6,32.7C55,39.6,48.5,40,42.5,33.8,47.7,26.9,54.5,26.3,60.6,32.7Z" />
<path
android:fillColor="#d6f0ff"
android:pathData="M28.5,33.8c-6.3,6.2-12.8,5.7-18.1-1.1C16.2,26.5,23.1,26.8,28.5,33.8Z" />
<path
android:fillColor="#d6f0ff"
android:pathData="M41.5,50.5a6,6,0,0,1-12,0" />
</group>
</vector>

Binary file not shown.

Binary file not shown.

View File

@@ -0,0 +1,20 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
~ Copyright (c) 2022 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.
-->
<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android">
<background android:drawable="@drawable/ic_launcher_background"/>
<foreground android:drawable="@drawable/ic_launcher_foreground"/>
</adaptive-icon>

View File

@@ -0,0 +1,20 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
~ Copyright (c) 2022 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.
-->
<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android">
<background android:drawable="@drawable/ic_launcher_background"/>
<foreground android:drawable="@drawable/ic_launcher_foreground"/>
</adaptive-icon>

View File

@@ -0,0 +1,22 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
~ Copyright (c) 2022 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>
<style name="Theme.Superheroes" parent="android:Theme.Material.Light.NoActionBar">
<item name="android:statusBarColor">@color/background_dark</item>
</style>
</resources>

View File

@@ -0,0 +1,22 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
~ Copyright (c) 2022 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>
<style name="Theme.Superheroes" parent="android:Theme.Material.Light.NoActionBar">
<item name="android:statusBarColor">@color/background_light</item>
</style>
</resources>

View File

@@ -0,0 +1,23 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
~ Copyright (c) 2022 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>
<style name="Theme.Superheroes" parent="android:Theme.Material.Light.NoActionBar">
<item name="android:statusBarColor">@color/background_light</item>
<item name="android:windowLightStatusBar">true</item>
</style>
</resources>

View File

@@ -0,0 +1,20 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
~ Copyright (c) 2022 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="background_light">#FFFDFCF4</color>
<color name="background_dark">#FF1B1C18</color>
</resources>

View File

@@ -0,0 +1,30 @@
<!--
~ Copyright (c) 2022 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">Superheroes</string>
<string name="hero1">Nick the Night and Day</string>
<string name="description1">The Jetpack Hero</string>
<string name="hero2">Reality Protector</string>
<string name="description2">Understands the absolute truth</string>
<string name="hero3">Andre the Giant</string>
<string name="description3">Mimics the light and night to blend in</string>
<string name="hero4">Benjamin the Brave</string>
<string name="description4">Harnesses the power of canary to develop bravely</string>
<string name="hero5">Magnificent Maru</string>
<string name="description5">Effortlessly glides in to save the day</string>
<string name="hero6">Dynamic Yasmine</string>
<string name="description6">Ability to shift to any form and energize</string>
</resources>

View File

@@ -0,0 +1,23 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
~ Copyright (c) 2022 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>
<style name="Theme.Superheroes" parent="android:Theme.Material.Light.NoActionBar">
<item name="android:statusBarColor">@color/background_light</item>
<item name="android:windowLightStatusBar">true</item>
</style>
</resources>

29
build.gradle Normal file
View File

@@ -0,0 +1,29 @@
buildscript {
ext {
compose_version = '1.1.1'
}
}/*
* Copyright (c) 2022 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.
plugins {
id 'com.android.application' version '7.2.0' apply false
id 'com.android.library' version '7.2.0' apply false
id 'org.jetbrains.kotlin.android' version '1.6.10' apply false
}
task clean(type: Delete) {
delete rootProject.buildDir
}

38
gradle.properties Normal file
View File

@@ -0,0 +1,38 @@
#
# Copyright (c) 2022 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.
org.gradle.jvmargs=-Xmx2048m -Dfile.encoding=UTF-8
# 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
# AndroidX package structure to make it clearer which packages are bundled with the
# Android operating system, and which are packaged with your app"s APK
# https://developer.android.com/topic/libraries/support-library/androidx-rn
android.useAndroidX=true
# Kotlin code style for this project: "official" or "obsolete":
kotlin.code.style=official
# Enables namespacing of each library's R class so that its R class includes only the
# resources declared in the library itself and none from the library's dependencies,
# thereby reducing the size of the R class for that library
android.nonTransitiveRClass=true

BIN
gradle/wrapper/gradle-wrapper.jar vendored Normal file

Binary file not shown.

View File

@@ -0,0 +1,21 @@
#
# Copyright (c) 2022 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.
#
#Mon Jun 13 11:28:35 PDT 2022
distributionBase=GRADLE_USER_HOME
distributionUrl=https\://services.gradle.org/distributions/gradle-7.3.3-bin.zip
distributionPath=wrapper/dists
zipStorePath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME

185
gradlew vendored Executable file
View File

@@ -0,0 +1,185 @@
#!/usr/bin/env sh
#
# Copyright 2015 the original author or authors.
#
# 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
#
# https://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.
#
##############################################################################
##
## 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='"-Xmx64m" "-Xms64m"'
# 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 or MSYS, switch paths to Windows format before running java
if [ "$cygwin" = "true" -o "$msys" = "true" ] ; 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=`expr $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"
exec "$JAVACMD" "$@"

89
gradlew.bat vendored Normal file
View File

@@ -0,0 +1,89 @@
@rem
@rem Copyright 2015 the original author or authors.
@rem
@rem Licensed under the Apache License, Version 2.0 (the "License");
@rem you may not use this file except in compliance with the License.
@rem You may obtain a copy of the License at
@rem
@rem https://www.apache.org/licenses/LICENSE-2.0
@rem
@rem Unless required by applicable law or agreed to in writing, software
@rem distributed under the License is distributed on an "AS IS" BASIS,
@rem WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
@rem See the License for the specific language governing permissions and
@rem limitations under the License.
@rem
@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 Resolve any "." and ".." in APP_HOME to make it shorter.
for %%i in ("%APP_HOME%") do set APP_HOME=%%~fi
@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="-Xmx64m" "-Xms64m"
@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 execute
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 execute
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
: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 %*
: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

31
settings.gradle Normal file
View File

@@ -0,0 +1,31 @@
/*
* Copyright (c) 2022 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.
*/
pluginManagement {
repositories {
gradlePluginPortal()
google()
mavenCentral()
}
}
dependencyResolutionManagement {
repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
repositories {
google()
mavenCentral()
}
}
rootProject.name = "Superheroes"
include ':app'