9.Exercise: Let´s Navigate Already
|
@ -0,0 +1,21 @@
|
|||
*.iml
|
||||
.gradle
|
||||
/local.properties
|
||||
/.idea/caches
|
||||
/.idea/codeStyles
|
||||
/.idea/compiler.xml
|
||||
/.idea/copyright
|
||||
/.idea/encodings.xml
|
||||
/.idea/gradle.xml
|
||||
/.idea/libraries
|
||||
/.idea/misc.xml
|
||||
/.idea/modules.xml
|
||||
/.idea/workspace.xml
|
||||
/.idea/runConfigurations.xml
|
||||
/.idea/vcs.xml
|
||||
/.idea/workspace.xml
|
||||
/.idea/assetWizardSettings.xml
|
||||
.DS_Store
|
||||
/build
|
||||
/captures
|
||||
.externalNativeBuild
|
|
@ -0,0 +1,40 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project version="4">
|
||||
<component name="RemoteRepositoriesConfiguration">
|
||||
<remote-repository>
|
||||
<option name="id" value="central" />
|
||||
<option name="name" value="Maven Central repository" />
|
||||
<option name="url" value="https://repo1.maven.org/maven2" />
|
||||
</remote-repository>
|
||||
<remote-repository>
|
||||
<option name="id" value="jboss.community" />
|
||||
<option name="name" value="JBoss Community repository" />
|
||||
<option name="url" value="https://repository.jboss.org/nexus/content/repositories/public/" />
|
||||
</remote-repository>
|
||||
<remote-repository>
|
||||
<option name="id" value="BintrayJCenter" />
|
||||
<option name="name" value="BintrayJCenter" />
|
||||
<option name="url" value="https://jcenter.bintray.com/" />
|
||||
</remote-repository>
|
||||
<remote-repository>
|
||||
<option name="id" value="Google" />
|
||||
<option name="name" value="Google" />
|
||||
<option name="url" value="https://dl.google.com/dl/android/maven2/" />
|
||||
</remote-repository>
|
||||
<remote-repository>
|
||||
<option name="id" value="C:\Users\DeGsoft\AppData\Local\Android\Sdk\extras\m2repository" />
|
||||
<option name="name" value="C:\Users\DeGsoft\AppData\Local\Android\Sdk\extras\m2repository" />
|
||||
<option name="url" value="file:/$USER_HOME$/AppData/Local/Android/Sdk/extras/m2repository" />
|
||||
</remote-repository>
|
||||
<remote-repository>
|
||||
<option name="id" value="C:\Users\DeGsoft\AppData\Local\Android\Sdk\extras\android\m2repository" />
|
||||
<option name="name" value="C:\Users\DeGsoft\AppData\Local\Android\Sdk\extras\android\m2repository" />
|
||||
<option name="url" value="file:/$USER_HOME$/AppData/Local/Android/Sdk/extras/android/m2repository" />
|
||||
</remote-repository>
|
||||
<remote-repository>
|
||||
<option name="id" value="C:\Users\DeGsoft\AppData\Local\Android\Sdk\extras\google\m2repository" />
|
||||
<option name="name" value="C:\Users\DeGsoft\AppData\Local\Android\Sdk\extras\google\m2repository" />
|
||||
<option name="url" value="file:/$USER_HOME$/AppData/Local/Android/Sdk/extras/google/m2repository" />
|
||||
</remote-repository>
|
||||
</component>
|
||||
</project>
|
|
@ -0,0 +1,52 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project version="4">
|
||||
<component name="navEditor-manualLayoutAlgorithm2">
|
||||
<option name="myPositions">
|
||||
<map>
|
||||
<entry key="navigation.xml">
|
||||
<value>
|
||||
<LayoutPositions>
|
||||
<option name="myPositions">
|
||||
<map>
|
||||
<entry key="gameFragment">
|
||||
<value>
|
||||
<LayoutPositions>
|
||||
<option name="myPosition">
|
||||
<Point>
|
||||
<option name="x" value="234" />
|
||||
<option name="y" value="45" />
|
||||
</Point>
|
||||
</option>
|
||||
</LayoutPositions>
|
||||
</value>
|
||||
</entry>
|
||||
<entry key="titleFragment">
|
||||
<value>
|
||||
<LayoutPositions>
|
||||
<option name="myPosition">
|
||||
<Point>
|
||||
<option name="x" value="40" />
|
||||
<option name="y" value="40" />
|
||||
</Point>
|
||||
</option>
|
||||
<option name="myPositions">
|
||||
<map>
|
||||
<entry key="action_titleFragment_to_gameFragment">
|
||||
<value>
|
||||
<LayoutPositions />
|
||||
</value>
|
||||
</entry>
|
||||
</map>
|
||||
</option>
|
||||
</LayoutPositions>
|
||||
</value>
|
||||
</entry>
|
||||
</map>
|
||||
</option>
|
||||
</LayoutPositions>
|
||||
</value>
|
||||
</entry>
|
||||
</map>
|
||||
</option>
|
||||
</component>
|
||||
</project>
|
|
@ -0,0 +1,613 @@
|
|||
All image and audio files (including *.png, *.jpg, *.svg, *.mp3, *.wav
|
||||
and *.ogg) are licensed under the CC BY 4.0 license. All other files are
|
||||
licensed under the Apache 2 license.
|
||||
|
||||
=======================================================================
|
||||
|
||||
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.
|
||||
|
||||
All image and audio files (including *.png, *.jpg, *.svg, *.mp3, *.wav
|
||||
and *.ogg) are licensed under the CC BY 4.0 license. All other files are
|
||||
licensed under the Apache 2 license.
|
||||
|
||||
CC-BY License
|
||||
----------------
|
||||
|
||||
Attribution 4.0 International
|
||||
|
||||
=======================================================================
|
||||
|
||||
Creative Commons Corporation ("Creative Commons") is not a law firm and
|
||||
does not provide legal services or legal advice. Distribution of
|
||||
Creative Commons public licenses does not create a lawyer-client or
|
||||
other relationship. Creative Commons makes its licenses and related
|
||||
information available on an "as-is" basis. Creative Commons gives no
|
||||
warranties regarding its licenses, any material licensed under their
|
||||
terms and conditions, or any related information. Creative Commons
|
||||
disclaims all liability for damages resulting from their use to the
|
||||
fullest extent possible.
|
||||
|
||||
Using Creative Commons Public Licenses
|
||||
|
||||
Creative Commons public licenses provide a standard set of terms and
|
||||
conditions that creators and other rights holders may use to share
|
||||
original works of authorship and other material subject to copyright
|
||||
and certain other rights specified in the public license below. The
|
||||
following considerations are for informational purposes only, are not
|
||||
exhaustive, and do not form part of our licenses.
|
||||
|
||||
Considerations for licensors: Our public licenses are
|
||||
intended for use by those authorized to give the public
|
||||
permission to use material in ways otherwise restricted by
|
||||
copyright and certain other rights. Our licenses are
|
||||
irrevocable. Licensors should read and understand the terms
|
||||
and conditions of the license they choose before applying it.
|
||||
Licensors should also secure all rights necessary before
|
||||
applying our licenses so that the public can reuse the
|
||||
material as expected. Licensors should clearly mark any
|
||||
material not subject to the license. This includes other CC-
|
||||
licensed material, or material used under an exception or
|
||||
limitation to copyright. More considerations for licensors:
|
||||
wiki.creativecommons.org/Considerations_for_licensors
|
||||
|
||||
Considerations for the public: By using one of our public
|
||||
licenses, a licensor grants the public permission to use the
|
||||
licensed material under specified terms and conditions. If
|
||||
the licensor's permission is not necessary for any reason--for
|
||||
example, because of any applicable exception or limitation to
|
||||
copyright--then that use is not regulated by the license. Our
|
||||
licenses grant only permissions under copyright and certain
|
||||
other rights that a licensor has authority to grant. Use of
|
||||
the licensed material may still be restricted for other
|
||||
reasons, including because others have copyright or other
|
||||
rights in the material. A licensor may make special requests,
|
||||
such as asking that all changes be marked or described.
|
||||
Although not required by our licenses, you are encouraged to
|
||||
respect those requests where reasonable. More_considerations
|
||||
for the public:
|
||||
wiki.creativecommons.org/Considerations_for_licensees
|
||||
|
||||
=======================================================================
|
||||
|
||||
Creative Commons Attribution 4.0 International Public License
|
||||
|
||||
By exercising the Licensed Rights (defined below), You accept and agree
|
||||
to be bound by the terms and conditions of this Creative Commons
|
||||
Attribution 4.0 International Public License ("Public License"). To the
|
||||
extent this Public License may be interpreted as a contract, You are
|
||||
granted the Licensed Rights in consideration of Your acceptance of
|
||||
these terms and conditions, and the Licensor grants You such rights in
|
||||
consideration of benefits the Licensor receives from making the
|
||||
Licensed Material available under these terms and conditions.
|
||||
|
||||
|
||||
Section 1 -- Definitions.
|
||||
|
||||
a. Adapted Material means material subject to Copyright and Similar
|
||||
Rights that is derived from or based upon the Licensed Material
|
||||
and in which the Licensed Material is translated, altered,
|
||||
arranged, transformed, or otherwise modified in a manner requiring
|
||||
permission under the Copyright and Similar Rights held by the
|
||||
Licensor. For purposes of this Public License, where the Licensed
|
||||
Material is a musical work, performance, or sound recording,
|
||||
Adapted Material is always produced where the Licensed Material is
|
||||
synched in timed relation with a moving image.
|
||||
|
||||
b. Adapter's License means the license You apply to Your Copyright
|
||||
and Similar Rights in Your contributions to Adapted Material in
|
||||
accordance with the terms and conditions of this Public License.
|
||||
|
||||
c. Copyright and Similar Rights means copyright and/or similar rights
|
||||
closely related to copyright including, without limitation,
|
||||
performance, broadcast, sound recording, and Sui Generis Database
|
||||
Rights, without regard to how the rights are labeled or
|
||||
categorized. For purposes of this Public License, the rights
|
||||
specified in Section 2(b)(1)-(2) are not Copyright and Similar
|
||||
Rights.
|
||||
|
||||
d. Effective Technological Measures means those measures that, in the
|
||||
absence of proper authority, may not be circumvented under laws
|
||||
fulfilling obligations under Article 11 of the WIPO Copyright
|
||||
Treaty adopted on December 20, 1996, and/or similar international
|
||||
agreements.
|
||||
|
||||
e. Exceptions and Limitations means fair use, fair dealing, and/or
|
||||
any other exception or limitation to Copyright and Similar Rights
|
||||
that applies to Your use of the Licensed Material.
|
||||
|
||||
f. Licensed Material means the artistic or literary work, database,
|
||||
or other material to which the Licensor applied this Public
|
||||
License.
|
||||
|
||||
g. Licensed Rights means the rights granted to You subject to the
|
||||
terms and conditions of this Public License, which are limited to
|
||||
all Copyright and Similar Rights that apply to Your use of the
|
||||
Licensed Material and that the Licensor has authority to license.
|
||||
|
||||
h. Licensor means the individual(s) or entity(ies) granting rights
|
||||
under this Public License.
|
||||
|
||||
i. Share means to provide material to the public by any means or
|
||||
process that requires permission under the Licensed Rights, such
|
||||
as reproduction, public display, public performance, distribution,
|
||||
dissemination, communication, or importation, and to make material
|
||||
available to the public including in ways that members of the
|
||||
public may access the material from a place and at a time
|
||||
individually chosen by them.
|
||||
|
||||
j. Sui Generis Database Rights means rights other than copyright
|
||||
resulting from Directive 96/9/EC of the European Parliament and of
|
||||
the Council of 11 March 1996 on the legal protection of databases,
|
||||
as amended and/or succeeded, as well as other essentially
|
||||
equivalent rights anywhere in the world.
|
||||
|
||||
k. You means the individual or entity exercising the Licensed Rights
|
||||
under this Public License. Your has a corresponding meaning.
|
||||
|
||||
|
||||
Section 2 -- Scope.
|
||||
|
||||
a. License grant.
|
||||
|
||||
1. Subject to the terms and conditions of this Public License,
|
||||
the Licensor hereby grants You a worldwide, royalty-free,
|
||||
non-sublicensable, non-exclusive, irrevocable license to
|
||||
exercise the Licensed Rights in the Licensed Material to:
|
||||
|
||||
a. reproduce and Share the Licensed Material, in whole or
|
||||
in part; and
|
||||
|
||||
b. produce, reproduce, and Share Adapted Material.
|
||||
|
||||
2. Exceptions and Limitations. For the avoidance of doubt, where
|
||||
Exceptions and Limitations apply to Your use, this Public
|
||||
License does not apply, and You do not need to comply with
|
||||
its terms and conditions.
|
||||
|
||||
3. Term. The term of this Public License is specified in Section
|
||||
6(a).
|
||||
|
||||
4. Media and formats; technical modifications allowed. The
|
||||
Licensor authorizes You to exercise the Licensed Rights in
|
||||
all media and formats whether now known or hereafter created,
|
||||
and to make technical modifications necessary to do so. The
|
||||
Licensor waives and/or agrees not to assert any right or
|
||||
authority to forbid You from making technical modifications
|
||||
necessary to exercise the Licensed Rights, including
|
||||
technical modifications necessary to circumvent Effective
|
||||
Technological Measures. For purposes of this Public License,
|
||||
simply making modifications authorized by this Section 2(a)
|
||||
(4) never produces Adapted Material.
|
||||
|
||||
5. Downstream recipients.
|
||||
|
||||
a. Offer from the Licensor -- Licensed Material. Every
|
||||
recipient of the Licensed Material automatically
|
||||
receives an offer from the Licensor to exercise the
|
||||
Licensed Rights under the terms and conditions of this
|
||||
Public License.
|
||||
|
||||
b. No downstream restrictions. You may not offer or impose
|
||||
any additional or different terms or conditions on, or
|
||||
apply any Effective Technological Measures to, the
|
||||
Licensed Material if doing so restricts exercise of the
|
||||
Licensed Rights by any recipient of the Licensed
|
||||
Material.
|
||||
|
||||
6. No endorsement. Nothing in this Public License constitutes or
|
||||
may be construed as permission to assert or imply that You
|
||||
are, or that Your use of the Licensed Material is, connected
|
||||
with, or sponsored, endorsed, or granted official status by,
|
||||
the Licensor or others designated to receive attribution as
|
||||
provided in Section 3(a)(1)(A)(i).
|
||||
|
||||
b. Other rights.
|
||||
|
||||
1. Moral rights, such as the right of integrity, are not
|
||||
licensed under this Public License, nor are publicity,
|
||||
privacy, and/or other similar personality rights; however, to
|
||||
the extent possible, the Licensor waives and/or agrees not to
|
||||
assert any such rights held by the Licensor to the limited
|
||||
extent necessary to allow You to exercise the Licensed
|
||||
Rights, but not otherwise.
|
||||
|
||||
2. Patent and trademark rights are not licensed under this
|
||||
Public License.
|
||||
|
||||
3. To the extent possible, the Licensor waives any right to
|
||||
collect royalties from You for the exercise of the Licensed
|
||||
Rights, whether directly or through a collecting society
|
||||
under any voluntary or waivable statutory or compulsory
|
||||
licensing scheme. In all other cases the Licensor expressly
|
||||
reserves any right to collect such royalties.
|
||||
|
||||
|
||||
Section 3 -- License Conditions.
|
||||
|
||||
Your exercise of the Licensed Rights is expressly made subject to the
|
||||
following conditions.
|
||||
|
||||
a. Attribution.
|
||||
|
||||
1. If You Share the Licensed Material (including in modified
|
||||
form), You must:
|
||||
|
||||
a. retain the following if it is supplied by the Licensor
|
||||
with the Licensed Material:
|
||||
|
||||
i. identification of the creator(s) of the Licensed
|
||||
Material and any others designated to receive
|
||||
attribution, in any reasonable manner requested by
|
||||
the Licensor (including by pseudonym if
|
||||
designated);
|
||||
|
||||
ii. a copyright notice;
|
||||
|
||||
iii. a notice that refers to this Public License;
|
||||
|
||||
iv. a notice that refers to the disclaimer of
|
||||
warranties;
|
||||
|
||||
v. a URI or hyperlink to the Licensed Material to the
|
||||
extent reasonably practicable;
|
||||
|
||||
b. indicate if You modified the Licensed Material and
|
||||
retain an indication of any previous modifications; and
|
||||
|
||||
c. indicate the Licensed Material is licensed under this
|
||||
Public License, and include the text of, or the URI or
|
||||
hyperlink to, this Public License.
|
||||
|
||||
2. You may satisfy the conditions in Section 3(a)(1) in any
|
||||
reasonable manner based on the medium, means, and context in
|
||||
which You Share the Licensed Material. For example, it may be
|
||||
reasonable to satisfy the conditions by providing a URI or
|
||||
hyperlink to a resource that includes the required
|
||||
information.
|
||||
|
||||
3. If requested by the Licensor, You must remove any of the
|
||||
information required by Section 3(a)(1)(A) to the extent
|
||||
reasonably practicable.
|
||||
|
||||
4. If You Share Adapted Material You produce, the Adapter's
|
||||
License You apply must not prevent recipients of the Adapted
|
||||
Material from complying with this Public License.
|
||||
|
||||
|
||||
Section 4 -- Sui Generis Database Rights.
|
||||
|
||||
Where the Licensed Rights include Sui Generis Database Rights that
|
||||
apply to Your use of the Licensed Material:
|
||||
|
||||
a. for the avoidance of doubt, Section 2(a)(1) grants You the right
|
||||
to extract, reuse, reproduce, and Share all or a substantial
|
||||
portion of the contents of the database;
|
||||
|
||||
b. if You include all or a substantial portion of the database
|
||||
contents in a database in which You have Sui Generis Database
|
||||
Rights, then the database in which You have Sui Generis Database
|
||||
Rights (but not its individual contents) is Adapted Material; and
|
||||
|
||||
c. You must comply with the conditions in Section 3(a) if You Share
|
||||
all or a substantial portion of the contents of the database.
|
||||
|
||||
For the avoidance of doubt, this Section 4 supplements and does not
|
||||
replace Your obligations under this Public License where the Licensed
|
||||
Rights include other Copyright and Similar Rights.
|
||||
|
||||
|
||||
Section 5 -- Disclaimer of Warranties and Limitation of Liability.
|
||||
|
||||
a. UNLESS OTHERWISE SEPARATELY UNDERTAKEN BY THE LICENSOR, TO THE
|
||||
EXTENT POSSIBLE, THE LICENSOR OFFERS THE LICENSED MATERIAL AS-IS
|
||||
AND AS-AVAILABLE, AND MAKES NO REPRESENTATIONS OR WARRANTIES OF
|
||||
ANY KIND CONCERNING THE LICENSED MATERIAL, WHETHER EXPRESS,
|
||||
IMPLIED, STATUTORY, OR OTHER. THIS INCLUDES, WITHOUT LIMITATION,
|
||||
WARRANTIES OF TITLE, MERCHANTABILITY, FITNESS FOR A PARTICULAR
|
||||
PURPOSE, NON-INFRINGEMENT, ABSENCE OF LATENT OR OTHER DEFECTS,
|
||||
ACCURACY, OR THE PRESENCE OR ABSENCE OF ERRORS, WHETHER OR NOT
|
||||
KNOWN OR DISCOVERABLE. WHERE DISCLAIMERS OF WARRANTIES ARE NOT
|
||||
ALLOWED IN FULL OR IN PART, THIS DISCLAIMER MAY NOT APPLY TO YOU.
|
||||
|
||||
b. TO THE EXTENT POSSIBLE, IN NO EVENT WILL THE LICENSOR BE LIABLE
|
||||
TO YOU ON ANY LEGAL THEORY (INCLUDING, WITHOUT LIMITATION,
|
||||
NEGLIGENCE) OR OTHERWISE FOR ANY DIRECT, SPECIAL, INDIRECT,
|
||||
INCIDENTAL, CONSEQUENTIAL, PUNITIVE, EXEMPLARY, OR OTHER LOSSES,
|
||||
COSTS, EXPENSES, OR DAMAGES ARISING OUT OF THIS PUBLIC LICENSE OR
|
||||
USE OF THE LICENSED MATERIAL, EVEN IF THE LICENSOR HAS BEEN
|
||||
ADVISED OF THE POSSIBILITY OF SUCH LOSSES, COSTS, EXPENSES, OR
|
||||
DAMAGES. WHERE A LIMITATION OF LIABILITY IS NOT ALLOWED IN FULL OR
|
||||
IN PART, THIS LIMITATION MAY NOT APPLY TO YOU.
|
||||
|
||||
c. The disclaimer of warranties and limitation of liability provided
|
||||
above shall be interpreted in a manner that, to the extent
|
||||
possible, most closely approximates an absolute disclaimer and
|
||||
waiver of all liability.
|
||||
|
||||
|
||||
Section 6 -- Term and Termination.
|
||||
|
||||
a. This Public License applies for the term of the Copyright and
|
||||
Similar Rights licensed here. However, if You fail to comply with
|
||||
this Public License, then Your rights under this Public License
|
||||
terminate automatically.
|
||||
|
||||
b. Where Your right to use the Licensed Material has terminated under
|
||||
Section 6(a), it reinstates:
|
||||
|
||||
1. automatically as of the date the violation is cured, provided
|
||||
it is cured within 30 days of Your discovery of the
|
||||
violation; or
|
||||
|
||||
2. upon express reinstatement by the Licensor.
|
||||
|
||||
For the avoidance of doubt, this Section 6(b) does not affect any
|
||||
right the Licensor may have to seek remedies for Your violations
|
||||
of this Public License.
|
||||
|
||||
c. For the avoidance of doubt, the Licensor may also offer the
|
||||
Licensed Material under separate terms or conditions or stop
|
||||
distributing the Licensed Material at any time; however, doing so
|
||||
will not terminate this Public License.
|
||||
|
||||
d. Sections 1, 5, 6, 7, and 8 survive termination of this Public
|
||||
License.
|
||||
|
||||
|
||||
Section 7 -- Other Terms and Conditions.
|
||||
|
||||
a. The Licensor shall not be bound by any additional or different
|
||||
terms or conditions communicated by You unless expressly agreed.
|
||||
|
||||
b. Any arrangements, understandings, or agreements regarding the
|
||||
Licensed Material not stated herein are separate from and
|
||||
independent of the terms and conditions of this Public License.
|
||||
|
||||
|
||||
Section 8 -- Interpretation.
|
||||
|
||||
a. For the avoidance of doubt, this Public License does not, and
|
||||
shall not be interpreted to, reduce, limit, restrict, or impose
|
||||
conditions on any use of the Licensed Material that could lawfully
|
||||
be made without permission under this Public License.
|
||||
|
||||
b. To the extent possible, if any provision of this Public License is
|
||||
deemed unenforceable, it shall be automatically reformed to the
|
||||
minimum extent necessary to make it enforceable. If the provision
|
||||
cannot be reformed, it shall be severed from this Public License
|
||||
without affecting the enforceability of the remaining terms and
|
||||
conditions.
|
||||
|
||||
c. No term or condition of this Public License will be waived and no
|
||||
failure to comply consented to unless expressly agreed to by the
|
||||
Licensor.
|
||||
|
||||
d. Nothing in this Public License constitutes or may be interpreted
|
||||
as a limitation upon, or waiver of, any privileges and immunities
|
||||
that apply to the Licensor or You, including from the legal
|
||||
processes of any jurisdiction or authority.
|
||||
|
||||
|
||||
=======================================================================
|
||||
|
||||
Creative Commons is not a party to its public
|
||||
licenses. Notwithstanding, Creative Commons may elect to apply one of
|
||||
its public licenses to material it publishes and in those instances
|
||||
will be considered the “Licensor.” The text of the Creative Commons
|
||||
public licenses is dedicated to the public domain under the CC0 Public
|
||||
Domain Dedication. Except for the limited purpose of indicating that
|
||||
material is shared under a Creative Commons public license or as
|
||||
otherwise permitted by the Creative Commons policies published at
|
||||
creativecommons.org/policies, Creative Commons does not authorize the
|
||||
use of the trademark "Creative Commons" or any other trademark or logo
|
||||
of Creative Commons without its prior written consent including,
|
||||
without limitation, in connection with any unauthorized modifications
|
||||
to any of its public licenses or any other arrangements,
|
||||
understandings, or agreements concerning use of licensed material. For
|
||||
the avoidance of doubt, this paragraph does not form part of the
|
||||
public licenses.
|
||||
|
||||
Creative Commons may be contacted at creativecommons.org.
|
||||
|
|
@ -0,0 +1,106 @@
|
|||
# Navigation
|
||||
|
||||
This is the toy app for lesson 3 of the [Android App Development in Kotlin course on Udacity](https://www.udacity.com/course/developing-android-apps-with-kotlin--ud9012).
|
||||
|
||||
## Android Trivia
|
||||
|
||||
The Android Trivia application is an application that asks the user trivia questions about Android development. It makes use of the Navigation component within Jetpack to move the user between different screens. Each screen is implemented as a Fragment.
|
||||
The app navigates using buttons, the Action Bar, and the Navigation Drawer.
|
||||
Since students haven't yet learned about saving data or the Android lifecycle, it tries to eliminate bugs caused by configuration changes.
|
||||
|
||||
## Screenshots
|
||||
|
||||
![Screenshot1](screenshots/screen_1.png) ![Screenshot2](screenshots/screen_2.png)
|
||||
|
||||
## How to use this repo while taking the course
|
||||
|
||||
|
||||
Each code repository in this class has a chain of commits that looks like this:
|
||||
|
||||
![listofcommits](https://d17h27t6h515a5.cloudfront.net/topher/2017/March/58befe2e_listofcommits/listofcommits.png)
|
||||
|
||||
These commits show every step you'll take to create the app. Each commit contains instructions for completing the that step.
|
||||
|
||||
Each commit also has a **branch** associated with it of the same name as the commit message, seen below:
|
||||
|
||||
![branches](https://d17h27t6h515a5.cloudfront.net/topher/2017/April/590390fe_branches-ud855/branches-ud855.png
|
||||
)
|
||||
Access all branches from this tab
|
||||
|
||||
![listofbranches](https://d17h27t6h515a5.cloudfront.net/topher/2017/March/58befe76_listofbranches/listofbranches.png
|
||||
)
|
||||
|
||||
|
||||
![branchesdropdown](https://d17h27t6h515a5.cloudfront.net/topher/2017/April/590391a3_branches-dropdown-ud855/branches-dropdown-ud855.png
|
||||
)
|
||||
|
||||
The branches are also accessible from the drop-down in the "Code" tab
|
||||
|
||||
|
||||
## Working with the Course Code
|
||||
|
||||
Here are the basic steps for working with and completing exercises in the repo.
|
||||
|
||||
The basic steps are:
|
||||
|
||||
1. Clone the repo
|
||||
2. Checkout the branch corresponding to the step you want to attempt
|
||||
3. Find and complete the TODOs
|
||||
4. Optionally commit your code changes
|
||||
5. Compare your code with the solution
|
||||
6. Repeat steps 2-5 until you've gone trough all the steps to complete the toy app
|
||||
|
||||
|
||||
**Step 1: Clone the repo**
|
||||
|
||||
As you go through the course, you'll be instructed to clone the different exercise repositories, so you don't need to set these up now. You can clone a repository from github in a folder of your choice with the command:
|
||||
|
||||
```bash
|
||||
git clone https://github.com/udacity/REPOSITORY_NAME.git
|
||||
```
|
||||
|
||||
**Step 2: Checkout the step branch**
|
||||
|
||||
As you go through different steps in the code, you'll be told which step you're on, as well as a link to the corresponding branch.
|
||||
|
||||
You'll want to check out the branch associated with that step. The command to check out a branch would be:
|
||||
|
||||
```bash
|
||||
git checkout BRANCH_NAME
|
||||
```
|
||||
|
||||
**Step 3: Find and complete the TODOs**
|
||||
|
||||
Once you've checked out the branch, you'll have the code in the exact state you need. You'll even have TODOs, which are special comments that tell you all the steps you need to complete the exercise. You can easily navigate to all the TODOs using Android Studio's TODO tool. To open the TODO tool, click the button at the bottom of the screen that says TODO. This will display a list of all comments with TODO in the project.
|
||||
|
||||
We've numbered the TODO steps so you can do them in order:
|
||||
![todos](https://d17h27t6h515a5.cloudfront.net/topher/2017/March/58bf00e7_todos/todos.png
|
||||
)
|
||||
|
||||
**Step 4: Commit your code changes**
|
||||
|
||||
After You've completed the TODOs, you can optionally commit your changes. This will allow you to see the code you wrote whenever you return to the branch. The following git code will add and save **all** your changes.
|
||||
|
||||
```bash
|
||||
git add .
|
||||
git commit -m "Your commit message"
|
||||
```
|
||||
|
||||
**Step 5: Compare with the solution**
|
||||
|
||||
Most exercises will have a list of steps for you to check off in the classroom. Once you've checked these off, you'll see a pop up window with a link to the solution code. Note the **Diff** link:
|
||||
|
||||
![solutionwindow](https://d17h27t6h515a5.cloudfront.net/topher/2017/March/58bf00f9_solutionwindow/solutionwindow.png
|
||||
)
|
||||
|
||||
The **Diff** link will take you to a Github diff as seen below:
|
||||
![diff](https://d17h27t6h515a5.cloudfront.net/topher/2017/March/58bf0108_diffsceenshot/diffsceenshot.png
|
||||
)
|
||||
|
||||
All of the code that was added in the solution is in green, and the removed code (which will usually be the TODO comments) is in red.
|
||||
|
||||
You can also compare your code locally with the branch of the following step.
|
||||
|
||||
## Report Issues
|
||||
Notice any issues with a repository? Please file a github issue in the repository.
|
||||
|
|
@ -0,0 +1 @@
|
|||
/build
|
|
@ -0,0 +1,63 @@
|
|||
/*
|
||||
* Copyright 2018, The Android Open Source Project
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
apply plugin: 'com.android.application'
|
||||
|
||||
apply plugin: 'kotlin-android'
|
||||
|
||||
apply plugin: 'kotlin-kapt'
|
||||
|
||||
android {
|
||||
compileSdkVersion 28
|
||||
dataBinding {
|
||||
enabled = true
|
||||
}
|
||||
defaultConfig {
|
||||
applicationId 'com.example.android.navigation'
|
||||
minSdkVersion 19
|
||||
targetSdkVersion 28
|
||||
vectorDrawables.useSupportLibrary = true
|
||||
versionCode 1
|
||||
versionName "1.0"
|
||||
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
|
||||
}
|
||||
buildTypes {
|
||||
release {
|
||||
minifyEnabled false
|
||||
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
|
||||
}
|
||||
}
|
||||
productFlavors {
|
||||
}
|
||||
}
|
||||
|
||||
dependencies {
|
||||
implementation fileTree(include: ['*.jar'], dir: 'libs')
|
||||
// Kotlin
|
||||
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$version_kotlin"
|
||||
|
||||
// Constraint Layout
|
||||
implementation "androidx.constraintlayout:constraintlayout:$version_constraint_layout"
|
||||
|
||||
// Core
|
||||
implementation "androidx.core:core:$version_core"
|
||||
|
||||
// Material Design
|
||||
implementation "com.google.android.material:material:$version_material"
|
||||
implementation 'androidx.legacy:legacy-support-v4:1.0.0'
|
||||
implementation 'androidx.navigation:navigation-fragment-ktx:2.3.0'
|
||||
implementation 'androidx.navigation:navigation-ui-ktx:2.3.0'
|
||||
}
|
|
@ -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
|
|
@ -0,0 +1,38 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
~ Copyright 2018, The Android Open Source Project
|
||||
~
|
||||
~ Licensed under the Apache License, Version 2.0 (the "License");
|
||||
~ you may not use this file except in compliance with the License.
|
||||
~ You may obtain a copy of the License at
|
||||
~
|
||||
~ http://www.apache.org/licenses/LICENSE-2.0
|
||||
~
|
||||
~ Unless required by applicable law or agreed to in writing, software
|
||||
~ distributed under the License is distributed on an "AS IS" BASIS,
|
||||
~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
~ See the License for the specific language governing permissions and
|
||||
~ limitations under the License.
|
||||
-->
|
||||
|
||||
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
package="com.example.android.navigation">
|
||||
|
||||
<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/AppTheme">
|
||||
<activity
|
||||
android:name=".MainActivity"
|
||||
android:configChanges="orientation|screenSize|smallestScreenSize|screenLayout">
|
||||
<intent-filter>
|
||||
<action android:name="android.intent.action.MAIN" />
|
||||
<category android:name="android.intent.category.LAUNCHER" />
|
||||
</intent-filter>
|
||||
</activity>
|
||||
</application>
|
||||
|
||||
</manifest>
|
|
@ -0,0 +1,31 @@
|
|||
/*
|
||||
* Copyright 2018, The Android Open Source Project
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
package com.example.android.navigation
|
||||
|
||||
import android.os.Bundle
|
||||
import androidx.fragment.app.Fragment
|
||||
import android.view.LayoutInflater
|
||||
import android.view.View
|
||||
import android.view.ViewGroup
|
||||
|
||||
class AboutFragment : Fragment() {
|
||||
override fun onCreateView(inflater: LayoutInflater, container: ViewGroup?,
|
||||
savedInstanceState: Bundle?): View? {
|
||||
// Inflate the layout for this fragment
|
||||
return inflater.inflate(R.layout.fragment_about, container, false)
|
||||
}
|
||||
}
|
|
@ -0,0 +1,126 @@
|
|||
/*
|
||||
* Copyright 2018, The Android Open Source Project
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
package com.example.android.navigation
|
||||
|
||||
import android.os.Bundle
|
||||
import android.view.LayoutInflater
|
||||
import android.view.View
|
||||
import android.view.ViewGroup
|
||||
import androidx.appcompat.app.AppCompatActivity
|
||||
import androidx.databinding.DataBindingUtil
|
||||
import androidx.fragment.app.Fragment
|
||||
import com.example.android.navigation.databinding.FragmentGameBinding
|
||||
|
||||
class GameFragment : Fragment() {
|
||||
data class Question(
|
||||
val text: String,
|
||||
val answers: List<String>)
|
||||
|
||||
// The first answer is the correct one. We randomize the answers before showing the text.
|
||||
// All questions must have four answers. We'd want these to contain references to string
|
||||
// resources so we could internationalize. (or better yet, not define the questions in code...)
|
||||
private val questions: MutableList<Question> = mutableListOf(
|
||||
Question(text = "What is Android Jetpack?",
|
||||
answers = listOf("all of these", "tools", "documentation", "libraries")),
|
||||
Question(text = "Base class for Layout?",
|
||||
answers = listOf("ViewGroup", "ViewSet", "ViewCollection", "ViewRoot")),
|
||||
Question(text = "Layout for complex Screens?",
|
||||
answers = listOf("ConstraintLayout", "GridLayout", "LinearLayout", "FrameLayout")),
|
||||
Question(text = "Pushing structured data into a Layout?",
|
||||
answers = listOf("Data Binding", "Data Pushing", "Set Text", "OnClick")),
|
||||
Question(text = "Inflate layout in fragments?",
|
||||
answers = listOf("onCreateView", "onActivityCreated", "onCreateLayout", "onInflateLayout")),
|
||||
Question(text = "Build system for Android?",
|
||||
answers = listOf("Gradle", "Graddle", "Grodle", "Groyle")),
|
||||
Question(text = "Android vector format?",
|
||||
answers = listOf("VectorDrawable", "AndroidVectorDrawable", "DrawableVector", "AndroidVector")),
|
||||
Question(text = "Android Navigation Component?",
|
||||
answers = listOf("NavController", "NavCentral", "NavMaster", "NavSwitcher")),
|
||||
Question(text = "Registers app with launcher?",
|
||||
answers = listOf("intent-filter", "app-registry", "launcher-registry", "app-launcher")),
|
||||
Question(text = "Mark a layout for Data Binding?",
|
||||
answers = listOf("<layout>", "<binding>", "<data-binding>", "<dbinding>"))
|
||||
)
|
||||
|
||||
lateinit var currentQuestion: Question
|
||||
lateinit var answers: MutableList<String>
|
||||
private var questionIndex = 0
|
||||
private val numQuestions = Math.min((questions.size + 1) / 2, 3)
|
||||
|
||||
override fun onCreateView(inflater: LayoutInflater, container: ViewGroup?,
|
||||
savedInstanceState: Bundle?): View? {
|
||||
|
||||
// Inflate the layout for this fragment
|
||||
val binding = DataBindingUtil.inflate<FragmentGameBinding>(
|
||||
inflater, R.layout.fragment_game, container, false)
|
||||
|
||||
// Shuffles the questions and sets the question index to the first question.
|
||||
randomizeQuestions()
|
||||
|
||||
// Bind this fragment class to the layout
|
||||
binding.game = this
|
||||
|
||||
// Set the onClickListener for the submitButton
|
||||
binding.submitButton.setOnClickListener @Suppress("UNUSED_ANONYMOUS_PARAMETER")
|
||||
{ view: View ->
|
||||
val checkedId = binding.questionRadioGroup.checkedRadioButtonId
|
||||
// Do nothing if nothing is checked (id == -1)
|
||||
if (-1 != checkedId) {
|
||||
var answerIndex = 0
|
||||
when (checkedId) {
|
||||
R.id.secondAnswerRadioButton -> answerIndex = 1
|
||||
R.id.thirdAnswerRadioButton -> answerIndex = 2
|
||||
R.id.fourthAnswerRadioButton -> answerIndex = 3
|
||||
}
|
||||
// The first answer in the original question is always the correct one, so if our
|
||||
// answer matches, we have the correct answer.
|
||||
if (answers[answerIndex] == currentQuestion.answers[0]) {
|
||||
questionIndex++
|
||||
// Advance to the next question
|
||||
if (questionIndex < numQuestions) {
|
||||
currentQuestion = questions[questionIndex]
|
||||
setQuestion()
|
||||
binding.invalidateAll()
|
||||
} else {
|
||||
// We've won! Navigate to the gameWonFragment.
|
||||
}
|
||||
} else {
|
||||
// Game over! A wrong answer sends us to the gameOverFragment.
|
||||
}
|
||||
}
|
||||
}
|
||||
return binding.root
|
||||
}
|
||||
|
||||
// randomize the questions and set the first question
|
||||
private fun randomizeQuestions() {
|
||||
questions.shuffle()
|
||||
questionIndex = 0
|
||||
setQuestion()
|
||||
}
|
||||
|
||||
// Sets the question and randomizes the answers. This only changes the data, not the UI.
|
||||
// Calling invalidateAll on the FragmentGameBinding updates the data.
|
||||
private fun setQuestion() {
|
||||
currentQuestion = questions[questionIndex]
|
||||
// randomize the answers into a copy of the array
|
||||
answers = currentQuestion.answers.toMutableList()
|
||||
// and shuffle them
|
||||
answers.shuffle()
|
||||
(activity as AppCompatActivity).supportActionBar?.title = getString(R.string.title_android_trivia_question, questionIndex + 1, numQuestions)
|
||||
}
|
||||
}
|
|
@ -0,0 +1,35 @@
|
|||
/*
|
||||
* Copyright 2018, The Android Open Source Project
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
package com.example.android.navigation
|
||||
|
||||
import android.os.Bundle
|
||||
import android.view.LayoutInflater
|
||||
import android.view.View
|
||||
import android.view.ViewGroup
|
||||
import androidx.databinding.DataBindingUtil
|
||||
import androidx.fragment.app.Fragment
|
||||
import com.example.android.navigation.databinding.FragmentGameOverBinding
|
||||
|
||||
class GameOverFragment : Fragment() {
|
||||
override fun onCreateView(inflater: LayoutInflater, container: ViewGroup?,
|
||||
savedInstanceState: Bundle?): View? {
|
||||
// Inflate the layout for this fragment
|
||||
val binding: FragmentGameOverBinding = DataBindingUtil.inflate(
|
||||
inflater, R.layout.fragment_game_over, container, false)
|
||||
return binding.root
|
||||
}
|
||||
}
|
|
@ -0,0 +1,36 @@
|
|||
/*
|
||||
* Copyright 2018, The Android Open Source Project
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
package com.example.android.navigation
|
||||
|
||||
import android.os.Bundle
|
||||
import android.view.LayoutInflater
|
||||
import android.view.View
|
||||
import android.view.ViewGroup
|
||||
import androidx.databinding.DataBindingUtil
|
||||
import androidx.fragment.app.Fragment
|
||||
import com.example.android.navigation.databinding.FragmentGameWonBinding
|
||||
|
||||
|
||||
class GameWonFragment : Fragment() {
|
||||
override fun onCreateView(inflater: LayoutInflater, container: ViewGroup?,
|
||||
savedInstanceState: Bundle?): View? {
|
||||
// Inflate the layout for this fragment
|
||||
val binding: FragmentGameWonBinding = DataBindingUtil.inflate(
|
||||
inflater, R.layout.fragment_game_won, container, false)
|
||||
return binding.root
|
||||
}
|
||||
}
|
|
@ -0,0 +1,30 @@
|
|||
/*
|
||||
* Copyright 2018, The Android Open Source Project
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
package com.example.android.navigation
|
||||
|
||||
import android.os.Bundle
|
||||
import androidx.appcompat.app.AppCompatActivity
|
||||
import androidx.databinding.DataBindingUtil
|
||||
import com.example.android.navigation.databinding.ActivityMainBinding
|
||||
|
||||
class MainActivity : AppCompatActivity() {
|
||||
override fun onCreate(savedInstanceState: Bundle?) {
|
||||
super.onCreate(savedInstanceState)
|
||||
@Suppress("UNUSED_VARIABLE")
|
||||
val binding = DataBindingUtil.setContentView<ActivityMainBinding>(this, R.layout.activity_main)
|
||||
}
|
||||
}
|
|
@ -0,0 +1,31 @@
|
|||
/*
|
||||
* Copyright 2018, The Android Open Source Project
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
package com.example.android.navigation
|
||||
|
||||
import android.os.Bundle
|
||||
import androidx.fragment.app.Fragment
|
||||
import android.view.LayoutInflater
|
||||
import android.view.View
|
||||
import android.view.ViewGroup
|
||||
|
||||
class RulesFragment : Fragment() {
|
||||
override fun onCreateView(inflater: LayoutInflater, container: ViewGroup?,
|
||||
savedInstanceState: Bundle?): View? {
|
||||
// Inflate the layout for this fragment
|
||||
return inflater.inflate(R.layout.fragment_rules, container, false)
|
||||
}
|
||||
}
|
|
@ -0,0 +1,31 @@
|
|||
package com.example.android.navigation
|
||||
|
||||
import android.os.Bundle
|
||||
import androidx.fragment.app.Fragment
|
||||
import android.view.LayoutInflater
|
||||
import android.view.View
|
||||
import android.view.ViewGroup
|
||||
import androidx.databinding.DataBindingUtil
|
||||
import androidx.navigation.Navigation
|
||||
import androidx.navigation.findNavController
|
||||
import com.example.android.navigation.databinding.FragmentTitleBinding
|
||||
|
||||
class TitleFragment : Fragment() {
|
||||
override fun onCreateView(inflater: LayoutInflater, container: ViewGroup?,
|
||||
savedInstanceState: Bundle?): View? {
|
||||
// Inflate the layout for this fragment
|
||||
val binding: FragmentTitleBinding = DataBindingUtil.inflate(
|
||||
inflater, R.layout.fragment_title, container, false)
|
||||
//
|
||||
binding.playButton.setOnClickListener(
|
||||
Navigation.createNavigateOnClickListener(R.id.action_titleFragment_to_gameFragment)
|
||||
)
|
||||
//or
|
||||
//binding.playButton.setOnClickListener{ view: View ->
|
||||
//Navigation.findNavController(view).navigate(R.id.action_titleFragment_to_gameFragment)
|
||||
//or
|
||||
//view.findNavController().navigate(R.id.action_titleFragment_to_gameFragment)
|
||||
//}
|
||||
return binding.root
|
||||
}
|
||||
}
|
|
@ -0,0 +1,22 @@
|
|||
<?xml version="1.0" encoding="utf-8"?><!--
|
||||
~ Copyright 2018, The Android Open Source Project
|
||||
~
|
||||
~ Licensed under the Apache License, Version 2.0 (the "License");
|
||||
~ you may not use this file except in compliance with the License.
|
||||
~ You may obtain a copy of the License at
|
||||
~
|
||||
~ http://www.apache.org/licenses/LICENSE-2.0
|
||||
~
|
||||
~ Unless required by applicable law or agreed to in writing, software
|
||||
~ distributed under the License is distributed on an "AS IS" BASIS,
|
||||
~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
~ See the License for the specific language governing permissions and
|
||||
~ limitations under the License.
|
||||
-->
|
||||
|
||||
<set xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<alpha
|
||||
android:duration="@android:integer/config_mediumAnimTime"
|
||||
android:fromAlpha="1.0"
|
||||
android:toAlpha="0.0" />
|
||||
</set>
|
|
@ -0,0 +1,25 @@
|
|||
<?xml version="1.0" encoding="utf-8"?><!--
|
||||
~ Copyright 2018, The Android Open Source Project
|
||||
~
|
||||
~ Licensed under the Apache License, Version 2.0 (the "License");
|
||||
~ you may not use this file except in compliance with the License.
|
||||
~ You may obtain a copy of the License at
|
||||
~
|
||||
~ http://www.apache.org/licenses/LICENSE-2.0
|
||||
~
|
||||
~ Unless required by applicable law or agreed to in writing, software
|
||||
~ distributed under the License is distributed on an "AS IS" BASIS,
|
||||
~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
~ See the License for the specific language governing permissions and
|
||||
~ limitations under the License.
|
||||
-->
|
||||
|
||||
<set xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
|
||||
<translate
|
||||
android:duration="@android:integer/config_shortAnimTime"
|
||||
android:fromXDelta="100%"
|
||||
android:fromYDelta="0%"
|
||||
android:toXDelta="0%"
|
||||
android:toYDelta="0%" />
|
||||
</set>
|
|
@ -0,0 +1,25 @@
|
|||
<?xml version="1.0" encoding="utf-8"?><!--
|
||||
~ Copyright 2018, The Android Open Source Project
|
||||
~
|
||||
~ Licensed under the Apache License, Version 2.0 (the "License");
|
||||
~ you may not use this file except in compliance with the License.
|
||||
~ You may obtain a copy of the License at
|
||||
~
|
||||
~ http://www.apache.org/licenses/LICENSE-2.0
|
||||
~
|
||||
~ Unless required by applicable law or agreed to in writing, software
|
||||
~ distributed under the License is distributed on an "AS IS" BASIS,
|
||||
~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
~ See the License for the specific language governing permissions and
|
||||
~ limitations under the License.
|
||||
-->
|
||||
|
||||
<set xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
|
||||
<translate
|
||||
android:duration="@android:integer/config_shortAnimTime"
|
||||
android:fromXDelta="0%"
|
||||
android:fromYDelta="0%"
|
||||
android:toXDelta="-100%"
|
||||
android:toYDelta="0%" />
|
||||
</set>
|
|
@ -0,0 +1,25 @@
|
|||
<?xml version="1.0" encoding="utf-8"?><!--
|
||||
~ Copyright 2018, The Android Open Source Project
|
||||
~
|
||||
~ Licensed under the Apache License, Version 2.0 (the "License");
|
||||
~ you may not use this file except in compliance with the License.
|
||||
~ You may obtain a copy of the License at
|
||||
~
|
||||
~ http://www.apache.org/licenses/LICENSE-2.0
|
||||
~
|
||||
~ Unless required by applicable law or agreed to in writing, software
|
||||
~ distributed under the License is distributed on an "AS IS" BASIS,
|
||||
~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
~ See the License for the specific language governing permissions and
|
||||
~ limitations under the License.
|
||||
-->
|
||||
|
||||
<set xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
|
||||
<translate
|
||||
android:duration="@android:integer/config_shortAnimTime"
|
||||
android:fromXDelta="0%"
|
||||
android:fromYDelta="0%"
|
||||
android:toXDelta="100%"
|
||||
android:toYDelta="0%" />
|
||||
</set>
|
|
@ -0,0 +1,28 @@
|
|||
<!--
|
||||
~ Copyright 2018, The Android Open Source Project
|
||||
~
|
||||
~ Licensed under the Apache License, Version 2.0 (the "License");
|
||||
~ you may not use this file except in compliance with the License.
|
||||
~ You may obtain a copy of the License at
|
||||
~
|
||||
~ http://www.apache.org/licenses/LICENSE-2.0
|
||||
~
|
||||
~ Unless required by applicable law or agreed to in writing, software
|
||||
~ distributed under the License is distributed on an "AS IS" BASIS,
|
||||
~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
~ See the License for the specific language governing permissions and
|
||||
~ limitations under the License.
|
||||
-->
|
||||
|
||||
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:width="108dp"
|
||||
android:height="108dp"
|
||||
android:viewportWidth="108"
|
||||
android:viewportHeight="108">
|
||||
<path
|
||||
android:pathData="M53.6,72.9c-2,0 -3.6,0.7 -5,2c-1.4,1.4 -2,3 -2,5c0,2 0.7,3.6 2,5c1.4,1.4 3,2.1 5,2.1c2,0 3.6,-0.7 5,-2.1c1.4,-1.4 2.1,-3.1 2.1,-5c0,-2 -0.7,-3.6 -2.1,-5C57.2,73.6 55.5,72.9 53.6,72.9z"
|
||||
android:fillColor="#6AB343"/>
|
||||
<path
|
||||
android:pathData="M68.8,35c-1.3,-2 -3,-3.7 -5.2,-5l2.8,-5.1c0.2,-0.4 0.3,-0.8 0.1,-1.3c-0.1,-0.4 -0.4,-0.8 -0.8,-1l0,0c-0.8,-0.4 -1.8,-0.1 -2.3,0.7l-2.9,5.2c-2.2,-0.8 -4.6,-1.2 -7.2,-1.2c-2.5,0 -4.8,0.4 -6.9,1.2l-2.9,-5.2c-0.2,-0.4 -0.6,-0.7 -1,-0.8c-0.4,-0.1 -0.9,-0.1 -1.3,0.1c-0.4,0.2 -0.7,0.6 -0.8,1c-0.1,0.4 -0.1,0.9 0.1,1.3l2.8,5.1c-0.5,0.3 -1,0.7 -1.4,1.1c-3,2.5 -5,5.5 -6,9l9.4,3.9c0.5,-1.9 1.5,-3.5 2.9,-4.8c1.4,-1.3 3.2,-1.9 5.4,-1.9c2.1,0 3.7,0.6 5,1.8c1.2,1.2 1.9,2.6 1.9,4.3c0,1.4 -0.4,2.7 -1.1,3.7c-0.7,1.1 -1.9,2.4 -3.5,3.8c-2.8,2.4 -4.8,4.6 -5.9,6.5c-1.1,1.9 -1.6,4.2 -1.6,6.8V67H59v-1.3c0,-1.9 0.3,-3.5 1,-4.7c0.7,-1.2 1.9,-2.7 3.8,-4.5c2.4,-2.3 4.2,-4.4 5.4,-6.4c1.2,-2 1.8,-4.4 1.8,-7.2C71,40 70.3,37.4 68.8,35z"
|
||||
android:fillColor="#6AB343"/>
|
||||
</vector>
|
|
@ -0,0 +1,23 @@
|
|||
<vector android:height="535dp" android:viewportHeight="535"
|
||||
android:viewportWidth="507" android:width="507dp" xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<path android:fillColor="#6AB343" android:pathData="M255.6,256.5c-9.9,0 -18.4,3.5 -25.3,10.3c-6.9,6.9 -10.3,15.3 -10.3,25.3s3.4,18.4 10.3,25.5c6.9,7 15.3,10.6 25.3,10.6c9.9,0 18.4,-3.5 25.5,-10.6c7,-7 10.6,-15.5 10.6,-25.5s-3.5,-18.4 -10.6,-25.3C274.1,260 265.6,256.5 255.6,256.5z"/>
|
||||
<path android:fillColor="#6AB343" android:pathData="M332.8,63.8c-6.6,-10.4 -15.4,-18.8 -26.4,-25.4l14.1,-25.7c1.1,-2 1.4,-4.3 0.7,-6.5c-0.6,-2.2 -2.1,-4.1 -4.1,-5.2L317,1c-4.2,-2.2 -9.4,-0.7 -11.6,3.5l-14.6,26.6c-11.1,-4 -23.2,-6 -36.4,-6c-12.8,0 -24.5,2 -34.9,5.9L205,4.5c-1.1,-2 -2.9,-3.5 -5.1,-4.1c-2.2,-0.6 -4.5,-0.4 -6.5,0.7c-2,1.1 -3.5,2.9 -4.2,5.2c-0.6,2.2 -0.4,4.5 0.7,6.5l14.3,26.1c-2.5,1.7 -5,3.5 -7.3,5.5c-15.2,12.8 -25.4,28.1 -30.6,45.7l47.6,19.9c2.8,-9.7 7.7,-17.7 14.9,-24.2C235.9,79.3 245,76 256,76c10.5,0 18.9,3 25.3,8.9c6.3,5.9 9.5,13.2 9.5,21.7c0,7.2 -1.9,13.5 -5.6,19c-3.7,5.5 -9.7,12 -18,19.5c-14.4,12.4 -24.3,23.5 -29.8,33.1c-5.5,9.7 -8.3,21.1 -8.3,34.4v13.7h54.2v-6.6c0,-9.7 1.7,-17.7 5.2,-24c3.4,-6.3 9.9,-13.9 19.2,-22.8c12.1,-11.6 21.2,-22.4 27.3,-32.5c6.1,-10.1 9.1,-22.3 9.1,-36.6C344.2,89.2 340.4,75.8 332.8,63.8z"/>
|
||||
<path android:fillColor="#6AB343" android:pathData="M23.1,366.2h8.2l23.1,60.9h-8l-6,-16.8H14.1L8,427.2H0L23.1,366.2zM37.9,403.6l-8.1,-22l-2.4,-6.6h-0.3l-2.5,6.6l-8,22H37.9z"/>
|
||||
<path android:fillColor="#6AB343" android:pathData="M60.9,385h6.9v6.3h0.3c1.2,-2.2 3.1,-4 5.6,-5.4c2.6,-1.5 5.3,-2.2 8.2,-2.2c5.2,0 9.1,1.5 11.8,4.5c2.7,3 4,7.1 4,12.3v26.7h-7.1v-25.6c0,-7.6 -3.5,-11.4 -10.6,-11.4c-2.3,0 -4.3,0.7 -6.1,2c-1.8,1.3 -3.2,3 -4.2,5.1c-1,2.1 -1.5,4.3 -1.5,6.6v23.3h-7.2V385z"/>
|
||||
<path android:fillColor="#6AB343" android:pathData="M115.7,425.6c-3.1,-1.9 -5.5,-4.6 -7.3,-8c-1.8,-3.4 -2.7,-7.3 -2.7,-11.5c0,-4.3 0.9,-8.1 2.7,-11.5c1.8,-3.4 4.3,-6.1 7.3,-8c3.1,-1.9 6.4,-2.9 10,-2.9c3.3,0 6.2,0.7 8.8,2.2c2.6,1.4 4.6,3.2 5.9,5.4h0.3l-0.3,-5.8v-19.1h7.1v60.9h-6.8v-6.3h-0.3c-1.3,2.2 -3.3,4 -5.9,5.5c-2.6,1.4 -5.6,2.2 -8.8,2.2C122.1,428.5 118.8,427.6 115.7,425.6zM133.8,420.1c2.1,-1.3 3.8,-3.1 5.1,-5.6c1.3,-2.4 1.9,-5.2 1.9,-8.4c0,-3.2 -0.6,-6.1 -1.9,-8.5c-1.3,-2.4 -3,-4.3 -5.1,-5.5c-2.1,-1.3 -4.4,-1.9 -6.9,-1.9c-2.5,0 -4.8,0.7 -6.9,2c-2.1,1.3 -3.8,3.2 -5.1,5.6c-1.3,2.4 -1.9,5.2 -1.9,8.4s0.6,6 1.9,8.4c1.3,2.4 3,4.3 5.1,5.6c2.1,1.3 4.4,2 6.9,2C129.4,422 131.7,421.3 133.8,420.1z"/>
|
||||
<path android:fillColor="#6AB343" android:pathData="M158.3,385h6.9v6.9h0.3c0.8,-2.3 2.4,-4.3 4.9,-5.9c2.5,-1.6 4.9,-2.4 7.4,-2.4c1.8,0 3.4,0.3 4.9,0.9v7.7c-1.5,-0.9 -3.5,-1.3 -6,-1.3c-2,0 -3.8,0.6 -5.6,1.7c-1.7,1.2 -3.1,2.7 -4.1,4.6c-1,1.9 -1.5,4 -1.5,6.3v23.5h-7.2V385z"/>
|
||||
<path android:fillColor="#6AB343" android:pathData="M194.9,425.6c-3.3,-2 -5.9,-4.7 -7.7,-8.1c-1.8,-3.4 -2.8,-7.2 -2.8,-11.4c0,-4.2 0.9,-8 2.8,-11.4c1.8,-3.4 4.4,-6.1 7.7,-8.1c3.3,-2 7,-2.9 11.1,-2.9c4.1,0 7.9,1 11.2,2.9c3.3,2 5.9,4.7 7.7,8.1c1.8,3.4 2.8,7.2 2.8,11.4c0,4.2 -0.9,8 -2.8,11.4c-1.8,3.4 -4.4,6.1 -7.7,8.1c-3.3,2 -7,2.9 -11.2,2.9C201.9,428.5 198.2,427.5 194.9,425.6zM213.2,420c2.2,-1.3 4,-3.2 5.3,-5.6c1.3,-2.4 2,-5.2 2,-8.4s-0.7,-6 -2,-8.4c-1.3,-2.4 -3.1,-4.3 -5.3,-5.6c-2.2,-1.3 -4.6,-2 -7.1,-2c-2.5,0 -4.9,0.7 -7.1,2c-2.2,1.3 -4,3.2 -5.3,5.6c-1.3,2.4 -2,5.2 -2,8.4s0.7,6 2,8.4c1.3,2.4 3.1,4.3 5.3,5.6c2.2,1.3 4.6,2 7.1,2C208.6,422 211,421.3 213.2,420z"/>
|
||||
<path android:fillColor="#6AB343" android:pathData="M235.7,374.4c-1,-1 -1.5,-2.2 -1.5,-3.7c0,-1.4 0.5,-2.6 1.5,-3.7c1,-1 2.2,-1.5 3.7,-1.5c1.4,0 2.6,0.5 3.7,1.5c1,1 1.5,2.2 1.5,3.7c0,1.4 -0.5,2.6 -1.5,3.7c-1,1 -2.2,1.5 -3.7,1.5C237.9,375.9 236.7,375.4 235.7,374.4zM235.8,385h7.1v42.2h-7.1V385z"/>
|
||||
<path android:fillColor="#6AB343" android:pathData="M261.4,425.6c-3.1,-1.9 -5.5,-4.6 -7.3,-8c-1.8,-3.4 -2.7,-7.3 -2.7,-11.5c0,-4.3 0.9,-8.1 2.7,-11.5c1.8,-3.4 4.3,-6.1 7.3,-8c3.1,-1.9 6.4,-2.9 10,-2.9c3.3,0 6.2,0.7 8.8,2.2c2.6,1.4 4.6,3.2 5.9,5.4h0.3l-0.3,-5.8v-19.1h7.1v60.9h-6.8v-6.3h-0.3c-1.3,2.2 -3.3,4 -5.9,5.5c-2.6,1.4 -5.6,2.2 -8.8,2.2C267.8,428.5 264.5,427.6 261.4,425.6zM279.5,420.1c2.1,-1.3 3.8,-3.1 5.1,-5.6c1.3,-2.4 1.9,-5.2 1.9,-8.4c0,-3.2 -0.6,-6.1 -1.9,-8.5c-1.3,-2.4 -3,-4.3 -5.1,-5.5s-4.4,-1.9 -6.9,-1.9s-4.8,0.7 -6.9,2c-2.1,1.3 -3.8,3.2 -5.1,5.6c-1.3,2.4 -1.9,5.2 -1.9,8.4s0.6,6 1.9,8.4c1.3,2.4 3,4.3 5.1,5.6c2.1,1.3 4.4,2 6.9,2S277.3,421.3 279.5,420.1z"/>
|
||||
<path android:fillColor="#424242" android:pathData="M334.3,373.1h-17.1v-6.9h41.4v6.9h-17.1v54h-7.1V373.1z"/>
|
||||
<path android:fillColor="#424242" android:pathData="M360.9,385h6.9v6.9h0.3c0.8,-2.3 2.4,-4.3 4.9,-5.9c2.5,-1.6 4.9,-2.4 7.4,-2.4c1.8,0 3.4,0.3 4.9,0.9v7.7c-1.5,-0.9 -3.5,-1.3 -6,-1.3c-2,0 -3.8,0.6 -5.6,1.7c-1.7,1.2 -3.1,2.7 -4.1,4.6c-1,1.9 -1.5,4 -1.5,6.3v23.5h-7.2V385z"/>
|
||||
<path android:fillColor="#424242" android:pathData="M392.7,374.4c-1,-1 -1.5,-2.2 -1.5,-3.7c0,-1.4 0.5,-2.6 1.5,-3.7c1,-1 2.2,-1.5 3.7,-1.5c1.4,0 2.6,0.5 3.7,1.5c1,1 1.5,2.2 1.5,3.7c0,1.4 -0.5,2.6 -1.5,3.7c-1,1 -2.2,1.5 -3.7,1.5C394.9,375.9 393.7,375.4 392.7,374.4zM392.8,385h7.1v42.2h-7.1V385z"/>
|
||||
<path android:fillColor="#424242" android:pathData="M406.4,385h7.8l12.9,33.7h0.2l13.1,-33.7h7.7l-17.3,42.2h-7.3L406.4,385z"/>
|
||||
<path android:fillColor="#424242" android:pathData="M454.5,374.4c-1,-1 -1.5,-2.2 -1.5,-3.7c0,-1.4 0.5,-2.6 1.5,-3.7c1,-1 2.2,-1.5 3.7,-1.5c1.4,0 2.6,0.5 3.7,1.5c1,1 1.5,2.2 1.5,3.7c0,1.4 -0.5,2.6 -1.5,3.7c-1,1 -2.2,1.5 -3.7,1.5C456.7,375.9 455.5,375.4 454.5,374.4zM454.5,385h7.1v42.2h-7.1V385z"/>
|
||||
<path android:fillColor="#424242" android:pathData="M477.9,426.7c-2.5,-1.2 -4.4,-2.9 -5.8,-5.1c-1.4,-2.2 -2.1,-4.6 -2.1,-7.4c0,-4.5 1.7,-8 5.1,-10.5c3.4,-2.5 7.7,-3.7 13,-3.7c2.6,0 5,0.3 7.1,0.9c2.1,0.6 3.8,1.2 5,1.9v-2.2c0,-2 -0.5,-3.9 -1.6,-5.5c-1.1,-1.6 -2.5,-2.9 -4.2,-3.7c-1.8,-0.9 -3.7,-1.3 -5.7,-1.3c-4.8,0 -8.5,2 -11.1,5.9l-6,-4c1.8,-2.6 4.1,-4.6 7,-6.1c2.9,-1.4 6.2,-2.2 9.8,-2.2c5.8,0 10.4,1.6 13.7,4.7c3.3,3.1 5,7.3 5,12.6v26.3h-6.9V421h-0.3c-1.4,2.2 -3.2,4 -5.5,5.4c-2.3,1.4 -5,2.2 -8.1,2.2S480.4,427.9 477.9,426.7zM493.3,420.4c2,-1.2 3.7,-2.8 5,-4.9s1.9,-4.3 1.9,-6.6c-3.2,-2 -6.8,-3.1 -11,-3.1c-3.6,0 -6.4,0.8 -8.6,2.4c-2.1,1.6 -3.2,3.7 -3.2,6.2c0,2.3 0.9,4.1 2.8,5.6c1.9,1.4 4.1,2.2 6.6,2.2C489.1,422.1 491.2,421.6 493.3,420.4z"/>
|
||||
<path android:fillColor="#424242" android:pathData="M162.7,472.7h8.2l23.1,60.9h-8l-6,-16.8h-26.3l-6.1,16.8h-8L162.7,472.7zM177.4,510.1l-8.1,-22l-2.4,-6.6h-0.3l-2.5,6.6l-8,22H177.4z"/>
|
||||
<path android:fillColor="#424242" android:pathData="M213.5,532.9c-2.6,-1.4 -4.5,-3.3 -5.8,-5.5h-0.3v6.3h-6.9v-60.9h7.2v19.1l-0.3,5.8h0.3c1.4,-2.2 3.3,-4 5.9,-5.4c2.6,-1.4 5.5,-2.2 8.8,-2.2c3.6,0 7,1 10,2.9c3.1,2 5.5,4.6 7.3,8c1.8,3.4 2.7,7.2 2.7,11.5c0,4.3 -0.9,8.1 -2.7,11.5c-1.8,3.4 -4.3,6.1 -7.3,8c-3.1,2 -6.4,2.9 -10,2.9C219.1,535 216.1,534.3 213.5,532.9zM228.2,526.5c2.1,-1.3 3.8,-3.2 5.1,-5.6c1.3,-2.4 1.9,-5.2 1.9,-8.4c0,-3.2 -0.6,-6 -1.9,-8.4c-1.3,-2.4 -3,-4.3 -5.1,-5.6c-2.1,-1.3 -4.4,-2 -6.9,-2c-2.5,0 -4.8,0.6 -6.9,1.9c-2.1,1.3 -3.8,3.1 -5.1,5.5c-1.3,2.4 -1.9,5.2 -1.9,8.5c0,3.2 0.6,6 1.9,8.4c1.3,2.4 3,4.3 5.1,5.6c2.1,1.3 4.4,1.9 6.9,1.9C223.8,528.5 226.1,527.8 228.2,526.5z"/>
|
||||
<path android:fillColor="#424242" android:pathData="M258.8,532.1c-3.3,-2 -5.9,-4.7 -7.7,-8.1c-1.8,-3.4 -2.8,-7.2 -2.8,-11.4c0,-4.2 0.9,-8 2.8,-11.4c1.8,-3.4 4.4,-6.1 7.7,-8.1c3.3,-2 7,-2.9 11.1,-2.9c4.1,0 7.9,1 11.2,2.9s5.9,4.7 7.7,8.1c1.8,3.4 2.8,7.2 2.8,11.4c0,4.2 -0.9,8 -2.8,11.4c-1.8,3.4 -4.4,6.1 -7.7,8.1s-7,2.9 -11.2,2.9C265.8,535 262,534 258.8,532.1zM277,526.5c2.2,-1.3 4,-3.2 5.3,-5.6c1.3,-2.4 2,-5.2 2,-8.4c0,-3.2 -0.7,-6 -2,-8.4c-1.3,-2.4 -3.1,-4.3 -5.3,-5.6c-2.2,-1.3 -4.6,-2 -7.1,-2c-2.5,0 -4.9,0.7 -7.1,2c-2.2,1.3 -4,3.2 -5.3,5.6c-1.3,2.4 -2,5.2 -2,8.4c0,3.2 0.7,6 2,8.4c1.3,2.4 3.1,4.3 5.3,5.6c2.2,1.3 4.6,2 7.1,2C272.5,528.5 274.8,527.8 277,526.5z"/>
|
||||
<path android:fillColor="#424242" android:pathData="M303,530.5c-2.7,-3 -4,-7.2 -4,-12.5v-26.5h7.2v25.4c0,7.8 3.5,11.7 10.5,11.7c2.3,0 4.4,-0.7 6.3,-2c1.8,-1.3 3.3,-3 4.3,-5.1c1,-2.1 1.5,-4.3 1.5,-6.6v-23.3h7.1v42.2H329v-6.3h-0.3c-1.2,2.2 -3.1,4 -5.7,5.4c-2.5,1.5 -5.2,2.2 -8.1,2.2C309.7,535 305.7,533.5 303,530.5z"/>
|
||||
<path android:fillColor="#424242" android:pathData="M358.4,534.2c-1.4,-0.6 -2.7,-1.4 -3.7,-2.3c-1.1,-1.1 -2,-2.4 -2.5,-3.9c-0.5,-1.5 -0.8,-3.2 -0.8,-5.2V498h-7.5v-6.6h7.5v-12.6h7.1v12.6h10.4v6.6h-10.4v23c0,2.4 0.5,4.2 1.4,5.4c1,1.3 2.4,1.9 4.4,1.9c1.8,0 3.3,-0.4 4.6,-1.2v7c-0.9,0.3 -1.8,0.6 -2.6,0.7c-0.8,0.1 -1.9,0.2 -3.3,0.2C361.5,535 359.9,534.7 358.4,534.2z"/>
|
||||
</vector>
|
|
@ -0,0 +1,25 @@
|
|||
<!--
|
||||
~ Copyright 2018, The Android Open Source Project
|
||||
~
|
||||
~ Licensed under the Apache License, Version 2.0 (the "License");
|
||||
~ you may not use this file except in compliance with the License.
|
||||
~ You may obtain a copy of the License at
|
||||
~
|
||||
~ http://www.apache.org/licenses/LICENSE-2.0
|
||||
~
|
||||
~ Unless required by applicable law or agreed to in writing, software
|
||||
~ distributed under the License is distributed on an "AS IS" BASIS,
|
||||
~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
~ See the License for the specific language governing permissions and
|
||||
~ limitations under the License.
|
||||
-->
|
||||
|
||||
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:width="24dp"
|
||||
android:height="24dp"
|
||||
android:viewportWidth="24.0"
|
||||
android:viewportHeight="24.0">
|
||||
<path
|
||||
android:fillColor="#FF000000"
|
||||
android:pathData="M6,18c0,0.55 0.45,1 1,1h1v3.5c0,0.83 0.67,1.5 1.5,1.5s1.5,-0.67 1.5,-1.5L11,19h2v3.5c0,0.83 0.67,1.5 1.5,1.5s1.5,-0.67 1.5,-1.5L16,19h1c0.55,0 1,-0.45 1,-1L18,8L6,8v10zM3.5,8C2.67,8 2,8.67 2,9.5v7c0,0.83 0.67,1.5 1.5,1.5S5,17.33 5,16.5v-7C5,8.67 4.33,8 3.5,8zM20.5,8c-0.83,0 -1.5,0.67 -1.5,1.5v7c0,0.83 0.67,1.5 1.5,1.5s1.5,-0.67 1.5,-1.5v-7c0,-0.83 -0.67,-1.5 -1.5,-1.5zM15.53,2.16l1.3,-1.3c0.2,-0.2 0.2,-0.51 0,-0.71 -0.2,-0.2 -0.51,-0.2 -0.71,0l-1.48,1.48C13.85,1.23 12.95,1 12,1c-0.96,0 -1.86,0.23 -2.66,0.63L7.85,0.15c-0.2,-0.2 -0.51,-0.2 -0.71,0 -0.2,0.2 -0.2,0.51 0,0.71l1.31,1.31C6.97,3.26 6,5.01 6,7h12c0,-1.99 -0.97,-3.75 -2.47,-4.84zM10,5L9,5L9,4h1v1zM15,5h-1L14,4h1v1z" />
|
||||
</vector>
|
|
@ -0,0 +1,7 @@
|
|||
<vector android:height="411.3dp" android:viewportHeight="411.3"
|
||||
android:viewportWidth="473.8" android:width="473.8dp" xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<path android:fillColor="#6AB343" android:pathData="M353.1,221.9l36.7,-67c2,-3.5 0.7,-8 -2.9,-9.9c-3.6,-1.9 -8,-0.6 -9.9,2.9l-37.1,67.7c-31.2,-13.9 -66.1,-21.7 -103.1,-21.6c-36.8,0 -71.7,7.7 -102.8,21.5l-37.1,-67.6c-1.9,-3.6 -6.4,-4.9 -9.9,-2.9c-3.6,1.9 -4.9,6.4 -2.9,9.9l36.7,67C48.7,259.1 0,330 0,411.3l473.8,0C473.8,330 425.1,259.2 353.1,221.9M129.1,325.5c-10.9,0 -19.8,-8.9 -19.8,-19.8c0,-10.9 8.9,-19.9 19.8,-19.9c11,0 19.9,9 19.9,19.9C149,316.6 140.1,325.5 129.1,325.5M344.8,325.5c-11,0 -19.9,-8.9 -19.9,-19.9c0,-10.9 8.9,-19.9 19.9,-19.9c10.9,0 19.8,9 19.8,19.9C364.7,316.6 355.8,325.5 344.8,325.5"/>
|
||||
<path android:fillColor="#424242" android:pathData="M226.8,93.1c0,-6.6 1.2,-12 3.6,-16.4c2.4,-4.4 6.9,-9.5 13.5,-15.5c5.1,-4.7 8.8,-8.8 11.1,-12.1c2.3,-3.3 3.4,-7.4 3.4,-12.1c0,-6.3 -2,-11.4 -6.1,-15.3c-4.1,-3.9 -9.7,-5.8 -16.9,-5.8c-6.6,0 -11.7,1.9 -15.5,5.6c-3.8,3.7 -6.7,8.4 -8.7,13.9l-15.5,-6.5c2.6,-7.6 7.3,-14.3 14,-20.2C216.4,2.9 225,0 235.5,0c7.9,0 14.9,1.6 21,4.8c6.1,3.2 10.8,7.6 14.2,13.3c3.3,5.6 5,11.9 5,18.9c0,5 -1.1,9.6 -3.1,13.9c-2.1,4.3 -4.4,7.7 -6.8,10.4c-2.4,2.7 -5.5,5.8 -9.3,9.3c-4.3,3.9 -7.5,7.7 -9.5,11.2c-2,3.5 -3.1,7.7 -3.1,12.4v8.3h-16.9V93.1zM226.6,140.4c-2.4,-2.4 -3.6,-5.4 -3.6,-9c0,-3.4 1.2,-6.3 3.6,-8.8c2.4,-2.4 5.3,-3.6 8.8,-3.6c3.5,0 6.5,1.2 9,3.6c2.4,2.4 3.6,5.3 3.6,8.8c0,3.5 -1.2,6.5 -3.6,9c-2.4,2.4 -5.4,3.6 -9,3.6C231.9,144.1 229,142.9 226.6,140.4z"/>
|
||||
<path android:fillColor="#424242" android:pathData="M126.3,82.2c-2.1,-4.4 -3,-8.5 -2.7,-12.2c0.3,-3.7 1.7,-8.6 4.2,-14.6c2,-4.8 3.2,-8.7 3.7,-11.6c0.5,-3 0,-6.1 -1.5,-9.2c-2,-4.2 -4.9,-7 -8.9,-8.4c-4,-1.3 -8.4,-0.9 -13.2,1.4c-4.4,2.1 -7.3,4.9 -8.7,8.7c-1.4,3.7 -1.9,7.7 -1.5,12.1l-12.5,0.5c-0.6,-6 0.4,-11.9 3.1,-18c2.7,-6 7.6,-10.7 14.6,-14c5.3,-2.5 10.5,-3.6 15.6,-3.3c5.1,0.3 9.7,1.8 13.7,4.5c4,2.8 7.1,6.5 9.3,11.2c1.6,3.4 2.3,6.8 2.2,10.3c-0.1,3.5 -0.5,6.6 -1.3,9.2c-0.8,2.6 -1.9,5.6 -3.4,9.2c-1.7,4 -2.7,7.5 -2.9,10.6c-0.3,3 0.3,6.1 1.8,9.3l2.6,5.6l-11.4,5.3L126.3,82.2zM140.9,114.2c-2.4,-0.9 -4.1,-2.5 -5.3,-4.9c-1.1,-2.3 -1.2,-4.6 -0.3,-7c0.9,-2.4 2.5,-4.1 4.8,-5.2c2.4,-1.1 4.8,-1.2 7.2,-0.4c2.4,0.9 4.1,2.5 5.2,4.8c1.1,2.4 1.2,4.8 0.4,7.2c-0.9,2.4 -2.5,4.1 -4.9,5.3C145.6,114.9 143.3,115 140.9,114.2z"/>
|
||||
<path android:fillColor="#424242" android:pathData="M320.7,127.6c-0.7,-1.7 -0.7,-3.4 0,-5.1c0.7,-1.7 1.9,-2.8 3.5,-3.5c1.7,-0.7 3.3,-0.7 5,0c1.7,0.7 2.9,1.9 3.6,3.6c0.7,1.7 0.7,3.3 0,5c-0.7,1.7 -1.9,2.9 -3.6,3.6c-1.7,0.7 -3.4,0.7 -5.1,0C322.5,130.5 321.3,129.3 320.7,127.6zM330.2,104.7c1.3,-3.2 3,-5.6 5,-7.2c2.1,-1.6 5.3,-3.3 9.6,-4.8c3.4,-1.3 6,-2.5 7.8,-3.7c1.8,-1.2 3.1,-2.9 4.1,-5.2c1.3,-3.1 1.3,-5.9 0.1,-8.6c-1.2,-2.7 -3.6,-4.8 -7.1,-6.2c-3.2,-1.3 -6.1,-1.4 -8.7,-0.4c-2.6,1.1 -4.9,2.7 -7,5l-6.2,-6.3c2.8,-3.2 6.4,-5.5 10.8,-7c4.4,-1.5 9.2,-1.2 14.3,0.9c3.8,1.6 6.9,3.7 9.2,6.5c2.3,2.8 3.7,5.9 4.2,9.3c0.5,3.4 0.1,6.8 -1.3,10.2c-1,2.4 -2.4,4.5 -4.3,6.1c-1.9,1.7 -3.7,2.9 -5.4,3.7c-1.7,0.8 -3.8,1.7 -6.4,2.7c-2.9,1 -5.2,2.2 -6.9,3.5c-1.7,1.3 -3,3.1 -4,5.4l-1.6,4l-8.2,-3.4L330.2,104.7z"/>
|
||||
</vector>
|
|
@ -0,0 +1,18 @@
|
|||
<vector android:height="428.5dp" android:viewportHeight="428.5"
|
||||
android:viewportWidth="507" android:width="507dp" xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<path android:fillColor="#6AB343" android:pathData="M255.6,256.5c-9.9,0 -18.4,3.5 -25.3,10.3c-6.9,6.9 -10.3,15.3 -10.3,25.3s3.4,18.4 10.3,25.5c6.9,7 15.3,10.6 25.3,10.6c9.9,0 18.4,-3.5 25.5,-10.6c7,-7 10.6,-15.5 10.6,-25.5s-3.5,-18.4 -10.6,-25.3C274.1,260 265.6,256.5 255.6,256.5z"/>
|
||||
<path android:fillColor="#6AB343" android:pathData="M332.8,63.8c-6.6,-10.4 -15.4,-18.8 -26.4,-25.4l14.1,-25.7c1.1,-2 1.4,-4.3 0.7,-6.5c-0.6,-2.2 -2.1,-4.1 -4.1,-5.2L317,1c-4.2,-2.2 -9.4,-0.7 -11.6,3.5l-14.6,26.6c-11.1,-4 -23.2,-6 -36.4,-6c-12.8,0 -24.5,2 -34.9,5.9L205,4.5c-1.1,-2 -2.9,-3.5 -5.1,-4.1c-2.2,-0.6 -4.5,-0.4 -6.5,0.7c-2,1.1 -3.5,2.9 -4.2,5.2c-0.6,2.2 -0.4,4.5 0.7,6.5l14.3,26.1c-2.5,1.7 -5,3.5 -7.3,5.5c-15.2,12.8 -25.4,28.1 -30.6,45.7l47.6,19.9c2.8,-9.7 7.7,-17.7 14.9,-24.2C235.9,79.3 245,76 256,76c10.5,0 18.9,3 25.3,8.9c6.3,5.9 9.5,13.2 9.5,21.7c0,7.2 -1.9,13.5 -5.6,19c-3.7,5.5 -9.7,12 -18,19.5c-14.4,12.4 -24.3,23.5 -29.8,33.1c-5.5,9.7 -8.3,21.1 -8.3,34.4v13.7h54.2v-6.6c0,-9.7 1.7,-17.7 5.2,-24c3.4,-6.3 9.9,-13.9 19.2,-22.8c12.1,-11.6 21.2,-22.4 27.3,-32.5c6.1,-10.1 9.1,-22.3 9.1,-36.6C344.2,89.2 340.4,75.8 332.8,63.8z"/>
|
||||
<path android:fillColor="#6AB343" android:pathData="M23.1,366.2h8.2l23.1,60.9h-8l-6,-16.8H14.1L8,427.2H0L23.1,366.2zM37.9,403.6l-8.1,-22l-2.4,-6.6h-0.3l-2.5,6.6l-8,22H37.9z"/>
|
||||
<path android:fillColor="#6AB343" android:pathData="M60.9,385h6.9v6.3h0.3c1.2,-2.2 3.1,-4 5.6,-5.4c2.6,-1.5 5.3,-2.2 8.2,-2.2c5.2,0 9.1,1.5 11.8,4.5c2.7,3 4,7.1 4,12.3v26.7h-7.1v-25.6c0,-7.6 -3.5,-11.4 -10.6,-11.4c-2.3,0 -4.3,0.7 -6.1,2c-1.8,1.3 -3.2,3 -4.2,5.1c-1,2.1 -1.5,4.3 -1.5,6.6v23.3h-7.2V385z"/>
|
||||
<path android:fillColor="#6AB343" android:pathData="M115.7,425.6c-3.1,-1.9 -5.5,-4.6 -7.3,-8c-1.8,-3.4 -2.7,-7.3 -2.7,-11.5c0,-4.3 0.9,-8.1 2.7,-11.5c1.8,-3.4 4.3,-6.1 7.3,-8c3.1,-1.9 6.4,-2.9 10,-2.9c3.3,0 6.2,0.7 8.8,2.2c2.6,1.4 4.6,3.2 5.9,5.4h0.3l-0.3,-5.8v-19.1h7.1v60.9h-6.8v-6.3h-0.3c-1.3,2.2 -3.3,4 -5.9,5.5c-2.6,1.4 -5.6,2.2 -8.8,2.2C122.1,428.5 118.8,427.6 115.7,425.6zM133.8,420.1c2.1,-1.3 3.8,-3.1 5.1,-5.6c1.3,-2.4 1.9,-5.2 1.9,-8.4c0,-3.2 -0.6,-6.1 -1.9,-8.5c-1.3,-2.4 -3,-4.3 -5.1,-5.5c-2.1,-1.3 -4.4,-1.9 -6.9,-1.9c-2.5,0 -4.8,0.7 -6.9,2c-2.1,1.3 -3.8,3.2 -5.1,5.6c-1.3,2.4 -1.9,5.2 -1.9,8.4s0.6,6 1.9,8.4c1.3,2.4 3,4.3 5.1,5.6c2.1,1.3 4.4,2 6.9,2C129.4,422 131.7,421.3 133.8,420.1z"/>
|
||||
<path android:fillColor="#6AB343" android:pathData="M158.3,385h6.9v6.9h0.3c0.8,-2.3 2.4,-4.3 4.9,-5.9c2.5,-1.6 4.9,-2.4 7.4,-2.4c1.8,0 3.4,0.3 4.9,0.9v7.7c-1.5,-0.9 -3.5,-1.3 -6,-1.3c-2,0 -3.8,0.6 -5.6,1.7c-1.7,1.2 -3.1,2.7 -4.1,4.6c-1,1.9 -1.5,4 -1.5,6.3v23.5h-7.2V385z"/>
|
||||
<path android:fillColor="#6AB343" android:pathData="M194.9,425.6c-3.3,-2 -5.9,-4.7 -7.7,-8.1c-1.8,-3.4 -2.8,-7.2 -2.8,-11.4c0,-4.2 0.9,-8 2.8,-11.4c1.8,-3.4 4.4,-6.1 7.7,-8.1c3.3,-2 7,-2.9 11.1,-2.9c4.1,0 7.9,1 11.2,2.9c3.3,2 5.9,4.7 7.7,8.1c1.8,3.4 2.8,7.2 2.8,11.4c0,4.2 -0.9,8 -2.8,11.4c-1.8,3.4 -4.4,6.1 -7.7,8.1c-3.3,2 -7,2.9 -11.2,2.9C201.9,428.5 198.2,427.6 194.9,425.6zM213.2,420c2.2,-1.3 4,-3.2 5.3,-5.6c1.3,-2.4 2,-5.2 2,-8.4s-0.7,-6 -2,-8.4c-1.3,-2.4 -3.1,-4.3 -5.3,-5.6c-2.2,-1.3 -4.6,-2 -7.1,-2c-2.5,0 -4.9,0.7 -7.1,2c-2.2,1.3 -4,3.2 -5.3,5.6c-1.3,2.4 -2,5.2 -2,8.4s0.7,6 2,8.4c1.3,2.4 3.1,4.3 5.3,5.6c2.2,1.3 4.6,2 7.1,2C208.6,422 211,421.3 213.2,420z"/>
|
||||
<path android:fillColor="#6AB343" android:pathData="M235.7,374.4c-1,-1 -1.5,-2.2 -1.5,-3.7c0,-1.4 0.5,-2.6 1.5,-3.7c1,-1 2.2,-1.5 3.7,-1.5c1.4,0 2.6,0.5 3.7,1.5c1,1 1.5,2.2 1.5,3.7c0,1.4 -0.5,2.6 -1.5,3.7c-1,1 -2.2,1.5 -3.7,1.5C237.9,375.9 236.7,375.4 235.7,374.4zM235.8,385h7.1v42.2h-7.1V385z"/>
|
||||
<path android:fillColor="#6AB343" android:pathData="M261.4,425.6c-3.1,-1.9 -5.5,-4.6 -7.3,-8c-1.8,-3.4 -2.7,-7.3 -2.7,-11.5c0,-4.3 0.9,-8.1 2.7,-11.5c1.8,-3.4 4.3,-6.1 7.3,-8c3.1,-1.9 6.4,-2.9 10,-2.9c3.3,0 6.2,0.7 8.8,2.2c2.6,1.4 4.6,3.2 5.9,5.4h0.3l-0.3,-5.8v-19.1h7.1v60.9h-6.8v-6.3h-0.3c-1.3,2.2 -3.3,4 -5.9,5.5c-2.6,1.4 -5.6,2.2 -8.8,2.2C267.8,428.5 264.5,427.6 261.4,425.6zM279.5,420.1c2.1,-1.3 3.8,-3.1 5.1,-5.6c1.3,-2.4 1.9,-5.2 1.9,-8.4c0,-3.2 -0.6,-6.1 -1.9,-8.5c-1.3,-2.4 -3,-4.3 -5.1,-5.5s-4.4,-1.9 -6.9,-1.9c-2.5,0 -4.8,0.7 -6.9,2c-2.1,1.3 -3.8,3.2 -5.1,5.6c-1.3,2.4 -1.9,5.2 -1.9,8.4s0.6,6 1.9,8.4c1.3,2.4 3,4.3 5.1,5.6c2.1,1.3 4.4,2 6.9,2C275,422 277.3,421.3 279.5,420.1z"/>
|
||||
<path android:fillColor="#424242" android:pathData="M334.3,373.1h-17.1v-6.9h41.4v6.9h-17.1v54h-7.1V373.1z"/>
|
||||
<path android:fillColor="#424242" android:pathData="M360.9,385h6.9v6.9h0.3c0.8,-2.3 2.4,-4.3 4.9,-5.9c2.5,-1.6 4.9,-2.4 7.4,-2.4c1.8,0 3.4,0.3 4.9,0.9v7.7c-1.5,-0.9 -3.5,-1.3 -6,-1.3c-2,0 -3.8,0.6 -5.6,1.7c-1.7,1.2 -3.1,2.7 -4.1,4.6c-1,1.9 -1.5,4 -1.5,6.3v23.5h-7.2V385z"/>
|
||||
<path android:fillColor="#424242" android:pathData="M392.7,374.4c-1,-1 -1.5,-2.2 -1.5,-3.7c0,-1.4 0.5,-2.6 1.5,-3.7c1,-1 2.2,-1.5 3.7,-1.5c1.4,0 2.6,0.5 3.7,1.5c1,1 1.5,2.2 1.5,3.7c0,1.4 -0.5,2.6 -1.5,3.7c-1,1 -2.2,1.5 -3.7,1.5C394.9,375.9 393.7,375.4 392.7,374.4zM392.8,385h7.1v42.2h-7.1V385z"/>
|
||||
<path android:fillColor="#424242" android:pathData="M406.4,385h7.8l12.9,33.7h0.2l13.1,-33.7h7.7l-17.3,42.2h-7.3L406.4,385z"/>
|
||||
<path android:fillColor="#424242" android:pathData="M454.5,374.4c-1,-1 -1.5,-2.2 -1.5,-3.7c0,-1.4 0.5,-2.6 1.5,-3.7c1,-1 2.2,-1.5 3.7,-1.5c1.4,0 2.6,0.5 3.7,1.5c1,1 1.5,2.2 1.5,3.7c0,1.4 -0.5,2.6 -1.5,3.7c-1,1 -2.2,1.5 -3.7,1.5C456.7,375.9 455.5,375.4 454.5,374.4zM454.5,385h7.1v42.2h-7.1V385z"/>
|
||||
<path android:fillColor="#424242" android:pathData="M477.9,426.7c-2.5,-1.2 -4.4,-2.9 -5.8,-5.1c-1.4,-2.2 -2.1,-4.6 -2.1,-7.4c0,-4.5 1.7,-8 5.1,-10.5c3.4,-2.5 7.7,-3.7 13,-3.7c2.6,0 5,0.3 7.1,0.9c2.1,0.6 3.8,1.2 5,1.9v-2.2c0,-2 -0.5,-3.9 -1.6,-5.5c-1.1,-1.6 -2.5,-2.9 -4.2,-3.7c-1.8,-0.9 -3.7,-1.3 -5.7,-1.3c-4.8,0 -8.5,2 -11.1,5.9l-6,-4c1.8,-2.6 4.1,-4.6 7,-6.1c2.9,-1.4 6.2,-2.2 9.8,-2.2c5.8,0 10.4,1.6 13.7,4.7c3.3,3.1 5,7.3 5,12.6v26.3h-6.9V421h-0.3c-1.4,2.2 -3.2,4 -5.5,5.4c-2.3,1.4 -5,2.2 -8.1,2.2S480.4,427.9 477.9,426.7zM493.3,420.4c2,-1.2 3.7,-2.8 5,-4.9s1.9,-4.3 1.9,-6.6c-3.2,-2 -6.8,-3.1 -11,-3.1c-3.6,0 -6.4,0.8 -8.6,2.4c-2.1,1.6 -3.2,3.7 -3.2,6.2c0,2.3 0.9,4.1 2.8,5.6c1.9,1.4 4.1,2.2 6.6,2.2C489.1,422.1 491.2,421.6 493.3,420.4z"/>
|
||||
</vector>
|
|
@ -0,0 +1,91 @@
|
|||
<!--
|
||||
~ Copyright 2018, The Android Open Source Project
|
||||
~
|
||||
~ Licensed under the Apache License, Version 2.0 (the "License");
|
||||
~ you may not use this file except in compliance with the License.
|
||||
~ You may obtain a copy of the License at
|
||||
~
|
||||
~ http://www.apache.org/licenses/LICENSE-2.0
|
||||
~
|
||||
~ Unless required by applicable law or agreed to in writing, software
|
||||
~ distributed under the License is distributed on an "AS IS" BASIS,
|
||||
~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
~ See the License for the specific language governing permissions and
|
||||
~ limitations under the License.
|
||||
-->
|
||||
|
||||
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:width="108dp"
|
||||
android:height="108dp"
|
||||
android:viewportWidth="108"
|
||||
android:viewportHeight="108">
|
||||
<path
|
||||
android:pathData="M0,0h108v108h-108z"
|
||||
android:fillColor="#FFFFFF"/>
|
||||
<path
|
||||
android:pathData="M17.7,50.3c-0.5,0 -1,0.2 -1.3,0.5c-0.4,0.4 -0.5,0.8 -0.5,1.3c0,0.5 0.2,1 0.5,1.3c0.4,0.4 0.8,0.6 1.3,0.6c0.5,0 1,-0.2 1.3,-0.6s0.6,-0.8 0.6,-1.3c0,-0.5 -0.2,-1 -0.6,-1.3S18.2,50.3 17.7,50.3"
|
||||
android:fillColor="#DAECD0"/>
|
||||
<path
|
||||
android:pathData="M20.7,36.8c-0.2,0 -0.3,0.1 -0.4,0.2l-0.8,1.4c-0.6,-0.2 -1.2,-0.3 -1.9,-0.3c-0.7,0 -1.3,0.1 -1.8,0.3L15,37.1c-0.1,-0.1 -0.2,-0.2 -0.3,-0.2l-0.1,0l-0.2,0.1c-0.1,0.1 -0.2,0.2 -0.2,0.3c0,0.1 0,0.2 0,0.3l0.7,1.4c-0.1,0.1 -0.3,0.2 -0.4,0.3c-0.8,0.7 -1.3,1.5 -1.6,2.4l2.5,1c0.1,-0.5 0.4,-0.9 0.8,-1.3c0.4,-0.3 0.9,-0.5 1.4,-0.5c0.5,0 1,0.2 1.3,0.5s0.5,0.7 0.5,1.1c0,0.4 -0.1,0.7 -0.3,1c-0.2,0.3 -0.5,0.6 -0.9,1c-0.8,0.6 -1.3,1.2 -1.6,1.7c-0.3,0.5 -0.4,1.1 -0.4,1.8v0.7h2.8v-0.3c0,-0.5 0.1,-0.9 0.3,-1.3s0.5,-0.7 1,-1.2c0.6,-0.6 1.1,-1.2 1.4,-1.7c0.3,-0.5 0.5,-1.2 0.5,-1.9c0,-0.8 -0.2,-1.5 -0.6,-2.1c-0.3,-0.5 -0.8,-1 -1.4,-1.3l0.7,-1.3c0.1,-0.1 0.1,-0.2 0,-0.3c0,-0.1 -0.1,-0.2 -0.2,-0.3l0,0L20.7,36.8"
|
||||
android:fillColor="#DAECD0"/>
|
||||
<path
|
||||
android:pathData="M29.7,26.3c-0.5,0 -1,0.2 -1.3,0.5c-0.4,0.4 -0.5,0.8 -0.5,1.3c0,0.5 0.2,1 0.5,1.3c0.4,0.4 0.8,0.6 1.3,0.6s1,-0.2 1.3,-0.6s0.6,-0.8 0.6,-1.3c0,-0.5 -0.2,-1 -0.6,-1.3S30.2,26.3 29.7,26.3"
|
||||
android:fillColor="#B3D89F"/>
|
||||
<path
|
||||
android:pathData="M32.7,12.8c-0.2,0 -0.3,0.1 -0.4,0.2l-0.8,1.4c-0.6,-0.2 -1.2,-0.3 -1.9,-0.3c-0.7,0 -1.3,0.1 -1.8,0.3L27,13.1c-0.1,-0.1 -0.2,-0.2 -0.3,-0.2l-0.1,0l-0.2,0.1c-0.1,0.1 -0.2,0.2 -0.2,0.3c0,0.1 0,0.2 0,0.3l0.7,1.4c-0.1,0.1 -0.3,0.2 -0.4,0.3c-0.8,0.7 -1.3,1.5 -1.6,2.4l2.5,1c0.1,-0.5 0.4,-0.9 0.8,-1.3c0.4,-0.3 0.9,-0.5 1.4,-0.5c0.5,0 1,0.2 1.3,0.5s0.5,0.7 0.5,1.1c0,0.4 -0.1,0.7 -0.3,1c-0.2,0.3 -0.5,0.6 -0.9,1c-0.8,0.6 -1.3,1.2 -1.6,1.7s-0.4,1.1 -0.4,1.8v0.7h2.8v-0.3c0,-0.5 0.1,-0.9 0.3,-1.3c0.2,-0.3 0.5,-0.7 1,-1.2c0.6,-0.6 1.1,-1.2 1.4,-1.7c0.3,-0.5 0.5,-1.2 0.5,-1.9c0,-0.8 -0.2,-1.5 -0.6,-2.1c-0.3,-0.5 -0.8,-1 -1.4,-1.3l0.7,-1.3c0.1,-0.1 0.1,-0.2 0,-0.3c0,-0.1 -0.1,-0.2 -0.2,-0.3l0,0L32.7,12.8"
|
||||
android:fillColor="#B3D89F"/>
|
||||
<path
|
||||
android:pathData="M27.7,78.3c-0.5,0 -1,0.2 -1.3,0.5c-0.4,0.4 -0.5,0.8 -0.5,1.3c0,0.5 0.2,1 0.5,1.3c0.4,0.4 0.8,0.6 1.3,0.6s1,-0.2 1.3,-0.6c0.4,-0.4 0.6,-0.8 0.6,-1.3c0,-0.5 -0.2,-1 -0.6,-1.3S28.2,78.3 27.7,78.3"
|
||||
android:fillColor="#B3D89F"/>
|
||||
<path
|
||||
android:pathData="M30.7,64.8c-0.2,0 -0.3,0.1 -0.4,0.2l-0.8,1.4c-0.6,-0.2 -1.2,-0.3 -1.9,-0.3c-0.7,0 -1.3,0.1 -1.8,0.3L25,65.1c-0.1,-0.1 -0.2,-0.2 -0.3,-0.2l-0.1,0l-0.2,0.1c-0.1,0.1 -0.2,0.2 -0.2,0.3c0,0.1 0,0.2 0,0.3l0.7,1.4c-0.1,0.1 -0.3,0.2 -0.4,0.3c-0.8,0.7 -1.3,1.5 -1.6,2.4l2.5,1c0.1,-0.5 0.4,-0.9 0.8,-1.3c0.4,-0.3 0.9,-0.5 1.4,-0.5c0.5,0 1,0.2 1.3,0.5s0.5,0.7 0.5,1.1c0,0.4 -0.1,0.7 -0.3,1c-0.2,0.3 -0.5,0.6 -0.9,1c-0.8,0.6 -1.3,1.2 -1.6,1.7c-0.3,0.5 -0.4,1.1 -0.4,1.8v0.7h2.8v-0.3c0,-0.5 0.1,-0.9 0.3,-1.3c0.2,-0.3 0.5,-0.7 1,-1.2c0.6,-0.6 1.1,-1.2 1.4,-1.7c0.3,-0.5 0.5,-1.2 0.5,-1.9c0,-0.8 -0.2,-1.5 -0.6,-2.1c-0.3,-0.5 -0.8,-1 -1.4,-1.3l0.7,-1.3c0.1,-0.1 0.1,-0.2 0,-0.3c0,-0.1 -0.1,-0.2 -0.2,-0.3l0,0L30.7,64.8"
|
||||
android:fillColor="#B3D89F"/>
|
||||
<path
|
||||
android:pathData="M41.7,50.3c-0.5,0 -1,0.2 -1.3,0.5c-0.4,0.4 -0.5,0.8 -0.5,1.3c0,0.5 0.2,1 0.5,1.3c0.4,0.4 0.8,0.6 1.3,0.6s1,-0.2 1.3,-0.6s0.6,-0.8 0.6,-1.3c0,-0.5 -0.2,-1 -0.6,-1.3S42.2,50.3 41.7,50.3"
|
||||
android:fillColor="#DAECD0"/>
|
||||
<path
|
||||
android:pathData="M44.7,36.8c-0.2,0 -0.3,0.1 -0.4,0.2l-0.8,1.4c-0.6,-0.2 -1.2,-0.3 -1.9,-0.3c-0.7,0 -1.3,0.1 -1.8,0.3L39,37.1c-0.1,-0.1 -0.2,-0.2 -0.3,-0.2l-0.1,0l-0.2,0.1c-0.1,0.1 -0.2,0.2 -0.2,0.3c0,0.1 0,0.2 0,0.3l0.7,1.4c-0.1,0.1 -0.3,0.2 -0.4,0.3c-0.8,0.7 -1.3,1.5 -1.6,2.4l2.5,1c0.1,-0.5 0.4,-0.9 0.8,-1.3c0.4,-0.3 0.9,-0.5 1.4,-0.5c0.5,0 1,0.2 1.3,0.5s0.5,0.7 0.5,1.1c0,0.4 -0.1,0.7 -0.3,1c-0.2,0.3 -0.5,0.6 -0.9,1c-0.8,0.6 -1.3,1.2 -1.6,1.7c-0.3,0.5 -0.4,1.1 -0.4,1.8v0.7h2.8v-0.3c0,-0.5 0.1,-0.9 0.3,-1.3c0.2,-0.3 0.5,-0.7 1,-1.2c0.6,-0.6 1.1,-1.2 1.4,-1.7c0.3,-0.5 0.5,-1.2 0.5,-1.9c0,-0.8 -0.2,-1.5 -0.6,-2.1c-0.3,-0.5 -0.8,-1 -1.4,-1.3l0.7,-1.3c0.1,-0.1 0.1,-0.2 0,-0.3c0,-0.1 -0.1,-0.2 -0.2,-0.3l0,0L44.7,36.8"
|
||||
android:fillColor="#DAECD0"/>
|
||||
<path
|
||||
android:pathData="M54.7,26.3c-0.5,0 -1,0.2 -1.3,0.5c-0.4,0.4 -0.5,0.8 -0.5,1.3c0,0.5 0.2,1 0.5,1.3c0.4,0.4 0.8,0.6 1.3,0.6c0.5,0 1,-0.2 1.3,-0.6s0.6,-0.8 0.6,-1.3c0,-0.5 -0.2,-1 -0.6,-1.3S55.2,26.3 54.7,26.3"
|
||||
android:fillColor="#B3D89F"/>
|
||||
<path
|
||||
android:pathData="M57.7,12.8c-0.2,0 -0.3,0.1 -0.4,0.2l-0.8,1.4c-0.6,-0.2 -1.2,-0.3 -1.9,-0.3c-0.7,0 -1.3,0.1 -1.8,0.3L52,13.1c-0.1,-0.1 -0.2,-0.2 -0.3,-0.2l-0.1,0l-0.2,0.1c-0.1,0.1 -0.2,0.2 -0.2,0.3c0,0.1 0,0.2 0,0.3l0.7,1.4c-0.1,0.1 -0.3,0.2 -0.4,0.3c-0.8,0.7 -1.3,1.5 -1.6,2.4l2.5,1c0.1,-0.5 0.4,-0.9 0.8,-1.3c0.4,-0.3 0.9,-0.5 1.4,-0.5c0.5,0 1,0.2 1.3,0.5s0.5,0.7 0.5,1.1c0,0.4 -0.1,0.7 -0.3,1c-0.2,0.3 -0.5,0.6 -0.9,1c-0.8,0.6 -1.3,1.2 -1.6,1.7c-0.3,0.5 -0.4,1.1 -0.4,1.8v0.7h2.8v-0.3c0,-0.5 0.1,-0.9 0.3,-1.3s0.5,-0.7 1,-1.2c0.6,-0.6 1.1,-1.2 1.4,-1.7c0.3,-0.5 0.5,-1.2 0.5,-1.9c0,-0.8 -0.2,-1.5 -0.6,-2.1c-0.3,-0.5 -0.8,-1 -1.4,-1.3l0.7,-1.3c0.1,-0.1 0.1,-0.2 0,-0.3c0,-0.1 -0.1,-0.2 -0.2,-0.3l0,0L57.7,12.8"
|
||||
android:fillColor="#B3D89F"/>
|
||||
<path
|
||||
android:pathData="M46.7,89.3c-0.5,0 -1,0.2 -1.3,0.5c-0.4,0.4 -0.5,0.8 -0.5,1.3c0,0.5 0.2,1 0.5,1.3c0.4,0.4 0.8,0.6 1.3,0.6s1,-0.2 1.3,-0.6c0.4,-0.4 0.6,-0.8 0.6,-1.3c0,-0.5 -0.2,-1 -0.6,-1.3S47.2,89.3 46.7,89.3"
|
||||
android:fillColor="#DAECD0"/>
|
||||
<path
|
||||
android:pathData="M49.7,75.8c-0.2,0 -0.3,0.1 -0.4,0.2l-0.8,1.4c-0.6,-0.2 -1.2,-0.3 -1.9,-0.3c-0.7,0 -1.3,0.1 -1.8,0.3L44,76.1c-0.1,-0.1 -0.2,-0.2 -0.3,-0.2l-0.1,0l-0.2,0.1c-0.1,0.1 -0.2,0.2 -0.2,0.3c0,0.1 0,0.2 0,0.3l0.7,1.4c-0.1,0.1 -0.3,0.2 -0.4,0.3c-0.8,0.7 -1.3,1.5 -1.6,2.4l2.5,1c0.1,-0.5 0.4,-0.9 0.8,-1.3c0.4,-0.3 0.9,-0.5 1.4,-0.5c0.5,0 1,0.2 1.3,0.5s0.5,0.7 0.5,1.1c0,0.4 -0.1,0.7 -0.3,1c-0.2,0.3 -0.5,0.6 -0.9,1c-0.8,0.6 -1.3,1.2 -1.6,1.7c-0.3,0.5 -0.4,1.1 -0.4,1.8v0.7h2.8v-0.3c0,-0.5 0.1,-0.9 0.3,-1.3c0.2,-0.3 0.5,-0.7 1,-1.2c0.6,-0.6 1.1,-1.2 1.4,-1.7c0.3,-0.5 0.5,-1.2 0.5,-1.9c0,-0.8 -0.2,-1.5 -0.6,-2.1c-0.3,-0.5 -0.8,-1 -1.4,-1.3l0.7,-1.3c0.1,-0.1 0.1,-0.2 0,-0.3c0,-0.1 -0.1,-0.2 -0.2,-0.3l0,0L49.7,75.8"
|
||||
android:fillColor="#DAECD0"/>
|
||||
<path
|
||||
android:pathData="M61.7,63.3c-0.5,0 -1,0.2 -1.3,0.5c-0.4,0.4 -0.5,0.8 -0.5,1.3c0,0.5 0.2,1 0.5,1.3c0.4,0.4 0.8,0.6 1.3,0.6c0.5,0 1,-0.2 1.3,-0.6c0.4,-0.4 0.6,-0.8 0.6,-1.3c0,-0.5 -0.2,-1 -0.6,-1.3S62.2,63.3 61.7,63.3"
|
||||
android:fillColor="#E9F4E3"/>
|
||||
<path
|
||||
android:pathData="M64.7,49.8c-0.2,0 -0.3,0.1 -0.4,0.2l-0.8,1.4c-0.6,-0.2 -1.2,-0.3 -1.9,-0.3c-0.7,0 -1.3,0.1 -1.8,0.3L59,50.1c-0.1,-0.1 -0.2,-0.2 -0.3,-0.2l-0.1,0l-0.2,0.1c-0.1,0.1 -0.2,0.2 -0.2,0.3c0,0.1 0,0.2 0,0.3l0.7,1.4c-0.1,0.1 -0.3,0.2 -0.4,0.3c-0.8,0.7 -1.3,1.5 -1.6,2.4l2.5,1c0.1,-0.5 0.4,-0.9 0.8,-1.3c0.4,-0.3 0.9,-0.5 1.4,-0.5c0.5,0 1,0.2 1.3,0.5s0.5,0.7 0.5,1.1c0,0.4 -0.1,0.7 -0.3,1c-0.2,0.3 -0.5,0.6 -0.9,1c-0.8,0.6 -1.3,1.2 -1.6,1.7c-0.3,0.5 -0.4,1.1 -0.4,1.8v0.7h2.8v-0.3c0,-0.5 0.1,-0.9 0.3,-1.3c0.2,-0.3 0.5,-0.7 1,-1.2c0.6,-0.6 1.1,-1.2 1.4,-1.7s0.5,-1.2 0.5,-1.9c0,-0.8 -0.2,-1.5 -0.6,-2.1c-0.3,-0.5 -0.8,-1 -1.4,-1.3l0.7,-1.3c0.1,-0.1 0.1,-0.2 0,-0.3c0,-0.1 -0.1,-0.2 -0.2,-0.3l0,0L64.7,49.8"
|
||||
android:fillColor="#E9F4E3"/>
|
||||
<path
|
||||
android:pathData="M75.7,41.3c-0.5,0 -1,0.2 -1.3,0.5c-0.4,0.4 -0.5,0.8 -0.5,1.3c0,0.5 0.2,1 0.5,1.3c0.4,0.4 0.8,0.6 1.3,0.6c0.5,0 1,-0.2 1.3,-0.6s0.6,-0.8 0.6,-1.3c0,-0.5 -0.2,-1 -0.6,-1.3S76.2,41.3 75.7,41.3"
|
||||
android:fillColor="#DAECD0"/>
|
||||
<path
|
||||
android:pathData="M78.7,27.8c-0.2,0 -0.3,0.1 -0.4,0.2l-0.8,1.4c-0.6,-0.2 -1.2,-0.3 -1.9,-0.3c-0.7,0 -1.3,0.1 -1.8,0.3L73,28.1c-0.1,-0.1 -0.2,-0.2 -0.3,-0.2l-0.1,0l-0.2,0.1c-0.1,0.1 -0.2,0.2 -0.2,0.3c0,0.1 0,0.2 0,0.3l0.7,1.4c-0.1,0.1 -0.3,0.2 -0.4,0.3c-0.8,0.7 -1.3,1.5 -1.6,2.4l2.5,1c0.1,-0.5 0.4,-0.9 0.8,-1.3c0.4,-0.3 0.9,-0.5 1.4,-0.5c0.5,0 1,0.2 1.3,0.5s0.5,0.7 0.5,1.1c0,0.4 -0.1,0.7 -0.3,1c-0.2,0.3 -0.5,0.6 -0.9,1c-0.8,0.6 -1.3,1.2 -1.6,1.7c-0.3,0.5 -0.4,1.1 -0.4,1.8v0.7h2.8v-0.3c0,-0.5 0.1,-0.9 0.3,-1.3s0.5,-0.7 1,-1.2c0.6,-0.6 1.1,-1.2 1.4,-1.7c0.3,-0.5 0.5,-1.2 0.5,-1.9c0,-0.8 -0.2,-1.5 -0.6,-2.1c-0.3,-0.5 -0.8,-1 -1.4,-1.3l0.7,-1.3c0.1,-0.1 0.1,-0.2 0,-0.3c0,-0.1 -0.1,-0.2 -0.2,-0.3l0,0L78.7,27.8"
|
||||
android:fillColor="#DAECD0"/>
|
||||
<path
|
||||
android:pathData="M75.7,81.3c-0.5,0 -1,0.2 -1.3,0.5c-0.4,0.4 -0.5,0.8 -0.5,1.3c0,0.5 0.2,1 0.5,1.3c0.4,0.4 0.8,0.6 1.3,0.6c0.5,0 1,-0.2 1.3,-0.6c0.4,-0.4 0.6,-0.8 0.6,-1.3c0,-0.5 -0.2,-1 -0.6,-1.3S76.2,81.3 75.7,81.3"
|
||||
android:fillColor="#DAECD0"/>
|
||||
<path
|
||||
android:pathData="M78.7,67.8c-0.2,0 -0.3,0.1 -0.4,0.2l-0.8,1.4c-0.6,-0.2 -1.2,-0.3 -1.9,-0.3c-0.7,0 -1.3,0.1 -1.8,0.3L73,68.1c-0.1,-0.1 -0.2,-0.2 -0.3,-0.2l-0.1,0l-0.2,0.1c-0.1,0.1 -0.2,0.2 -0.2,0.3c0,0.1 0,0.2 0,0.3l0.7,1.4c-0.1,0.1 -0.3,0.2 -0.4,0.3c-0.8,0.7 -1.3,1.5 -1.6,2.4l2.5,1c0.1,-0.5 0.4,-0.9 0.8,-1.3c0.4,-0.3 0.9,-0.5 1.4,-0.5c0.5,0 1,0.2 1.3,0.5s0.5,0.7 0.5,1.1c0,0.4 -0.1,0.7 -0.3,1c-0.2,0.3 -0.5,0.6 -0.9,1c-0.8,0.6 -1.3,1.2 -1.6,1.7c-0.3,0.5 -0.4,1.1 -0.4,1.8v0.7h2.8v-0.3c0,-0.5 0.1,-0.9 0.3,-1.3c0.2,-0.3 0.5,-0.7 1,-1.2c0.6,-0.6 1.1,-1.2 1.4,-1.7s0.5,-1.2 0.5,-1.9c0,-0.8 -0.2,-1.5 -0.6,-2.1c-0.3,-0.5 -0.8,-1 -1.4,-1.3l0.7,-1.3c0.1,-0.1 0.1,-0.2 0,-0.3c0,-0.1 -0.1,-0.2 -0.2,-0.3l0,0L78.7,67.8"
|
||||
android:fillColor="#DAECD0"/>
|
||||
<path
|
||||
android:pathData="M90.7,62.3c-0.5,0 -1,0.2 -1.3,0.5c-0.4,0.4 -0.5,0.8 -0.5,1.3c0,0.5 0.2,1 0.5,1.3c0.4,0.4 0.8,0.6 1.3,0.6c0.5,0 1,-0.2 1.3,-0.6c0.4,-0.4 0.6,-0.8 0.6,-1.3c0,-0.5 -0.2,-1 -0.6,-1.3S91.2,62.3 90.7,62.3"
|
||||
android:fillColor="#B3D89F"/>
|
||||
<path
|
||||
android:pathData="M93.7,48.8c-0.2,0 -0.3,0.1 -0.4,0.2l-0.8,1.4c-0.6,-0.2 -1.2,-0.3 -1.9,-0.3c-0.7,0 -1.3,0.1 -1.8,0.3L88,49.1c-0.1,-0.1 -0.2,-0.2 -0.3,-0.2l-0.1,0l-0.2,0.1c-0.1,0.1 -0.2,0.2 -0.2,0.3c0,0.1 0,0.2 0,0.3l0.7,1.4c-0.1,0.1 -0.3,0.2 -0.4,0.3c-0.8,0.7 -1.3,1.5 -1.6,2.4l2.5,1c0.1,-0.5 0.4,-0.9 0.8,-1.3c0.4,-0.3 0.9,-0.5 1.4,-0.5c0.5,0 1,0.2 1.3,0.5s0.5,0.7 0.5,1.1c0,0.4 -0.1,0.7 -0.3,1c-0.2,0.3 -0.5,0.6 -0.9,1c-0.8,0.6 -1.3,1.2 -1.6,1.7c-0.3,0.5 -0.4,1.1 -0.4,1.8v0.7h2.8v-0.3c0,-0.5 0.1,-0.9 0.3,-1.3c0.2,-0.3 0.5,-0.7 1,-1.2c0.6,-0.6 1.1,-1.2 1.4,-1.7s0.5,-1.2 0.5,-1.9c0,-0.8 -0.2,-1.5 -0.6,-2.1c-0.3,-0.5 -0.8,-1 -1.4,-1.3l0.7,-1.3c0.1,-0.1 0.1,-0.2 0,-0.3c0,-0.1 -0.1,-0.2 -0.2,-0.3l0,0L93.7,48.8"
|
||||
android:fillColor="#B3D89F"/>
|
||||
<path
|
||||
android:pathData="M90.7,29.3c-0.5,0 -1,0.2 -1.3,0.5c-0.4,0.4 -0.5,0.8 -0.5,1.3c0,0.5 0.2,1 0.5,1.3c0.4,0.4 0.8,0.6 1.3,0.6c0.5,0 1,-0.2 1.3,-0.6s0.6,-0.8 0.6,-1.3c0,-0.5 -0.2,-1 -0.6,-1.3S91.2,29.3 90.7,29.3"
|
||||
android:fillColor="#B3D89F"/>
|
||||
<path
|
||||
android:pathData="M93.7,15.8c-0.2,0 -0.3,0.1 -0.4,0.2l-0.8,1.4c-0.6,-0.2 -1.2,-0.3 -1.9,-0.3c-0.7,0 -1.3,0.1 -1.8,0.3L88,16.1c-0.1,-0.1 -0.2,-0.2 -0.3,-0.2l-0.1,0l-0.2,0.1c-0.1,0.1 -0.2,0.2 -0.2,0.3c0,0.1 0,0.2 0,0.3l0.7,1.4c-0.1,0.1 -0.3,0.2 -0.4,0.3c-0.8,0.7 -1.3,1.5 -1.6,2.4l2.5,1c0.1,-0.5 0.4,-0.9 0.8,-1.3c0.4,-0.3 0.9,-0.5 1.4,-0.5c0.5,0 1,0.2 1.3,0.5s0.5,0.7 0.5,1.1c0,0.4 -0.1,0.7 -0.3,1c-0.2,0.3 -0.5,0.6 -0.9,1c-0.8,0.6 -1.3,1.2 -1.6,1.7c-0.3,0.5 -0.4,1.1 -0.4,1.8v0.7h2.8v-0.3c0,-0.5 0.1,-0.9 0.3,-1.3s0.5,-0.7 1,-1.2c0.6,-0.6 1.1,-1.2 1.4,-1.7c0.3,-0.5 0.5,-1.2 0.5,-1.9c0,-0.8 -0.2,-1.5 -0.6,-2.1c-0.3,-0.5 -0.8,-1 -1.4,-1.3l0.7,-1.3c0.1,-0.1 0.1,-0.2 0,-0.3c0,-0.1 -0.1,-0.2 -0.2,-0.3l0,0L93.7,15.8"
|
||||
android:fillColor="#B3D89F"/>
|
||||
</vector>
|
|
@ -0,0 +1,34 @@
|
|||
<!--
|
||||
~ Copyright 2018, The Android Open Source Project
|
||||
~
|
||||
~ Licensed under the Apache License, Version 2.0 (the "License");
|
||||
~ you may not use this file except in compliance with the License.
|
||||
~ You may obtain a copy of the License at
|
||||
~
|
||||
~ http://www.apache.org/licenses/LICENSE-2.0
|
||||
~
|
||||
~ Unless required by applicable law or agreed to in writing, software
|
||||
~ distributed under the License is distributed on an "AS IS" BASIS,
|
||||
~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
~ See the License for the specific language governing permissions and
|
||||
~ limitations under the License.
|
||||
-->
|
||||
|
||||
<vector android:height="898.4dp" android:viewportHeight="898.4"
|
||||
android:viewportWidth="1063" android:width="1063dp" xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<path android:fillColor="#6AB343" android:pathData="M536,537.8c-20.8,0 -38.5,7.2 -52.9,21.7c-14.5,14.5 -21.7,32.1 -21.7,52.9c0,20.8 7.2,38.6 21.7,53.4c14.5,14.8 32.1,22.1 52.9,22.1c20.8,0 38.6,-7.4 53.4,-22.1c14.8,-14.8 22.1,-32.5 22.1,-53.4c0,-20.8 -7.4,-38.5 -22.1,-52.9C574.6,545.1 556.8,537.8 536,537.8z"/>
|
||||
<path android:fillColor="#6AB343" android:pathData="M697.8,133.8c-13.7,-21.7 -32.2,-39.4 -55.4,-53.2l29.5,-53.9c2.3,-4.2 2.9,-9 1.6,-13.6c-1.3,-4.7 -4.4,-8.5 -8.6,-10.9l-0.2,-0.1c-8.8,-4.6 -19.7,-1.4 -24.4,7.3l-30.6,55.8c-23.2,-8.4 -48.7,-12.6 -76.4,-12.6c-26.9,0 -51.3,4.1 -73.1,12.4L429.7,9.4c-2.3,-4.2 -6.1,-7.3 -10.8,-8.7c-4.6,-1.3 -9.5,-0.8 -13.7,1.5c-4.3,2.3 -7.4,6.2 -8.7,10.8c-1.3,4.6 -0.8,9.5 1.6,13.7l30,54.7c-5.3,3.5 -10.5,7.4 -15.4,11.5c-31.8,26.9 -53.2,58.9 -64.2,95.9l99.8,41.7c5.8,-20.2 16.2,-37.2 31.2,-50.8c15,-13.6 34.1,-20.4 57.3,-20.4c22,0 39.6,6.2 52.9,18.7c13.3,12.5 20,27.6 20,45.6c0,15.1 -3.9,28.4 -11.7,39.9c-7.8,11.6 -20.4,25.2 -37.8,40.8c-30.1,26 -50.9,49.2 -62.5,69.4c-11.6,20.3 -17.4,44.3 -17.4,72v28.6h113.7v-13.9c0,-20.2 3.6,-37 10.8,-50.3c7.2,-13.3 20.7,-29.2 40.4,-47.7c25.5,-24.3 44.5,-47 57.3,-68.1c12.7,-21.1 19.1,-46.7 19.1,-76.8C721.7,186.9 713.7,159 697.8,133.8z"/>
|
||||
<path android:fillColor="#6AB343" android:pathData="M48.5,767.9h17.1l48.5,127.7H97.4l-12.7,-35.1H29.6l-12.8,35.1H0L48.5,767.9zM79.4,846.2l-16.9,-46l-5,-13.7h-0.7l-5.2,13.7l-16.8,46H79.4z"/>
|
||||
<path android:fillColor="#6AB343" android:pathData="M127.7,807.1h14.4v13.2h0.7c2.5,-4.5 6.4,-8.3 11.8,-11.4c5.4,-3.1 11.1,-4.6 17.1,-4.6c10.8,0 19.1,3.2 24.7,9.5c5.6,6.3 8.5,14.9 8.5,25.9v56h-15v-53.7c0,-15.9 -7.4,-23.9 -22.3,-23.9c-4.8,0 -9,1.4 -12.8,4.1c-3.8,2.7 -6.8,6.3 -8.8,10.7c-2.1,4.4 -3.1,9 -3.1,13.9v48.9h-15.2V807.1z"/>
|
||||
<path android:fillColor="#6AB343" android:pathData="M242.6,892.4c-6.4,-4 -11.5,-9.7 -15.3,-16.9c-3.8,-7.2 -5.7,-15.3 -5.7,-24.2c0,-8.9 1.9,-17 5.7,-24.2c3.8,-7.2 8.9,-12.8 15.3,-16.9c6.4,-4 13.4,-6.1 21.1,-6.1c6.9,0 13.1,1.5 18.6,4.5c5.5,3 9.6,6.8 12.3,11.3h0.7l-0.7,-12.1v-40.1h15v127.7h-14.3v-13.2h-0.7c-2.7,4.6 -6.8,8.5 -12.3,11.5c-5.5,3 -11.7,4.5 -18.6,4.5C256,898.4 249,896.4 242.6,892.4zM280.5,880.7c4.5,-2.7 8,-6.6 10.7,-11.7c2.7,-5.1 4,-11 4,-17.7c0,-6.8 -1.3,-12.7 -4,-17.8c-2.7,-5.1 -6.2,-8.9 -10.7,-11.6s-9.3,-4 -14.5,-4c-5.2,0 -10.1,1.4 -14.5,4.1c-4.5,2.7 -8,6.6 -10.7,11.7c-2.7,5.1 -4,10.9 -4,17.6c0,6.7 1.3,12.5 4,17.6c2.7,5.1 6.2,9 10.7,11.7c4.5,2.7 9.3,4.1 14.5,4.1C271.2,884.7 276.1,883.4 280.5,880.7z"/>
|
||||
<path android:fillColor="#6AB343" android:pathData="M331.8,807.1h14.4v14.4h0.7c1.7,-4.9 5.1,-9 10.3,-12.3c5.2,-3.3 10.3,-5 15.4,-5c3.7,0 7.1,0.6 10.3,1.8v16.2c-3.2,-1.8 -7.4,-2.7 -12.5,-2.7c-4.2,0 -8.1,1.2 -11.7,3.7c-3.6,2.4 -6.5,5.7 -8.7,9.7s-3.2,8.5 -3.2,13.2v49.4h-15.2V807.1z"/>
|
||||
<path android:fillColor="#6AB343" android:pathData="M408.7,892.3c-6.9,-4.1 -12.3,-9.8 -16.1,-16.9c-3.9,-7.2 -5.8,-15.2 -5.8,-24c0,-8.8 1.9,-16.8 5.8,-24c3.9,-7.2 9.2,-12.8 16.1,-16.9c6.9,-4.1 14.7,-6.2 23.4,-6.2c8.7,0 16.5,2.1 23.5,6.2c7,4.1 12.4,9.8 16.2,16.9c3.9,7.2 5.8,15.2 5.8,24c0,8.8 -1.9,16.8 -5.8,24c-3.9,7.2 -9.3,12.8 -16.2,16.9c-7,4.1 -14.8,6.2 -23.5,6.2C423.4,898.4 415.6,896.4 408.7,892.3zM447,880.6c4.6,-2.7 8.4,-6.6 11.1,-11.7c2.8,-5.1 4.2,-10.9 4.2,-17.6c0,-6.7 -1.4,-12.5 -4.2,-17.6c-2.8,-5.1 -6.5,-8.9 -11.1,-11.7c-4.6,-2.7 -9.6,-4.1 -15,-4.1c-5.2,0 -10.2,1.4 -14.8,4.1c-4.6,2.7 -8.4,6.6 -11.1,11.7c-2.8,5.1 -4.2,10.9 -4.2,17.6c0,6.7 1.4,12.5 4.2,17.6c2.8,5.1 6.5,9 11.1,11.7c4.6,2.7 9.6,4.1 14.8,4.1C437.4,884.7 442.4,883.3 447,880.6z"/>
|
||||
<path android:fillColor="#6AB343" android:pathData="M494.1,785c-2.1,-2.1 -3.2,-4.7 -3.2,-7.7c0,-3 1.1,-5.5 3.2,-7.7c2.1,-2.1 4.7,-3.2 7.7,-3.2c3,0 5.5,1.1 7.7,3.2s3.2,4.7 3.2,7.7c0,3 -1,5.5 -3.1,7.7c-2.1,2.1 -4.7,3.2 -7.8,3.2C498.8,788.2 496.3,787.1 494.1,785zM494.3,807.1h15v88.5h-15V807.1z"/>
|
||||
<path android:fillColor="#6AB343" android:pathData="M548,892.4c-6.4,-4 -11.5,-9.7 -15.3,-16.9c-3.8,-7.2 -5.7,-15.3 -5.7,-24.2c0,-8.9 1.9,-17 5.7,-24.2c3.8,-7.2 8.9,-12.8 15.3,-16.9c6.4,-4 13.4,-6.1 21.1,-6.1c6.9,0 13.1,1.5 18.6,4.5c5.5,3 9.6,6.8 12.3,11.3h0.7l-0.7,-12.1v-40.1h15v127.7h-14.3v-13.2h-0.7c-2.7,4.6 -6.8,8.5 -12.3,11.5c-5.5,3 -11.7,4.5 -18.6,4.5C561.5,898.4 554.4,896.4 548,892.4zM585.9,880.7c4.5,-2.7 8,-6.6 10.7,-11.7c2.7,-5.1 4,-11 4,-17.7c0,-6.8 -1.3,-12.7 -4,-17.8c-2.7,-5.1 -6.2,-8.9 -10.7,-11.6c-4.5,-2.7 -9.3,-4 -14.5,-4c-5.2,0 -10.1,1.4 -14.5,4.1c-4.5,2.7 -8,6.6 -10.7,11.7c-2.7,5.1 -4,10.9 -4,17.6c0,6.7 1.3,12.5 4,17.6c2.7,5.1 6.2,9 10.7,11.7c4.5,2.7 9.3,4.1 14.5,4.1C576.6,884.7 581.5,883.4 585.9,880.7z"/>
|
||||
<path android:fillColor="#6AB343" android:pathData="M700.9,782.3H665v-14.5h86.7v14.5h-35.9v113.3h-15V782.3z"/>
|
||||
<path android:fillColor="#6AB343" android:pathData="M756.7,807.1h14.4v14.4h0.7c1.7,-4.9 5.1,-9 10.3,-12.3c5.2,-3.3 10.3,-5 15.4,-5c3.7,0 7.1,0.6 10.3,1.8v16.2c-3.2,-1.8 -7.4,-2.7 -12.5,-2.7c-4.2,0 -8.1,1.2 -11.7,3.7c-3.6,2.4 -6.5,5.7 -8.7,9.7s-3.2,8.5 -3.2,13.2v49.4h-15.2V807.1z"/>
|
||||
<path android:fillColor="#6AB343" android:pathData="M823.3,785c-2.1,-2.1 -3.2,-4.7 -3.2,-7.7c0,-3 1.1,-5.5 3.2,-7.7c2.1,-2.1 4.7,-3.2 7.7,-3.2c3,0 5.5,1.1 7.7,3.2s3.2,4.7 3.2,7.7c0,3 -1,5.5 -3.1,7.7c-2.1,2.1 -4.7,3.2 -7.8,3.2C828,788.2 825.4,787.1 823.3,785zM823.5,807.1h15v88.5h-15V807.1z"/>
|
||||
<path android:fillColor="#6AB343" android:pathData="M852,807.1h16.4l27.1,70.6h0.4l27.5,-70.6h16.1l-36.2,88.5h-15.3L852,807.1z"/>
|
||||
<path android:fillColor="#6AB343" android:pathData="M952.8,785c-2.1,-2.1 -3.2,-4.7 -3.2,-7.7c0,-3 1.1,-5.5 3.2,-7.7c2.1,-2.1 4.7,-3.2 7.7,-3.2c3,0 5.5,1.1 7.7,3.2s3.2,4.7 3.2,7.7c0,3 -1,5.5 -3.1,7.7c-2.1,2.1 -4.7,3.2 -7.8,3.2C957.5,788.2 954.9,787.1 952.8,785zM953,807.1h15v88.5h-15V807.1z"/>
|
||||
<path android:fillColor="#6AB343" android:pathData="M1001.9,894.6c-5.2,-2.6 -9.2,-6.1 -12.1,-10.7c-2.9,-4.6 -4.4,-9.7 -4.4,-15.4c0,-9.4 3.5,-16.7 10.6,-21.9c7.1,-5.2 16.1,-7.8 27.2,-7.8c5.5,0 10.4,0.6 14.8,1.8c4.4,1.2 7.9,2.5 10.5,3.9v-4.6c0,-4.3 -1.1,-8.1 -3.3,-11.5c-2.2,-3.4 -5.1,-6 -8.8,-7.8c-3.7,-1.8 -7.7,-2.8 -12,-2.8c-10.1,0 -17.8,4.1 -23.2,12.3l-12.7,-8.4c3.7,-5.5 8.6,-9.7 14.6,-12.8c6.1,-3 12.9,-4.5 20.5,-4.5c12.1,0 21.7,3.3 28.7,9.8c7,6.5 10.5,15.3 10.5,26.4v55.1h-14.4v-13h-0.7c-2.9,4.5 -6.7,8.3 -11.6,11.3c-4.9,3 -10.5,4.5 -16.9,4.5C1012.9,898.4 1007.1,897.2 1001.9,894.6zM1034.1,881.3c4.3,-2.5 7.8,-5.9 10.4,-10.2c2.7,-4.3 4,-8.9 4,-13.9c-6.7,-4.3 -14.3,-6.4 -23,-6.4c-7.5,0 -13.5,1.7 -17.9,5.1c-4.5,3.4 -6.7,7.7 -6.7,12.9c0,4.8 2,8.7 5.9,11.7c3.9,3 8.5,4.5 13.7,4.5C1025.3,885.1 1029.9,883.8 1034.1,881.3z"/>
|
||||
</vector>
|
|
@ -0,0 +1,25 @@
|
|||
<!--
|
||||
~ Copyright 2018, The Android Open Source Project
|
||||
~
|
||||
~ Licensed under the Apache License, Version 2.0 (the "License");
|
||||
~ you may not use this file except in compliance with the License.
|
||||
~ You may obtain a copy of the License at
|
||||
~
|
||||
~ http://www.apache.org/licenses/LICENSE-2.0
|
||||
~
|
||||
~ Unless required by applicable law or agreed to in writing, software
|
||||
~ distributed under the License is distributed on an "AS IS" BASIS,
|
||||
~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
~ See the License for the specific language governing permissions and
|
||||
~ limitations under the License.
|
||||
-->
|
||||
|
||||
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:width="24dp"
|
||||
android:height="24dp"
|
||||
android:viewportWidth="24.0"
|
||||
android:viewportHeight="24.0">
|
||||
<path
|
||||
android:fillColor="#FF000000"
|
||||
android:pathData="M15,15L3,15v2h12v-2zM15,7L3,7v2h12L15,7zM3,13h18v-2L3,11v2zM3,21h18v-2L3,19v2zM3,3v2h18L21,3L3,3z" />
|
||||
</vector>
|
|
@ -0,0 +1,25 @@
|
|||
<!--
|
||||
~ Copyright 2018, The Android Open Source Project
|
||||
~
|
||||
~ Licensed under the Apache License, Version 2.0 (the "License");
|
||||
~ you may not use this file except in compliance with the License.
|
||||
~ You may obtain a copy of the License at
|
||||
~
|
||||
~ http://www.apache.org/licenses/LICENSE-2.0
|
||||
~
|
||||
~ Unless required by applicable law or agreed to in writing, software
|
||||
~ distributed under the License is distributed on an "AS IS" BASIS,
|
||||
~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
~ See the License for the specific language governing permissions and
|
||||
~ limitations under the License.
|
||||
-->
|
||||
|
||||
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:width="24dp"
|
||||
android:height="24dp"
|
||||
android:viewportWidth="24.0"
|
||||
android:viewportHeight="24.0">
|
||||
<path
|
||||
android:fillColor="#FF000000"
|
||||
android:pathData="M19.43,12.98c0.04,-0.32 0.07,-0.64 0.07,-0.98s-0.03,-0.66 -0.07,-0.98l2.11,-1.65c0.19,-0.15 0.24,-0.42 0.12,-0.64l-2,-3.46c-0.12,-0.22 -0.39,-0.3 -0.61,-0.22l-2.49,1c-0.52,-0.4 -1.08,-0.73 -1.69,-0.98l-0.38,-2.65C14.46,2.18 14.25,2 14,2h-4c-0.25,0 -0.46,0.18 -0.49,0.42l-0.38,2.65c-0.61,0.25 -1.17,0.59 -1.69,0.98l-2.49,-1c-0.23,-0.09 -0.49,0 -0.61,0.22l-2,3.46c-0.13,0.22 -0.07,0.49 0.12,0.64l2.11,1.65c-0.04,0.32 -0.07,0.65 -0.07,0.98s0.03,0.66 0.07,0.98l-2.11,1.65c-0.19,0.15 -0.24,0.42 -0.12,0.64l2,3.46c0.12,0.22 0.39,0.3 0.61,0.22l2.49,-1c0.52,0.4 1.08,0.73 1.69,0.98l0.38,2.65c0.03,0.24 0.24,0.42 0.49,0.42h4c0.25,0 0.46,-0.18 0.49,-0.42l0.38,-2.65c0.61,-0.25 1.17,-0.59 1.69,-0.98l2.49,1c0.23,0.09 0.49,0 0.61,-0.22l2,-3.46c0.12,-0.22 0.07,-0.49 -0.12,-0.64l-2.11,-1.65zM12,15.5c-1.93,0 -3.5,-1.57 -3.5,-3.5s1.57,-3.5 3.5,-3.5 3.5,1.57 3.5,3.5 -1.57,3.5 -3.5,3.5z" />
|
||||
</vector>
|
|
@ -0,0 +1,21 @@
|
|||
<!--
|
||||
~ Copyright 2018, The Android Open Source Project
|
||||
~
|
||||
~ Licensed under the Apache License, Version 2.0 (the "License");
|
||||
~ you may not use this file except in compliance with the License.
|
||||
~ You may obtain a copy of the License at
|
||||
~
|
||||
~ http://www.apache.org/licenses/LICENSE-2.0
|
||||
~
|
||||
~ Unless required by applicable law or agreed to in writing, software
|
||||
~ distributed under the License is distributed on an "AS IS" BASIS,
|
||||
~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
~ See the License for the specific language governing permissions and
|
||||
~ limitations under the License.
|
||||
-->
|
||||
|
||||
<vector android:height="24dp" android:tint="#FFFFFF"
|
||||
android:viewportHeight="24.0" android:viewportWidth="24.0"
|
||||
android:width="24dp" xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<path android:fillColor="#FF000000" android:pathData="M18,16.08c-0.76,0 -1.44,0.3 -1.96,0.77L8.91,12.7c0.05,-0.23 0.09,-0.46 0.09,-0.7s-0.04,-0.47 -0.09,-0.7l7.05,-4.11c0.54,0.5 1.25,0.81 2.04,0.81 1.66,0 3,-1.34 3,-3s-1.34,-3 -3,-3 -3,1.34 -3,3c0,0.24 0.04,0.47 0.09,0.7L8.04,9.81C7.5,9.31 6.79,9 6,9c-1.66,0 -3,1.34 -3,3s1.34,3 3,3c0.79,0 1.5,-0.31 2.04,-0.81l7.12,4.16c-0.05,0.21 -0.08,0.43 -0.08,0.65 0,1.61 1.31,2.92 2.92,2.92 1.61,0 2.92,-1.31 2.92,-2.92s-1.31,-2.92 -2.92,-2.92z"/>
|
||||
</vector>
|
|
@ -0,0 +1,23 @@
|
|||
<vector android:height="535dp" android:viewportHeight="535"
|
||||
android:viewportWidth="507" android:width="507dp" xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<path android:fillColor="#6AB343" android:pathData="M255.6,256.5c-9.9,0 -18.4,3.5 -25.3,10.3c-6.9,6.9 -10.3,15.3 -10.3,25.3s3.4,18.4 10.3,25.5c6.9,7 15.3,10.6 25.3,10.6c9.9,0 18.4,-3.5 25.5,-10.6c7,-7 10.6,-15.5 10.6,-25.5s-3.5,-18.4 -10.6,-25.3C274.1,260 265.6,256.5 255.6,256.5z"/>
|
||||
<path android:fillColor="#6AB343" android:pathData="M332.8,63.8c-6.6,-10.4 -15.4,-18.8 -26.4,-25.4l14.1,-25.7c1.1,-2 1.4,-4.3 0.7,-6.5c-0.6,-2.2 -2.1,-4.1 -4.1,-5.2L317,1c-4.2,-2.2 -9.4,-0.7 -11.6,3.5l-14.6,26.6c-11.1,-4 -23.2,-6 -36.4,-6c-12.8,0 -24.5,2 -34.9,5.9L205,4.5c-1.1,-2 -2.9,-3.5 -5.1,-4.1c-2.2,-0.6 -4.5,-0.4 -6.5,0.7c-2,1.1 -3.5,2.9 -4.2,5.2c-0.6,2.2 -0.4,4.5 0.7,6.5l14.3,26.1c-2.5,1.7 -5,3.5 -7.3,5.5c-15.2,12.8 -25.4,28.1 -30.6,45.7l47.6,19.9c2.8,-9.7 7.7,-17.7 14.9,-24.2C235.9,79.3 245,76 256,76c10.5,0 18.9,3 25.3,8.9c6.3,5.9 9.5,13.2 9.5,21.7c0,7.2 -1.9,13.5 -5.6,19c-3.7,5.5 -9.7,12 -18,19.5c-14.4,12.4 -24.3,23.5 -29.8,33.1c-5.5,9.7 -8.3,21.1 -8.3,34.4v13.7h54.2v-6.6c0,-9.7 1.7,-17.7 5.2,-24c3.4,-6.3 9.9,-13.9 19.2,-22.8c12.1,-11.6 21.2,-22.4 27.3,-32.5c6.1,-10.1 9.1,-22.3 9.1,-36.6C344.2,89.2 340.4,75.8 332.8,63.8z"/>
|
||||
<path android:fillColor="#6AB343" android:pathData="M23.1,366.2h8.2l23.1,60.9h-8l-6,-16.8H14.1L8,427.2H0L23.1,366.2zM37.9,403.6l-8.1,-22l-2.4,-6.6h-0.3l-2.5,6.6l-8,22H37.9z"/>
|
||||
<path android:fillColor="#6AB343" android:pathData="M60.9,385h6.9v6.3h0.3c1.2,-2.2 3.1,-4 5.6,-5.4c2.6,-1.5 5.3,-2.2 8.2,-2.2c5.2,0 9.1,1.5 11.8,4.5c2.7,3 4,7.1 4,12.3v26.7h-7.1v-25.6c0,-7.6 -3.5,-11.4 -10.6,-11.4c-2.3,0 -4.3,0.7 -6.1,2c-1.8,1.3 -3.2,3 -4.2,5.1c-1,2.1 -1.5,4.3 -1.5,6.6v23.3h-7.2V385z"/>
|
||||
<path android:fillColor="#6AB343" android:pathData="M115.7,425.6c-3.1,-1.9 -5.5,-4.6 -7.3,-8c-1.8,-3.4 -2.7,-7.3 -2.7,-11.5c0,-4.3 0.9,-8.1 2.7,-11.5c1.8,-3.4 4.3,-6.1 7.3,-8c3.1,-1.9 6.4,-2.9 10,-2.9c3.3,0 6.2,0.7 8.8,2.2c2.6,1.4 4.6,3.2 5.9,5.4h0.3l-0.3,-5.8v-19.1h7.1v60.9h-6.8v-6.3h-0.3c-1.3,2.2 -3.3,4 -5.9,5.5c-2.6,1.4 -5.6,2.2 -8.8,2.2C122.1,428.5 118.8,427.6 115.7,425.6zM133.8,420.1c2.1,-1.3 3.8,-3.1 5.1,-5.6c1.3,-2.4 1.9,-5.2 1.9,-8.4c0,-3.2 -0.6,-6.1 -1.9,-8.5c-1.3,-2.4 -3,-4.3 -5.1,-5.5c-2.1,-1.3 -4.4,-1.9 -6.9,-1.9c-2.5,0 -4.8,0.7 -6.9,2c-2.1,1.3 -3.8,3.2 -5.1,5.6c-1.3,2.4 -1.9,5.2 -1.9,8.4s0.6,6 1.9,8.4c1.3,2.4 3,4.3 5.1,5.6c2.1,1.3 4.4,2 6.9,2C129.4,422 131.7,421.3 133.8,420.1z"/>
|
||||
<path android:fillColor="#6AB343" android:pathData="M158.3,385h6.9v6.9h0.3c0.8,-2.3 2.4,-4.3 4.9,-5.9c2.5,-1.6 4.9,-2.4 7.4,-2.4c1.8,0 3.4,0.3 4.9,0.9v7.7c-1.5,-0.9 -3.5,-1.3 -6,-1.3c-2,0 -3.8,0.6 -5.6,1.7c-1.7,1.2 -3.1,2.7 -4.1,4.6c-1,1.9 -1.5,4 -1.5,6.3v23.5h-7.2V385z"/>
|
||||
<path android:fillColor="#6AB343" android:pathData="M194.9,425.6c-3.3,-2 -5.9,-4.7 -7.7,-8.1c-1.8,-3.4 -2.8,-7.2 -2.8,-11.4c0,-4.2 0.9,-8 2.8,-11.4c1.8,-3.4 4.4,-6.1 7.7,-8.1c3.3,-2 7,-2.9 11.1,-2.9c4.1,0 7.9,1 11.2,2.9c3.3,2 5.9,4.7 7.7,8.1c1.8,3.4 2.8,7.2 2.8,11.4c0,4.2 -0.9,8 -2.8,11.4c-1.8,3.4 -4.4,6.1 -7.7,8.1c-3.3,2 -7,2.9 -11.2,2.9C201.9,428.5 198.2,427.5 194.9,425.6zM213.2,420c2.2,-1.3 4,-3.2 5.3,-5.6c1.3,-2.4 2,-5.2 2,-8.4s-0.7,-6 -2,-8.4c-1.3,-2.4 -3.1,-4.3 -5.3,-5.6c-2.2,-1.3 -4.6,-2 -7.1,-2c-2.5,0 -4.9,0.7 -7.1,2c-2.2,1.3 -4,3.2 -5.3,5.6c-1.3,2.4 -2,5.2 -2,8.4s0.7,6 2,8.4c1.3,2.4 3.1,4.3 5.3,5.6c2.2,1.3 4.6,2 7.1,2C208.6,422 211,421.3 213.2,420z"/>
|
||||
<path android:fillColor="#6AB343" android:pathData="M235.7,374.4c-1,-1 -1.5,-2.2 -1.5,-3.7c0,-1.4 0.5,-2.6 1.5,-3.7c1,-1 2.2,-1.5 3.7,-1.5c1.4,0 2.6,0.5 3.7,1.5c1,1 1.5,2.2 1.5,3.7c0,1.4 -0.5,2.6 -1.5,3.7c-1,1 -2.2,1.5 -3.7,1.5C237.9,375.9 236.7,375.4 235.7,374.4zM235.8,385h7.1v42.2h-7.1V385z"/>
|
||||
<path android:fillColor="#6AB343" android:pathData="M261.4,425.6c-3.1,-1.9 -5.5,-4.6 -7.3,-8c-1.8,-3.4 -2.7,-7.3 -2.7,-11.5c0,-4.3 0.9,-8.1 2.7,-11.5c1.8,-3.4 4.3,-6.1 7.3,-8c3.1,-1.9 6.4,-2.9 10,-2.9c3.3,0 6.2,0.7 8.8,2.2c2.6,1.4 4.6,3.2 5.9,5.4h0.3l-0.3,-5.8v-19.1h7.1v60.9h-6.8v-6.3h-0.3c-1.3,2.2 -3.3,4 -5.9,5.5c-2.6,1.4 -5.6,2.2 -8.8,2.2C267.8,428.5 264.5,427.6 261.4,425.6zM279.5,420.1c2.1,-1.3 3.8,-3.1 5.1,-5.6c1.3,-2.4 1.9,-5.2 1.9,-8.4c0,-3.2 -0.6,-6.1 -1.9,-8.5c-1.3,-2.4 -3,-4.3 -5.1,-5.5s-4.4,-1.9 -6.9,-1.9s-4.8,0.7 -6.9,2c-2.1,1.3 -3.8,3.2 -5.1,5.6c-1.3,2.4 -1.9,5.2 -1.9,8.4s0.6,6 1.9,8.4c1.3,2.4 3,4.3 5.1,5.6c2.1,1.3 4.4,2 6.9,2S277.3,421.3 279.5,420.1z"/>
|
||||
<path android:fillColor="#424242" android:pathData="M334.3,373.1h-17.1v-6.9h41.4v6.9h-17.1v54h-7.1V373.1z"/>
|
||||
<path android:fillColor="#424242" android:pathData="M360.9,385h6.9v6.9h0.3c0.8,-2.3 2.4,-4.3 4.9,-5.9c2.5,-1.6 4.9,-2.4 7.4,-2.4c1.8,0 3.4,0.3 4.9,0.9v7.7c-1.5,-0.9 -3.5,-1.3 -6,-1.3c-2,0 -3.8,0.6 -5.6,1.7c-1.7,1.2 -3.1,2.7 -4.1,4.6c-1,1.9 -1.5,4 -1.5,6.3v23.5h-7.2V385z"/>
|
||||
<path android:fillColor="#424242" android:pathData="M392.7,374.4c-1,-1 -1.5,-2.2 -1.5,-3.7c0,-1.4 0.5,-2.6 1.5,-3.7c1,-1 2.2,-1.5 3.7,-1.5c1.4,0 2.6,0.5 3.7,1.5c1,1 1.5,2.2 1.5,3.7c0,1.4 -0.5,2.6 -1.5,3.7c-1,1 -2.2,1.5 -3.7,1.5C394.9,375.9 393.7,375.4 392.7,374.4zM392.8,385h7.1v42.2h-7.1V385z"/>
|
||||
<path android:fillColor="#424242" android:pathData="M406.4,385h7.8l12.9,33.7h0.2l13.1,-33.7h7.7l-17.3,42.2h-7.3L406.4,385z"/>
|
||||
<path android:fillColor="#424242" android:pathData="M454.5,374.4c-1,-1 -1.5,-2.2 -1.5,-3.7c0,-1.4 0.5,-2.6 1.5,-3.7c1,-1 2.2,-1.5 3.7,-1.5c1.4,0 2.6,0.5 3.7,1.5c1,1 1.5,2.2 1.5,3.7c0,1.4 -0.5,2.6 -1.5,3.7c-1,1 -2.2,1.5 -3.7,1.5C456.7,375.9 455.5,375.4 454.5,374.4zM454.5,385h7.1v42.2h-7.1V385z"/>
|
||||
<path android:fillColor="#424242" android:pathData="M477.9,426.7c-2.5,-1.2 -4.4,-2.9 -5.8,-5.1c-1.4,-2.2 -2.1,-4.6 -2.1,-7.4c0,-4.5 1.7,-8 5.1,-10.5c3.4,-2.5 7.7,-3.7 13,-3.7c2.6,0 5,0.3 7.1,0.9c2.1,0.6 3.8,1.2 5,1.9v-2.2c0,-2 -0.5,-3.9 -1.6,-5.5c-1.1,-1.6 -2.5,-2.9 -4.2,-3.7c-1.8,-0.9 -3.7,-1.3 -5.7,-1.3c-4.8,0 -8.5,2 -11.1,5.9l-6,-4c1.8,-2.6 4.1,-4.6 7,-6.1c2.9,-1.4 6.2,-2.2 9.8,-2.2c5.8,0 10.4,1.6 13.7,4.7c3.3,3.1 5,7.3 5,12.6v26.3h-6.9V421h-0.3c-1.4,2.2 -3.2,4 -5.5,5.4c-2.3,1.4 -5,2.2 -8.1,2.2S480.4,427.9 477.9,426.7zM493.3,420.4c2,-1.2 3.7,-2.8 5,-4.9s1.9,-4.3 1.9,-6.6c-3.2,-2 -6.8,-3.1 -11,-3.1c-3.6,0 -6.4,0.8 -8.6,2.4c-2.1,1.6 -3.2,3.7 -3.2,6.2c0,2.3 0.9,4.1 2.8,5.6c1.9,1.4 4.1,2.2 6.6,2.2C489.1,422.1 491.2,421.6 493.3,420.4z"/>
|
||||
<path android:fillColor="#424242" android:pathData="M161.9,472.7h20.7c3.3,0 6.5,0.8 9.4,2.3s5.2,3.7 6.9,6.4c1.7,2.8 2.6,5.9 2.6,9.3c0,2.8 -0.7,5.5 -2,7.9c-1.3,2.4 -3.1,4.5 -5.3,6.1c-2.2,1.6 -4.7,2.8 -7.4,3.3l-0.2,0.3l17.1,24.9v0.3h-8.4l-16.6,-24.8h-9.6v24.8h-7.2V472.7zM182.1,502.1c2.2,0 4.1,-0.5 6,-1.4c1.8,-1 3.3,-2.3 4.4,-4c1.1,-1.7 1.7,-3.7 1.7,-5.8c0,-1.9 -0.5,-3.7 -1.4,-5.4s-2.3,-3.1 -4,-4.2c-1.7,-1.1 -3.7,-1.6 -6,-1.6h-13.5v22.5H182.1z"/>
|
||||
<path android:fillColor="#424242" android:pathData="M213.1,530.5c-2.7,-3 -4,-7.2 -4,-12.5v-26.5h7.2v25.4c0,7.8 3.5,11.7 10.5,11.7c2.3,0 4.4,-0.7 6.3,-2c1.8,-1.3 3.3,-3 4.3,-5.1c1,-2.1 1.5,-4.3 1.5,-6.6v-23.3h7.1v42.2h-6.8v-6.3h-0.3c-1.2,2.2 -3.1,4 -5.7,5.4c-2.5,1.5 -5.2,2.2 -8.1,2.2C219.8,535 215.8,533.5 213.1,530.5z"/>
|
||||
<path android:fillColor="#424242" android:pathData="M256.5,472.7h7.2v60.9h-7.2V472.7z"/>
|
||||
<path android:fillColor="#424242" android:pathData="M281.8,532.1c-3.2,-1.9 -5.7,-4.6 -7.5,-8c-1.8,-3.4 -2.7,-7.3 -2.7,-11.6c0,-4.1 0.9,-7.8 2.6,-11.3c1.7,-3.4 4.1,-6.2 7.3,-8.2c3.1,-2 6.8,-3 10.8,-3s7.7,0.9 10.8,2.8c3.1,1.8 5.5,4.4 7.1,7.8c1.6,3.3 2.5,7.2 2.5,11.6c0,0.8 -0.1,1.4 -0.2,1.7h-33.5c0.1,3.2 0.9,5.9 2.3,8c1.4,2.2 3.2,3.8 5.3,4.9c2.1,1.1 4.3,1.6 6.6,1.6c5.3,0 9.4,-2.6 12.3,-7.8l6.4,3.1c-1.8,3.4 -4.3,6.1 -7.5,8.2c-3.2,2.1 -7,3.1 -11.5,3.1C288.6,535 285,534.1 281.8,532.1zM304.9,507.9c-0.1,-1.7 -0.6,-3.4 -1.4,-5.1c-0.9,-1.7 -2.2,-3.1 -4.1,-4.3c-1.9,-1.2 -4.3,-1.8 -7.3,-1.8c-3.2,0 -5.9,1 -8.3,3.1c-2.3,2 -3.8,4.8 -4.4,8.2H304.9z"/>
|
||||
<path android:fillColor="#424242" android:pathData="M324.6,531.6c-3.1,-2.3 -5.3,-5.1 -6.6,-8.4l6.4,-2.8c1.1,2.7 2.7,4.7 4.8,6.1c2.1,1.4 4.3,2.1 6.8,2.1c2.7,0 5,-0.6 6.8,-1.8c1.8,-1.2 2.7,-2.6 2.7,-4.3c0,-1.6 -0.7,-3 -2,-4.1c-1.3,-1.1 -3.6,-2 -6.8,-2.8l-5.8,-1.4c-3.2,-0.7 -5.9,-2.1 -8.1,-4c-2.2,-1.9 -3.4,-4.5 -3.4,-7.7c0,-2.6 0.8,-4.8 2.3,-6.7s3.5,-3.3 6,-4.3c2.5,-1 5.2,-1.4 8.2,-1.4c3.6,0 6.9,0.8 9.9,2.5c3,1.7 5.1,4 6.3,7.1l-6.4,2.7c-0.9,-2 -2.3,-3.5 -4.1,-4.5c-1.8,-1 -3.9,-1.4 -6.2,-1.4c-2.2,0 -4.2,0.5 -6,1.6c-1.8,1.1 -2.7,2.5 -2.7,4.2c0,1.5 0.6,2.6 1.7,3.5c1.2,0.9 3,1.6 5.6,2.3l6.3,1.5c4.2,1.1 7.3,2.7 9.4,4.8c2.1,2.1 3.1,4.7 3.1,7.6c0,2.4 -0.7,4.7 -2.1,6.6c-1.4,2 -3.4,3.5 -6,4.7c-2.6,1.1 -5.4,1.7 -8.7,1.7C331.5,535 327.7,533.9 324.6,531.6z"/>
|
||||
</vector>
|
|
@ -0,0 +1,12 @@
|
|||
<vector android:height="806.5dp" android:viewportHeight="806.5"
|
||||
android:viewportWidth="534.4" android:width="534.4dp" xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<path android:fillColor="#6AB343" android:pathData="M39,230.3c-21.5,0 -39,16.8 -39,37.4l0,156.8C0,445.3 17.5,462 39,462c21.5,0 39,-16.7 39,-37.5l0,-156.8C78,247.1 60.5,230.3 39,230.3M352.7,55.4l27.2,-47.7c1.5,-2.5 0.5,-5.7 -2.1,-7.1c-2.7,-1.3 -5.9,-0.4 -7.3,2.1l-27.5,48.2c-23.1,-9.9 -49,-15.4 -76.4,-15.4c-27.3,0 -53.2,5.5 -76.2,15.3L162.9,2.8c-1.4,-2.5 -4.7,-3.5 -7.3,-2.1c-2.6,1.4 -3.6,4.5 -2.1,7l27.2,47.7c-53.5,26.5 -89.6,76.9 -89.6,134.9l351,0C442.1,132.3 406.1,82 352.7,55.4M186.7,166.5c-8.1,0 -14.7,-6.3 -14.7,-14.1c0,-7.8 6.6,-14.2 14.7,-14.2c8.1,0 14.7,6.4 14.7,14.2C201.5,160.2 194.9,166.5 186.7,166.5M346.6,166.5c-8.1,0 -14.7,-6.3 -14.7,-14.1c0,-7.7 6.6,-14.1 14.7,-14.2c8.1,0 14.7,6.4 14.7,14.2C361.3,160.1 354.7,166.5 346.6,166.5M93.1,202.8l0.1,243c0,22.1 18.6,39.9 41.6,40l28.3,0l0,83c0,20.7 17.5,37.4 38.9,37.4c21.5,0 39,-16.8 39,-37.5l0,-83l52.6,0l0,83c0,20.6 17.5,37.5 39,37.4c21.5,0 39,-16.8 39,-37.5l0,-82.9l28.4,0c22.9,0 41.6,-17.9 41.6,-40l0,-243L93.1,202.8zM534.4,267.7c0,-20.7 -17.4,-37.4 -39,-37.4c-21.5,0 -39,16.8 -39,37.5l0,156.8c0,20.7 17.4,37.4 39,37.4c21.5,0 39,-16.7 39,-37.5L534.4,267.7z"/>
|
||||
<path android:fillColor="#FF000000" android:pathData="M28.8,698.2H2.7v-10.1h63.2v10.1H39.8v79.3H28.8V698.2z"/>
|
||||
<path android:fillColor="#FF000000" android:pathData="M69.5,715.5h10.5v10.1h0.5c1.2,-3.4 3.7,-6.3 7.5,-8.6c3.8,-2.3 7.5,-3.5 11.2,-3.5c2.7,0 5.2,0.4 7.5,1.2v11.4c-2.3,-1.2 -5.4,-1.9 -9.1,-1.9c-3,0 -5.9,0.9 -8.5,2.6c-2.6,1.7 -4.7,4 -6.3,6.8c-1.6,2.8 -2.3,5.9 -2.3,9.3v34.6H69.5V715.5z"/>
|
||||
<path android:fillColor="#FF000000" android:pathData="M139.6,773.5l-26.8,-58h12l20,45.6h0.3l19.4,-45.6h12l-40.3,88.9h-11.3L139.6,773.5z"/>
|
||||
<path android:fillColor="#FF000000" android:pathData="M240.7,688.1h12.5l35.4,89.4h-12.2l-9.2,-24.6H227l-9.4,24.6h-12.2L240.7,688.1zM263.2,742.9l-12.3,-32.2l-3.6,-9.6h-0.5l-3.8,9.6l-12.2,32.2H263.2z"/>
|
||||
<path android:fillColor="#FF000000" android:pathData="M306.4,801.1c-4.9,-3.6 -8.3,-7.7 -10,-12.5l10.3,-4.1c1.3,3.7 3.6,6.6 7,8.9c3.3,2.3 7.3,3.4 11.9,3.4c6.8,0 12.1,-1.9 15.8,-5.7c3.7,-3.8 5.5,-9.2 5.5,-16v-6.6h-0.5c-2.1,3.2 -5.1,5.8 -9,7.9c-3.9,2.1 -8.3,3.1 -13.3,3.1c-5.5,0 -10.5,-1.4 -15.2,-4.3c-4.7,-2.8 -8.4,-6.8 -11.2,-11.8c-2.8,-5 -4.2,-10.7 -4.2,-16.9s1.4,-11.9 4.2,-16.9c2.8,-5 6.5,-8.9 11.2,-11.8c4.7,-2.8 9.8,-4.3 15.2,-4.3c4.9,0 9.4,1 13.3,3.1c3.9,2.1 6.9,4.7 9,7.9h0.5v-9h10.5V775c0,6.8 -1.4,12.6 -4.2,17.4c-2.8,4.7 -6.6,8.3 -11.4,10.6c-4.8,2.3 -10.2,3.5 -16.3,3.5C317.7,806.5 311.3,804.7 306.4,801.1zM336.3,767.1c3.2,-1.9 5.8,-4.6 7.7,-8.1c2,-3.5 2.9,-7.7 2.9,-12.4s-1,-8.9 -2.9,-12.5c-2,-3.6 -4.5,-6.3 -7.7,-8.1c-3.2,-1.8 -6.7,-2.8 -10.5,-2.8c-3.8,0 -7.3,0.9 -10.5,2.8c-3.2,1.9 -5.8,4.6 -7.7,8.1c-1.9,3.5 -2.9,7.7 -2.9,12.4s1,8.9 2.9,12.4c2,3.5 4.5,6.2 7.7,8.1c3.2,1.9 6.7,2.8 10.5,2.8C329.6,769.9 333.1,768.9 336.3,767.1z"/>
|
||||
<path android:fillColor="#FF000000" android:pathData="M381.2,776.8c-3.8,-1.8 -6.7,-4.3 -8.8,-7.5c-2.1,-3.2 -3.2,-6.8 -3.2,-10.8c0,-6.6 2.6,-11.7 7.7,-15.4c5.2,-3.7 11.8,-5.5 19.8,-5.5c4,0 7.6,0.4 10.8,1.2c3.2,0.8 5.8,1.7 7.7,2.7v-3.2c0,-3 -0.8,-5.7 -2.4,-8.1c-1.6,-2.4 -3.8,-4.2 -6.4,-5.5c-2.7,-1.3 -5.6,-1.9 -8.7,-1.9c-7.4,0 -13,2.9 -16.9,8.6l-9.2,-5.9c2.7,-3.8 6.2,-6.8 10.7,-8.9c4.4,-2.1 9.4,-3.2 15,-3.2c8.8,0 15.8,2.3 20.9,6.9c5.1,4.6 7.7,10.7 7.7,18.5v38.6h-10.5v-9.1h-0.5c-2.1,3.2 -4.9,5.8 -8.5,7.9c-3.6,2.1 -7.7,3.2 -12.3,3.2C389.2,779.5 385,778.6 381.2,776.8zM404.7,767.5c3.1,-1.7 5.7,-4.1 7.6,-7.1s2.9,-6.2 2.9,-9.7c-4.9,-3 -10.4,-4.5 -16.8,-4.5c-5.5,0 -9.8,1.2 -13.1,3.6c-3.2,2.4 -4.9,5.4 -4.9,9.1c0,3.3 1.4,6.1 4.3,8.2c2.9,2.1 6.2,3.2 10,3.2C398.2,770.1 401.5,769.3 404.7,767.5z"/>
|
||||
<path android:fillColor="#FF000000" android:pathData="M441.7,700c-1.6,-1.5 -2.3,-3.3 -2.3,-5.4c0,-2.1 0.8,-3.9 2.3,-5.4c1.6,-1.5 3.4,-2.2 5.6,-2.2c2.2,0 4,0.7 5.6,2.2c1.6,1.5 2.3,3.3 2.3,5.4c0,2.1 -0.8,3.9 -2.3,5.4c-1.5,1.5 -3.4,2.2 -5.7,2.2C445.1,702.3 443.3,701.5 441.7,700zM441.8,715.5h10.9v62h-10.9V715.5z"/>
|
||||
<path android:fillColor="#FF000000" android:pathData="M469.9,715.5h10.5v9.2h0.5c1.8,-3.2 4.7,-5.8 8.6,-8c3.9,-2.2 8.1,-3.2 12.5,-3.2c7.9,0 13.9,2.2 18,6.6c4.1,4.4 6.2,10.5 6.2,18.1v39.2h-10.9v-37.6c0,-11.2 -5.4,-16.7 -16.2,-16.7c-3.5,0 -6.6,1 -9.4,2.9c-2.8,1.9 -4.9,4.4 -6.4,7.5c-1.5,3.1 -2.3,6.3 -2.3,9.7v34.2h-11.1V715.5z"/>
|
||||
</vector>
|
|
@ -0,0 +1,20 @@
|
|||
<vector android:height="839.3dp" android:viewportHeight="839.3"
|
||||
android:viewportWidth="936.8" android:width="936.8dp" xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<path android:fillColor="#6AB343" android:pathData="M269.6,269.7c15.2,-15.2 15.2,-39.9 0,-55.1L154.2,99.2C139,84 114.3,84 99.1,99.2c-15.2,15.2 -15.2,39.9 0,55.1l115.4,115.4C229.7,284.9 254.4,284.9 269.6,269.7M554.5,57.7L581.7,8c1.5,-2.6 0.5,-5.9 -2.1,-7.4c-2.7,-1.4 -5.9,-0.5 -7.3,2.2L544.8,53c-23.1,-10.3 -49,-16.1 -76.4,-16c-27.3,0 -53.2,5.7 -76.2,16L364.7,2.9c-1.4,-2.6 -4.7,-3.6 -7.3,-2.2c-2.6,1.4 -3.6,4.7 -2.1,7.3l27.2,49.6C329,85.2 292.9,137.7 292.9,198l351,0C644,137.7 607.9,85.3 554.5,57.7M388.6,134.4c-8.1,0 -14.7,-6.6 -14.7,-14.7c0,-8.1 6.6,-14.7 14.7,-14.7c8.1,0 14.7,6.6 14.7,14.7C403.3,127.8 396.7,134.4 388.6,134.4M548.4,134.4c-8.1,0 -14.7,-6.6 -14.7,-14.7c0,-8.1 6.6,-14.7 14.7,-14.7c8.1,0 14.7,6.7 14.7,14.8C563.1,127.8 556.5,134.4 548.4,134.4M294.9,211l0.1,252.9c0,23 18.6,41.6 41.6,41.6l28.3,0l0,86.3c0,21.5 17.5,39 38.9,39c21.5,0 39,-17.5 39,-39l0,-86.3l52.6,0l0,86.3c0,21.5 17.5,39 39,39c21.5,0 39,-17.5 39,-39l0,-86.3l28.4,0c22.9,0 41.6,-18.6 41.6,-41.6l0,-252.9L294.9,211zM669.7,269.7c15.2,15.2 39.9,15.2 55.1,0l115.4,-115.4c15.3,-15.2 15.2,-39.9 0,-55.1C825,84 800.4,84 785.1,99.2L669.7,214.6C654.5,229.8 654.5,254.5 669.7,269.7"/>
|
||||
<path android:fillColor="#FF000000" android:pathData="M23.7,804.8c-7.4,-4.2 -13.2,-10.1 -17.4,-17.5C2.1,779.8 0,771.6 0,762.6c0,-9 2.1,-17.2 6.3,-24.7c4.2,-7.5 10,-13.3 17.4,-17.5c7.4,-4.2 15.5,-6.4 24.4,-6.4c7,0 13.4,1.3 19.2,4c5.8,2.6 10.7,6.4 14.9,11.2l-7.8,7.7c-3.5,-4.2 -7.3,-7.4 -11.6,-9.4c-4.3,-2 -9.2,-3 -14.6,-3c-6.7,0 -12.8,1.6 -18.5,4.7c-5.6,3.2 -10.1,7.6 -13.5,13.4c-3.3,5.8 -5,12.4 -5,20s1.7,14.2 5,20c3.3,5.8 7.8,10.2 13.5,13.4c5.6,3.2 11.8,4.7 18.5,4.7c11.4,0 21,-4.6 28.9,-13.9l7.9,7.8c-4.2,5.1 -9.5,9.2 -15.9,12.2c-6.3,3 -13.3,4.5 -20.9,4.5C39.2,811.2 31,809.1 23.7,804.8z"/>
|
||||
<path android:fillColor="#FF000000" android:pathData="M108,806.7c-5,-3 -9,-7.1 -11.8,-12.3c-2.8,-5.2 -4.2,-11.1 -4.2,-17.5c0,-6.4 1.4,-12.2 4.2,-17.5c2.8,-5.2 6.7,-9.4 11.8,-12.4c5,-3 10.7,-4.5 17,-4.5c6.3,0 12,1.5 17.1,4.5c5.1,3 9,7.1 11.8,12.4c2.8,5.2 4.2,11.1 4.2,17.5c0,6.4 -1.4,12.2 -4.2,17.5c-2.8,5.2 -6.8,9.4 -11.8,12.3c-5.1,3 -10.8,4.5 -17.1,4.5C118.7,811.2 113.1,809.7 108,806.7zM136,798.2c3.4,-2 6.1,-4.8 8.1,-8.5c2,-3.7 3.1,-8 3.1,-12.8c0,-4.9 -1,-9.1 -3.1,-12.8c-2,-3.7 -4.7,-6.5 -8.1,-8.5c-3.4,-2 -7,-3 -10.9,-3c-3.8,0 -7.4,1 -10.8,3c-3.4,2 -6.1,4.8 -8.1,8.5c-2,3.7 -3.1,8 -3.1,12.8c0,4.9 1,9.1 3.1,12.8c2,3.7 4.7,6.5 8.1,8.5c3.4,2 7,3 10.8,3C129,801.2 132.6,800.2 136,798.2z"/>
|
||||
<path android:fillColor="#FF000000" android:pathData="M169.4,744.6h10.5v9.6h0.5c1.8,-3.3 4.7,-6.1 8.6,-8.3c3.9,-2.3 8.1,-3.4 12.5,-3.4c7.9,0 13.9,2.3 18,6.9c4.1,4.6 6.2,10.9 6.2,18.8v40.8h-10.9V770c0,-11.6 -5.4,-17.4 -16.2,-17.4c-3.5,0 -6.6,1 -9.4,3c-2.8,2 -4.9,4.6 -6.4,7.8c-1.5,3.2 -2.3,6.6 -2.3,10.1v35.6h-11V744.6z"/>
|
||||
<path android:fillColor="#FF000000" android:pathData="M250,833.7c-4.9,-3.7 -8.3,-8.1 -10,-13l10.3,-4.3c1.3,3.8 3.6,6.9 7,9.3c3.3,2.4 7.3,3.6 11.9,3.6c6.8,0 12.1,-2 15.8,-6c3.7,-4 5.5,-9.5 5.5,-16.7v-6.9h-0.5c-2.1,3.3 -5.1,6 -9,8.2c-3.9,2.2 -8.3,3.2 -13.3,3.2c-5.5,0 -10.5,-1.5 -15.2,-4.4c-4.7,-3 -8.4,-7 -11.2,-12.3c-2.8,-5.2 -4.2,-11.1 -4.2,-17.6s1.4,-12.4 4.2,-17.6c2.8,-5.2 6.5,-9.3 11.2,-12.3c4.7,-3 9.8,-4.4 15.2,-4.4c4.9,0 9.4,1.1 13.3,3.2c3.9,2.2 6.9,4.9 9,8.2h0.5v-9.4H301v61.9c0,7.1 -1.4,13.1 -4.2,18.1c-2.8,4.9 -6.6,8.6 -11.4,11c-4.8,2.4 -10.2,3.6 -16.3,3.6C261.3,839.3 254.9,837.4 250,833.7zM279.9,798.2c3.2,-2 5.8,-4.8 7.7,-8.4c2,-3.7 2.9,-8 2.9,-12.9c0,-5 -1,-9.3 -2.9,-13c-1.9,-3.7 -4.5,-6.5 -7.7,-8.4c-3.2,-1.9 -6.7,-2.9 -10.5,-2.9c-3.8,0 -7.3,1 -10.5,2.9c-3.2,2 -5.8,4.8 -7.7,8.4c-2,3.7 -2.9,8 -2.9,12.9c0,5 1,9.3 2.9,12.9c1.9,3.7 4.5,6.5 7.7,8.4c3.2,2 6.7,2.9 10.5,2.9C273.2,801.2 276.7,800.2 279.9,798.2z"/>
|
||||
<path android:fillColor="#FF000000" android:pathData="M317.2,744.6h10.5v10.5h0.5c1.2,-3.6 3.7,-6.5 7.5,-9c3.8,-2.4 7.5,-3.6 11.2,-3.6c2.7,0 5.2,0.4 7.5,1.3v11.8c-2.3,-1.3 -5.4,-2 -9.1,-2c-3,0 -5.9,0.9 -8.5,2.7c-2.6,1.8 -4.7,4.1 -6.3,7.1c-1.6,3 -2.3,6.2 -2.3,9.6v36h-11.1V744.6z"/>
|
||||
<path android:fillColor="#FF000000" android:pathData="M370.4,808.4c-3.8,-1.9 -6.7,-4.5 -8.8,-7.8c-2.1,-3.3 -3.2,-7.1 -3.2,-11.2c0,-6.8 2.6,-12.2 7.7,-16c5.2,-3.8 11.8,-5.7 19.8,-5.7c4,0 7.6,0.4 10.8,1.3c3.2,0.9 5.8,1.8 7.7,2.9v-3.4c0,-3.1 -0.8,-5.9 -2.4,-8.4c-1.6,-2.5 -3.8,-4.4 -6.4,-5.7c-2.7,-1.3 -5.6,-2 -8.7,-2c-7.4,0 -13,3 -16.9,9l-9.2,-6.1c2.7,-4 6.2,-7.1 10.7,-9.3s9.4,-3.3 15,-3.3c8.8,0 15.8,2.4 20.9,7.1c5.1,4.8 7.7,11.2 7.7,19.2v40.2h-10.5v-9.5h-0.5c-2.1,3.3 -4.9,6 -8.4,8.3c-3.6,2.2 -7.7,3.3 -12.3,3.3C378.4,811.2 374.2,810.3 370.4,808.4zM393.9,798.7c3.1,-1.8 5.7,-4.3 7.6,-7.4c1.9,-3.1 2.9,-6.5 2.9,-10.1c-4.9,-3.1 -10.4,-4.7 -16.8,-4.7c-5.5,0 -9.8,1.2 -13.1,3.7s-4.9,5.6 -4.9,9.4c0,3.5 1.4,6.3 4.3,8.5s6.2,3.3 10,3.3C387.5,801.4 390.8,800.5 393.9,798.7z"/>
|
||||
<path android:fillColor="#FF000000" android:pathData="M446.4,809.9c-2.2,-0.9 -4.1,-2.1 -5.7,-3.6c-1.7,-1.7 -3,-3.6 -3.8,-5.9c-0.8,-2.3 -1.2,-4.9 -1.2,-8v-37.7h-11.4v-10h11.4v-19.2h10.9v19.2h15.9v10h-15.9v35.1c0,3.7 0.7,6.5 2.2,8.2c1.5,2 3.7,2.9 6.8,2.9c2.7,0 5,-0.6 7,-1.8v10.7c-1.4,0.5 -2.7,0.9 -4,1.1c-1.3,0.2 -2.9,0.3 -5,0.3C451,811.2 448.6,810.7 446.4,809.9z"/>
|
||||
<path android:fillColor="#FF000000" android:pathData="M480.9,804.3c-4.1,-4.6 -6.2,-11 -6.2,-19.1v-40.6h11v38.7c0,11.9 5.3,17.8 16,17.8c3.6,0 6.7,-1 9.6,-3c2.8,-2 5,-4.6 6.5,-7.8c1.5,-3.2 2.3,-6.6 2.3,-10.1v-35.6H531v64.5h-10.4v-9.6h-0.5c-1.9,3.3 -4.8,6.1 -8.6,8.3c-3.9,2.3 -8,3.4 -12.4,3.4C491.1,811.2 485,808.9 480.9,804.3z"/>
|
||||
<path android:fillColor="#FF000000" android:pathData="M547.3,716h11.1v93.1h-11.1V716z"/>
|
||||
<path android:fillColor="#FF000000" android:pathData="M582.1,808.4c-3.8,-1.9 -6.7,-4.5 -8.8,-7.8c-2.1,-3.3 -3.2,-7.1 -3.2,-11.2c0,-6.8 2.6,-12.2 7.7,-16c5.2,-3.8 11.8,-5.7 19.8,-5.7c4,0 7.6,0.4 10.8,1.3c3.2,0.9 5.8,1.8 7.7,2.9v-3.4c0,-3.1 -0.8,-5.9 -2.4,-8.4c-1.6,-2.5 -3.8,-4.4 -6.4,-5.7c-2.7,-1.3 -5.6,-2 -8.7,-2c-7.4,0 -13,3 -16.9,9l-9.2,-6.1c2.7,-4 6.2,-7.1 10.7,-9.3s9.4,-3.3 15,-3.3c8.8,0 15.8,2.4 20.9,7.1c5.1,4.8 7.7,11.2 7.7,19.2v40.2h-10.5v-9.5h-0.5c-2.1,3.3 -4.9,6 -8.5,8.3c-3.6,2.2 -7.7,3.3 -12.3,3.3C590.1,811.2 585.8,810.3 582.1,808.4zM605.5,798.7c3.1,-1.8 5.7,-4.3 7.6,-7.4c2,-3.1 2.9,-6.5 2.9,-10.1c-4.9,-3.1 -10.4,-4.7 -16.8,-4.7c-5.5,0 -9.8,1.2 -13.1,3.7s-4.9,5.6 -4.9,9.4c0,3.5 1.4,6.3 4.3,8.5c2.9,2.2 6.2,3.3 10,3.3C599.1,801.4 602.4,800.5 605.5,798.7z"/>
|
||||
<path android:fillColor="#FF000000" android:pathData="M658,809.9c-2.2,-0.9 -4.1,-2.1 -5.7,-3.6c-1.7,-1.7 -3,-3.6 -3.8,-5.9c-0.8,-2.3 -1.2,-4.9 -1.2,-8v-37.7h-11.4v-10h11.4v-19.2h10.9v19.2H674v10h-15.9v35.1c0,3.7 0.7,6.5 2.2,8.2c1.5,2 3.7,2.9 6.8,2.9c2.7,0 5,-0.6 7,-1.8v10.7c-1.4,0.5 -2.7,0.9 -4,1.1c-1.3,0.2 -2.9,0.3 -5,0.3C662.6,811.2 660.2,810.7 658,809.9z"/>
|
||||
<path android:fillColor="#FF000000" android:pathData="M688.5,728.5c-1.6,-1.6 -2.3,-3.4 -2.3,-5.6c0,-2.2 0.8,-4 2.3,-5.6c1.6,-1.6 3.4,-2.3 5.6,-2.3c2.2,0 4,0.8 5.6,2.3c1.6,1.6 2.3,3.4 2.3,5.6c0,2.2 -0.8,4 -2.3,5.6c-1.5,1.6 -3.4,2.3 -5.7,2.3C691.9,730.8 690,730.1 688.5,728.5zM688.6,744.6h10.9v64.5h-10.9V744.6z"/>
|
||||
<path android:fillColor="#FF000000" android:pathData="M728.4,806.7c-5,-3 -9,-7.1 -11.8,-12.3c-2.8,-5.2 -4.2,-11.1 -4.2,-17.5c0,-6.4 1.4,-12.2 4.2,-17.5c2.8,-5.2 6.7,-9.4 11.8,-12.4c5,-3 10.7,-4.5 17,-4.5c6.3,0 12,1.5 17.1,4.5s9,7.1 11.8,12.4c2.8,5.2 4.2,11.1 4.2,17.5c0,6.4 -1.4,12.2 -4.2,17.5c-2.8,5.2 -6.8,9.4 -11.8,12.3c-5.1,3 -10.8,4.5 -17.1,4.5C739.1,811.2 733.4,809.7 728.4,806.7zM756.3,798.2c3.4,-2 6.1,-4.8 8.1,-8.5c2,-3.7 3.1,-8 3.1,-12.8c0,-4.9 -1,-9.1 -3.1,-12.8c-2,-3.7 -4.7,-6.5 -8.1,-8.5c-3.4,-2 -7,-3 -10.9,-3c-3.8,0 -7.4,1 -10.8,3c-3.4,2 -6.1,4.8 -8.1,8.5c-2,3.7 -3.1,8 -3.1,12.8c0,4.9 1,9.1 3.1,12.8c2,3.7 4.7,6.5 8.1,8.5c3.4,2 7,3 10.8,3C749.3,801.2 753,800.2 756.3,798.2z"/>
|
||||
<path android:fillColor="#FF000000" android:pathData="M789.7,744.6h10.5v9.6h0.5c1.8,-3.3 4.7,-6.1 8.6,-8.3c3.9,-2.3 8.1,-3.4 12.5,-3.4c7.9,0 13.9,2.3 18,6.9c4.1,4.6 6.2,10.9 6.2,18.8v40.8h-10.9V770c0,-11.6 -5.4,-17.4 -16.2,-17.4c-3.5,0 -6.6,1 -9.4,3c-2.8,2 -4.9,4.6 -6.4,7.8c-1.5,3.2 -2.3,6.6 -2.3,10.1v35.6h-11.1V744.6z"/>
|
||||
<path android:fillColor="#FF000000" android:pathData="M866.4,806c-4.8,-3.5 -8.1,-7.8 -10,-12.9l9.8,-4.3c1.7,4.1 4.2,7.2 7.3,9.4c3.2,2.2 6.6,3.2 10.3,3.2c4.2,0 7.6,-0.9 10.3,-2.7c2.7,-1.8 4.1,-4 4.1,-6.6c0,-2.5 -1,-4.6 -3.1,-6.2c-2,-1.6 -5.5,-3.1 -10.5,-4.3l-8.8,-2.2c-4.9,-1.1 -9,-3.2 -12.4,-6.1c-3.4,-2.9 -5.1,-6.8 -5.1,-11.7c0,-4 1.1,-7.4 3.4,-10.3c2.3,-2.9 5.3,-5 9.2,-6.5c3.8,-1.5 8,-2.2 12.5,-2.2c5.5,0 10.6,1.3 15.1,3.8c4.5,2.6 7.8,6.2 9.7,10.9l-9.8,4.2c-1.4,-3.1 -3.5,-5.4 -6.3,-6.9c-2.8,-1.5 -6,-2.2 -9.4,-2.2c-3.4,0 -6.4,0.8 -9.2,2.5c-2.7,1.6 -4.1,3.8 -4.1,6.4c0,2.3 0.9,4 2.7,5.3c1.8,1.3 4.6,2.5 8.5,3.5l9.6,2.3c6.4,1.6 11.2,4.1 14.4,7.3c3.2,3.2 4.7,7.1 4.7,11.6c0,3.7 -1.1,7.1 -3.2,10.1c-2.2,3 -5.2,5.4 -9.1,7.2c-3.9,1.7 -8.3,2.6 -13.3,2.6C877,811.2 871.2,809.4 866.4,806z"/>
|
||||
<path android:fillColor="#FF000000" android:pathData="M922.7,806.7c-1.6,-1.6 -2.4,-3.6 -2.4,-5.9c0,-2.3 0.8,-4.2 2.4,-5.8c1.6,-1.6 3.6,-2.4 5.9,-2.4c2.3,0 4.2,0.8 5.8,2.4c1.6,1.6 2.4,3.5 2.4,5.8c0,2.3 -0.8,4.3 -2.4,5.9c-1.6,1.6 -3.5,2.4 -5.8,2.4C926.2,809.1 924.3,808.3 922.7,806.7zM923.1,747.6V716H934v31.6l-1.3,34.1h-8.5L923.1,747.6z"/>
|
||||
</vector>
|
|
@ -0,0 +1,33 @@
|
|||
<?xml version="1.0" encoding="utf-8"?><!--
|
||||
~ Copyright 2018, The Android Open Source Project
|
||||
~
|
||||
~ Licensed under the Apache License, Version 2.0 (the "License");
|
||||
~ you may not use this file except in compliance with the License.
|
||||
~ You may obtain a copy of the License at
|
||||
~
|
||||
~ http://www.apache.org/licenses/LICENSE-2.0
|
||||
~
|
||||
~ Unless required by applicable law or agreed to in writing, software
|
||||
~ distributed under the License is distributed on an "AS IS" BASIS,
|
||||
~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
~ See the License for the specific language governing permissions and
|
||||
~ limitations under the License.
|
||||
-->
|
||||
|
||||
<layout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:app="http://schemas.android.com/apk/res-auto">
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:orientation="vertical">
|
||||
<fragment
|
||||
android:id="@+id/titleFragment"
|
||||
android:name="androidx.navigation.fragment.NavHostFragment"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
app:navGraph="@navigation/navigation"
|
||||
/>
|
||||
</LinearLayout>
|
||||
|
||||
</layout>
|
|
@ -0,0 +1,55 @@
|
|||
<?xml version="1.0" encoding="utf-8"?><!--
|
||||
~ Copyright 2018, The Android Open Source Project
|
||||
~
|
||||
~ Licensed under the Apache License, Version 2.0 (the "License");
|
||||
~ you may not use this file except in compliance with the License.
|
||||
~ You may obtain a copy of the License at
|
||||
~
|
||||
~ http://www.apache.org/licenses/LICENSE-2.0
|
||||
~
|
||||
~ Unless required by applicable law or agreed to in writing, software
|
||||
~ distributed under the License is distributed on an "AS IS" BASIS,
|
||||
~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
~ See the License for the specific language governing permissions and
|
||||
~ limitations under the License.
|
||||
-->
|
||||
|
||||
<ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:fillViewport="true"
|
||||
tools:context="com.example.android.navigation.AboutFragment">
|
||||
|
||||
<androidx.constraintlayout.widget.ConstraintLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content">
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/aboutImage"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="@dimen/image_header_height"
|
||||
android:layout_marginStart="@dimen/horizontal_margin"
|
||||
android:layout_marginTop="@dimen/vertical_margin"
|
||||
android:layout_marginEnd="@dimen/horizontal_margin"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toTopOf="parent"
|
||||
app:srcCompat="@drawable/about_android_trivia" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/rulesText"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginStart="@dimen/horizontal_margin"
|
||||
android:layout_marginTop="@dimen/vertical_margin"
|
||||
android:layout_marginEnd="@dimen/horizontal_margin"
|
||||
android:text="@string/about_text"
|
||||
android:textAppearance="@style/TextAppearance.AppCompat.Large"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toBottomOf="@+id/aboutImage" />
|
||||
|
||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
||||
</ScrollView>
|
|
@ -0,0 +1,137 @@
|
|||
<?xml version="1.0" encoding="utf-8"?><!--
|
||||
~ Copyright 2018, The Android Open Source Project
|
||||
~
|
||||
~ Licensed under the Apache License, Version 2.0 (the "License");
|
||||
~ you may not use this file except in compliance with the License.
|
||||
~ You may obtain a copy of the License at
|
||||
~
|
||||
~ http://www.apache.org/licenses/LICENSE-2.0
|
||||
~
|
||||
~ Unless required by applicable law or agreed to in writing, software
|
||||
~ distributed under the License is distributed on an "AS IS" BASIS,
|
||||
~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
~ See the License for the specific language governing permissions and
|
||||
~ limitations under the License.
|
||||
-->
|
||||
|
||||
<layout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
tools:context="com.example.android.navigation.GameFragment">
|
||||
|
||||
<data>
|
||||
|
||||
<variable
|
||||
name="game"
|
||||
type="com.example.android.navigation.GameFragment" />
|
||||
</data>
|
||||
|
||||
<ScrollView
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:fillViewport="true">
|
||||
|
||||
<androidx.constraintlayout.widget.ConstraintLayout
|
||||
android:id="@+id/frameLayout"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content">
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/questionImage"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="@dimen/image_header_height"
|
||||
android:layout_marginStart="@dimen/horizontal_margin"
|
||||
android:layout_marginTop="@dimen/vertical_margin"
|
||||
android:layout_marginEnd="@dimen/horizontal_margin"
|
||||
android:layout_marginBottom="@dimen/vertical_margin"
|
||||
android:scaleType="fitCenter"
|
||||
app:layout_constraintBottom_toTopOf="@+id/questionText"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toTopOf="parent"
|
||||
app:layout_constraintVertical_chainStyle="packed"
|
||||
app:srcCompat="@drawable/android_category_simple" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/questionText"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginStart="@dimen/question_horizontal_margin"
|
||||
android:layout_marginTop="@dimen/vertical_margin"
|
||||
android:layout_marginEnd="@dimen/question_horizontal_margin"
|
||||
android:layout_marginBottom="@dimen/vertical_margin"
|
||||
android:fontFamily="sans-serif"
|
||||
android:text="@{game.currentQuestion.text}"
|
||||
android:textSize="@dimen/question_text_size"
|
||||
android:textStyle="bold"
|
||||
android:typeface="normal"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toBottomOf="@+id/questionImage"
|
||||
tools:text="What color is the Android mascot?" />
|
||||
|
||||
<RadioGroup
|
||||
android:id="@+id/questionRadioGroup"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginStart="@dimen/question_horizontal_margin"
|
||||
android:layout_marginTop="@dimen/vertical_margin"
|
||||
android:layout_marginEnd="@dimen/question_horizontal_margin"
|
||||
android:animateLayoutChanges="true"
|
||||
android:orientation="vertical"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toBottomOf="@+id/questionText">
|
||||
|
||||
<RadioButton
|
||||
android:id="@+id/firstAnswerRadioButton"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginBottom="@dimen/question_vertical_margin"
|
||||
android:checked="true"
|
||||
android:text="@{game.answers[0]}"
|
||||
android:textSize="@dimen/answer_text_size"
|
||||
tools:text="Blue" />
|
||||
|
||||
<RadioButton
|
||||
android:id="@+id/secondAnswerRadioButton"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginBottom="@dimen/question_vertical_margin"
|
||||
android:text="@{game.answers[1]}"
|
||||
android:textSize="@dimen/answer_text_size"
|
||||
tools:text="Green" />
|
||||
|
||||
<RadioButton
|
||||
android:id="@+id/thirdAnswerRadioButton"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginBottom="@dimen/question_vertical_margin"
|
||||
android:text="@{game.answers[2]}"
|
||||
android:textSize="@dimen/answer_text_size"
|
||||
tools:text="Yellow" />
|
||||
|
||||
<RadioButton
|
||||
android:id="@+id/fourthAnswerRadioButton"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="@{game.answers[3]}"
|
||||
android:textSize="@dimen/answer_text_size"
|
||||
tools:text="Red" />
|
||||
</RadioGroup>
|
||||
|
||||
<Button
|
||||
android:id="@+id/submitButton"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginStart="@dimen/question_horizontal_margin"
|
||||
android:layout_marginTop="@dimen/vertical_margin"
|
||||
android:layout_marginEnd="@dimen/question_horizontal_margin"
|
||||
android:text="@string/submit_button"
|
||||
android:textSize="@dimen/button_text_size"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toBottomOf="@+id/questionRadioGroup" />
|
||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
||||
</ScrollView>
|
||||
</layout>
|
|
@ -0,0 +1,62 @@
|
|||
<?xml version="1.0" encoding="utf-8"?><!--
|
||||
~ Copyright 2018, The Android Open Source Project
|
||||
~
|
||||
~ Licensed under the Apache License, Version 2.0 (the "License");
|
||||
~ you may not use this file except in compliance with the License.
|
||||
~ You may obtain a copy of the License at
|
||||
~
|
||||
~ http://www.apache.org/licenses/LICENSE-2.0
|
||||
~
|
||||
~ Unless required by applicable law or agreed to in writing, software
|
||||
~ distributed under the License is distributed on an "AS IS" BASIS,
|
||||
~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
~ See the License for the specific language governing permissions and
|
||||
~ limitations under the License.
|
||||
-->
|
||||
|
||||
<layout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
tools:context="com.example.android.navigation.GameOverFragment">
|
||||
|
||||
<androidx.constraintlayout.widget.ConstraintLayout
|
||||
android:id="@+id/gameOverConstraintLayout"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:background="@color/gameOverBackground">
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/gameOverFragment"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="362dp"
|
||||
android:layout_marginStart="@dimen/horizontal_margin"
|
||||
android:layout_marginEnd="@dimen/horizontal_margin"
|
||||
android:layout_marginBottom="8dp"
|
||||
android:scaleType="fitCenter"
|
||||
app:layout_constraintBottom_toTopOf="@+id/tryAgainButton"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toTopOf="parent"
|
||||
app:layout_constraintVertical_chainStyle="packed"
|
||||
app:srcCompat="@drawable/try_again" />
|
||||
|
||||
<Button
|
||||
android:id="@+id/tryAgainButton"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginStart="@dimen/vertical_margin"
|
||||
android:layout_marginTop="@dimen/vertical_margin"
|
||||
android:layout_marginEnd="@dimen/vertical_margin"
|
||||
android:layout_marginBottom="8dp"
|
||||
android:paddingStart="@dimen/button_padding"
|
||||
android:paddingEnd="@dimen/button_padding"
|
||||
android:text="@string/try_again"
|
||||
android:textColor="?colorAccent"
|
||||
android:textSize="@dimen/button_text_size"
|
||||
android:textStyle="bold"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toBottomOf="@+id/gameOverFragment" />
|
||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
||||
</layout>
|
|
@ -0,0 +1,59 @@
|
|||
<?xml version="1.0" encoding="utf-8"?><!--
|
||||
~ Copyright 2018, The Android Open Source Project
|
||||
~
|
||||
~ Licensed under the Apache License, Version 2.0 (the "License");
|
||||
~ you may not use this file except in compliance with the License.
|
||||
~ You may obtain a copy of the License at
|
||||
~
|
||||
~ http://www.apache.org/licenses/LICENSE-2.0
|
||||
~
|
||||
~ Unless required by applicable law or agreed to in writing, software
|
||||
~ distributed under the License is distributed on an "AS IS" BASIS,
|
||||
~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
~ See the License for the specific language governing permissions and
|
||||
~ limitations under the License.
|
||||
-->
|
||||
|
||||
<layout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
tools:context="com.example.android.navigation.GameWonFragment">
|
||||
|
||||
<androidx.constraintlayout.widget.ConstraintLayout
|
||||
android:id="@+id/gameWonConstraintLayout"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:background="@color/youWinBackground">
|
||||
|
||||
<Button
|
||||
android:id="@+id/nextMatchButton"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:paddingStart="@dimen/button_padding"
|
||||
android:paddingEnd="@dimen/button_padding"
|
||||
android:text="Next Match"
|
||||
android:textColor="@color/youWinDark"
|
||||
android:textSize="@dimen/button_text_size"
|
||||
android:textStyle="bold"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toBottomOf="@+id/youWinImage" />
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/youWinImage"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="@dimen/game_over_height"
|
||||
android:layout_marginStart="@dimen/horizontal_margin"
|
||||
android:layout_marginTop="8dp"
|
||||
android:layout_marginEnd="@dimen/horizontal_margin"
|
||||
android:layout_marginBottom="@dimen/vertical_margin"
|
||||
android:scaleType="fitCenter"
|
||||
app:layout_constraintBottom_toTopOf="@+id/nextMatchButton"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toTopOf="parent"
|
||||
app:srcCompat="@drawable/you_win" />
|
||||
|
||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
||||
</layout>
|
|
@ -0,0 +1,54 @@
|
|||
<?xml version="1.0" encoding="utf-8"?><!--
|
||||
~ Copyright 2018, The Android Open Source Project
|
||||
~
|
||||
~ Licensed under the Apache License, Version 2.0 (the "License");
|
||||
~ you may not use this file except in compliance with the License.
|
||||
~ You may obtain a copy of the License at
|
||||
~
|
||||
~ http://www.apache.org/licenses/LICENSE-2.0
|
||||
~
|
||||
~ Unless required by applicable law or agreed to in writing, software
|
||||
~ distributed under the License is distributed on an "AS IS" BASIS,
|
||||
~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
~ See the License for the specific language governing permissions and
|
||||
~ limitations under the License.
|
||||
-->
|
||||
|
||||
<ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:fillViewport="true"
|
||||
tools:context="com.example.android.navigation.RulesFragment">
|
||||
|
||||
<androidx.constraintlayout.widget.ConstraintLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content">
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/rulesImage"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="@dimen/image_header_height"
|
||||
android:layout_marginStart="@dimen/horizontal_margin"
|
||||
android:layout_marginTop="@dimen/vertical_margin"
|
||||
android:layout_marginEnd="@dimen/horizontal_margin"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toTopOf="parent"
|
||||
app:srcCompat="@drawable/trivia_rules" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/rulesText"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginStart="@dimen/horizontal_margin"
|
||||
android:layout_marginTop="@dimen/vertical_margin"
|
||||
android:layout_marginEnd="@dimen/horizontal_margin"
|
||||
android:text="@string/rules_text"
|
||||
android:textAppearance="@style/TextAppearance.AppCompat.Large"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toBottomOf="@+id/rulesImage" />
|
||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
||||
</ScrollView>
|
|
@ -0,0 +1,61 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
|
||||
<!--
|
||||
~ Copyright 2018, The Android Open Source Project
|
||||
~
|
||||
~ Licensed under the Apache License, Version 2.0 (the "License");
|
||||
~ you may not use this file except in compliance with the License.
|
||||
~ You may obtain a copy of the License at
|
||||
~
|
||||
~ http://www.apache.org/licenses/LICENSE-2.0
|
||||
~
|
||||
~ Unless required by applicable law or agreed to in writing, software
|
||||
~ distributed under the License is distributed on an "AS IS" BASIS,
|
||||
~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
~ See the License for the specific language governing permissions and
|
||||
~ limitations under the License.
|
||||
-->
|
||||
|
||||
<layout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
tools:context="com.example.android.navigation.TitleFragment">
|
||||
|
||||
<androidx.constraintlayout.widget.ConstraintLayout
|
||||
android:id="@+id/titleConstraint"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent">
|
||||
|
||||
<Button
|
||||
android:id="@+id/playButton"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginStart="@dimen/horizontal_margin"
|
||||
android:layout_marginEnd="@dimen/horizontal_margin"
|
||||
android:paddingStart="@dimen/button_padding"
|
||||
android:paddingEnd="@dimen/button_padding"
|
||||
android:text="Play"
|
||||
android:textColor="@color/colorAccent"
|
||||
android:textSize="@dimen/button_text_size"
|
||||
android:textStyle="bold"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toBottomOf="@+id/titleImage" />
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/titleImage"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="@dimen/image_header_height"
|
||||
android:layout_marginStart="@dimen/horizontal_margin"
|
||||
android:layout_marginEnd="@dimen/horizontal_margin"
|
||||
android:scaleType="fitCenter"
|
||||
app:layout_constraintBottom_toTopOf="@+id/playButton"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintHorizontal_bias="1.0"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toTopOf="parent"
|
||||
app:srcCompat="@drawable/android_trivia" />
|
||||
|
||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
||||
</layout>
|
|
@ -0,0 +1,41 @@
|
|||
<?xml version="1.0" encoding="utf-8"?><!--
|
||||
~ Copyright 2018, The Android Open Source Project
|
||||
~
|
||||
~ Licensed under the Apache License, Version 2.0 (the "License");
|
||||
~ you may not use this file except in compliance with the License.
|
||||
~ You may obtain a copy of the License at
|
||||
~
|
||||
~ http://www.apache.org/licenses/LICENSE-2.0
|
||||
~
|
||||
~ Unless required by applicable law or agreed to in writing, software
|
||||
~ distributed under the License is distributed on an "AS IS" BASIS,
|
||||
~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
~ See the License for the specific language governing permissions and
|
||||
~ limitations under the License.
|
||||
-->
|
||||
|
||||
<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||
android:id="@+id/navHeader"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="192dp"
|
||||
android:background="?attr/colorPrimaryDark"
|
||||
android:padding="16dp"
|
||||
android:theme="@style/ThemeOverlay.AppCompat.Dark">
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/navHeaderImage"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="0dp"
|
||||
android:layout_marginStart="@dimen/horizontal_margin"
|
||||
android:layout_marginTop="8dp"
|
||||
android:layout_marginEnd="@dimen/horizontal_margin"
|
||||
android:layout_marginBottom="24dp"
|
||||
android:scaleType="fitCenter"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toTopOf="parent"
|
||||
app:srcCompat="@drawable/nav_header" />
|
||||
|
||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
|
@ -0,0 +1,28 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
~ Copyright 2018, The Android Open Source Project
|
||||
~
|
||||
~ Licensed under the Apache License, Version 2.0 (the "License");
|
||||
~ you may not use this file except in compliance with the License.
|
||||
~ You may obtain a copy of the License at
|
||||
~
|
||||
~ http://www.apache.org/licenses/LICENSE-2.0
|
||||
~
|
||||
~ Unless required by applicable law or agreed to in writing, software
|
||||
~ distributed under the License is distributed on an "AS IS" BASIS,
|
||||
~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
~ See the License for the specific language governing permissions and
|
||||
~ limitations under the License.
|
||||
-->
|
||||
|
||||
<menu xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||
xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
|
||||
<item
|
||||
android:id="@+id/share"
|
||||
android:enabled="true"
|
||||
android:icon="@drawable/share"
|
||||
android:title="@string/share"
|
||||
android:visible="true"
|
||||
app:showAsAction="ifRoom" />
|
||||
</menu>
|
|
@ -0,0 +1,21 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
~ Copyright 2018, The Android Open Source Project
|
||||
~
|
||||
~ Licensed under the Apache License, Version 2.0 (the "License");
|
||||
~ you may not use this file except in compliance with the License.
|
||||
~ You may obtain a copy of the License at
|
||||
~
|
||||
~ http://www.apache.org/licenses/LICENSE-2.0
|
||||
~
|
||||
~ Unless required by applicable law or agreed to in writing, software
|
||||
~ distributed under the License is distributed on an "AS IS" BASIS,
|
||||
~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
~ See the License for the specific language governing permissions and
|
||||
~ limitations under the License.
|
||||
-->
|
||||
|
||||
<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>
|
|
@ -0,0 +1,21 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
~ Copyright 2018, The Android Open Source Project
|
||||
~
|
||||
~ Licensed under the Apache License, Version 2.0 (the "License");
|
||||
~ you may not use this file except in compliance with the License.
|
||||
~ You may obtain a copy of the License at
|
||||
~
|
||||
~ http://www.apache.org/licenses/LICENSE-2.0
|
||||
~
|
||||
~ Unless required by applicable law or agreed to in writing, software
|
||||
~ distributed under the License is distributed on an "AS IS" BASIS,
|
||||
~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
~ See the License for the specific language governing permissions and
|
||||
~ limitations under the License.
|
||||
-->
|
||||
|
||||
<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>
|
После Ширина: | Высота: | Размер: 4.8 KiB |
После Ширина: | Высота: | Размер: 5.3 KiB |
После Ширина: | Высота: | Размер: 1.6 KiB |
После Ширина: | Высота: | Размер: 1.7 KiB |
После Ширина: | Высота: | Размер: 2.9 KiB |
После Ширина: | Высота: | Размер: 3.3 KiB |
После Ширина: | Высота: | Размер: 5.0 KiB |
После Ширина: | Высота: | Размер: 5.5 KiB |
После Ширина: | Высота: | Размер: 6.1 KiB |
После Ширина: | Высота: | Размер: 7.0 KiB |
|
@ -0,0 +1,21 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<navigation xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
android:id="@+id/navigation"
|
||||
app:startDestination="@id/titleFragment">
|
||||
<fragment
|
||||
android:id="@+id/titleFragment"
|
||||
android:name="com.example.android.navigation.TitleFragment"
|
||||
android:label="fragment_title"
|
||||
tools:layout="@layout/fragment_title" >
|
||||
<action
|
||||
android:id="@+id/action_titleFragment_to_gameFragment"
|
||||
app:destination="@id/gameFragment" />
|
||||
</fragment>
|
||||
<fragment
|
||||
android:id="@+id/gameFragment"
|
||||
android:name="com.example.android.navigation.GameFragment"
|
||||
android:label="fragment_game"
|
||||
tools:layout="@layout/fragment_game" />
|
||||
</navigation>
|
|
@ -0,0 +1,25 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
~ Copyright 2018, The Android Open Source Project
|
||||
~
|
||||
~ Licensed under the Apache License, Version 2.0 (the "License");
|
||||
~ you may not use this file except in compliance with the License.
|
||||
~ You may obtain a copy of the License at
|
||||
~
|
||||
~ http://www.apache.org/licenses/LICENSE-2.0
|
||||
~
|
||||
~ Unless required by applicable law or agreed to in writing, software
|
||||
~ distributed under the License is distributed on an "AS IS" BASIS,
|
||||
~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
~ See the License for the specific language governing permissions and
|
||||
~ limitations under the License.
|
||||
-->
|
||||
|
||||
<resources>
|
||||
<color name="colorPrimary">#008577</color>
|
||||
<color name="colorPrimaryDark">#00574B</color>
|
||||
<color name="colorAccent">#7e53c5</color>
|
||||
<color name="youWinDark">#35A571</color>
|
||||
<color name="youWinBackground">#B7F8C9</color>
|
||||
<color name="gameOverBackground">#f8bbd0</color>
|
||||
</resources>
|
|
@ -0,0 +1,29 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
~ Copyright 2018, The Android Open Source Project
|
||||
~
|
||||
~ Licensed under the Apache License, Version 2.0 (the "License");
|
||||
~ you may not use this file except in compliance with the License.
|
||||
~ You may obtain a copy of the License at
|
||||
~
|
||||
~ http://www.apache.org/licenses/LICENSE-2.0
|
||||
~
|
||||
~ Unless required by applicable law or agreed to in writing, software
|
||||
~ distributed under the License is distributed on an "AS IS" BASIS,
|
||||
~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
~ See the License for the specific language governing permissions and
|
||||
~ limitations under the License.
|
||||
-->
|
||||
|
||||
<resources>
|
||||
<dimen name="vertical_margin">16dp</dimen>
|
||||
<dimen name="horizontal_margin">8dp</dimen>
|
||||
<dimen name="button_padding">16dp</dimen>
|
||||
<dimen name="button_text_size">18sp</dimen>
|
||||
<dimen name="question_horizontal_margin">32dp</dimen>
|
||||
<dimen name="question_vertical_margin">8dp</dimen>
|
||||
<dimen name="answer_text_size">18sp</dimen>
|
||||
<dimen name="question_text_size">30sp</dimen>
|
||||
<dimen name="image_header_height">192dp</dimen>
|
||||
<dimen name="game_over_height">350dp</dimen>
|
||||
</resources>
|
|
@ -0,0 +1,39 @@
|
|||
<!--
|
||||
~ Copyright 2018, The Android Open Source Project
|
||||
~
|
||||
~ Licensed under the Apache License, Version 2.0 (the "License");
|
||||
~ you may not use this file except in compliance with the License.
|
||||
~ You may obtain a copy of the License at
|
||||
~
|
||||
~ http://www.apache.org/licenses/LICENSE-2.0
|
||||
~
|
||||
~ Unless required by applicable law or agreed to in writing, software
|
||||
~ distributed under the License is distributed on an "AS IS" BASIS,
|
||||
~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
~ See the License for the specific language governing permissions and
|
||||
~ limitations under the License.
|
||||
-->
|
||||
|
||||
<resources>
|
||||
<string name="app_name">Android Trivia</string>
|
||||
<string name="game_over">Game Over</string>
|
||||
<string name="try_again">Try Again?</string>
|
||||
<string name="position">Position</string>
|
||||
<string name="select_an_avatar">Select an Avatar</string>
|
||||
<string name="android_trivia">Android Trivia</string>
|
||||
<string name="about_text">Android Trivia will help remind you of important concepts you have learned and will learn in Android development.\n\nConsider modifying the questions and graphics to make this game your own!</string>
|
||||
<string name="rules_text">Select the answer from the options given. Each time you get an answer correct, you advance to the next question.\n\nIf you get the answer wrong, your game ends! You can return to the title screen using up or back from within the game screen, and this will also end your game.</string>
|
||||
<string name="rules">Rules</string>
|
||||
<string name="about">About</string>
|
||||
<string name="trivia_hint">Trivia Hint</string>
|
||||
<string name="title_android_trivia_question">Android Trivia (%1$d/%2$d)</string>
|
||||
<string name="title_about_trivia">About Trivia</string>
|
||||
<string name="title_trivia_rules">Trivia Rules</string>
|
||||
<string name="share_success_text">I mastered #UdacityAndroidTrivia with %1$d/%2$d correct questions!</string>
|
||||
<string name="submit_button">Submit</string>
|
||||
<string name="congratulations">Congratulations!</string>
|
||||
<string name="share">Share</string>
|
||||
<string name="sharing_not_available">Sharing Not Available</string>
|
||||
<!-- TODO: Remove or change this placeholder text -->
|
||||
<string name="hello_blank_fragment">Hello blank fragment</string>
|
||||
</resources>
|
|
@ -0,0 +1,26 @@
|
|||
<!--
|
||||
~ Copyright 2018, The Android Open Source Project
|
||||
~
|
||||
~ Licensed under the Apache License, Version 2.0 (the "License");
|
||||
~ you may not use this file except in compliance with the License.
|
||||
~ You may obtain a copy of the License at
|
||||
~
|
||||
~ http://www.apache.org/licenses/LICENSE-2.0
|
||||
~
|
||||
~ Unless required by applicable law or agreed to in writing, software
|
||||
~ distributed under the License is distributed on an "AS IS" BASIS,
|
||||
~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
~ See the License for the specific language governing permissions and
|
||||
~ limitations under the License.
|
||||
-->
|
||||
|
||||
<resources>
|
||||
|
||||
<!-- Base application theme. -->
|
||||
<style name="AppTheme" parent="Theme.AppCompat.Light.DarkActionBar">
|
||||
<!-- Theme customization. -->
|
||||
<item name="colorPrimary">@color/colorPrimary</item>
|
||||
<item name="colorPrimaryDark">@color/colorPrimaryDark</item>
|
||||
<item name="colorAccent">@color/colorAccent</item>
|
||||
</style>
|
||||
</resources>
|
|
@ -0,0 +1,49 @@
|
|||
/*
|
||||
* Copyright 2018, The Android Open Source Project
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
// Top-level build file where you can add configuration options common to all sub-projects/modules.
|
||||
buildscript {
|
||||
ext {
|
||||
version_kotlin = "1.3.11"
|
||||
version_core = "1.0.1"
|
||||
version_constraint_layout = "1.1.3"
|
||||
version_lifecycle_extensions = "2.0.0"
|
||||
version_material = "1.0.0"
|
||||
version_navigation = "1.0.0"
|
||||
}
|
||||
repositories {
|
||||
google()
|
||||
jcenter()
|
||||
}
|
||||
dependencies {
|
||||
classpath 'com.android.tools.build:gradle:3.3.0'
|
||||
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$version_kotlin"
|
||||
|
||||
// NOTE: Do not place your application dependencies here; they belong
|
||||
// in the individual module build.gradle files
|
||||
}
|
||||
}
|
||||
|
||||
allprojects {
|
||||
repositories {
|
||||
google()
|
||||
jcenter()
|
||||
}
|
||||
}
|
||||
|
||||
task clean(type: Delete) {
|
||||
delete rootProject.buildDir
|
||||
}
|
|
@ -0,0 +1,31 @@
|
|||
#
|
||||
# Copyright 2018, The Android Open Source Project
|
||||
#
|
||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||
# you may not use this file except in compliance with the License.
|
||||
# You may obtain a copy of the License at
|
||||
#
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing, software
|
||||
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
#
|
||||
|
||||
# Project-wide Gradle settings.
|
||||
# IDE (e.g. Android Studio) users:
|
||||
# Gradle settings configured through the IDE *will override*
|
||||
# any settings specified in this file.
|
||||
# For more details on how to configure your build environment visit
|
||||
# http://www.gradle.org/docs/current/userguide/build_environment.html
|
||||
# Specifies the JVM arguments used for the daemon process.
|
||||
# The setting is particularly useful for tweaking memory settings.
|
||||
android.enableJetifier=true
|
||||
android.useAndroidX=true
|
||||
org.gradle.jvmargs=-Xmx1536m
|
||||
# When configured, Gradle will run in incubating parallel mode.
|
||||
# This option should only be used with decoupled projects. More details, visit
|
||||
# http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects
|
||||
# org.gradle.parallel=true
|
|
@ -0,0 +1,23 @@
|
|||
#
|
||||
# Copyright 2018, The Android Open Source Project
|
||||
#
|
||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||
# you may not use this file except in compliance with the License.
|
||||
# You may obtain a copy of the License at
|
||||
#
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing, software
|
||||
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
#
|
||||
|
||||
#Tue Apr 17 15:14:16 PDT 2018
|
||||
distributionBase=GRADLE_USER_HOME
|
||||
distributionPath=wrapper/dists
|
||||
zipStoreBase=GRADLE_USER_HOME
|
||||
zipStorePath=wrapper/dists
|
||||
distributionUrl=https\://services.gradle.org/distributions/gradle-4.10.1-all.zip
|
||||
android.databinding.enableV2=true
|
|
@ -0,0 +1,172 @@
|
|||
#!/usr/bin/env sh
|
||||
|
||||
##############################################################################
|
||||
##
|
||||
## Gradle start up script for UN*X
|
||||
##
|
||||
##############################################################################
|
||||
|
||||
# Attempt to set APP_HOME
|
||||
# Resolve links: $0 may be a link
|
||||
PRG="$0"
|
||||
# Need this for relative symlinks.
|
||||
while [ -h "$PRG" ] ; do
|
||||
ls=`ls -ld "$PRG"`
|
||||
link=`expr "$ls" : '.*-> \(.*\)$'`
|
||||
if expr "$link" : '/.*' > /dev/null; then
|
||||
PRG="$link"
|
||||
else
|
||||
PRG=`dirname "$PRG"`"/$link"
|
||||
fi
|
||||
done
|
||||
SAVED="`pwd`"
|
||||
cd "`dirname \"$PRG\"`/" >/dev/null
|
||||
APP_HOME="`pwd -P`"
|
||||
cd "$SAVED" >/dev/null
|
||||
|
||||
APP_NAME="Gradle"
|
||||
APP_BASE_NAME=`basename "$0"`
|
||||
|
||||
# Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
|
||||
DEFAULT_JVM_OPTS=""
|
||||
|
||||
# Use the maximum available, or set MAX_FD != -1 to use that value.
|
||||
MAX_FD="maximum"
|
||||
|
||||
warn () {
|
||||
echo "$*"
|
||||
}
|
||||
|
||||
die () {
|
||||
echo
|
||||
echo "$*"
|
||||
echo
|
||||
exit 1
|
||||
}
|
||||
|
||||
# OS specific support (must be 'true' or 'false').
|
||||
cygwin=false
|
||||
msys=false
|
||||
darwin=false
|
||||
nonstop=false
|
||||
case "`uname`" in
|
||||
CYGWIN* )
|
||||
cygwin=true
|
||||
;;
|
||||
Darwin* )
|
||||
darwin=true
|
||||
;;
|
||||
MINGW* )
|
||||
msys=true
|
||||
;;
|
||||
NONSTOP* )
|
||||
nonstop=true
|
||||
;;
|
||||
esac
|
||||
|
||||
CLASSPATH=$APP_HOME/gradle/wrapper/gradle-wrapper.jar
|
||||
|
||||
# Determine the Java command to use to start the JVM.
|
||||
if [ -n "$JAVA_HOME" ] ; then
|
||||
if [ -x "$JAVA_HOME/jre/sh/java" ] ; then
|
||||
# IBM's JDK on AIX uses strange locations for the executables
|
||||
JAVACMD="$JAVA_HOME/jre/sh/java"
|
||||
else
|
||||
JAVACMD="$JAVA_HOME/bin/java"
|
||||
fi
|
||||
if [ ! -x "$JAVACMD" ] ; then
|
||||
die "ERROR: JAVA_HOME is set to an invalid directory: $JAVA_HOME
|
||||
|
||||
Please set the JAVA_HOME variable in your environment to match the
|
||||
location of your Java installation."
|
||||
fi
|
||||
else
|
||||
JAVACMD="java"
|
||||
which java >/dev/null 2>&1 || die "ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
|
||||
|
||||
Please set the JAVA_HOME variable in your environment to match the
|
||||
location of your Java installation."
|
||||
fi
|
||||
|
||||
# Increase the maximum file descriptors if we can.
|
||||
if [ "$cygwin" = "false" -a "$darwin" = "false" -a "$nonstop" = "false" ] ; then
|
||||
MAX_FD_LIMIT=`ulimit -H -n`
|
||||
if [ $? -eq 0 ] ; then
|
||||
if [ "$MAX_FD" = "maximum" -o "$MAX_FD" = "max" ] ; then
|
||||
MAX_FD="$MAX_FD_LIMIT"
|
||||
fi
|
||||
ulimit -n $MAX_FD
|
||||
if [ $? -ne 0 ] ; then
|
||||
warn "Could not set maximum file descriptor limit: $MAX_FD"
|
||||
fi
|
||||
else
|
||||
warn "Could not query maximum file descriptor limit: $MAX_FD_LIMIT"
|
||||
fi
|
||||
fi
|
||||
|
||||
# For Darwin, add options to specify how the application appears in the dock
|
||||
if $darwin; then
|
||||
GRADLE_OPTS="$GRADLE_OPTS \"-Xdock:name=$APP_NAME\" \"-Xdock:icon=$APP_HOME/media/gradle.icns\""
|
||||
fi
|
||||
|
||||
# For Cygwin, switch paths to Windows format before running java
|
||||
if $cygwin ; then
|
||||
APP_HOME=`cygpath --path --mixed "$APP_HOME"`
|
||||
CLASSPATH=`cygpath --path --mixed "$CLASSPATH"`
|
||||
JAVACMD=`cygpath --unix "$JAVACMD"`
|
||||
|
||||
# We build the pattern for arguments to be converted via cygpath
|
||||
ROOTDIRSRAW=`find -L / -maxdepth 1 -mindepth 1 -type d 2>/dev/null`
|
||||
SEP=""
|
||||
for dir in $ROOTDIRSRAW ; do
|
||||
ROOTDIRS="$ROOTDIRS$SEP$dir"
|
||||
SEP="|"
|
||||
done
|
||||
OURCYGPATTERN="(^($ROOTDIRS))"
|
||||
# Add a user-defined pattern to the cygpath arguments
|
||||
if [ "$GRADLE_CYGPATTERN" != "" ] ; then
|
||||
OURCYGPATTERN="$OURCYGPATTERN|($GRADLE_CYGPATTERN)"
|
||||
fi
|
||||
# Now convert the arguments - kludge to limit ourselves to /bin/sh
|
||||
i=0
|
||||
for arg in "$@" ; do
|
||||
CHECK=`echo "$arg"|egrep -c "$OURCYGPATTERN" -`
|
||||
CHECK2=`echo "$arg"|egrep -c "^-"` ### Determine if an option
|
||||
|
||||
if [ $CHECK -ne 0 ] && [ $CHECK2 -eq 0 ] ; then ### Added a condition
|
||||
eval `echo args$i`=`cygpath --path --ignore --mixed "$arg"`
|
||||
else
|
||||
eval `echo args$i`="\"$arg\""
|
||||
fi
|
||||
i=$((i+1))
|
||||
done
|
||||
case $i in
|
||||
(0) set -- ;;
|
||||
(1) set -- "$args0" ;;
|
||||
(2) set -- "$args0" "$args1" ;;
|
||||
(3) set -- "$args0" "$args1" "$args2" ;;
|
||||
(4) set -- "$args0" "$args1" "$args2" "$args3" ;;
|
||||
(5) set -- "$args0" "$args1" "$args2" "$args3" "$args4" ;;
|
||||
(6) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" ;;
|
||||
(7) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" ;;
|
||||
(8) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" "$args7" ;;
|
||||
(9) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" "$args7" "$args8" ;;
|
||||
esac
|
||||
fi
|
||||
|
||||
# Escape application args
|
||||
save () {
|
||||
for i do printf %s\\n "$i" | sed "s/'/'\\\\''/g;1s/^/'/;\$s/\$/' \\\\/" ; done
|
||||
echo " "
|
||||
}
|
||||
APP_ARGS=$(save "$@")
|
||||
|
||||
# Collect all arguments for the java command, following the shell quoting and substitution rules
|
||||
eval set -- $DEFAULT_JVM_OPTS $JAVA_OPTS $GRADLE_OPTS "\"-Dorg.gradle.appname=$APP_BASE_NAME\"" -classpath "\"$CLASSPATH\"" org.gradle.wrapper.GradleWrapperMain "$APP_ARGS"
|
||||
|
||||
# by default we should be in the correct project dir, but when run from Finder on Mac, the cwd is wrong
|
||||
if [ "$(uname)" = "Darwin" ] && [ "$HOME" = "$PWD" ]; then
|
||||
cd "$(dirname "$0")"
|
||||
fi
|
||||
|
||||
exec "$JAVACMD" "$@"
|
|
@ -0,0 +1,84 @@
|
|||
@if "%DEBUG%" == "" @echo off
|
||||
@rem ##########################################################################
|
||||
@rem
|
||||
@rem Gradle startup script for Windows
|
||||
@rem
|
||||
@rem ##########################################################################
|
||||
|
||||
@rem Set local scope for the variables with windows NT shell
|
||||
if "%OS%"=="Windows_NT" setlocal
|
||||
|
||||
set DIRNAME=%~dp0
|
||||
if "%DIRNAME%" == "" set DIRNAME=.
|
||||
set APP_BASE_NAME=%~n0
|
||||
set APP_HOME=%DIRNAME%
|
||||
|
||||
@rem Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
|
||||
set DEFAULT_JVM_OPTS=
|
||||
|
||||
@rem Find java.exe
|
||||
if defined JAVA_HOME goto findJavaFromJavaHome
|
||||
|
||||
set JAVA_EXE=java.exe
|
||||
%JAVA_EXE% -version >NUL 2>&1
|
||||
if "%ERRORLEVEL%" == "0" goto init
|
||||
|
||||
echo.
|
||||
echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
|
||||
echo.
|
||||
echo Please set the JAVA_HOME variable in your environment to match the
|
||||
echo location of your Java installation.
|
||||
|
||||
goto fail
|
||||
|
||||
:findJavaFromJavaHome
|
||||
set JAVA_HOME=%JAVA_HOME:"=%
|
||||
set JAVA_EXE=%JAVA_HOME%/bin/java.exe
|
||||
|
||||
if exist "%JAVA_EXE%" goto init
|
||||
|
||||
echo.
|
||||
echo ERROR: JAVA_HOME is set to an invalid directory: %JAVA_HOME%
|
||||
echo.
|
||||
echo Please set the JAVA_HOME variable in your environment to match the
|
||||
echo location of your Java installation.
|
||||
|
||||
goto fail
|
||||
|
||||
:init
|
||||
@rem Get command-line arguments, handling Windows variants
|
||||
|
||||
if not "%OS%" == "Windows_NT" goto win9xME_args
|
||||
|
||||
:win9xME_args
|
||||
@rem Slurp the command line arguments.
|
||||
set CMD_LINE_ARGS=
|
||||
set _SKIP=2
|
||||
|
||||
:win9xME_args_slurp
|
||||
if "x%~1" == "x" goto execute
|
||||
|
||||
set CMD_LINE_ARGS=%*
|
||||
|
||||
:execute
|
||||
@rem Setup the command line
|
||||
|
||||
set CLASSPATH=%APP_HOME%\gradle\wrapper\gradle-wrapper.jar
|
||||
|
||||
@rem Execute Gradle
|
||||
"%JAVA_EXE%" %DEFAULT_JVM_OPTS% %JAVA_OPTS% %GRADLE_OPTS% "-Dorg.gradle.appname=%APP_BASE_NAME%" -classpath "%CLASSPATH%" org.gradle.wrapper.GradleWrapperMain %CMD_LINE_ARGS%
|
||||
|
||||
:end
|
||||
@rem End local scope for the variables with windows NT shell
|
||||
if "%ERRORLEVEL%"=="0" goto mainEnd
|
||||
|
||||
:fail
|
||||
rem Set variable GRADLE_EXIT_CONSOLE if you need the _script_ return code instead of
|
||||
rem the _cmd.exe /c_ return code!
|
||||
if not "" == "%GRADLE_EXIT_CONSOLE%" exit 1
|
||||
exit /b 1
|
||||
|
||||
:mainEnd
|
||||
if "%OS%"=="Windows_NT" endlocal
|
||||
|
||||
:omega
|
После Ширина: | Высота: | Размер: 80 KiB |
После Ширина: | Высота: | Размер: 156 KiB |
|
@ -0,0 +1,17 @@
|
|||
/*
|
||||
* Copyright 2018, The Android Open Source Project
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
include ':app'
|