├── Images ├── Fitness UI.jpg ├── Login UI.jpg └── Timer UI.jpg ├── LICENSE ├── Library ├── .gitignore ├── build.gradle ├── images │ ├── appbar.png │ ├── bottom_navigation.png │ ├── bottom_sheets.png │ ├── buttons.png │ ├── chips.png │ ├── dialog.png │ ├── elevation_1.png │ ├── elevation_2.png │ ├── fab.png │ ├── fingerprints.png │ ├── grid_list.png │ ├── horizontal stepper 1.png │ ├── horizontal stepper 2.png │ ├── list.png │ ├── menu.png │ ├── metrics_and_keylines_1.png │ ├── metrics_and_keylines_2.png │ ├── snackbar.png │ ├── tabs.png │ ├── typography.png │ ├── vertical stepper 1.png │ ├── vertical stepper 2.png │ └── writing.png ├── proguard-rules.pro └── src │ ├── androidTest │ └── java │ │ └── com │ │ └── peak │ │ └── materialresourceslibrary │ │ └── ExampleInstrumentedTest.java │ ├── main │ ├── AndroidManifest.xml │ ├── java │ │ └── com │ │ │ └── next │ │ │ └── materialresourceslibrary │ │ │ ├── MaterialColor.java │ │ │ └── ThemeManager.java │ └── res │ │ ├── drawable │ │ ├── gradient_background_amber.xml │ │ ├── gradient_background_blue.xml │ │ ├── gradient_background_blue_grey.xml │ │ ├── gradient_background_brown.xml │ │ ├── gradient_background_cyan.xml │ │ ├── gradient_background_deep_orange.xml │ │ ├── gradient_background_deep_purple.xml │ │ ├── gradient_background_green.xml │ │ ├── gradient_background_grey.xml │ │ ├── gradient_background_indigo.xml │ │ ├── gradient_background_light_blue.xml │ │ ├── gradient_background_light_green.xml │ │ ├── gradient_background_lime.xml │ │ ├── gradient_background_orange.xml │ │ ├── gradient_background_pink.xml │ │ ├── gradient_background_purple.xml │ │ ├── gradient_background_red.xml │ │ ├── gradient_background_teal.xml │ │ ├── gradient_background_yellow.xml │ │ ├── wg_alchemist_lab.xml │ │ ├── wg_amour_amour.xml │ │ ├── wg_amy_crisp.xml │ │ ├── wg_aqua_guidance.xml │ │ ├── wg_aqua_splash.xml │ │ ├── wg_awesome_pine.xml │ │ ├── wg_big_mango.xml │ │ ├── wg_blessing.xml │ │ ├── wg_cheerful_caramel.xml │ │ ├── wg_child_care.xml │ │ ├── wg_clean_mirror.xml │ │ ├── wg_cloudy_apple.xml │ │ ├── wg_cloudy_knoxville.xml │ │ ├── wg_cochiti_lake.xml │ │ ├── wg_colorful_peach.xml │ │ ├── wg_confident_cloud.xml │ │ ├── wg_crystalline.xml │ │ ├── wg_deep_blue.xml │ │ ├── wg_deep_blue_2.xml │ │ ├── wg_desert_hump.xml │ │ ├── wg_dirty_beauty.xml │ │ ├── wg_dusty_grass.xml │ │ ├── wg_eternal_constance.xml │ │ ├── wg_everlasting_sky.xml │ │ ├── wg_faraway_river.xml │ │ ├── wg_february_ink.xml │ │ ├── wg_fly_high.xml │ │ ├── wg_flying_lemon.xml │ │ ├── wg_forest_inei.xml │ │ ├── wg_fresh_milk.xml │ │ ├── wg_fresh_oasis.xml │ │ ├── wg_frozen_berry.xml │ │ ├── wg_frozen_dreams.xml │ │ ├── wg_fruit_blend.xml │ │ ├── wg_gentle_care.xml │ │ ├── wg_glass_water.xml │ │ ├── wg_great_whale.xml │ │ ├── wg_grown_early.xml │ │ ├── wg_happy_acid.xml │ │ ├── wg_happy_fisher.xml │ │ ├── wg_happy_memories.xml │ │ ├── wg_happy_unicorn.xml │ │ ├── wg_healthy_water.xml │ │ ├── wg_heaven_peach.xml │ │ ├── wg_heavy_rain.xml │ │ ├── wg_hidden_jaguar.xml │ │ ├── wg_high_flight.xml │ │ ├── wg_itmeo_branding.xml │ │ ├── wg_japan_blush.xml │ │ ├── wg_juicy_cake.xml │ │ ├── wg_juicy_peach.xml │ │ ├── wg_jungle_day.xml │ │ ├── wg_kind_steel.xml │ │ ├── wg_ladoga_bottom.xml │ │ ├── wg_lady_lips.xml │ │ ├── wg_le_cocktail.xml │ │ ├── wg_lemon_gate.xml │ │ ├── wg_lily_meadow.xml │ │ ├── wg_love_kiss.xml │ │ ├── wg_malibu_beach.xml │ │ ├── wg_marble_wall.xml │ │ ├── wg_mars_party.xml │ │ ├── wg_mean_fruit.xml │ │ ├── wg_midnight_bloom.xml │ │ ├── wg_millennium_pine.xml │ │ ├── wg_mixed_hopes.xml │ │ ├── wg_mole_hall.xml │ │ ├── wg_morning_salad.xml │ │ ├── wg_morpheus_den.xml │ │ ├── wg_mountain_rock.xml │ │ ├── wg_near_moon.xml │ │ ├── wg_nega.xml │ │ ├── wg_new_life.xml │ │ ├── wg_new_york.xml │ │ ├── wg_night_fade.xml │ │ ├── wg_night_party.xml │ │ ├── wg_night_sky.xml │ │ ├── wg_norse_beauty.xml │ │ ├── wg_north_miracle.xml │ │ ├── wg_october_silence.xml │ │ ├── wg_orange_juice.xml │ │ ├── wg_over_sun.xml │ │ ├── wg_palo_alto.xml │ │ ├── wg_party_bliss.xml │ │ ├── wg_passionate_bed.xml │ │ ├── wg_perfect_white.xml │ │ ├── wg_phoenix_start.xml │ │ ├── wg_plum_bath.xml │ │ ├── wg_plum_plate.xml │ │ ├── wg_polite_rumors.xml │ │ ├── wg_premium_dark.xml │ │ ├── wg_purple_division.xml │ │ ├── wg_rainy_ashville.xml │ │ ├── wg_rare_wind.xml │ │ ├── wg_red_salvation.xml │ │ ├── wg_rich_metal.xml │ │ ├── wg_ripe_malinka.xml │ │ ├── wg_river_city.xml │ │ ├── wg_royal_garden.xml │ │ ├── wg_saint_petersburh.xml │ │ ├── wg_salt_mountain.xml │ │ ├── wg_sand_strike.xml │ │ ├── wg_seashore.xml │ │ ├── wg_shady_water.xml │ │ ├── wg_sharp_blues.xml │ │ ├── wg_sharpeye_eagle.xml │ │ ├── wg_sky_glider.xml │ │ ├── wg_smart_inigo.xml │ │ ├── wg_smiling_rain.xml │ │ ├── wg_snow_again.xml │ │ ├── wg_soft_grass.xml │ │ ├── wg_soft_lipstick.xml │ │ ├── wg_solid_stone.xml │ │ ├── wg_spring_warmth.xml │ │ ├── wg_strict_november.xml │ │ ├── wg_strong_stick.xml │ │ ├── wg_summer_games.xml │ │ ├── wg_sun_veggie.xml │ │ ├── wg_sunny_morning.xml │ │ ├── wg_teen_notebook.xml │ │ ├── wg_tempting_azure.xml │ │ ├── wg_true_sunset.xml │ │ ├── wg_vicious_stance.xml │ │ ├── wg_warm_flame.xml │ │ ├── wg_wild_apple.xml │ │ ├── wg_winter_neva.xml │ │ ├── wg_witch_dance.xml │ │ ├── wg_young_grass.xml │ │ └── wg_zeus_miracle.xml │ │ └── values │ │ ├── colors.xml │ │ ├── dimens.xml │ │ ├── strings.xml │ │ └── styles.xml │ └── test │ └── java │ └── com │ └── peak │ └── materialresourceslibrary │ └── ExampleUnitTest.java ├── README.md ├── Sample ├── .gitignore ├── build.gradle ├── proguard-rules.pro └── src │ ├── androidTest │ └── java │ │ └── com │ │ └── next │ │ └── materialresources │ │ └── ExampleInstrumentedTest.java │ ├── main │ ├── AndroidManifest.xml │ ├── java │ │ └── com │ │ │ └── next │ │ │ └── materialresources │ │ │ └── MainActivity.java │ └── res │ │ ├── drawable-v24 │ │ └── ic_launcher_foreground.xml │ │ ├── drawable │ │ └── ic_launcher_background.xml │ │ ├── layout │ │ └── activity_main.xml │ │ ├── mipmap-anydpi-v26 │ │ ├── ic_launcher.xml │ │ └── ic_launcher_round.xml │ │ ├── mipmap-hdpi │ │ ├── ic_launcher.png │ │ └── ic_launcher_round.png │ │ ├── mipmap-mdpi │ │ ├── ic_launcher.png │ │ └── ic_launcher_round.png │ │ ├── mipmap-xhdpi │ │ ├── ic_launcher.png │ │ └── ic_launcher_round.png │ │ ├── mipmap-xxhdpi │ │ ├── ic_launcher.png │ │ └── ic_launcher_round.png │ │ ├── mipmap-xxxhdpi │ │ ├── ic_launcher.png │ │ └── ic_launcher_round.png │ │ └── values │ │ ├── colors.xml │ │ ├── strings.xml │ │ └── styles.xml │ └── test │ └── java │ └── com │ └── next │ └── materialresources │ └── ExampleUnitTest.java ├── build.gradle ├── gradle └── wrapper │ ├── gradle-wrapper.jar │ └── gradle-wrapper.properties ├── gradlew ├── gradlew.bat └── settings.gradle /Images/Fitness UI.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mohammadima3oud/Material-Resources-Library/d0871f69db0c6a34ae1a3b528659965c89f3aa45/Images/Fitness UI.jpg -------------------------------------------------------------------------------- /Images/Login UI.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mohammadima3oud/Material-Resources-Library/d0871f69db0c6a34ae1a3b528659965c89f3aa45/Images/Login UI.jpg -------------------------------------------------------------------------------- /Images/Timer UI.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mohammadima3oud/Material-Resources-Library/d0871f69db0c6a34ae1a3b528659965c89f3aa45/Images/Timer UI.jpg -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | Apache License 2 | Version 2.0, January 2004 3 | http://www.apache.org/licenses/ 4 | 5 | TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION 6 | 7 | 1. Definitions. 8 | 9 | "License" shall mean the terms and conditions for use, reproduction, 10 | and distribution as defined by Sections 1 through 9 of this document. 11 | 12 | "Licensor" shall mean the copyright owner or entity authorized by 13 | the copyright owner that is granting the License. 14 | 15 | "Legal Entity" shall mean the union of the acting entity and all 16 | other entities that control, are controlled by, or are under common 17 | control with that entity. For the purposes of this definition, 18 | "control" means (i) the power, direct or indirect, to cause the 19 | direction or management of such entity, whether by contract or 20 | otherwise, or (ii) ownership of fifty percent (50%) or more of the 21 | outstanding shares, or (iii) beneficial ownership of such entity. 22 | 23 | "You" (or "Your") shall mean an individual or Legal Entity 24 | exercising permissions granted by this License. 25 | 26 | "Source" form shall mean the preferred form for making modifications, 27 | including but not limited to software source code, documentation 28 | source, and configuration files. 29 | 30 | "Object" form shall mean any form resulting from mechanical 31 | transformation or translation of a Source form, including but 32 | not limited to compiled object code, generated documentation, 33 | and conversions to other media types. 34 | 35 | "Work" shall mean the work of authorship, whether in Source or 36 | Object form, made available under the License, as indicated by a 37 | copyright notice that is included in or attached to the work 38 | (an example is provided in the Appendix below). 39 | 40 | "Derivative Works" shall mean any work, whether in Source or Object 41 | form, that is based on (or derived from) the Work and for which the 42 | editorial revisions, annotations, elaborations, or other modifications 43 | represent, as a whole, an original work of authorship. For the purposes 44 | of this License, Derivative Works shall not include works that remain 45 | separable from, or merely link (or bind by name) to the interfaces of, 46 | the Work and Derivative Works thereof. 47 | 48 | "Contribution" shall mean any work of authorship, including 49 | the original version of the Work and any modifications or additions 50 | to that Work or Derivative Works thereof, that is intentionally 51 | submitted to Licensor for inclusion in the Work by the copyright owner 52 | or by an individual or Legal Entity authorized to submit on behalf of 53 | the copyright owner. For the purposes of this definition, "submitted" 54 | means any form of electronic, verbal, or written communication sent 55 | to the Licensor or its representatives, including but not limited to 56 | communication on electronic mailing lists, source code control systems, 57 | and issue tracking systems that are managed by, or on behalf of, the 58 | Licensor for the purpose of discussing and improving the Work, but 59 | excluding communication that is conspicuously marked or otherwise 60 | designated in writing by the copyright owner as "Not a Contribution." 61 | 62 | "Contributor" shall mean Licensor and any individual or Legal Entity 63 | on behalf of whom a Contribution has been received by Licensor and 64 | subsequently incorporated within the Work. 65 | 66 | 2. Grant of Copyright License. Subject to the terms and conditions of 67 | this License, each Contributor hereby grants to You a perpetual, 68 | worldwide, non-exclusive, no-charge, royalty-free, irrevocable 69 | copyright license to reproduce, prepare Derivative Works of, 70 | publicly display, publicly perform, sublicense, and distribute the 71 | Work and such Derivative Works in Source or Object form. 72 | 73 | 3. Grant of Patent License. Subject to the terms and conditions of 74 | this License, each Contributor hereby grants to You a perpetual, 75 | worldwide, non-exclusive, no-charge, royalty-free, irrevocable 76 | (except as stated in this section) patent license to make, have made, 77 | use, offer to sell, sell, import, and otherwise transfer the Work, 78 | where such license applies only to those patent claims licensable 79 | by such Contributor that are necessarily infringed by their 80 | Contribution(s) alone or by combination of their Contribution(s) 81 | with the Work to which such Contribution(s) was submitted. If You 82 | institute patent litigation against any entity (including a 83 | cross-claim or counterclaim in a lawsuit) alleging that the Work 84 | or a Contribution incorporated within the Work constitutes direct 85 | or contributory patent infringement, then any patent licenses 86 | granted to You under this License for that Work shall terminate 87 | as of the date such litigation is filed. 88 | 89 | 4. Redistribution. You may reproduce and distribute copies of the 90 | Work or Derivative Works thereof in any medium, with or without 91 | modifications, and in Source or Object form, provided that You 92 | meet the following conditions: 93 | 94 | (a) You must give any other recipients of the Work or 95 | Derivative Works a copy of this License; and 96 | 97 | (b) You must cause any modified files to carry prominent notices 98 | stating that You changed the files; and 99 | 100 | (c) You must retain, in the Source form of any Derivative Works 101 | that You distribute, all copyright, patent, trademark, and 102 | attribution notices from the Source form of the Work, 103 | excluding those notices that do not pertain to any part of 104 | the Derivative Works; and 105 | 106 | (d) If the Work includes a "NOTICE" text file as part of its 107 | distribution, then any Derivative Works that You distribute must 108 | include a readable copy of the attribution notices contained 109 | within such NOTICE file, excluding those notices that do not 110 | pertain to any part of the Derivative Works, in at least one 111 | of the following places: within a NOTICE text file distributed 112 | as part of the Derivative Works; within the Source form or 113 | documentation, if provided along with the Derivative Works; or, 114 | within a display generated by the Derivative Works, if and 115 | wherever such third-party notices normally appear. The contents 116 | of the NOTICE file are for informational purposes only and 117 | do not modify the License. You may add Your own attribution 118 | notices within Derivative Works that You distribute, alongside 119 | or as an addendum to the NOTICE text from the Work, provided 120 | that such additional attribution notices cannot be construed 121 | as modifying the License. 122 | 123 | You may add Your own copyright statement to Your modifications and 124 | may provide additional or different license terms and conditions 125 | for use, reproduction, or distribution of Your modifications, or 126 | for any such Derivative Works as a whole, provided Your use, 127 | reproduction, and distribution of the Work otherwise complies with 128 | the conditions stated in this License. 129 | 130 | 5. Submission of Contributions. Unless You explicitly state otherwise, 131 | any Contribution intentionally submitted for inclusion in the Work 132 | by You to the Licensor shall be under the terms and conditions of 133 | this License, without any additional terms or conditions. 134 | Notwithstanding the above, nothing herein shall supersede or modify 135 | the terms of any separate license agreement you may have executed 136 | with Licensor regarding such Contributions. 137 | 138 | 6. Trademarks. This License does not grant permission to use the trade 139 | names, trademarks, service marks, or product names of the Licensor, 140 | except as required for reasonable and customary use in describing the 141 | origin of the Work and reproducing the content of the NOTICE file. 142 | 143 | 7. Disclaimer of Warranty. Unless required by applicable law or 144 | agreed to in writing, Licensor provides the Work (and each 145 | Contributor provides its Contributions) on an "AS IS" BASIS, 146 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or 147 | implied, including, without limitation, any warranties or conditions 148 | of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A 149 | PARTICULAR PURPOSE. You are solely responsible for determining the 150 | appropriateness of using or redistributing the Work and assume any 151 | risks associated with Your exercise of permissions under this License. 152 | 153 | 8. Limitation of Liability. In no event and under no legal theory, 154 | whether in tort (including negligence), contract, or otherwise, 155 | unless required by applicable law (such as deliberate and grossly 156 | negligent acts) or agreed to in writing, shall any Contributor be 157 | liable to You for damages, including any direct, indirect, special, 158 | incidental, or consequential damages of any character arising as a 159 | result of this License or out of the use or inability to use the 160 | Work (including but not limited to damages for loss of goodwill, 161 | work stoppage, computer failure or malfunction, or any and all 162 | other commercial damages or losses), even if such Contributor 163 | has been advised of the possibility of such damages. 164 | 165 | 9. Accepting Warranty or Additional Liability. While redistributing 166 | the Work or Derivative Works thereof, You may choose to offer, 167 | and charge a fee for, acceptance of support, warranty, indemnity, 168 | or other liability obligations and/or rights consistent with this 169 | License. However, in accepting such obligations, You may act only 170 | on Your own behalf and on Your sole responsibility, not on behalf 171 | of any other Contributor, and only if You agree to indemnify, 172 | defend, and hold each Contributor harmless for any liability 173 | incurred by, or claims asserted against, such Contributor by reason 174 | of your accepting any such warranty or additional liability. 175 | 176 | END OF TERMS AND CONDITIONS 177 | 178 | APPENDIX: How to apply the Apache License to your work. 179 | 180 | To apply the Apache License to your work, attach the following 181 | boilerplate notice, with the fields enclosed by brackets "[]" 182 | replaced with your own identifying information. (Don't include 183 | the brackets!) The text should be enclosed in the appropriate 184 | comment syntax for the file format. We also recommend that a 185 | file or class name and description of purpose be included on the 186 | same "printed page" as the copyright notice for easier 187 | identification within third-party archives. 188 | 189 | Copyright [yyyy] [name of copyright owner] 190 | 191 | Licensed under the Apache License, Version 2.0 (the "License"); 192 | you may not use this file except in compliance with the License. 193 | You may obtain a copy of the License at 194 | 195 | http://www.apache.org/licenses/LICENSE-2.0 196 | 197 | Unless required by applicable law or agreed to in writing, software 198 | distributed under the License is distributed on an "AS IS" BASIS, 199 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 200 | See the License for the specific language governing permissions and 201 | limitations under the License. 202 | -------------------------------------------------------------------------------- /Library/.gitignore: -------------------------------------------------------------------------------- 1 | /build 2 | -------------------------------------------------------------------------------- /Library/build.gradle: -------------------------------------------------------------------------------- 1 | apply plugin: 'com.android.library' 2 | apply plugin: 'com.github.dcendents.android-maven' 3 | 4 | android { 5 | compileSdkVersion 28 6 | 7 | defaultConfig { 8 | minSdkVersion 19 9 | targetSdkVersion 28 10 | versionCode 1 11 | versionName "1.0" 12 | 13 | testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" 14 | 15 | } 16 | buildTypes { 17 | release { 18 | minifyEnabled false 19 | proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' 20 | } 21 | } 22 | } 23 | 24 | dependencies { 25 | implementation fileTree(dir: 'libs', include: ['*.jar']) 26 | testImplementation 'junit:junit:4.12' 27 | androidTestImplementation 'androidx.test:runner:1.1.1' 28 | androidTestImplementation 'androidx.test.espresso:espresso-core:3.1.1' 29 | implementation 'androidx.appcompat:appcompat:1.0.2' 30 | } -------------------------------------------------------------------------------- /Library/images/appbar.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mohammadima3oud/Material-Resources-Library/d0871f69db0c6a34ae1a3b528659965c89f3aa45/Library/images/appbar.png -------------------------------------------------------------------------------- /Library/images/bottom_navigation.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mohammadima3oud/Material-Resources-Library/d0871f69db0c6a34ae1a3b528659965c89f3aa45/Library/images/bottom_navigation.png -------------------------------------------------------------------------------- /Library/images/bottom_sheets.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mohammadima3oud/Material-Resources-Library/d0871f69db0c6a34ae1a3b528659965c89f3aa45/Library/images/bottom_sheets.png -------------------------------------------------------------------------------- /Library/images/buttons.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mohammadima3oud/Material-Resources-Library/d0871f69db0c6a34ae1a3b528659965c89f3aa45/Library/images/buttons.png -------------------------------------------------------------------------------- /Library/images/chips.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mohammadima3oud/Material-Resources-Library/d0871f69db0c6a34ae1a3b528659965c89f3aa45/Library/images/chips.png -------------------------------------------------------------------------------- /Library/images/dialog.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mohammadima3oud/Material-Resources-Library/d0871f69db0c6a34ae1a3b528659965c89f3aa45/Library/images/dialog.png -------------------------------------------------------------------------------- /Library/images/elevation_1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mohammadima3oud/Material-Resources-Library/d0871f69db0c6a34ae1a3b528659965c89f3aa45/Library/images/elevation_1.png -------------------------------------------------------------------------------- /Library/images/elevation_2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mohammadima3oud/Material-Resources-Library/d0871f69db0c6a34ae1a3b528659965c89f3aa45/Library/images/elevation_2.png -------------------------------------------------------------------------------- /Library/images/fab.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mohammadima3oud/Material-Resources-Library/d0871f69db0c6a34ae1a3b528659965c89f3aa45/Library/images/fab.png -------------------------------------------------------------------------------- /Library/images/fingerprints.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mohammadima3oud/Material-Resources-Library/d0871f69db0c6a34ae1a3b528659965c89f3aa45/Library/images/fingerprints.png -------------------------------------------------------------------------------- /Library/images/grid_list.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mohammadima3oud/Material-Resources-Library/d0871f69db0c6a34ae1a3b528659965c89f3aa45/Library/images/grid_list.png -------------------------------------------------------------------------------- /Library/images/horizontal stepper 1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mohammadima3oud/Material-Resources-Library/d0871f69db0c6a34ae1a3b528659965c89f3aa45/Library/images/horizontal stepper 1.png -------------------------------------------------------------------------------- /Library/images/horizontal stepper 2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mohammadima3oud/Material-Resources-Library/d0871f69db0c6a34ae1a3b528659965c89f3aa45/Library/images/horizontal stepper 2.png -------------------------------------------------------------------------------- /Library/images/list.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mohammadima3oud/Material-Resources-Library/d0871f69db0c6a34ae1a3b528659965c89f3aa45/Library/images/list.png -------------------------------------------------------------------------------- /Library/images/menu.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mohammadima3oud/Material-Resources-Library/d0871f69db0c6a34ae1a3b528659965c89f3aa45/Library/images/menu.png -------------------------------------------------------------------------------- /Library/images/metrics_and_keylines_1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mohammadima3oud/Material-Resources-Library/d0871f69db0c6a34ae1a3b528659965c89f3aa45/Library/images/metrics_and_keylines_1.png -------------------------------------------------------------------------------- /Library/images/metrics_and_keylines_2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mohammadima3oud/Material-Resources-Library/d0871f69db0c6a34ae1a3b528659965c89f3aa45/Library/images/metrics_and_keylines_2.png -------------------------------------------------------------------------------- /Library/images/snackbar.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mohammadima3oud/Material-Resources-Library/d0871f69db0c6a34ae1a3b528659965c89f3aa45/Library/images/snackbar.png -------------------------------------------------------------------------------- /Library/images/tabs.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mohammadima3oud/Material-Resources-Library/d0871f69db0c6a34ae1a3b528659965c89f3aa45/Library/images/tabs.png -------------------------------------------------------------------------------- /Library/images/typography.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mohammadima3oud/Material-Resources-Library/d0871f69db0c6a34ae1a3b528659965c89f3aa45/Library/images/typography.png -------------------------------------------------------------------------------- /Library/images/vertical stepper 1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mohammadima3oud/Material-Resources-Library/d0871f69db0c6a34ae1a3b528659965c89f3aa45/Library/images/vertical stepper 1.png -------------------------------------------------------------------------------- /Library/images/vertical stepper 2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mohammadima3oud/Material-Resources-Library/d0871f69db0c6a34ae1a3b528659965c89f3aa45/Library/images/vertical stepper 2.png -------------------------------------------------------------------------------- /Library/images/writing.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mohammadima3oud/Material-Resources-Library/d0871f69db0c6a34ae1a3b528659965c89f3aa45/Library/images/writing.png -------------------------------------------------------------------------------- /Library/proguard-rules.pro: -------------------------------------------------------------------------------- 1 | # Add project specific ProGuard rules here. 2 | # By default, the flags in this file are appended to flags specified 3 | # in C:\AndroidSDK/tools/proguard/proguard-android.txt 4 | # You can edit the include path and order by changing the proguardFiles 5 | # directive in build.gradle. 6 | # 7 | # For more details, see 8 | # http://developer.android.com/guide/developing/tools/proguard.html 9 | 10 | # Add any project specific keep options here: 11 | 12 | # If your project uses WebView with JS, uncomment the following 13 | # and specify the fully qualified class name to the JavaScript interface 14 | # class: 15 | #-keepclassmembers class fqcn.of.javascript.interface.for.webview { 16 | # public *; 17 | #} 18 | 19 | # Uncomment this to preserve the line number information for 20 | # debugging stack traces. 21 | #-keepattributes SourceFile,LineNumberTable 22 | 23 | # If you keep the line number information, uncomment this to 24 | # hide the original source file name. 25 | #-renamesourcefileattribute SourceFile 26 | -------------------------------------------------------------------------------- /Library/src/androidTest/java/com/peak/materialresourceslibrary/ExampleInstrumentedTest.java: -------------------------------------------------------------------------------- 1 | package com.peak.materialresourceslibrary; 2 | 3 | import android.content.Context; 4 | import androidx.test.InstrumentationRegistry; 5 | import androidx.test.runner.AndroidJUnit4; 6 | 7 | import org.junit.Test; 8 | import org.junit.runner.RunWith; 9 | 10 | import static org.junit.Assert.*; 11 | 12 | /** 13 | * Instrumentation test, which will execute on an Android device. 14 | * 15 | * @see Testing documentation 16 | */ 17 | @RunWith(AndroidJUnit4.class) 18 | public class ExampleInstrumentedTest 19 | { 20 | @Test 21 | public void useAppContext() throws Exception 22 | { 23 | // Context of the app under test. 24 | Context appContext = InstrumentationRegistry.getTargetContext(); 25 | 26 | assertEquals("com.peak.materialresourceslibrary.test", appContext.getPackageName()); 27 | } 28 | } 29 | -------------------------------------------------------------------------------- /Library/src/main/AndroidManifest.xml: -------------------------------------------------------------------------------- 1 | 4 | 5 | 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /Library/src/main/java/com/next/materialresourceslibrary/MaterialColor.java: -------------------------------------------------------------------------------- 1 | package com.peak.materialresourceslibrary; 2 | 3 | import androidx.annotation.ColorInt; 4 | 5 | /** 6 | * Created by masoud on 11/12/2017. 7 | */ 8 | 9 | public class MaterialColor 10 | { 11 | @ColorInt 12 | public static final int RED_100 = 0XFFFFCDD2; 13 | @ColorInt 14 | public static final int RED_200 = 0XFFEF9A9A; 15 | @ColorInt 16 | public static final int RED_300 = 0XFFE57373; 17 | @ColorInt 18 | public static final int RED_400 = 0XFFEF5350; 19 | @ColorInt 20 | public static final int RED_500 = 0XFFF44336; 21 | @ColorInt 22 | public static final int RED_600 = 0XFFE53935; 23 | @ColorInt 24 | public static final int RED_700 = 0XFFD32F2F; 25 | @ColorInt 26 | public static final int RED_800 = 0XFFC62828; 27 | @ColorInt 28 | public static final int RED_900 = 0XFFB71C1C; 29 | @ColorInt 30 | public static final int RED_A100 = 0XFFFF8A80; 31 | @ColorInt 32 | public static final int RED_A200 = 0XFFFF5252; 33 | @ColorInt 34 | public static final int RED_A400 = 0XFFFF1744; 35 | @ColorInt 36 | public static final int RED_A700 = 0XFFD50000; 37 | 38 | @ColorInt 39 | public static final int PINK_50 = 0XFFFCE4EC; 40 | @ColorInt 41 | public static final int PINK_100 = 0XFFF8BBD0; 42 | @ColorInt 43 | public static final int PINK_200 = 0XFFF48FB1; 44 | @ColorInt 45 | public static final int PINK_300 = 0XFFF06292; 46 | @ColorInt 47 | public static final int PINK_400 = 0XFFEC407A; 48 | @ColorInt 49 | public static final int PINK_500 = 0XFFE91E63; 50 | @ColorInt 51 | public static final int PINK_600 = 0XFFD81B60; 52 | @ColorInt 53 | public static final int PINK_700 = 0XFFC2185B; 54 | @ColorInt 55 | public static final int PINK_800 = 0XFFAD1457; 56 | @ColorInt 57 | public static final int PINK_900 = 0XFF880E4F; 58 | @ColorInt 59 | public static final int PINK_A100 = 0XFFFF80AB; 60 | @ColorInt 61 | public static final int PINK_A200 = 0XFFFF4081; 62 | @ColorInt 63 | public static final int PINK_A400 = 0XFFF50057; 64 | @ColorInt 65 | public static final int PINK_A700 = 0XFFC51162; 66 | 67 | @ColorInt 68 | public static final int PURPLE_50 = 0XFFF3E5F5; 69 | @ColorInt 70 | public static final int PURPLE_100 = 0XFFE1BEE7; 71 | @ColorInt 72 | public static final int PURPLE_200 = 0XFFCE93D8; 73 | @ColorInt 74 | public static final int PURPLE_300 = 0XFFBA68C8; 75 | @ColorInt 76 | public static final int PURPLE_400 = 0XFFAB47BC; 77 | @ColorInt 78 | public static final int PURPLE_500 = 0XFF9C27B0; 79 | @ColorInt 80 | public static final int PURPLE_600 = 0XFF8E24AA; 81 | @ColorInt 82 | public static final int PURPLE_700 = 0XFF7B1FA2; 83 | @ColorInt 84 | public static final int PURPLE_800 = 0XFF6A1B9A; 85 | @ColorInt 86 | public static final int PURPLE_900 = 0XFF4A148C; 87 | @ColorInt 88 | public static final int PURPLE_A100 = 0XFFEA80FC; 89 | @ColorInt 90 | public static final int PURPLE_A200 = 0XFFE040FB; 91 | @ColorInt 92 | public static final int PURPLE_A400 = 0XFFD500F9; 93 | @ColorInt 94 | public static final int PURPLE_A700 = 0XFFAA00FF; 95 | 96 | @ColorInt 97 | public static final int DEEPPURPLE_50 = 0XFFEDE7F6; 98 | @ColorInt 99 | public static final int DEEPPURPLE_100 = 0XFFD1C4E9; 100 | @ColorInt 101 | public static final int DEEPPURPLE_200 = 0XFFB39DDB; 102 | @ColorInt 103 | public static final int DEEPPURPLE_300 = 0XFF9575CD; 104 | @ColorInt 105 | public static final int DEEPPURPLE_400 = 0XFF7E57C2; 106 | @ColorInt 107 | public static final int DEEPPURPLE_500 = 0XFF673AB7; 108 | @ColorInt 109 | public static final int DEEPPURPLE_600 = 0XFF5E35B1; 110 | @ColorInt 111 | public static final int DEEPPURPLE_700 = 0XFF512DA8; 112 | @ColorInt 113 | public static final int DEEPPURPLE_800 = 0XFF4527A0; 114 | @ColorInt 115 | public static final int DEEPPURPLE_900 = 0XFF311B92; 116 | @ColorInt 117 | public static final int DEEPPURPLE_A100 = 0XFFB388FF; 118 | @ColorInt 119 | public static final int DEEPPURPLE_A200 = 0XFF7C4DFF; 120 | @ColorInt 121 | public static final int DEEPPURPLE_A400 = 0XFF651FFF; 122 | @ColorInt 123 | public static final int DEEPPURPLE_A700 = 0XFF6200EA; 124 | 125 | @ColorInt 126 | public static final int INDIGO_50 = 0XFFE8EAF6; 127 | @ColorInt 128 | public static final int INDIGO_100 = 0XFFC5CAE9; 129 | @ColorInt 130 | public static final int INDIGO_200 = 0XFF9FA8DA; 131 | @ColorInt 132 | public static final int INDIGO_300 = 0XFF7986CB; 133 | @ColorInt 134 | public static final int INDIGO_400 = 0XFF5C6BC0; 135 | @ColorInt 136 | public static final int INDIGO_500 = 0XFF3F51B5; 137 | @ColorInt 138 | public static final int INDIGO_600 = 0XFF3949AB; 139 | @ColorInt 140 | public static final int INDIGO_700 = 0XFF303F9F; 141 | @ColorInt 142 | public static final int INDIGO_800 = 0XFF283593; 143 | @ColorInt 144 | public static final int INDIGO_900 = 0XFF1A237E; 145 | @ColorInt 146 | public static final int INDIGO_A100 = 0XFF8C9EFF; 147 | @ColorInt 148 | public static final int INDIGO_A200 = 0XFF536DFE; 149 | @ColorInt 150 | public static final int INDIGO_A400 = 0XFF3D5AFE; 151 | @ColorInt 152 | public static final int INDIGO_A700 = 0XFF304FFE; 153 | 154 | @ColorInt 155 | public static final int BLUE_50 = 0XFFE3F2FD; 156 | @ColorInt 157 | public static final int BLUE_100 = 0XFFBBDEFB; 158 | @ColorInt 159 | public static final int BLUE_200 = 0XFF90CAF9; 160 | @ColorInt 161 | public static final int BLUE_300 = 0XFF64B5F6; 162 | @ColorInt 163 | public static final int BLUE_400 = 0XFF42A5F5; 164 | @ColorInt 165 | public static final int BLUE_500 = 0XFF2196F3; 166 | @ColorInt 167 | public static final int BLUE_600 = 0XFF1E88E5; 168 | @ColorInt 169 | public static final int BLUE_700 = 0XFF1976D2; 170 | @ColorInt 171 | public static final int BLUE_800 = 0XFF1565C0; 172 | @ColorInt 173 | public static final int BLUE_900 = 0XFF0D47A1; 174 | @ColorInt 175 | public static final int BLUE_A100 = 0XFF82B1FF; 176 | @ColorInt 177 | public static final int BLUE_A200 = 0XFF448AFF; 178 | @ColorInt 179 | public static final int BLUE_A400 = 0XFF2979FF; 180 | @ColorInt 181 | public static final int BLUE_A700 = 0XFF2962FF; 182 | 183 | @ColorInt 184 | public static final int LIGHTBLUE_50 = 0XFFE1F5FE; 185 | @ColorInt 186 | public static final int LIGHTBLUE_100 = 0XFFB3E5FC; 187 | @ColorInt 188 | public static final int LIGHTBLUE_200 = 0XFF81D4FA; 189 | @ColorInt 190 | public static final int LIGHTBLUE_300 = 0XFF4FC3F7; 191 | @ColorInt 192 | public static final int LIGHTBLUE_400 = 0XFF29B6F6; 193 | @ColorInt 194 | public static final int LIGHTBLUE_500 = 0XFF03A9F4; 195 | @ColorInt 196 | public static final int LIGHTBLUE_600 = 0XFF039BE5; 197 | @ColorInt 198 | public static final int LIGHTBLUE_700 = 0XFF0288D1; 199 | @ColorInt 200 | public static final int LIGHTBLUE_800 = 0XFF0277BD; 201 | @ColorInt 202 | public static final int LIGHTBLUE_900 = 0XFF01579B; 203 | @ColorInt 204 | public static final int LIGHTBLUE_A100 = 0XFF80D8FF; 205 | @ColorInt 206 | public static final int LIGHTBLUE_A200 = 0XFF40C4FF; 207 | @ColorInt 208 | public static final int LIGHTBLUE_A400 = 0XFF00B0FF; 209 | @ColorInt 210 | public static final int LIGHTBLUE_A700 = 0XFF0091EA; 211 | 212 | @ColorInt 213 | public static final int CYAN_50 = 0XFFE0F7FA; 214 | @ColorInt 215 | public static final int CYAN_100 = 0XFFB2EBF2; 216 | @ColorInt 217 | public static final int CYAN_200 = 0XFF80DEEA; 218 | @ColorInt 219 | public static final int CYAN_300 = 0XFF4DD0E1; 220 | @ColorInt 221 | public static final int CYAN_400 = 0XFF26C6DA; 222 | @ColorInt 223 | public static final int CYAN_500 = 0XFF00BCD4; 224 | @ColorInt 225 | public static final int CYAN_600 = 0XFF00ACC1; 226 | @ColorInt 227 | public static final int CYAN_700 = 0XFF0097A7; 228 | @ColorInt 229 | public static final int CYAN_800 = 0XFF00838F; 230 | @ColorInt 231 | public static final int CYAN_900 = 0XFF006064; 232 | @ColorInt 233 | public static final int CYAN_A100 = 0XFF84FFFF; 234 | @ColorInt 235 | public static final int CYAN_A200 = 0XFF18FFFF; 236 | @ColorInt 237 | public static final int CYAN_A400 = 0XFF00E5FF; 238 | @ColorInt 239 | public static final int CYAN_A700 = 0XFF00B8D4; 240 | 241 | @ColorInt 242 | public static final int TEAL_50 = 0XFFE0F2F1; 243 | @ColorInt 244 | public static final int TEAL_100 = 0XFFB2DFDB; 245 | @ColorInt 246 | public static final int TEAL_200 = 0XFF80CBC4; 247 | @ColorInt 248 | public static final int TEAL_300 = 0XFF4DB6AC; 249 | @ColorInt 250 | public static final int TEAL_400 = 0XFF26A69A; 251 | @ColorInt 252 | public static final int TEAL_500 = 0XFF009688; 253 | @ColorInt 254 | public static final int TEAL_600 = 0XFF00897B; 255 | @ColorInt 256 | public static final int TEAL_700 = 0XFF00796B; 257 | @ColorInt 258 | public static final int TEAL_800 = 0XFF00695C; 259 | @ColorInt 260 | public static final int TEAL_900 = 0XFF004D40; 261 | @ColorInt 262 | public static final int TEAL_A100 = 0XFFA7FFEB; 263 | @ColorInt 264 | public static final int TEAL_A200 = 0XFF64FFDA; 265 | @ColorInt 266 | public static final int TEAL_A400 = 0XFF1DE9B6; 267 | @ColorInt 268 | public static final int TEAL_A700 = 0XFF00BFA5; 269 | 270 | @ColorInt 271 | public static final int GREEN_50 = 0XFFE8F5E9; 272 | @ColorInt 273 | public static final int GREEN_100 = 0XFFC8E6C9; 274 | @ColorInt 275 | public static final int GREEN_200 = 0XFFA5D6A7; 276 | @ColorInt 277 | public static final int GREEN_300 = 0XFF81C784; 278 | @ColorInt 279 | public static final int GREEN_400 = 0XFF66BB6A; 280 | @ColorInt 281 | public static final int GREEN_500 = 0XFF4CAF50; 282 | @ColorInt 283 | public static final int GREEN_600 = 0XFF43A047; 284 | @ColorInt 285 | public static final int GREEN_700 = 0XFF388E3C; 286 | @ColorInt 287 | public static final int GREEN_800 = 0XFF2E7D32; 288 | @ColorInt 289 | public static final int GREEN_900 = 0XFF1B5E20; 290 | @ColorInt 291 | public static final int GREEN_A100 = 0XFFB9F6CA; 292 | @ColorInt 293 | public static final int GREEN_A200 = 0XFF69F0AE; 294 | @ColorInt 295 | public static final int GREEN_A400 = 0XFF00E676; 296 | @ColorInt 297 | public static final int GREEN_A700 = 0XFF00C853; 298 | 299 | @ColorInt 300 | public static final int LIGHTGREEN_50 = 0XFFF1F8E9; 301 | @ColorInt 302 | public static final int LIGHTGREEN_100 = 0XFFDCEDC8; 303 | @ColorInt 304 | public static final int LIGHTGREEN_200 = 0XFFC5E1A5; 305 | @ColorInt 306 | public static final int LIGHTGREEN_300 = 0XFFAED581; 307 | @ColorInt 308 | public static final int LIGHTGREEN_400 = 0XFF9CCC65; 309 | @ColorInt 310 | public static final int LIGHTGREEN_500 = 0XFF8BC34A; 311 | @ColorInt 312 | public static final int LIGHTGREEN_600 = 0XFF7CB342; 313 | @ColorInt 314 | public static final int LIGHTGREEN_700 = 0XFF689F38; 315 | @ColorInt 316 | public static final int LIGHTGREEN_800 = 0XFF558B2F; 317 | @ColorInt 318 | public static final int LIGHTGREEN_900 = 0XFF33691E; 319 | @ColorInt 320 | public static final int LIGHTGREEN_A100 = 0XFFCCFF90; 321 | @ColorInt 322 | public static final int LIGHTGREEN_A200 = 0XFFB2FF59; 323 | @ColorInt 324 | public static final int LIGHTGREEN_A400 = 0XFF76FF03; 325 | @ColorInt 326 | public static final int lightgreen_A700 = 0xff64dd17; 327 | 328 | @ColorInt 329 | public static final int LIME_50 = 0XFFF9FBE7; 330 | @ColorInt 331 | public static final int LIME_100 = 0XFFF0F4C3; 332 | @ColorInt 333 | public static final int LIME_200 = 0XFFE6EE9C; 334 | @ColorInt 335 | public static final int LIME_300 = 0XFFDCE775; 336 | @ColorInt 337 | public static final int LIME_400 = 0XFFD4E157; 338 | @ColorInt 339 | public static final int LIME_500 = 0XFFCDDC39; 340 | @ColorInt 341 | public static final int LIME_600 = 0XFFC0CA33; 342 | @ColorInt 343 | public static final int LIME_700 = 0XFFAFB42B; 344 | @ColorInt 345 | public static final int LIME_800 = 0XFF9E9D24; 346 | @ColorInt 347 | public static final int LIME_900 = 0XFF827717; 348 | @ColorInt 349 | public static final int LIME_A100 = 0XFFF4FF81; 350 | @ColorInt 351 | public static final int LIME_A200 = 0XFFEEFF41; 352 | @ColorInt 353 | public static final int LIME_A400 = 0XFFC6FF00; 354 | @ColorInt 355 | public static final int LIME_A700 = 0XFFAEEA00; 356 | 357 | @ColorInt 358 | public static final int YELLOW_50 = 0XFFFFFDE7; 359 | @ColorInt 360 | public static final int YELLOW_100 = 0XFFFFF9C4; 361 | @ColorInt 362 | public static final int YELLOW_200 = 0XFFFFF59D; 363 | @ColorInt 364 | public static final int YELLOW_300 = 0XFFFFF176; 365 | @ColorInt 366 | public static final int YELLOW_400 = 0XFFFFEE58; 367 | @ColorInt 368 | public static final int YELLOW_500 = 0XFFFFEB3B; 369 | @ColorInt 370 | public static final int YELLOW_600 = 0XFFFDD835; 371 | @ColorInt 372 | public static final int YELLOW_700 = 0XFFFBC02D; 373 | @ColorInt 374 | public static final int YELLOW_800 = 0XFFF9A825; 375 | @ColorInt 376 | public static final int YELLOW_900 = 0XFFF57F17; 377 | @ColorInt 378 | public static final int YELLOW_A100 = 0XFFFFFF8D; 379 | @ColorInt 380 | public static final int YELLOW_A200 = 0XFFFFFF00; 381 | @ColorInt 382 | public static final int YELLOW_A400 = 0XFFFFEA00; 383 | @ColorInt 384 | public static final int YELLOW_A700 = 0XFFFFD600; 385 | 386 | @ColorInt 387 | public static final int AMBER_50 = 0XFFFFF8E1; 388 | @ColorInt 389 | public static final int AMBER_100 = 0XFFFFECB3; 390 | @ColorInt 391 | public static final int AMBER_200 = 0XFFFFE082; 392 | @ColorInt 393 | public static final int AMBER_300 = 0XFFFFD54F; 394 | @ColorInt 395 | public static final int AMBER_400 = 0XFFFFCA28; 396 | @ColorInt 397 | public static final int AMBER_500 = 0XFFFFC107; 398 | @ColorInt 399 | public static final int AMBER_600 = 0XFFFFB300; 400 | @ColorInt 401 | public static final int AMBER_700 = 0XFFFFA000; 402 | @ColorInt 403 | public static final int AMBER_800 = 0XFFFF8F00; 404 | @ColorInt 405 | public static final int AMBER_900 = 0XFFFF6F00; 406 | @ColorInt 407 | public static final int AMBER_A100 = 0XFFFFE57F; 408 | @ColorInt 409 | public static final int AMBER_A200 = 0XFFFFD740; 410 | @ColorInt 411 | public static final int AMBER_A400 = 0XFFFFC400; 412 | @ColorInt 413 | public static final int AMBER_A700 = 0XFFFFAB00; 414 | 415 | @ColorInt 416 | public static final int ORANGE_50 = 0XFFFFF3E0; 417 | @ColorInt 418 | public static final int ORANGE_100 = 0XFFFFE0B2; 419 | @ColorInt 420 | public static final int ORANGE_200 = 0XFFFFCC80; 421 | @ColorInt 422 | public static final int ORANGE_300 = 0XFFFFB74D; 423 | @ColorInt 424 | public static final int ORANGE_400 = 0XFFFFA726; 425 | @ColorInt 426 | public static final int ORANGE_500 = 0XFFFF9800; 427 | @ColorInt 428 | public static final int ORANGE_600 = 0XFFFB8C00; 429 | @ColorInt 430 | public static final int ORANGE_700 = 0XFFF57C00; 431 | @ColorInt 432 | public static final int ORANGE_800 = 0XFFEF6C00; 433 | @ColorInt 434 | public static final int ORANGE_900 = 0XFFE65100; 435 | @ColorInt 436 | public static final int ORANGE_A100 = 0XFFFFD180; 437 | @ColorInt 438 | public static final int ORANGE_A200 = 0XFFFFAB40; 439 | @ColorInt 440 | public static final int ORANGE_A400 = 0XFFFF9100; 441 | @ColorInt 442 | public static final int ORANGE_A700 = 0XFFFF6D00; 443 | 444 | @ColorInt 445 | public static final int DEEPORANGE_50 = 0XFFFBE9E7; 446 | @ColorInt 447 | public static final int DEEPORANGE_100 = 0XFFFFCCBc; 448 | @ColorInt 449 | public static final int DEEPORANGE_200 = 0XFFFFAB91; 450 | @ColorInt 451 | public static final int DEEPORANGE_300 = 0XFFFF8A65; 452 | @ColorInt 453 | public static final int DEEPORANGE_400 = 0XFFFF7043; 454 | @ColorInt 455 | public static final int DEEPORANGE_500 = 0XFFFF5722; 456 | @ColorInt 457 | public static final int DEEPORANGE_600 = 0XFFF4511e; 458 | @ColorInt 459 | public static final int DEEPORANGE_700 = 0XFFE64A19; 460 | @ColorInt 461 | public static final int DEEPORANGE_800 = 0XFFD84315; 462 | @ColorInt 463 | public static final int DEEPORANGE_900 = 0XFFBF360c; 464 | @ColorInt 465 | public static final int DEEPORANGE_A100 = 0XFFFF9E80; 466 | @ColorInt 467 | public static final int DEEPORANGE_A200 = 0XFFFF6E40; 468 | @ColorInt 469 | public static final int DEEPORANGE_A400 = 0XFFFF3D00; 470 | @ColorInt 471 | public static final int DEEPORANGE_A700 = 0XFFDD2C00; 472 | 473 | @ColorInt 474 | public static final int BROWN_50 = 0XFFEFEBE9; 475 | @ColorInt 476 | public static final int BROWN_100 = 0XFFD7CCC8; 477 | @ColorInt 478 | public static final int BROWN_200 = 0XFFBCAAA4; 479 | @ColorInt 480 | public static final int BROWN_300 = 0XFFA1887F; 481 | @ColorInt 482 | public static final int BROWN_400 = 0XFF8D6E63; 483 | @ColorInt 484 | public static final int BROWN_500 = 0XFF795548; 485 | @ColorInt 486 | public static final int BROWN_600 = 0XFF6D4C41; 487 | @ColorInt 488 | public static final int BROWN_700 = 0XFF5D4037; 489 | @ColorInt 490 | public static final int BROWN_800 = 0XFF4E342E; 491 | @ColorInt 492 | public static final int BROWN_900 = 0XFF3E2723; 493 | 494 | @ColorInt 495 | public static final int GREY_50 = 0XFFFAFAFA; 496 | @ColorInt 497 | public static final int GREY_100 = 0XFFF5F5F5; 498 | @ColorInt 499 | public static final int GREY_200 = 0XFFEEEEEE; 500 | @ColorInt 501 | public static final int GREY_300 = 0XFFE0E0E0; 502 | @ColorInt 503 | public static final int GREY_400 = 0XFFBDBDBD; 504 | @ColorInt 505 | public static final int GREY_500 = 0XFF9E9E9E; 506 | @ColorInt 507 | public static final int GREY_600 = 0XFF757575; 508 | @ColorInt 509 | public static final int GREY_700 = 0XFF616161; 510 | @ColorInt 511 | public static final int GREY_800 = 0XFF424242; 512 | @ColorInt 513 | public static final int GREY_900 = 0XFF212121; 514 | 515 | @ColorInt 516 | public static final int BLUEGREY_50 = 0XFFECEFF1; 517 | @ColorInt 518 | public static final int BLUEGREY_100 = 0XFFCFD8DC; 519 | @ColorInt 520 | public static final int BLUEGREY_200 = 0XFFB0BEC5; 521 | @ColorInt 522 | public static final int BLUEGREY_300 = 0XFF90A4AE; 523 | @ColorInt 524 | public static final int BLUEGREY_400 = 0XFF78909C; 525 | @ColorInt 526 | public static final int BLUEGREY_500 = 0XFF607D8B; 527 | @ColorInt 528 | public static final int BLUEGREY_600 = 0XFF546E7A; 529 | @ColorInt 530 | public static final int BLUEGREY_700 = 0XFF455A64; 531 | @ColorInt 532 | public static final int BLUEGREY_800 = 0XFF37474F; 533 | @ColorInt 534 | public static final int BLUEGREY_900 = 0XFF263238; 535 | 536 | @ColorInt 537 | public static final int BLACK = 0XFF000000; 538 | @ColorInt 539 | public static final int WHITE = 0XFFFFFFFF; 540 | } 541 | -------------------------------------------------------------------------------- /Library/src/main/java/com/next/materialresourceslibrary/ThemeManager.java: -------------------------------------------------------------------------------- 1 | package com.peak.materialresourceslibrary; 2 | 3 | public class ThemeManager 4 | { 5 | public static int getActivityTheme(int theme) 6 | { 7 | if (theme == 0) 8 | { 9 | return R.style.AppThemeRed_NoActionBar; 10 | } else if (theme == 1) 11 | { 12 | return R.style.AppThemeRedDark_NoActionBar; 13 | } else if (theme == 2) 14 | { 15 | return R.style.AppThemePink_NoActionBar; 16 | } else if (theme == 3) 17 | { 18 | return R.style.AppThemePinkDark_NoActionBar; 19 | } else if (theme == 4) 20 | { 21 | return R.style.AppThemePurple_NoActionBar; 22 | } else if (theme == 5) 23 | { 24 | return R.style.AppThemePurpleDark_NoActionBar; 25 | } else if (theme == 6) 26 | { 27 | return R.style.AppThemeDeepPurple_NoActionBar; 28 | } else if (theme == 7) 29 | { 30 | return R.style.AppThemeDeepPurpleDark_NoActionBar; 31 | } else if (theme == 8) 32 | { 33 | return R.style.AppThemeIndigo_NoActionBar; 34 | } else if (theme == 9) 35 | { 36 | return R.style.AppThemeIndigoDark_NoActionBar; 37 | } else if (theme == 10) 38 | { 39 | return R.style.AppThemeBlue_NoActionBar; 40 | } else if (theme == 11) 41 | { 42 | return R.style.AppThemeBlueDark_NoActionBar; 43 | } else if (theme == 12) 44 | { 45 | return R.style.AppThemeLightBlue_NoActionBar; 46 | } else if (theme == 13) 47 | { 48 | return R.style.AppThemeLightBlueDark_NoActionBar; 49 | } else if (theme == 14) 50 | { 51 | return R.style.AppThemeCyan_NoActionBar; 52 | } else if (theme == 15) 53 | { 54 | return R.style.AppThemeCyanDark_NoActionBar; 55 | } else if (theme == 16) 56 | { 57 | return R.style.AppThemeTeal_NoActionBar; 58 | } else if (theme == 17) 59 | { 60 | return R.style.AppThemeTealDark_NoActionBar; 61 | } else if (theme == 18) 62 | { 63 | return R.style.AppThemeGreen_NoActionBar; 64 | } else if (theme == 19) 65 | { 66 | return R.style.AppThemeGreenDark_NoActionBar; 67 | } else if (theme == 20) 68 | { 69 | return R.style.AppThemeLightGreen_NoActionBar; 70 | } else if (theme == 21) 71 | { 72 | return R.style.AppThemeLightGreenDark_NoActionBar; 73 | } else if (theme == 22) 74 | { 75 | return R.style.AppThemeLime_NoActionBar; 76 | } else if (theme == 23) 77 | { 78 | return R.style.AppThemeLimeDark_NoActionBar; 79 | } else if (theme == 24) 80 | { 81 | return R.style.AppThemeYellow_NoActionBar; 82 | } else if (theme == 25) 83 | { 84 | return R.style.AppThemeYellowDark_NoActionBar; 85 | } else if (theme == 26) 86 | { 87 | return R.style.AppThemeAmber_NoActionBar; 88 | } else if (theme == 27) 89 | { 90 | return R.style.AppThemeAmberDark_NoActionBar; 91 | } else if (theme == 28) 92 | { 93 | return R.style.AppThemeOrange_NoActionBar; 94 | } else if (theme == 29) 95 | { 96 | return R.style.AppThemeOrangeDark_NoActionBar; 97 | } else if (theme == 30) 98 | { 99 | return R.style.AppThemeDeepOrange_NoActionBar; 100 | } else if (theme == 31) 101 | { 102 | return R.style.AppThemeDeepOrangeDark_NoActionBar; 103 | } else if (theme == 32) 104 | { 105 | return R.style.AppThemeBrown_NoActionBar; 106 | } else if (theme == 33) 107 | { 108 | return R.style.AppThemeBrownDark_NoActionBar; 109 | } else if (theme == 34) 110 | { 111 | return R.style.AppThemeGrey_NoActionBar; 112 | } else if (theme == 35) 113 | { 114 | return R.style.AppThemeGreyDark_NoActionBar; 115 | } else if (theme == 36) 116 | { 117 | return R.style.AppThemeBlueGrey_NoActionBar; 118 | } else if (theme == 37) 119 | { 120 | return R.style.AppThemeBlueGreyDark_NoActionBar; 121 | } else if (theme == 38) 122 | { 123 | return R.style.AppThemeNightMode_NoActionBar; 124 | } 125 | return 0; 126 | } 127 | } 128 | -------------------------------------------------------------------------------- /Library/src/main/res/drawable/gradient_background_amber.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 9 | -------------------------------------------------------------------------------- /Library/src/main/res/drawable/gradient_background_blue.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 9 | -------------------------------------------------------------------------------- /Library/src/main/res/drawable/gradient_background_blue_grey.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 9 | -------------------------------------------------------------------------------- /Library/src/main/res/drawable/gradient_background_brown.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 9 | -------------------------------------------------------------------------------- /Library/src/main/res/drawable/gradient_background_cyan.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 9 | -------------------------------------------------------------------------------- /Library/src/main/res/drawable/gradient_background_deep_orange.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 9 | -------------------------------------------------------------------------------- /Library/src/main/res/drawable/gradient_background_deep_purple.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 9 | -------------------------------------------------------------------------------- /Library/src/main/res/drawable/gradient_background_green.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 9 | -------------------------------------------------------------------------------- /Library/src/main/res/drawable/gradient_background_grey.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 9 | -------------------------------------------------------------------------------- /Library/src/main/res/drawable/gradient_background_indigo.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 9 | -------------------------------------------------------------------------------- /Library/src/main/res/drawable/gradient_background_light_blue.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 9 | -------------------------------------------------------------------------------- /Library/src/main/res/drawable/gradient_background_light_green.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 9 | -------------------------------------------------------------------------------- /Library/src/main/res/drawable/gradient_background_lime.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 9 | -------------------------------------------------------------------------------- /Library/src/main/res/drawable/gradient_background_orange.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 9 | -------------------------------------------------------------------------------- /Library/src/main/res/drawable/gradient_background_pink.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 9 | -------------------------------------------------------------------------------- /Library/src/main/res/drawable/gradient_background_purple.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 9 | -------------------------------------------------------------------------------- /Library/src/main/res/drawable/gradient_background_red.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 9 | -------------------------------------------------------------------------------- /Library/src/main/res/drawable/gradient_background_teal.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 9 | -------------------------------------------------------------------------------- /Library/src/main/res/drawable/gradient_background_yellow.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 9 | -------------------------------------------------------------------------------- /Library/src/main/res/drawable/wg_alchemist_lab.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 9 | 10 | -------------------------------------------------------------------------------- /Library/src/main/res/drawable/wg_amour_amour.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 9 | 10 | -------------------------------------------------------------------------------- /Library/src/main/res/drawable/wg_amy_crisp.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 9 | 10 | -------------------------------------------------------------------------------- /Library/src/main/res/drawable/wg_aqua_guidance.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 9 | 10 | -------------------------------------------------------------------------------- /Library/src/main/res/drawable/wg_aqua_splash.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 9 | 10 | -------------------------------------------------------------------------------- /Library/src/main/res/drawable/wg_awesome_pine.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 9 | 10 | -------------------------------------------------------------------------------- /Library/src/main/res/drawable/wg_big_mango.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 9 | 10 | -------------------------------------------------------------------------------- /Library/src/main/res/drawable/wg_blessing.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 9 | 10 | -------------------------------------------------------------------------------- /Library/src/main/res/drawable/wg_cheerful_caramel.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 9 | 10 | -------------------------------------------------------------------------------- /Library/src/main/res/drawable/wg_child_care.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 9 | 10 | -------------------------------------------------------------------------------- /Library/src/main/res/drawable/wg_clean_mirror.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 9 | 10 | -------------------------------------------------------------------------------- /Library/src/main/res/drawable/wg_cloudy_apple.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 9 | 10 | -------------------------------------------------------------------------------- /Library/src/main/res/drawable/wg_cloudy_knoxville.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 9 | 10 | -------------------------------------------------------------------------------- /Library/src/main/res/drawable/wg_cochiti_lake.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 9 | 10 | -------------------------------------------------------------------------------- /Library/src/main/res/drawable/wg_colorful_peach.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 9 | 10 | -------------------------------------------------------------------------------- /Library/src/main/res/drawable/wg_confident_cloud.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 9 | 10 | -------------------------------------------------------------------------------- /Library/src/main/res/drawable/wg_crystalline.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 9 | 10 | -------------------------------------------------------------------------------- /Library/src/main/res/drawable/wg_deep_blue.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 9 | 10 | -------------------------------------------------------------------------------- /Library/src/main/res/drawable/wg_deep_blue_2.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 9 | 10 | -------------------------------------------------------------------------------- /Library/src/main/res/drawable/wg_desert_hump.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 9 | 10 | -------------------------------------------------------------------------------- /Library/src/main/res/drawable/wg_dirty_beauty.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 9 | 10 | -------------------------------------------------------------------------------- /Library/src/main/res/drawable/wg_dusty_grass.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 9 | 10 | -------------------------------------------------------------------------------- /Library/src/main/res/drawable/wg_eternal_constance.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 9 | 10 | -------------------------------------------------------------------------------- /Library/src/main/res/drawable/wg_everlasting_sky.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 9 | 10 | -------------------------------------------------------------------------------- /Library/src/main/res/drawable/wg_faraway_river.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 9 | 10 | -------------------------------------------------------------------------------- /Library/src/main/res/drawable/wg_february_ink.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 9 | 10 | -------------------------------------------------------------------------------- /Library/src/main/res/drawable/wg_fly_high.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 9 | 10 | -------------------------------------------------------------------------------- /Library/src/main/res/drawable/wg_flying_lemon.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 9 | 10 | -------------------------------------------------------------------------------- /Library/src/main/res/drawable/wg_forest_inei.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 9 | 10 | -------------------------------------------------------------------------------- /Library/src/main/res/drawable/wg_fresh_milk.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 9 | 10 | -------------------------------------------------------------------------------- /Library/src/main/res/drawable/wg_fresh_oasis.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 9 | 10 | -------------------------------------------------------------------------------- /Library/src/main/res/drawable/wg_frozen_berry.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 9 | 10 | -------------------------------------------------------------------------------- /Library/src/main/res/drawable/wg_frozen_dreams.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 9 | 10 | -------------------------------------------------------------------------------- /Library/src/main/res/drawable/wg_fruit_blend.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 9 | 10 | -------------------------------------------------------------------------------- /Library/src/main/res/drawable/wg_gentle_care.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 9 | 10 | -------------------------------------------------------------------------------- /Library/src/main/res/drawable/wg_glass_water.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 9 | 10 | -------------------------------------------------------------------------------- /Library/src/main/res/drawable/wg_great_whale.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 9 | 10 | -------------------------------------------------------------------------------- /Library/src/main/res/drawable/wg_grown_early.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 9 | 10 | -------------------------------------------------------------------------------- /Library/src/main/res/drawable/wg_happy_acid.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 9 | 10 | -------------------------------------------------------------------------------- /Library/src/main/res/drawable/wg_happy_fisher.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 9 | 10 | -------------------------------------------------------------------------------- /Library/src/main/res/drawable/wg_happy_memories.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 9 | 10 | -------------------------------------------------------------------------------- /Library/src/main/res/drawable/wg_happy_unicorn.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 9 | 10 | -------------------------------------------------------------------------------- /Library/src/main/res/drawable/wg_healthy_water.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 9 | 10 | -------------------------------------------------------------------------------- /Library/src/main/res/drawable/wg_heaven_peach.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 9 | 10 | -------------------------------------------------------------------------------- /Library/src/main/res/drawable/wg_heavy_rain.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 9 | 10 | -------------------------------------------------------------------------------- /Library/src/main/res/drawable/wg_hidden_jaguar.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 9 | 10 | -------------------------------------------------------------------------------- /Library/src/main/res/drawable/wg_high_flight.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 9 | 10 | -------------------------------------------------------------------------------- /Library/src/main/res/drawable/wg_itmeo_branding.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 9 | 10 | -------------------------------------------------------------------------------- /Library/src/main/res/drawable/wg_japan_blush.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 9 | 10 | -------------------------------------------------------------------------------- /Library/src/main/res/drawable/wg_juicy_cake.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 9 | 10 | -------------------------------------------------------------------------------- /Library/src/main/res/drawable/wg_juicy_peach.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 9 | 10 | -------------------------------------------------------------------------------- /Library/src/main/res/drawable/wg_jungle_day.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 9 | 10 | -------------------------------------------------------------------------------- /Library/src/main/res/drawable/wg_kind_steel.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 9 | 10 | -------------------------------------------------------------------------------- /Library/src/main/res/drawable/wg_ladoga_bottom.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 9 | 10 | -------------------------------------------------------------------------------- /Library/src/main/res/drawable/wg_lady_lips.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 9 | 10 | -------------------------------------------------------------------------------- /Library/src/main/res/drawable/wg_le_cocktail.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 9 | 10 | -------------------------------------------------------------------------------- /Library/src/main/res/drawable/wg_lemon_gate.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 9 | 10 | -------------------------------------------------------------------------------- /Library/src/main/res/drawable/wg_lily_meadow.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 9 | 10 | -------------------------------------------------------------------------------- /Library/src/main/res/drawable/wg_love_kiss.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 9 | 10 | -------------------------------------------------------------------------------- /Library/src/main/res/drawable/wg_malibu_beach.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 9 | 10 | -------------------------------------------------------------------------------- /Library/src/main/res/drawable/wg_marble_wall.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 9 | 10 | -------------------------------------------------------------------------------- /Library/src/main/res/drawable/wg_mars_party.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 9 | 10 | -------------------------------------------------------------------------------- /Library/src/main/res/drawable/wg_mean_fruit.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 9 | 10 | -------------------------------------------------------------------------------- /Library/src/main/res/drawable/wg_midnight_bloom.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 9 | 10 | -------------------------------------------------------------------------------- /Library/src/main/res/drawable/wg_millennium_pine.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 9 | 10 | -------------------------------------------------------------------------------- /Library/src/main/res/drawable/wg_mixed_hopes.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 9 | 10 | -------------------------------------------------------------------------------- /Library/src/main/res/drawable/wg_mole_hall.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 9 | 10 | -------------------------------------------------------------------------------- /Library/src/main/res/drawable/wg_morning_salad.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 9 | 10 | -------------------------------------------------------------------------------- /Library/src/main/res/drawable/wg_morpheus_den.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 9 | 10 | -------------------------------------------------------------------------------- /Library/src/main/res/drawable/wg_mountain_rock.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 9 | 10 | -------------------------------------------------------------------------------- /Library/src/main/res/drawable/wg_near_moon.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 9 | 10 | -------------------------------------------------------------------------------- /Library/src/main/res/drawable/wg_nega.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 9 | 10 | -------------------------------------------------------------------------------- /Library/src/main/res/drawable/wg_new_life.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 9 | 10 | -------------------------------------------------------------------------------- /Library/src/main/res/drawable/wg_new_york.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 9 | 10 | -------------------------------------------------------------------------------- /Library/src/main/res/drawable/wg_night_fade.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 9 | 10 | -------------------------------------------------------------------------------- /Library/src/main/res/drawable/wg_night_party.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 9 | 10 | -------------------------------------------------------------------------------- /Library/src/main/res/drawable/wg_night_sky.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 9 | 10 | -------------------------------------------------------------------------------- /Library/src/main/res/drawable/wg_norse_beauty.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 9 | 10 | -------------------------------------------------------------------------------- /Library/src/main/res/drawable/wg_north_miracle.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 9 | 10 | -------------------------------------------------------------------------------- /Library/src/main/res/drawable/wg_october_silence.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 9 | 10 | -------------------------------------------------------------------------------- /Library/src/main/res/drawable/wg_orange_juice.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 9 | 10 | -------------------------------------------------------------------------------- /Library/src/main/res/drawable/wg_over_sun.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 9 | 10 | -------------------------------------------------------------------------------- /Library/src/main/res/drawable/wg_palo_alto.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 9 | 10 | -------------------------------------------------------------------------------- /Library/src/main/res/drawable/wg_party_bliss.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 9 | 10 | -------------------------------------------------------------------------------- /Library/src/main/res/drawable/wg_passionate_bed.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 9 | 10 | -------------------------------------------------------------------------------- /Library/src/main/res/drawable/wg_perfect_white.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 9 | 10 | -------------------------------------------------------------------------------- /Library/src/main/res/drawable/wg_phoenix_start.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 9 | 10 | -------------------------------------------------------------------------------- /Library/src/main/res/drawable/wg_plum_bath.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 9 | 10 | -------------------------------------------------------------------------------- /Library/src/main/res/drawable/wg_plum_plate.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 9 | 10 | -------------------------------------------------------------------------------- /Library/src/main/res/drawable/wg_polite_rumors.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 9 | 10 | -------------------------------------------------------------------------------- /Library/src/main/res/drawable/wg_premium_dark.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 9 | 10 | -------------------------------------------------------------------------------- /Library/src/main/res/drawable/wg_purple_division.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 9 | 10 | -------------------------------------------------------------------------------- /Library/src/main/res/drawable/wg_rainy_ashville.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 9 | 10 | -------------------------------------------------------------------------------- /Library/src/main/res/drawable/wg_rare_wind.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 9 | 10 | -------------------------------------------------------------------------------- /Library/src/main/res/drawable/wg_red_salvation.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 9 | 10 | -------------------------------------------------------------------------------- /Library/src/main/res/drawable/wg_rich_metal.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 9 | 10 | -------------------------------------------------------------------------------- /Library/src/main/res/drawable/wg_ripe_malinka.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 9 | 10 | -------------------------------------------------------------------------------- /Library/src/main/res/drawable/wg_river_city.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 9 | 10 | -------------------------------------------------------------------------------- /Library/src/main/res/drawable/wg_royal_garden.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 9 | 10 | -------------------------------------------------------------------------------- /Library/src/main/res/drawable/wg_saint_petersburh.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 9 | 10 | -------------------------------------------------------------------------------- /Library/src/main/res/drawable/wg_salt_mountain.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 9 | 10 | -------------------------------------------------------------------------------- /Library/src/main/res/drawable/wg_sand_strike.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 9 | 10 | -------------------------------------------------------------------------------- /Library/src/main/res/drawable/wg_seashore.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 9 | 10 | -------------------------------------------------------------------------------- /Library/src/main/res/drawable/wg_shady_water.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 9 | 10 | -------------------------------------------------------------------------------- /Library/src/main/res/drawable/wg_sharp_blues.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 9 | 10 | -------------------------------------------------------------------------------- /Library/src/main/res/drawable/wg_sharpeye_eagle.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 9 | 10 | -------------------------------------------------------------------------------- /Library/src/main/res/drawable/wg_sky_glider.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 9 | 10 | -------------------------------------------------------------------------------- /Library/src/main/res/drawable/wg_smart_inigo.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 9 | 10 | -------------------------------------------------------------------------------- /Library/src/main/res/drawable/wg_smiling_rain.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 9 | 10 | -------------------------------------------------------------------------------- /Library/src/main/res/drawable/wg_snow_again.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 9 | 10 | -------------------------------------------------------------------------------- /Library/src/main/res/drawable/wg_soft_grass.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 9 | 10 | -------------------------------------------------------------------------------- /Library/src/main/res/drawable/wg_soft_lipstick.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 9 | 10 | -------------------------------------------------------------------------------- /Library/src/main/res/drawable/wg_solid_stone.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 9 | 10 | -------------------------------------------------------------------------------- /Library/src/main/res/drawable/wg_spring_warmth.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 9 | 10 | -------------------------------------------------------------------------------- /Library/src/main/res/drawable/wg_strict_november.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 9 | 10 | -------------------------------------------------------------------------------- /Library/src/main/res/drawable/wg_strong_stick.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 9 | 10 | -------------------------------------------------------------------------------- /Library/src/main/res/drawable/wg_summer_games.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 9 | 10 | -------------------------------------------------------------------------------- /Library/src/main/res/drawable/wg_sun_veggie.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 9 | 10 | -------------------------------------------------------------------------------- /Library/src/main/res/drawable/wg_sunny_morning.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 9 | 10 | -------------------------------------------------------------------------------- /Library/src/main/res/drawable/wg_teen_notebook.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 9 | 10 | -------------------------------------------------------------------------------- /Library/src/main/res/drawable/wg_tempting_azure.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 9 | 10 | -------------------------------------------------------------------------------- /Library/src/main/res/drawable/wg_true_sunset.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 9 | 10 | -------------------------------------------------------------------------------- /Library/src/main/res/drawable/wg_vicious_stance.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 9 | 10 | -------------------------------------------------------------------------------- /Library/src/main/res/drawable/wg_warm_flame.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 9 | 10 | -------------------------------------------------------------------------------- /Library/src/main/res/drawable/wg_wild_apple.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 9 | 10 | -------------------------------------------------------------------------------- /Library/src/main/res/drawable/wg_winter_neva.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 9 | 10 | -------------------------------------------------------------------------------- /Library/src/main/res/drawable/wg_witch_dance.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 9 | 10 | -------------------------------------------------------------------------------- /Library/src/main/res/drawable/wg_young_grass.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 9 | 10 | -------------------------------------------------------------------------------- /Library/src/main/res/drawable/wg_zeus_miracle.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 9 | 10 | -------------------------------------------------------------------------------- /Library/src/main/res/values/dimens.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 2dp 13 | 4dp 14 | 8dp 15 | 16 | 2dp 17 | 4dp 18 | 8dp 19 | 16dp 20 | 24dp 21 | 32dp 22 | 48dp 23 | 24 | 12dp 25 | 16dp 26 | 24dp 27 | 36dp 28 | 48dp 29 | 56dp 30 | 31 | 1dp 32 | 2dp 33 | 3dp 34 | 35 | 1dp 36 | 2dp 37 | 38 | 39 | 40 | 24dp 41 | 24dp 42 | 16dp 43 | 16dp 44 | 16dp 45 | 12dp 46 | 9dp 47 | 8dp 48 | 8dp 49 | 8dp 50 | 8dp 51 | 6dp 52 | 6dp 53 | 4dp 54 | 3dp 55 | 3dp 56 | 2dp 57 | 2dp 58 | 2dp 59 | 1dp 60 | 61 | 62 | 63 | 64 | 65 | 112sp 66 | 56sp 67 | 45sp 68 | 34sp 69 | 24sp 70 | 20sp 71 | 16sp 72 | 14sp 73 | 14sp 74 | 12sp 75 | 14sp 76 | 77 | 78 | 79 | 80 | 16dp 81 | 72dp 82 | 16dp 83 | 24dp 84 | 56dp 85 | 48dp 86 | 72dp 87 | 72dp 88 | 8dp 89 | 90 | 16dp 91 | 72dp 92 | 32dp 93 | 24dp 94 | 56dp 95 | 8dp 96 | 72dp 97 | 98 | 16dp 99 | 72dp 100 | 56dp 101 | 48dp 102 | 8dp 103 | 56dp 104 | 105 | 106 | 107 | 56dp 108 | 128dp 109 | 16dp 110 | 16dp 111 | 72dp 112 | 20dp 113 | 56dp 114 | 80dp 115 | 8dp 116 | 72dp 117 | 16dp 118 | 24dp 119 | 20dp 120 | 80dp 121 | 40dp 122 | 123 | 124 | 125 | 168dp 126 | 96dp 127 | 96dp 128 | 56dp 129 | 56dp 130 | 12dp 131 | 6dp 132 | 8dp 133 | 10dp 134 | 24dp 135 | 136 | 137 | 138 | 139 | 16dp 140 | 7dp 141 | 1dp 142 | 8dp 143 | 48dp 144 | 24dp 145 | 32dp 146 | 56dp 147 | 148 | 24dp 149 | 8dp 150 | 1dp 151 | 8dp 152 | 48dp 153 | 16dp 154 | 56dp 155 | 156 | 157 | 158 | 36dp 159 | 48dp 160 | 2dp 161 | 16dp 162 | 88dp 163 | 164 | 165 | 166 | 56dp 167 | 40dp 168 | 24dp 169 | 170 | 171 | 172 | 16dp 173 | 16dp 174 | 8dp 175 | 8dp 176 | 177 | 178 | 179 | 32dp 180 | 12dp 181 | 24dp 182 | 4dp 183 | 12dp 184 | 8dp 185 | 12dp 186 | 187 | 188 | 189 | 190 | 191 | 192 | 24dp 193 | 20dp 194 | 8dp 195 | 52dp 196 | 24dp 197 | 24dp 198 | 36dp 199 | 8dp 200 | 16dp 201 | 64dp 202 | 8dp 203 | 8dp 204 | 24dp 205 | 8dp 206 | 56dp 207 | 80dp 208 | 72dp 209 | 20dp 210 | 20dp 211 | 16dp 212 | 14sp 213 | 16dp 214 | 215 | 216 | 1dp 217 | 218 | 219 | 220 | 221 | 222 | 223 | 48dp 224 | 16dp 225 | 16sp 226 | 68dp 227 | 16dp 228 | 16sp 229 | 14sp 230 | 12sp 231 | 232 | 233 | 234 | 16sp 235 | 48dp 236 | 16dp 237 | 8dp 238 | 239 | 16sp 240 | 48dp 241 | 16dp 242 | 72dp 243 | 8dp 244 | 245 | 16sp 246 | 56dp 247 | 16dp 248 | 72dp 249 | 8dp 250 | 251 | 16sp 252 | 56dp 253 | 16dp 254 | 16dp 255 | 72dp 256 | 8dp 257 | 258 | 16sp 259 | 72dp 260 | 16dp 261 | 8dp 262 | 263 | 16sp 264 | 72dp 265 | 16dp 266 | 16dp 267 | 72dp 268 | 8dp 269 | 270 | 16sp 271 | 72dp 272 | 16dp 273 | 16dp 274 | 72dp 275 | 8dp 276 | 277 | 16sp 278 | 72dp 279 | 16dp 280 | 16dp 281 | 72dp 282 | 8dp 283 | 284 | 16sp 285 | 88dp 286 | 16dp 287 | 8dp 288 | 289 | 16sp 290 | 88dp 291 | 16dp 292 | 16dp 293 | 72dp 294 | 8dp 295 | 296 | 16sp 297 | 88dp 298 | 16dp 299 | 16dp 300 | 72dp 301 | 8dp 302 | 303 | 16sp 304 | 88dp 305 | 16dp 306 | 16dp 307 | 72dp 308 | 8dp 309 | 310 | 311 | 312 | 313 | 314 | 315 | 48dp 316 | 16dp 317 | 20dp 318 | 8dp 319 | 8dp 320 | 16dp 321 | 322 | 323 | 324 | 325 | 326 | 327 | 328 | 329 | 330 | 331 | 332 | 333 | 334 | 335 | 336 | 48dp 337 | 80dp 338 | 339 | 340 | 341 | 24dp 342 | 14sp 343 | 24dp 344 | 12sp 345 | 1dp 346 | 72dp 347 | 24dp 348 | 8dp 349 | 8dp 350 | 24dp 351 | 16dp 352 | 40dp 353 | 48dp 354 | 48dp 355 | 356 | 72dp 357 | 24dp 358 | 8dp 359 | 360 | 104dp 361 | 8dp 362 | 16dp 363 | 24dp 364 | 365 | 366 | 367 | 368 | 369 | 370 | 264dp 371 | 160dp 372 | 72dp 373 | 48dp 374 | 12dp 375 | 20dp 376 | 2dp 377 | 14sp 378 | 379 | 48dp 380 | 14sp 381 | 382 | 72dp 383 | 24dp 384 | 10dp 385 | 16dp 386 | 387 | 48dp 388 | 24dp 389 | 12dp 390 | 12dp 391 | 392 | 14sp 393 | 394 | 395 | 396 | 16dp 397 | 8dp 398 | 399 | 16dp 400 | 8dp 401 | 8dp 402 | 403 | 24dp 404 | 16dp 405 | 406 | 24dp 407 | 8dp 408 | 409 | 24dp 410 | 24dp 411 | 8dp 412 | 413 | 24dp 414 | 8dp 415 | 8dp 416 | 417 | 16dp 418 | 8dp 419 | 8dp 420 | 8dp 421 | 422 | 423 | 424 | 425 | 426 | 427 | 428 | 429 | 430 | 24dp 431 | 24dp 432 | 20dp 433 | 28dp 434 | 16dp 435 | 40dp 436 | 12dp 437 | 52dp 438 | 8dp 439 | 36dp 440 | 8dp 441 | -------------------------------------------------------------------------------- /Library/src/main/res/values/strings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /Library/src/main/res/values/styles.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 18 | 19 | 20 | 23 | 24 | 25 | 26 | 34 | 35 | 36 | 40 | 41 | 42 | 47 | 48 | 49 | 57 | 58 | 59 | 63 | 64 | 65 | 73 | 74 | 78 | 79 | 87 | 88 | 92 | 93 | 94 | 102 | 103 | 107 | 108 | 116 | 117 | 121 | 122 | 123 | 131 | 132 | 136 | 137 | 145 | 146 | 150 | 151 | 152 | 160 | 161 | 165 | 166 | 174 | 175 | 179 | 180 | 181 | 189 | 190 | 194 | 195 | 203 | 204 | 208 | 209 | 210 | 218 | 219 | 223 | 224 | 232 | 233 | 237 | 238 | 239 | 247 | 248 | 252 | 253 | 261 | 262 | 266 | 267 | 268 | 276 | 277 | 281 | 282 | 290 | 291 | 295 | 296 | 297 | 305 | 306 | 310 | 311 | 319 | 320 | 324 | 325 | 326 | 334 | 335 | 339 | 340 | 348 | 349 | 353 | 354 | 355 | 363 | 364 | 368 | 369 | 377 | 378 | 382 | 383 | 384 | 392 | 393 | 397 | 398 | 406 | 407 | 411 | 412 | 413 | 421 | 422 | 426 | 427 | 435 | 436 | 440 | 441 | 442 | 450 | 451 | 455 | 456 | 464 | 465 | 469 | 470 | 471 | 479 | 480 | 484 | 485 | 493 | 494 | 498 | 499 | 500 | 508 | 509 | 513 | 514 | 522 | 523 | 527 | 528 | 529 | 537 | 538 | 542 | 543 | 551 | 552 | 556 | 557 | 558 | 566 | 567 | 571 | 572 | 580 | 581 | 585 | 586 | 587 | 595 | 596 | 600 | -------------------------------------------------------------------------------- /Library/src/test/java/com/peak/materialresourceslibrary/ExampleUnitTest.java: -------------------------------------------------------------------------------- 1 | package com.peak.materialresourceslibrary; 2 | 3 | import org.junit.Test; 4 | 5 | import static org.junit.Assert.*; 6 | 7 | /** 8 | * Example local unit test, which will execute on the development machine (host). 9 | * 10 | * @see Testing documentation 11 | */ 12 | public class ExampleUnitTest 13 | { 14 | @Test 15 | public void addition_isCorrect() throws Exception 16 | { 17 | assertEquals(4, 2 + 2); 18 | } 19 | } -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | [![platform](https://img.shields.io/badge/platform-android-green.svg )](http://developer.android.com/index.html) 2 | [![Android Arsenal]( https://img.shields.io/badge/Android%20Arsenal-Material--Resources--Library-green.svg?style=flat )]( https://android-arsenal.com/details/1/7688) 3 | [![JitPack](https://img.shields.io/github/tag/asyl/ArcAnimator.svg?label=maven)](https://jitpack.io/#mohammadima3oud/Material-Resources-Library) 4 | [![License](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](http://www.apache.org/licenses/LICENSE-2.0) 5 | [![API](https://img.shields.io/badge/API-19%2B-brightgreen.svg?style=flat)](https://android-arsenal.com/api?level=19) 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 19 | 22 | 25 | 26 | 27 |
Timer UILogin UIFitness UI
17 | Timer UI 18 | 20 | Login UI 21 | 23 | Fitness UI 24 |
28 | 29 | # Material-Resources-Library 30 | A list of most useful resources for designing android apps such as all material colors and dimens, 180 Gradient background + html, social, flat,fluent, metro colors. 31 | you can use colors with java, kotlin, xml. 32 | 33 | 34 | ## What does this library include? 35 | * All Material Colors (https://www.materialui.co/colors) 36 | * All Flat Colors (https://www.materialui.co/flatuicolors) 37 | * All Social Colors (https://www.materialui.co/socialcolors) 38 | * All Material Dimens 39 | * All HTML Colors (https://www.materialui.co/htmlcolors) 40 | * All Fluent Colors (https://fluentcolors.com) 41 | * All Metro Colors (https://www.materialui.co/metrocolors) 42 | * 19 Material Gradient Background 43 | * All WebGradient Gradient Backgrounds (https://webgradients.com/) 44 | * 100+ Material Themes(Styles) that are divided into Light, Dark, FullScreen and NoActionBar styles 45 | 46 | 47 | ## How to include 48 | Add the repository to your project **build.gradle**: 49 | 50 | ```Gradle 51 | allprojects { 52 | repositories { 53 | maven { url "https://jitpack.io" } 54 | } 55 | } 56 | ``` 57 | 58 | And add the library to your module **build.gradle**: 59 | 60 | ```Gradle 61 | dependencies { 62 | implementation 'com.github.mohammadima3oud:Material-Resources-Library:1.0.0' 63 | } 64 | ``` 65 | 66 | ## Usage 67 | 68 | * ### Material Colors: 69 | [material][color name] 70 | ``` 71 | materialOrange50 72 | materialOrange100 73 | ... 74 | materialOrange200 75 | materialOrange900 76 | ``` 77 | 78 | ``` 79 | materialOrangeA100 80 | materialOrangeA200 81 | materialOrangeA300 82 | materialOrangeA400 83 | ``` 84 | 85 | ``` 86 | materialPrimaryOrange 87 | materialPrimaryDarkOrange 88 | materialAccentOrange 89 | ``` 90 | 91 | Example: 92 | ``` 93 | android:background="@color/materialOrange500" 94 | ``` 95 | 96 | * ### Flat Colors: 97 | [flat][color name] 98 | ``` 99 | flatTurquoise 100 | flatGreensea 101 | ... 102 | flatConcrete 103 | flatAsbestos 104 | ``` 105 | 106 | Example: 107 | ``` 108 | android:background="@color/flatAmethyst" 109 | ``` 110 | * ### Fluent Colors: 111 | [fluent][color name] 112 | ``` 113 | fluentFFB900 114 | fluentFF8C00 115 | ... 116 | fluent847545 117 | fluent7E735F 118 | ``` 119 | 120 | Example: 121 | ``` 122 | android:background="@color/fluent00B7C3" 123 | ``` 124 | 125 | * ### Social Colors: 126 | [social][color name] 127 | ``` 128 | socialFacebook 129 | socialMessenger 130 | ... 131 | socialTwitter 132 | socialLinkedIn 133 | ``` 134 | 135 | Example: 136 | ``` 137 | android:background="@color/socialDribble" 138 | ``` 139 | 140 | * ### Metro Colors: 141 | [metro][color name] 142 | ``` 143 | metroLime 144 | metroGreen 145 | ... 146 | metroMauve 147 | metroSienna 148 | ``` 149 | 150 | Example: 151 | ``` 152 | android:background="@color/metroAmber" 153 | ``` 154 | 155 | * ### HTML Colors: 156 | [html][color name] 157 | ``` 158 | htmlGainsboro 159 | htmlLightGray 160 | ... 161 | htmlSilver 162 | htmlDarkGray 163 | ``` 164 | 165 | Example: 166 | ``` 167 | android:background="@color/htmlAquamarine" 168 | ``` 169 | 170 | * ### Themes: 171 | [AppTheme][color name](Dark)(.)(NoActionBar) 172 | ``` 173 | AppThemeRed 174 | AppThemeRed.NoActionBar 175 | AppThemeRedDark 176 | AppThemeRedDark.NoActionBar 177 | ... 178 | ``` 179 | Example: 180 | ``` 181 | inside androidManifest.xml 182 | android:theme="@style/AppThemeAmber" 183 | ``` 184 | 185 | * ### Dimens: 186 | Example: 187 | ``` 188 | android:textSize="@dimen/typography_headline" 189 | ``` 190 | 191 | ## Checkout My Libraries 192 | 193 | * **[Android-Intent-Library](https://github.com/mohammadima3oud/Android-Intent-Library):** A library which will save you a lot of time from writing the same intent creation code. it consist of many intent creation codes like Share, Contacts, Email and etc, which you can easily use. 194 | * **[Material-Resources-Library](https://github.com/mohammadima3oud/Material-Resources-Library):** A list of most useful resources for designing android apps such as all material colors and dimens, 180 Gradient background + html, social, flat, fluent, metro colors. 195 | * **[Complete-Google-Map-API-Tutorial](https://github.com/mohammadima3oud/Complete-Google-Map-API-Tutorial):** Learn How to use Google Map API for Android from Basic to Advance with complete examples. 196 | * **[DropSignIn](https://github.com/mohammadima3oud/DropSignIn):** Sign In UI Design 197 | * **[BlueSignIn](https://github.com/mohammadima3oud/BlueSignIn):** Sign In and Sign Up Ui Design 198 | 199 | ## Donations 200 | 201 | This project needs you! If you would like to support this project's further development, the creator of this project or the continuous maintenance of this project, feel free to donate. Your donation is highly appreciated. Thank you! 202 | 203 | **PayPal** 204 | 205 | * **[Donate $5](https://www.paypal.me/mohammadima3oud/5)**: Thank's for creating this project, here's a tea (or some juice) for you! 206 | * **[Donate $10](https://www.paypal.me/mohammadima3oud/10)**: Wow, I am stunned. Let me take you to the movies! 207 | * **[Donate $15](https://www.paypal.me/mohammadima3oud/15)**: I really appreciate your work, let's grab some lunch! 208 | * **[Donate $25](https://www.paypal.me/mohammadima3oud/25)**: That's some awesome stuff you did right there, dinner is on me! 209 | * **[Donate $50](https://www.paypal.me/mohammadima3oud/50)**: I really really want to support this project, great job! 210 | * **[Donate $100](https://www.paypal.me/mohammadima3oud/100)**: You are the man! This project saved me hours (if not days) of struggle and hard work, simply awesome! 211 | * **[Donate $2799](https://www.paypal.me/mohammadima3oud/2799)**: Go buddy, buy Macbook Pro for yourself! 212 | 213 | Of course, you can also choose what you want to donate, all donations are awesome! 214 | 215 | 216 | ## Changelog 217 | * **1.0.0** 218 | * Initial release 219 | 220 | 221 | ## License 222 | 223 | Copyright 2019 mohammadima3oud 224 | 225 | Licensed under the Apache License, Version 2.0 (the "License"); 226 | you may not use this file except in compliance with the License. 227 | You may obtain a copy of the License at 228 | 229 | http://www.apache.org/licenses/LICENSE-2.0 230 | 231 | Unless required by applicable law or agreed to in writing, software 232 | distributed under the License is distributed on an "AS IS" BASIS, 233 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 234 | See the License for the specific language governing permissions and 235 | limitations under the License. 236 | -------------------------------------------------------------------------------- /Sample/.gitignore: -------------------------------------------------------------------------------- 1 | /build 2 | -------------------------------------------------------------------------------- /Sample/build.gradle: -------------------------------------------------------------------------------- 1 | apply plugin: 'com.android.application' 2 | 3 | android { 4 | compileSdkVersion 28 5 | defaultConfig { 6 | applicationId "com.next.materialresources" 7 | minSdkVersion 19 8 | targetSdkVersion 28 9 | versionCode 1 10 | versionName "1.0" 11 | testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" 12 | } 13 | buildTypes { 14 | release { 15 | minifyEnabled false 16 | proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' 17 | } 18 | } 19 | } 20 | 21 | dependencies { 22 | implementation fileTree(dir: 'libs', include: ['*.jar']) 23 | implementation project(':Library') 24 | testImplementation 'junit:junit:4.12' 25 | androidTestImplementation 'androidx.test:runner:1.1.1' 26 | androidTestImplementation 'androidx.test.espresso:espresso-core:3.1.1' 27 | implementation 'androidx.appcompat:appcompat:1.0.2' 28 | implementation 'androidx.constraintlayout:constraintlayout:1.1.3' 29 | } 30 | -------------------------------------------------------------------------------- /Sample/proguard-rules.pro: -------------------------------------------------------------------------------- 1 | # Add project specific ProGuard rules here. 2 | # You can control the set of applied configuration files using the 3 | # proguardFiles setting in build.gradle. 4 | # 5 | # For more details, see 6 | # http://developer.android.com/guide/developing/tools/proguard.html 7 | 8 | # If your project uses WebView with JS, uncomment the following 9 | # and specify the fully qualified class name to the JavaScript interface 10 | # class: 11 | #-keepclassmembers class fqcn.of.javascript.interface.for.webview { 12 | # public *; 13 | #} 14 | 15 | # Uncomment this to preserve the line number information for 16 | # debugging stack traces. 17 | #-keepattributes SourceFile,LineNumberTable 18 | 19 | # If you keep the line number information, uncomment this to 20 | # hide the original source file name. 21 | #-renamesourcefileattribute SourceFile 22 | -------------------------------------------------------------------------------- /Sample/src/androidTest/java/com/next/materialresources/ExampleInstrumentedTest.java: -------------------------------------------------------------------------------- 1 | package com.next.materialresources; 2 | 3 | import android.content.Context; 4 | import androidx.test.InstrumentationRegistry; 5 | import androidx.test.runner.AndroidJUnit4; 6 | 7 | import org.junit.Test; 8 | import org.junit.runner.RunWith; 9 | 10 | import static org.junit.Assert.*; 11 | 12 | /** 13 | * Instrumented test, which will execute on an Android device. 14 | * 15 | * @see Testing documentation 16 | */ 17 | @RunWith(AndroidJUnit4.class) 18 | public class ExampleInstrumentedTest 19 | { 20 | @Test 21 | public void useAppContext() throws Exception 22 | { 23 | // Context of the app under test. 24 | Context appContext = InstrumentationRegistry.getTargetContext(); 25 | 26 | assertEquals("com.next.materialresources", appContext.getPackageName()); 27 | } 28 | } 29 | -------------------------------------------------------------------------------- /Sample/src/main/AndroidManifest.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | -------------------------------------------------------------------------------- /Sample/src/main/java/com/next/materialresources/MainActivity.java: -------------------------------------------------------------------------------- 1 | package com.next.materialresources; 2 | 3 | import androidx.appcompat.app.AppCompatActivity; 4 | import android.os.Bundle; 5 | 6 | public class MainActivity extends AppCompatActivity 7 | { 8 | 9 | @Override 10 | protected void onCreate(Bundle savedInstanceState) 11 | { 12 | super.onCreate(savedInstanceState); 13 | setContentView(R.layout.activity_main); 14 | // color sources for old gradients 15 | // material color from 300 to 700 16 | // colors sources for new gradients 17 | // https://webgradients.com till 18 18 | } 19 | } 20 | -------------------------------------------------------------------------------- /Sample/src/main/res/drawable-v24/ic_launcher_foreground.xml: -------------------------------------------------------------------------------- 1 | 7 | 12 | 13 | 19 | 22 | 25 | 26 | 27 | 28 | 34 | 35 | -------------------------------------------------------------------------------- /Sample/src/main/res/drawable/ic_launcher_background.xml: -------------------------------------------------------------------------------- 1 | 2 | 7 | 10 | 15 | 20 | 25 | 30 | 35 | 40 | 45 | 50 | 55 | 60 | 65 | 70 | 75 | 80 | 85 | 90 | 95 | 100 | 105 | 110 | 115 | 120 | 125 | 130 | 135 | 140 | 145 | 150 | 155 | 160 | 165 | 170 | 171 | -------------------------------------------------------------------------------- /Sample/src/main/res/layout/activity_main.xml: -------------------------------------------------------------------------------- 1 | 2 | 8 | 9 | 20 | 21 | 22 | -------------------------------------------------------------------------------- /Sample/src/main/res/mipmap-anydpi-v26/ic_launcher.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /Sample/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /Sample/src/main/res/mipmap-hdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mohammadima3oud/Material-Resources-Library/d0871f69db0c6a34ae1a3b528659965c89f3aa45/Sample/src/main/res/mipmap-hdpi/ic_launcher.png -------------------------------------------------------------------------------- /Sample/src/main/res/mipmap-hdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mohammadima3oud/Material-Resources-Library/d0871f69db0c6a34ae1a3b528659965c89f3aa45/Sample/src/main/res/mipmap-hdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /Sample/src/main/res/mipmap-mdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mohammadima3oud/Material-Resources-Library/d0871f69db0c6a34ae1a3b528659965c89f3aa45/Sample/src/main/res/mipmap-mdpi/ic_launcher.png -------------------------------------------------------------------------------- /Sample/src/main/res/mipmap-mdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mohammadima3oud/Material-Resources-Library/d0871f69db0c6a34ae1a3b528659965c89f3aa45/Sample/src/main/res/mipmap-mdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /Sample/src/main/res/mipmap-xhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mohammadima3oud/Material-Resources-Library/d0871f69db0c6a34ae1a3b528659965c89f3aa45/Sample/src/main/res/mipmap-xhdpi/ic_launcher.png -------------------------------------------------------------------------------- /Sample/src/main/res/mipmap-xhdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mohammadima3oud/Material-Resources-Library/d0871f69db0c6a34ae1a3b528659965c89f3aa45/Sample/src/main/res/mipmap-xhdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /Sample/src/main/res/mipmap-xxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mohammadima3oud/Material-Resources-Library/d0871f69db0c6a34ae1a3b528659965c89f3aa45/Sample/src/main/res/mipmap-xxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /Sample/src/main/res/mipmap-xxhdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mohammadima3oud/Material-Resources-Library/d0871f69db0c6a34ae1a3b528659965c89f3aa45/Sample/src/main/res/mipmap-xxhdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /Sample/src/main/res/mipmap-xxxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mohammadima3oud/Material-Resources-Library/d0871f69db0c6a34ae1a3b528659965c89f3aa45/Sample/src/main/res/mipmap-xxxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /Sample/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mohammadima3oud/Material-Resources-Library/d0871f69db0c6a34ae1a3b528659965c89f3aa45/Sample/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /Sample/src/main/res/values/colors.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | #3F51B5 4 | #303F9F 5 | #FF4081 6 | 7 | -------------------------------------------------------------------------------- /Sample/src/main/res/values/strings.xml: -------------------------------------------------------------------------------- 1 | 2 | MaterialResources 3 | 4 | -------------------------------------------------------------------------------- /Sample/src/main/res/values/styles.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /Sample/src/test/java/com/next/materialresources/ExampleUnitTest.java: -------------------------------------------------------------------------------- 1 | package com.next.materialresources; 2 | 3 | import org.junit.Test; 4 | 5 | import static org.junit.Assert.*; 6 | 7 | /** 8 | * Example local unit test, which will execute on the development machine (host). 9 | * 10 | * @see Testing documentation 11 | */ 12 | public class ExampleUnitTest 13 | { 14 | @Test 15 | public void addition_isCorrect() throws Exception 16 | { 17 | assertEquals(4, 2 + 2); 18 | } 19 | } -------------------------------------------------------------------------------- /build.gradle: -------------------------------------------------------------------------------- 1 | // Top-level build file where you can add configuration options common to all sub-projects/modules. 2 | 3 | buildscript { 4 | 5 | repositories { 6 | google() 7 | jcenter() 8 | } 9 | dependencies { 10 | classpath 'com.android.tools.build:gradle:3.4.1' 11 | classpath 'com.github.dcendents:android-maven-gradle-plugin:2.1' 12 | 13 | // NOTE: Do not place your application dependencies here; they belong 14 | // in the individual module build.gradle files 15 | } 16 | } 17 | 18 | allprojects { 19 | repositories { 20 | google() 21 | jcenter() 22 | maven { url 'https://jitpack.io' } 23 | } 24 | } 25 | 26 | task clean(type: Delete) { 27 | delete rootProject.buildDir 28 | } 29 | -------------------------------------------------------------------------------- /gradle/wrapper/gradle-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mohammadima3oud/Material-Resources-Library/d0871f69db0c6a34ae1a3b528659965c89f3aa45/gradle/wrapper/gradle-wrapper.jar -------------------------------------------------------------------------------- /gradle/wrapper/gradle-wrapper.properties: -------------------------------------------------------------------------------- 1 | #Tue May 14 17:51:26 IRDT 2019 2 | distributionBase=GRADLE_USER_HOME 3 | distributionPath=wrapper/dists 4 | zipStoreBase=GRADLE_USER_HOME 5 | zipStorePath=wrapper/dists 6 | distributionUrl=https\://services.gradle.org/distributions/gradle-5.4.1-all.zip 7 | -------------------------------------------------------------------------------- /gradlew: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | ############################################################################## 4 | ## 5 | ## Gradle start up script for UN*X 6 | ## 7 | ############################################################################## 8 | 9 | # Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script. 10 | DEFAULT_JVM_OPTS="" 11 | 12 | APP_NAME="Gradle" 13 | APP_BASE_NAME=`basename "$0"` 14 | 15 | # Use the maximum available, or set MAX_FD != -1 to use that value. 16 | MAX_FD="maximum" 17 | 18 | warn ( ) { 19 | echo "$*" 20 | } 21 | 22 | die ( ) { 23 | echo 24 | echo "$*" 25 | echo 26 | exit 1 27 | } 28 | 29 | # OS specific support (must be 'true' or 'false'). 30 | cygwin=false 31 | msys=false 32 | darwin=false 33 | case "`uname`" in 34 | CYGWIN* ) 35 | cygwin=true 36 | ;; 37 | Darwin* ) 38 | darwin=true 39 | ;; 40 | MINGW* ) 41 | msys=true 42 | ;; 43 | esac 44 | 45 | # Attempt to set APP_HOME 46 | # Resolve links: $0 may be a link 47 | PRG="$0" 48 | # Need this for relative symlinks. 49 | while [ -h "$PRG" ] ; do 50 | ls=`ls -ld "$PRG"` 51 | link=`expr "$ls" : '.*-> \(.*\)$'` 52 | if expr "$link" : '/.*' > /dev/null; then 53 | PRG="$link" 54 | else 55 | PRG=`dirname "$PRG"`"/$link" 56 | fi 57 | done 58 | SAVED="`pwd`" 59 | cd "`dirname \"$PRG\"`/" >/dev/null 60 | APP_HOME="`pwd -P`" 61 | cd "$SAVED" >/dev/null 62 | 63 | CLASSPATH=$APP_HOME/gradle/wrapper/gradle-wrapper.jar 64 | 65 | # Determine the Java command to use to start the JVM. 66 | if [ -n "$JAVA_HOME" ] ; then 67 | if [ -x "$JAVA_HOME/jre/sh/java" ] ; then 68 | # IBM's JDK on AIX uses strange locations for the executables 69 | JAVACMD="$JAVA_HOME/jre/sh/java" 70 | else 71 | JAVACMD="$JAVA_HOME/bin/java" 72 | fi 73 | if [ ! -x "$JAVACMD" ] ; then 74 | die "ERROR: JAVA_HOME is set to an invalid directory: $JAVA_HOME 75 | 76 | Please set the JAVA_HOME variable in your environment to match the 77 | location of your Java installation." 78 | fi 79 | else 80 | JAVACMD="java" 81 | which java >/dev/null 2>&1 || die "ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH. 82 | 83 | Please set the JAVA_HOME variable in your environment to match the 84 | location of your Java installation." 85 | fi 86 | 87 | # Increase the maximum file descriptors if we can. 88 | if [ "$cygwin" = "false" -a "$darwin" = "false" ] ; then 89 | MAX_FD_LIMIT=`ulimit -H -n` 90 | if [ $? -eq 0 ] ; then 91 | if [ "$MAX_FD" = "maximum" -o "$MAX_FD" = "max" ] ; then 92 | MAX_FD="$MAX_FD_LIMIT" 93 | fi 94 | ulimit -n $MAX_FD 95 | if [ $? -ne 0 ] ; then 96 | warn "Could not set maximum file descriptor limit: $MAX_FD" 97 | fi 98 | else 99 | warn "Could not query maximum file descriptor limit: $MAX_FD_LIMIT" 100 | fi 101 | fi 102 | 103 | # For Darwin, add options to specify how the application appears in the dock 104 | if $darwin; then 105 | GRADLE_OPTS="$GRADLE_OPTS \"-Xdock:name=$APP_NAME\" \"-Xdock:icon=$APP_HOME/media/gradle.icns\"" 106 | fi 107 | 108 | # For Cygwin, switch paths to Windows format before running java 109 | if $cygwin ; then 110 | APP_HOME=`cygpath --path --mixed "$APP_HOME"` 111 | CLASSPATH=`cygpath --path --mixed "$CLASSPATH"` 112 | JAVACMD=`cygpath --unix "$JAVACMD"` 113 | 114 | # We build the pattern for arguments to be converted via cygpath 115 | ROOTDIRSRAW=`find -L / -maxdepth 1 -mindepth 1 -type d 2>/dev/null` 116 | SEP="" 117 | for dir in $ROOTDIRSRAW ; do 118 | ROOTDIRS="$ROOTDIRS$SEP$dir" 119 | SEP="|" 120 | done 121 | OURCYGPATTERN="(^($ROOTDIRS))" 122 | # Add a user-defined pattern to the cygpath arguments 123 | if [ "$GRADLE_CYGPATTERN" != "" ] ; then 124 | OURCYGPATTERN="$OURCYGPATTERN|($GRADLE_CYGPATTERN)" 125 | fi 126 | # Now convert the arguments - kludge to limit ourselves to /bin/sh 127 | i=0 128 | for arg in "$@" ; do 129 | CHECK=`echo "$arg"|egrep -c "$OURCYGPATTERN" -` 130 | CHECK2=`echo "$arg"|egrep -c "^-"` ### Determine if an option 131 | 132 | if [ $CHECK -ne 0 ] && [ $CHECK2 -eq 0 ] ; then ### Added a condition 133 | eval `echo args$i`=`cygpath --path --ignore --mixed "$arg"` 134 | else 135 | eval `echo args$i`="\"$arg\"" 136 | fi 137 | i=$((i+1)) 138 | done 139 | case $i in 140 | (0) set -- ;; 141 | (1) set -- "$args0" ;; 142 | (2) set -- "$args0" "$args1" ;; 143 | (3) set -- "$args0" "$args1" "$args2" ;; 144 | (4) set -- "$args0" "$args1" "$args2" "$args3" ;; 145 | (5) set -- "$args0" "$args1" "$args2" "$args3" "$args4" ;; 146 | (6) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" ;; 147 | (7) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" ;; 148 | (8) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" "$args7" ;; 149 | (9) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" "$args7" "$args8" ;; 150 | esac 151 | fi 152 | 153 | # Split up the JVM_OPTS And GRADLE_OPTS values into an array, following the shell quoting and substitution rules 154 | function splitJvmOpts() { 155 | JVM_OPTS=("$@") 156 | } 157 | eval splitJvmOpts $DEFAULT_JVM_OPTS $JAVA_OPTS $GRADLE_OPTS 158 | JVM_OPTS[${#JVM_OPTS[*]}]="-Dorg.gradle.appname=$APP_BASE_NAME" 159 | 160 | exec "$JAVACMD" "${JVM_OPTS[@]}" -classpath "$CLASSPATH" org.gradle.wrapper.GradleWrapperMain "$@" 161 | -------------------------------------------------------------------------------- /gradlew.bat: -------------------------------------------------------------------------------- 1 | @if "%DEBUG%" == "" @echo off 2 | @rem ########################################################################## 3 | @rem 4 | @rem Gradle startup script for Windows 5 | @rem 6 | @rem ########################################################################## 7 | 8 | @rem Set local scope for the variables with windows NT shell 9 | if "%OS%"=="Windows_NT" setlocal 10 | 11 | @rem Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script. 12 | set DEFAULT_JVM_OPTS= 13 | 14 | set DIRNAME=%~dp0 15 | if "%DIRNAME%" == "" set DIRNAME=. 16 | set APP_BASE_NAME=%~n0 17 | set APP_HOME=%DIRNAME% 18 | 19 | @rem Find java.exe 20 | if defined JAVA_HOME goto findJavaFromJavaHome 21 | 22 | set JAVA_EXE=java.exe 23 | %JAVA_EXE% -version >NUL 2>&1 24 | if "%ERRORLEVEL%" == "0" goto init 25 | 26 | echo. 27 | echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH. 28 | echo. 29 | echo Please set the JAVA_HOME variable in your environment to match the 30 | echo location of your Java installation. 31 | 32 | goto fail 33 | 34 | :findJavaFromJavaHome 35 | set JAVA_HOME=%JAVA_HOME:"=% 36 | set JAVA_EXE=%JAVA_HOME%/bin/java.exe 37 | 38 | if exist "%JAVA_EXE%" goto init 39 | 40 | echo. 41 | echo ERROR: JAVA_HOME is set to an invalid directory: %JAVA_HOME% 42 | echo. 43 | echo Please set the JAVA_HOME variable in your environment to match the 44 | echo location of your Java installation. 45 | 46 | goto fail 47 | 48 | :init 49 | @rem Get command-line arguments, handling Windowz variants 50 | 51 | if not "%OS%" == "Windows_NT" goto win9xME_args 52 | if "%@eval[2+2]" == "4" goto 4NT_args 53 | 54 | :win9xME_args 55 | @rem Slurp the command line arguments. 56 | set CMD_LINE_ARGS= 57 | set _SKIP=2 58 | 59 | :win9xME_args_slurp 60 | if "x%~1" == "x" goto execute 61 | 62 | set CMD_LINE_ARGS=%* 63 | goto execute 64 | 65 | :4NT_args 66 | @rem Get arguments from the 4NT Shell from JP Software 67 | set CMD_LINE_ARGS=%$ 68 | 69 | :execute 70 | @rem Setup the command line 71 | 72 | set CLASSPATH=%APP_HOME%\gradle\wrapper\gradle-wrapper.jar 73 | 74 | @rem Execute Gradle 75 | "%JAVA_EXE%" %DEFAULT_JVM_OPTS% %JAVA_OPTS% %GRADLE_OPTS% "-Dorg.gradle.appname=%APP_BASE_NAME%" -classpath "%CLASSPATH%" org.gradle.wrapper.GradleWrapperMain %CMD_LINE_ARGS% 76 | 77 | :end 78 | @rem End local scope for the variables with windows NT shell 79 | if "%ERRORLEVEL%"=="0" goto mainEnd 80 | 81 | :fail 82 | rem Set variable GRADLE_EXIT_CONSOLE if you need the _script_ return code instead of 83 | rem the _cmd.exe /c_ return code! 84 | if not "" == "%GRADLE_EXIT_CONSOLE%" exit 1 85 | exit /b 1 86 | 87 | :mainEnd 88 | if "%OS%"=="Windows_NT" endlocal 89 | 90 | :omega 91 | -------------------------------------------------------------------------------- /settings.gradle: -------------------------------------------------------------------------------- 1 | include ':Sample', ':Library' 2 | --------------------------------------------------------------------------------