commit 0359f71645851c2fd28867959cf8699631efd3e3 Author: litingting Date: Fri May 16 11:23:57 2025 +0800 V1.0.0(1) diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..165bf57 --- /dev/null +++ b/.gitignore @@ -0,0 +1,18 @@ +*.iml +.gradle +/local.properties +/.idea/caches +/.idea/libraries +/.idea/modules.xml +/.idea/workspace.xml +/.idea/navEditor.xml +/.idea/assetWizardSettings.xml +.DS_Store +/build +/captures +.externalNativeBuild +.cxx +local.properties +app/src/test/java/com/draw/painting/test/ExampleUnitTest.java +.idea/ +.safedk/ diff --git a/app/.gitignore b/app/.gitignore new file mode 100644 index 0000000..42afabf --- /dev/null +++ b/app/.gitignore @@ -0,0 +1 @@ +/build \ No newline at end of file diff --git a/app/ARDrawingArt.jks b/app/ARDrawingArt.jks new file mode 100644 index 0000000..f876def Binary files /dev/null and b/app/ARDrawingArt.jks differ diff --git a/app/build.gradle.kts b/app/build.gradle.kts new file mode 100644 index 0000000..8687261 --- /dev/null +++ b/app/build.gradle.kts @@ -0,0 +1,81 @@ +import java.util.Date +import java.text.SimpleDateFormat + +plugins { + id("com.android.application") + id("org.jetbrains.kotlin.android") +// id("com.google.firebase.crashlytics") +// id("com.google.gms.google-services") + id("io.objectbox") +} +val timestamp = SimpleDateFormat("MM_dd_HH_mm").format(Date()) +android { + namespace = "com.ar.drawing.art" + compileSdk = 34 + + defaultConfig { + //com.ar.drawing.art + applicationId = "com.ar.drawing.art" + minSdk = 23 + targetSdk = 34 + versionCode = 1 + versionName = "1.0.0" + setProperty( + "archivesBaseName", + "AR Drawing Art_V" + versionName + "(${versionCode})_$timestamp" + ) + testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner" + } + + buildTypes { + release { + isMinifyEnabled = true + proguardFiles( + getDefaultProguardFile("proguard-android-optimize.txt"), + "proguard-rules.pro" + ) + } + } + compileOptions { + sourceCompatibility = JavaVersion.VERSION_17 + targetCompatibility = JavaVersion.VERSION_17 + } +// kotlinOptions { +// jvmTarget = "1.8" +// } + buildFeatures { + viewBinding = true + } +} + +dependencies { + + implementation("androidx.appcompat:appcompat:1.7.0") + implementation("com.google.android.material:material:1.12.0") + implementation("androidx.constraintlayout:constraintlayout:2.1.4") +// implementation("com.google.android.gms:play-services-location:21.3.0") + testImplementation("junit:junit:4.13.2") + androidTestImplementation("androidx.test.ext:junit:1.1.5") + androidTestImplementation("androidx.test.espresso:espresso-core:3.5.1") + + val camerax_version = "1.1.0-beta01" + //noinspection GradleDependency + implementation("androidx.camera:camera-core:${camerax_version}") + //noinspection GradleDependency + implementation("androidx.camera:camera-camera2:${camerax_version}") + //noinspection GradleDependency + implementation("androidx.camera:camera-lifecycle:${camerax_version}") + //noinspection GradleDependency +// implementation("androidx.camera:camera-video:${camerax_version}") + //noinspection GradleDependency + implementation("androidx.camera:camera-view:${camerax_version}") + //noinspection GradleDependency + implementation("androidx.camera:camera-extensions:${camerax_version}") + + implementation ("com.squareup.okhttp3:okhttp:4.12.0") + implementation("com.squareup.okhttp3:logging-interceptor:4.12.0") + + implementation("com.google.android.gms:play-services-ads-identifier:18.0.1") + implementation("com.google.android.gms:play-services-appset:16.0.1") + implementation("androidx.lifecycle:lifecycle-runtime-ktx:2.6.2") +} \ No newline at end of file diff --git a/app/objectbox-models/default.json b/app/objectbox-models/default.json new file mode 100644 index 0000000..150e963 --- /dev/null +++ b/app/objectbox-models/default.json @@ -0,0 +1,86 @@ +{ + "_note1": "KEEP THIS FILE! Check it into a version control system (VCS) like git.", + "_note2": "ObjectBox manages crucial IDs for your object model. See docs for details.", + "_note3": "If you have VCS merge conflicts, you must resolve them according to ObjectBox docs.", + "entities": [ + { + "id": "10:3244094072662523330", + "lastPropertyId": "2:3978036598571398197", + "name": "ImportBean", + "properties": [ + { + "id": "1:261527494546032127", + "name": "id", + "type": 6, + "flags": 1 + }, + { + "id": "2:3978036598571398197", + "name": "uri", + "type": 9 + } + ], + "relations": [] + }, + { + "id": "11:6503299487919312691", + "lastPropertyId": "2:2663430810923016221", + "name": "MyBean", + "properties": [ + { + "id": "1:1818749346188857649", + "name": "id", + "type": 6, + "flags": 1 + }, + { + "id": "2:2663430810923016221", + "name": "path", + "type": 9 + } + ], + "relations": [] + } + ], + "lastEntityId": "11:6503299487919312691", + "lastIndexId": "0:0", + "lastRelationId": "0:0", + "lastSequenceId": "0:0", + "modelVersion": 5, + "modelVersionParserMinimum": 5, + "retiredEntityUids": [ + 4752690921563405782, + 3683195988363348208, + 3825568787982449740, + 6657683755955689878, + 407850772463518772, + 7538851138417121743, + 463965928465774918, + 173667538405234965, + 6670847138360228949 + ], + "retiredIndexUids": [], + "retiredPropertyUids": [ + 8935738795063358965, + 6634881448055585465, + 5221624129603754986, + 5984527578734576412, + 804363456560139643, + 1837531769919373488, + 5348030114980625145, + 243415540686520025, + 7391488554923755890, + 481535799621363836, + 8358790201098602109, + 3359943781002877658, + 9141214615690805226, + 6460664315532313231, + 5181380632390917246, + 8753926369376196392, + 3466597009432403945, + 2427539937749311109, + 3904212037995116562 + ], + "retiredRelationUids": [], + "version": 1 +} \ No newline at end of file diff --git a/app/proguard-rules.pro b/app/proguard-rules.pro new file mode 100644 index 0000000..cf50408 --- /dev/null +++ b/app/proguard-rules.pro @@ -0,0 +1,22 @@ +# Add project specific ProGuard rules here. +# You can control the set of applied configuration files using the +# proguardFiles setting in build.gradle. +# +# For more details, see +# http://developer.android.com/guide/developing/tools/proguard.html + +# If your project uses WebView with JS, uncomment the following +# and specify the fully qualified class name to the JavaScript interface +# class: +#-keepclassmembers class fqcn.of.javascript.interface.for.webview { +# public *; +#} + +# Uncomment this to preserve the line number information for +# debugging stack traces. +#-keepattributes SourceFile,LineNumberTable + +# If you keep the line number information, uncomment this to +# hide the original source file name. +#-renamesourcefileattribute SourceFile + diff --git a/app/src/androidTest/java/com/paint/ar/drawing/ExampleInstrumentedTest.java b/app/src/androidTest/java/com/paint/ar/drawing/ExampleInstrumentedTest.java new file mode 100644 index 0000000..da50c03 --- /dev/null +++ b/app/src/androidTest/java/com/paint/ar/drawing/ExampleInstrumentedTest.java @@ -0,0 +1,26 @@ +package com.ar.drawing.art; + +import android.content.Context; + +import androidx.test.platform.app.InstrumentationRegistry; +import androidx.test.ext.junit.runners.AndroidJUnit4; + +import org.junit.Test; +import org.junit.runner.RunWith; + +import static org.junit.Assert.*; + +/** + * Instrumented test, which will execute on an Android device. + * + * @see Testing documentation + */ +@RunWith(AndroidJUnit4.class) +public class ExampleInstrumentedTest { + @Test + public void useAppContext() { + // Context of the app under test. + Context appContext = InstrumentationRegistry.getInstrumentation().getTargetContext(); + assertEquals("com.draw.painting.test", appContext.getPackageName()); + } +} \ No newline at end of file diff --git a/app/src/main/AndroidManifest.xml b/app/src/main/AndroidManifest.xml new file mode 100644 index 0000000..cc27918 --- /dev/null +++ b/app/src/main/AndroidManifest.xml @@ -0,0 +1,58 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/app/src/main/assets/myfont.ttf b/app/src/main/assets/myfont.ttf new file mode 100644 index 0000000..23e4502 Binary files /dev/null and b/app/src/main/assets/myfont.ttf differ diff --git a/app/src/main/assets/res_Animals/1.jpg b/app/src/main/assets/res_Animals/1.jpg new file mode 100644 index 0000000..9488c65 Binary files /dev/null and b/app/src/main/assets/res_Animals/1.jpg differ diff --git a/app/src/main/assets/res_Animals/10.jpg b/app/src/main/assets/res_Animals/10.jpg new file mode 100644 index 0000000..78382a4 Binary files /dev/null and b/app/src/main/assets/res_Animals/10.jpg differ diff --git a/app/src/main/assets/res_Animals/11.jpg b/app/src/main/assets/res_Animals/11.jpg new file mode 100644 index 0000000..a4f7512 Binary files /dev/null and b/app/src/main/assets/res_Animals/11.jpg differ diff --git a/app/src/main/assets/res_Animals/12.jpg b/app/src/main/assets/res_Animals/12.jpg new file mode 100644 index 0000000..bab3cff Binary files /dev/null and b/app/src/main/assets/res_Animals/12.jpg differ diff --git a/app/src/main/assets/res_Animals/13.jpg b/app/src/main/assets/res_Animals/13.jpg new file mode 100644 index 0000000..5c3ef19 Binary files /dev/null and b/app/src/main/assets/res_Animals/13.jpg differ diff --git a/app/src/main/assets/res_Animals/14.jpg b/app/src/main/assets/res_Animals/14.jpg new file mode 100644 index 0000000..8b446f2 Binary files /dev/null and b/app/src/main/assets/res_Animals/14.jpg differ diff --git a/app/src/main/assets/res_Animals/15.jpg b/app/src/main/assets/res_Animals/15.jpg new file mode 100644 index 0000000..2f9dc4e Binary files /dev/null and b/app/src/main/assets/res_Animals/15.jpg differ diff --git a/app/src/main/assets/res_Animals/16.jpg b/app/src/main/assets/res_Animals/16.jpg new file mode 100644 index 0000000..aad9788 Binary files /dev/null and b/app/src/main/assets/res_Animals/16.jpg differ diff --git a/app/src/main/assets/res_Animals/17.jpg b/app/src/main/assets/res_Animals/17.jpg new file mode 100644 index 0000000..17c6f07 Binary files /dev/null and b/app/src/main/assets/res_Animals/17.jpg differ diff --git a/app/src/main/assets/res_Animals/18.jpg b/app/src/main/assets/res_Animals/18.jpg new file mode 100644 index 0000000..2ce93a7 Binary files /dev/null and b/app/src/main/assets/res_Animals/18.jpg differ diff --git a/app/src/main/assets/res_Animals/19.jpg b/app/src/main/assets/res_Animals/19.jpg new file mode 100644 index 0000000..2b24f31 Binary files /dev/null and b/app/src/main/assets/res_Animals/19.jpg differ diff --git a/app/src/main/assets/res_Animals/2.jpg b/app/src/main/assets/res_Animals/2.jpg new file mode 100644 index 0000000..0a0c2e7 Binary files /dev/null and b/app/src/main/assets/res_Animals/2.jpg differ diff --git a/app/src/main/assets/res_Animals/20.jpg b/app/src/main/assets/res_Animals/20.jpg new file mode 100644 index 0000000..347cddc Binary files /dev/null and b/app/src/main/assets/res_Animals/20.jpg differ diff --git a/app/src/main/assets/res_Animals/21.jpg b/app/src/main/assets/res_Animals/21.jpg new file mode 100644 index 0000000..5a04764 Binary files /dev/null and b/app/src/main/assets/res_Animals/21.jpg differ diff --git a/app/src/main/assets/res_Animals/22.jpg b/app/src/main/assets/res_Animals/22.jpg new file mode 100644 index 0000000..c18d8ad Binary files /dev/null and b/app/src/main/assets/res_Animals/22.jpg differ diff --git a/app/src/main/assets/res_Animals/23.jpg b/app/src/main/assets/res_Animals/23.jpg new file mode 100644 index 0000000..4270d19 Binary files /dev/null and b/app/src/main/assets/res_Animals/23.jpg differ diff --git a/app/src/main/assets/res_Animals/24.jpg b/app/src/main/assets/res_Animals/24.jpg new file mode 100644 index 0000000..355a944 Binary files /dev/null and b/app/src/main/assets/res_Animals/24.jpg differ diff --git a/app/src/main/assets/res_Animals/25.jpg b/app/src/main/assets/res_Animals/25.jpg new file mode 100644 index 0000000..c670943 Binary files /dev/null and b/app/src/main/assets/res_Animals/25.jpg differ diff --git a/app/src/main/assets/res_Animals/26.jpg b/app/src/main/assets/res_Animals/26.jpg new file mode 100644 index 0000000..4b95b01 Binary files /dev/null and b/app/src/main/assets/res_Animals/26.jpg differ diff --git a/app/src/main/assets/res_Animals/27.jpg b/app/src/main/assets/res_Animals/27.jpg new file mode 100644 index 0000000..87a8c12 Binary files /dev/null and b/app/src/main/assets/res_Animals/27.jpg differ diff --git a/app/src/main/assets/res_Animals/28.jpg b/app/src/main/assets/res_Animals/28.jpg new file mode 100644 index 0000000..770686a Binary files /dev/null and b/app/src/main/assets/res_Animals/28.jpg differ diff --git a/app/src/main/assets/res_Animals/29.jpg b/app/src/main/assets/res_Animals/29.jpg new file mode 100644 index 0000000..7127a11 Binary files /dev/null and b/app/src/main/assets/res_Animals/29.jpg differ diff --git a/app/src/main/assets/res_Animals/3.jpg b/app/src/main/assets/res_Animals/3.jpg new file mode 100644 index 0000000..4bf4897 Binary files /dev/null and b/app/src/main/assets/res_Animals/3.jpg differ diff --git a/app/src/main/assets/res_Animals/30.jpg b/app/src/main/assets/res_Animals/30.jpg new file mode 100644 index 0000000..f1d2047 Binary files /dev/null and b/app/src/main/assets/res_Animals/30.jpg differ diff --git a/app/src/main/assets/res_Animals/31.jpg b/app/src/main/assets/res_Animals/31.jpg new file mode 100644 index 0000000..0d08aa8 Binary files /dev/null and b/app/src/main/assets/res_Animals/31.jpg differ diff --git a/app/src/main/assets/res_Animals/4.jpg b/app/src/main/assets/res_Animals/4.jpg new file mode 100644 index 0000000..838c582 Binary files /dev/null and b/app/src/main/assets/res_Animals/4.jpg differ diff --git a/app/src/main/assets/res_Animals/5.jpg b/app/src/main/assets/res_Animals/5.jpg new file mode 100644 index 0000000..36bd2bf Binary files /dev/null and b/app/src/main/assets/res_Animals/5.jpg differ diff --git a/app/src/main/assets/res_Animals/6.jpg b/app/src/main/assets/res_Animals/6.jpg new file mode 100644 index 0000000..dceb49b Binary files /dev/null and b/app/src/main/assets/res_Animals/6.jpg differ diff --git a/app/src/main/assets/res_Animals/7.jpg b/app/src/main/assets/res_Animals/7.jpg new file mode 100644 index 0000000..ebd4694 Binary files /dev/null and b/app/src/main/assets/res_Animals/7.jpg differ diff --git a/app/src/main/assets/res_Animals/8.jpg b/app/src/main/assets/res_Animals/8.jpg new file mode 100644 index 0000000..e5e3c63 Binary files /dev/null and b/app/src/main/assets/res_Animals/8.jpg differ diff --git a/app/src/main/assets/res_Animals/9.jpg b/app/src/main/assets/res_Animals/9.jpg new file mode 100644 index 0000000..e7a1862 Binary files /dev/null and b/app/src/main/assets/res_Animals/9.jpg differ diff --git a/app/src/main/assets/res_Birds/1.jpg b/app/src/main/assets/res_Birds/1.jpg new file mode 100644 index 0000000..d235225 Binary files /dev/null and b/app/src/main/assets/res_Birds/1.jpg differ diff --git a/app/src/main/assets/res_Birds/10.jpg b/app/src/main/assets/res_Birds/10.jpg new file mode 100644 index 0000000..e348ffe Binary files /dev/null and b/app/src/main/assets/res_Birds/10.jpg differ diff --git a/app/src/main/assets/res_Birds/11.jpg b/app/src/main/assets/res_Birds/11.jpg new file mode 100644 index 0000000..921b5b9 Binary files /dev/null and b/app/src/main/assets/res_Birds/11.jpg differ diff --git a/app/src/main/assets/res_Birds/12.jpg b/app/src/main/assets/res_Birds/12.jpg new file mode 100644 index 0000000..7b4055b Binary files /dev/null and b/app/src/main/assets/res_Birds/12.jpg differ diff --git a/app/src/main/assets/res_Birds/13.jpg b/app/src/main/assets/res_Birds/13.jpg new file mode 100644 index 0000000..021b7a4 Binary files /dev/null and b/app/src/main/assets/res_Birds/13.jpg differ diff --git a/app/src/main/assets/res_Birds/14.jpg b/app/src/main/assets/res_Birds/14.jpg new file mode 100644 index 0000000..2074c6f Binary files /dev/null and b/app/src/main/assets/res_Birds/14.jpg differ diff --git a/app/src/main/assets/res_Birds/15.jpg b/app/src/main/assets/res_Birds/15.jpg new file mode 100644 index 0000000..59b0e47 Binary files /dev/null and b/app/src/main/assets/res_Birds/15.jpg differ diff --git a/app/src/main/assets/res_Birds/16.jpg b/app/src/main/assets/res_Birds/16.jpg new file mode 100644 index 0000000..fe950d1 Binary files /dev/null and b/app/src/main/assets/res_Birds/16.jpg differ diff --git a/app/src/main/assets/res_Birds/17.jpg b/app/src/main/assets/res_Birds/17.jpg new file mode 100644 index 0000000..484f39a Binary files /dev/null and b/app/src/main/assets/res_Birds/17.jpg differ diff --git a/app/src/main/assets/res_Birds/18.jpg b/app/src/main/assets/res_Birds/18.jpg new file mode 100644 index 0000000..2792ed1 Binary files /dev/null and b/app/src/main/assets/res_Birds/18.jpg differ diff --git a/app/src/main/assets/res_Birds/19.jpg b/app/src/main/assets/res_Birds/19.jpg new file mode 100644 index 0000000..9e9bb27 Binary files /dev/null and b/app/src/main/assets/res_Birds/19.jpg differ diff --git a/app/src/main/assets/res_Birds/2.jpg b/app/src/main/assets/res_Birds/2.jpg new file mode 100644 index 0000000..0929272 Binary files /dev/null and b/app/src/main/assets/res_Birds/2.jpg differ diff --git a/app/src/main/assets/res_Birds/3.jpg b/app/src/main/assets/res_Birds/3.jpg new file mode 100644 index 0000000..1376a50 Binary files /dev/null and b/app/src/main/assets/res_Birds/3.jpg differ diff --git a/app/src/main/assets/res_Birds/4.jpg b/app/src/main/assets/res_Birds/4.jpg new file mode 100644 index 0000000..1cd8f9c Binary files /dev/null and b/app/src/main/assets/res_Birds/4.jpg differ diff --git a/app/src/main/assets/res_Birds/5.jpg b/app/src/main/assets/res_Birds/5.jpg new file mode 100644 index 0000000..7637589 Binary files /dev/null and b/app/src/main/assets/res_Birds/5.jpg differ diff --git a/app/src/main/assets/res_Birds/6.jpg b/app/src/main/assets/res_Birds/6.jpg new file mode 100644 index 0000000..3bf16b6 Binary files /dev/null and b/app/src/main/assets/res_Birds/6.jpg differ diff --git a/app/src/main/assets/res_Birds/7.jpg b/app/src/main/assets/res_Birds/7.jpg new file mode 100644 index 0000000..076e51d Binary files /dev/null and b/app/src/main/assets/res_Birds/7.jpg differ diff --git a/app/src/main/assets/res_Birds/8.jpg b/app/src/main/assets/res_Birds/8.jpg new file mode 100644 index 0000000..71f5cf7 Binary files /dev/null and b/app/src/main/assets/res_Birds/8.jpg differ diff --git a/app/src/main/assets/res_Birds/9.jpg b/app/src/main/assets/res_Birds/9.jpg new file mode 100644 index 0000000..8767032 Binary files /dev/null and b/app/src/main/assets/res_Birds/9.jpg differ diff --git a/app/src/main/assets/res_Butterfly/1.jpg b/app/src/main/assets/res_Butterfly/1.jpg new file mode 100644 index 0000000..0d713b7 Binary files /dev/null and b/app/src/main/assets/res_Butterfly/1.jpg differ diff --git a/app/src/main/assets/res_Butterfly/10.jpg b/app/src/main/assets/res_Butterfly/10.jpg new file mode 100644 index 0000000..ae497c8 Binary files /dev/null and b/app/src/main/assets/res_Butterfly/10.jpg differ diff --git a/app/src/main/assets/res_Butterfly/11.jpg b/app/src/main/assets/res_Butterfly/11.jpg new file mode 100644 index 0000000..d2e39ef Binary files /dev/null and b/app/src/main/assets/res_Butterfly/11.jpg differ diff --git a/app/src/main/assets/res_Butterfly/12.jpg b/app/src/main/assets/res_Butterfly/12.jpg new file mode 100644 index 0000000..410af7c Binary files /dev/null and b/app/src/main/assets/res_Butterfly/12.jpg differ diff --git a/app/src/main/assets/res_Butterfly/13.jpg b/app/src/main/assets/res_Butterfly/13.jpg new file mode 100644 index 0000000..233a998 Binary files /dev/null and b/app/src/main/assets/res_Butterfly/13.jpg differ diff --git a/app/src/main/assets/res_Butterfly/14.jpg b/app/src/main/assets/res_Butterfly/14.jpg new file mode 100644 index 0000000..9545c0f Binary files /dev/null and b/app/src/main/assets/res_Butterfly/14.jpg differ diff --git a/app/src/main/assets/res_Butterfly/15.jpg b/app/src/main/assets/res_Butterfly/15.jpg new file mode 100644 index 0000000..aa0da5b Binary files /dev/null and b/app/src/main/assets/res_Butterfly/15.jpg differ diff --git a/app/src/main/assets/res_Butterfly/16.jpg b/app/src/main/assets/res_Butterfly/16.jpg new file mode 100644 index 0000000..4b118cf Binary files /dev/null and b/app/src/main/assets/res_Butterfly/16.jpg differ diff --git a/app/src/main/assets/res_Butterfly/17.jpg b/app/src/main/assets/res_Butterfly/17.jpg new file mode 100644 index 0000000..ebfdc2e Binary files /dev/null and b/app/src/main/assets/res_Butterfly/17.jpg differ diff --git a/app/src/main/assets/res_Butterfly/18.jpg b/app/src/main/assets/res_Butterfly/18.jpg new file mode 100644 index 0000000..7b81ca1 Binary files /dev/null and b/app/src/main/assets/res_Butterfly/18.jpg differ diff --git a/app/src/main/assets/res_Butterfly/19.jpg b/app/src/main/assets/res_Butterfly/19.jpg new file mode 100644 index 0000000..903fd82 Binary files /dev/null and b/app/src/main/assets/res_Butterfly/19.jpg differ diff --git a/app/src/main/assets/res_Butterfly/2.jpg b/app/src/main/assets/res_Butterfly/2.jpg new file mode 100644 index 0000000..f92c438 Binary files /dev/null and b/app/src/main/assets/res_Butterfly/2.jpg differ diff --git a/app/src/main/assets/res_Butterfly/20.jpg b/app/src/main/assets/res_Butterfly/20.jpg new file mode 100644 index 0000000..7d0dc2e Binary files /dev/null and b/app/src/main/assets/res_Butterfly/20.jpg differ diff --git a/app/src/main/assets/res_Butterfly/21.jpg b/app/src/main/assets/res_Butterfly/21.jpg new file mode 100644 index 0000000..ff82d93 Binary files /dev/null and b/app/src/main/assets/res_Butterfly/21.jpg differ diff --git a/app/src/main/assets/res_Butterfly/3.jpg b/app/src/main/assets/res_Butterfly/3.jpg new file mode 100644 index 0000000..5251134 Binary files /dev/null and b/app/src/main/assets/res_Butterfly/3.jpg differ diff --git a/app/src/main/assets/res_Butterfly/4.jpg b/app/src/main/assets/res_Butterfly/4.jpg new file mode 100644 index 0000000..01d5932 Binary files /dev/null and b/app/src/main/assets/res_Butterfly/4.jpg differ diff --git a/app/src/main/assets/res_Butterfly/5.jpg b/app/src/main/assets/res_Butterfly/5.jpg new file mode 100644 index 0000000..cc99ed5 Binary files /dev/null and b/app/src/main/assets/res_Butterfly/5.jpg differ diff --git a/app/src/main/assets/res_Butterfly/6.jpg b/app/src/main/assets/res_Butterfly/6.jpg new file mode 100644 index 0000000..6d02805 Binary files /dev/null and b/app/src/main/assets/res_Butterfly/6.jpg differ diff --git a/app/src/main/assets/res_Butterfly/7.jpg b/app/src/main/assets/res_Butterfly/7.jpg new file mode 100644 index 0000000..dd52dbd Binary files /dev/null and b/app/src/main/assets/res_Butterfly/7.jpg differ diff --git a/app/src/main/assets/res_Butterfly/8.jpg b/app/src/main/assets/res_Butterfly/8.jpg new file mode 100644 index 0000000..d519ca7 Binary files /dev/null and b/app/src/main/assets/res_Butterfly/8.jpg differ diff --git a/app/src/main/assets/res_Butterfly/9.jpg b/app/src/main/assets/res_Butterfly/9.jpg new file mode 100644 index 0000000..0cedb47 Binary files /dev/null and b/app/src/main/assets/res_Butterfly/9.jpg differ diff --git a/app/src/main/assets/res_Cafe/1.jpg b/app/src/main/assets/res_Cafe/1.jpg new file mode 100644 index 0000000..b347b44 Binary files /dev/null and b/app/src/main/assets/res_Cafe/1.jpg differ diff --git a/app/src/main/assets/res_Cafe/10.jpg b/app/src/main/assets/res_Cafe/10.jpg new file mode 100644 index 0000000..3728490 Binary files /dev/null and b/app/src/main/assets/res_Cafe/10.jpg differ diff --git a/app/src/main/assets/res_Cafe/11.jpg b/app/src/main/assets/res_Cafe/11.jpg new file mode 100644 index 0000000..bff21e1 Binary files /dev/null and b/app/src/main/assets/res_Cafe/11.jpg differ diff --git a/app/src/main/assets/res_Cafe/12.jpg b/app/src/main/assets/res_Cafe/12.jpg new file mode 100644 index 0000000..3966d4a Binary files /dev/null and b/app/src/main/assets/res_Cafe/12.jpg differ diff --git a/app/src/main/assets/res_Cafe/13.jpg b/app/src/main/assets/res_Cafe/13.jpg new file mode 100644 index 0000000..8200e12 Binary files /dev/null and b/app/src/main/assets/res_Cafe/13.jpg differ diff --git a/app/src/main/assets/res_Cafe/14.jpg b/app/src/main/assets/res_Cafe/14.jpg new file mode 100644 index 0000000..65ee383 Binary files /dev/null and b/app/src/main/assets/res_Cafe/14.jpg differ diff --git a/app/src/main/assets/res_Cafe/15.jpg b/app/src/main/assets/res_Cafe/15.jpg new file mode 100644 index 0000000..01df5e5 Binary files /dev/null and b/app/src/main/assets/res_Cafe/15.jpg differ diff --git a/app/src/main/assets/res_Cafe/16.jpg b/app/src/main/assets/res_Cafe/16.jpg new file mode 100644 index 0000000..ff679c1 Binary files /dev/null and b/app/src/main/assets/res_Cafe/16.jpg differ diff --git a/app/src/main/assets/res_Cafe/17.jpg b/app/src/main/assets/res_Cafe/17.jpg new file mode 100644 index 0000000..42fdf87 Binary files /dev/null and b/app/src/main/assets/res_Cafe/17.jpg differ diff --git a/app/src/main/assets/res_Cafe/18.jpg b/app/src/main/assets/res_Cafe/18.jpg new file mode 100644 index 0000000..06d300e Binary files /dev/null and b/app/src/main/assets/res_Cafe/18.jpg differ diff --git a/app/src/main/assets/res_Cafe/19.jpg b/app/src/main/assets/res_Cafe/19.jpg new file mode 100644 index 0000000..42aaa2c Binary files /dev/null and b/app/src/main/assets/res_Cafe/19.jpg differ diff --git a/app/src/main/assets/res_Cafe/2.jpg b/app/src/main/assets/res_Cafe/2.jpg new file mode 100644 index 0000000..14d9b25 Binary files /dev/null and b/app/src/main/assets/res_Cafe/2.jpg differ diff --git a/app/src/main/assets/res_Cafe/20.jpg b/app/src/main/assets/res_Cafe/20.jpg new file mode 100644 index 0000000..5dad84c Binary files /dev/null and b/app/src/main/assets/res_Cafe/20.jpg differ diff --git a/app/src/main/assets/res_Cafe/21.jpg b/app/src/main/assets/res_Cafe/21.jpg new file mode 100644 index 0000000..c019faa Binary files /dev/null and b/app/src/main/assets/res_Cafe/21.jpg differ diff --git a/app/src/main/assets/res_Cafe/22.jpg b/app/src/main/assets/res_Cafe/22.jpg new file mode 100644 index 0000000..28cdc4e Binary files /dev/null and b/app/src/main/assets/res_Cafe/22.jpg differ diff --git a/app/src/main/assets/res_Cafe/23.jpg b/app/src/main/assets/res_Cafe/23.jpg new file mode 100644 index 0000000..973a5c2 Binary files /dev/null and b/app/src/main/assets/res_Cafe/23.jpg differ diff --git a/app/src/main/assets/res_Cafe/24.jpg b/app/src/main/assets/res_Cafe/24.jpg new file mode 100644 index 0000000..3c36d8a Binary files /dev/null and b/app/src/main/assets/res_Cafe/24.jpg differ diff --git a/app/src/main/assets/res_Cafe/25.jpg b/app/src/main/assets/res_Cafe/25.jpg new file mode 100644 index 0000000..c7be496 Binary files /dev/null and b/app/src/main/assets/res_Cafe/25.jpg differ diff --git a/app/src/main/assets/res_Cafe/26.jpg b/app/src/main/assets/res_Cafe/26.jpg new file mode 100644 index 0000000..7229696 Binary files /dev/null and b/app/src/main/assets/res_Cafe/26.jpg differ diff --git a/app/src/main/assets/res_Cafe/27.jpg b/app/src/main/assets/res_Cafe/27.jpg new file mode 100644 index 0000000..f857542 Binary files /dev/null and b/app/src/main/assets/res_Cafe/27.jpg differ diff --git a/app/src/main/assets/res_Cafe/28.jpg b/app/src/main/assets/res_Cafe/28.jpg new file mode 100644 index 0000000..8cde6de Binary files /dev/null and b/app/src/main/assets/res_Cafe/28.jpg differ diff --git a/app/src/main/assets/res_Cafe/29.jpg b/app/src/main/assets/res_Cafe/29.jpg new file mode 100644 index 0000000..8affd30 Binary files /dev/null and b/app/src/main/assets/res_Cafe/29.jpg differ diff --git a/app/src/main/assets/res_Cafe/3.jpg b/app/src/main/assets/res_Cafe/3.jpg new file mode 100644 index 0000000..b1c3cfa Binary files /dev/null and b/app/src/main/assets/res_Cafe/3.jpg differ diff --git a/app/src/main/assets/res_Cafe/30.jpg b/app/src/main/assets/res_Cafe/30.jpg new file mode 100644 index 0000000..f71ce84 Binary files /dev/null and b/app/src/main/assets/res_Cafe/30.jpg differ diff --git a/app/src/main/assets/res_Cafe/31.jpg b/app/src/main/assets/res_Cafe/31.jpg new file mode 100644 index 0000000..a5d22ca Binary files /dev/null and b/app/src/main/assets/res_Cafe/31.jpg differ diff --git a/app/src/main/assets/res_Cafe/32.jpg b/app/src/main/assets/res_Cafe/32.jpg new file mode 100644 index 0000000..8513a5e Binary files /dev/null and b/app/src/main/assets/res_Cafe/32.jpg differ diff --git a/app/src/main/assets/res_Cafe/33.jpg b/app/src/main/assets/res_Cafe/33.jpg new file mode 100644 index 0000000..fcdcbcc Binary files /dev/null and b/app/src/main/assets/res_Cafe/33.jpg differ diff --git a/app/src/main/assets/res_Cafe/34.jpg b/app/src/main/assets/res_Cafe/34.jpg new file mode 100644 index 0000000..51bbf4b Binary files /dev/null and b/app/src/main/assets/res_Cafe/34.jpg differ diff --git a/app/src/main/assets/res_Cafe/35.jpg b/app/src/main/assets/res_Cafe/35.jpg new file mode 100644 index 0000000..e1067da Binary files /dev/null and b/app/src/main/assets/res_Cafe/35.jpg differ diff --git a/app/src/main/assets/res_Cafe/36.jpg b/app/src/main/assets/res_Cafe/36.jpg new file mode 100644 index 0000000..181a84a Binary files /dev/null and b/app/src/main/assets/res_Cafe/36.jpg differ diff --git a/app/src/main/assets/res_Cafe/37.jpg b/app/src/main/assets/res_Cafe/37.jpg new file mode 100644 index 0000000..d8ffb00 Binary files /dev/null and b/app/src/main/assets/res_Cafe/37.jpg differ diff --git a/app/src/main/assets/res_Cafe/38.jpg b/app/src/main/assets/res_Cafe/38.jpg new file mode 100644 index 0000000..abdba50 Binary files /dev/null and b/app/src/main/assets/res_Cafe/38.jpg differ diff --git a/app/src/main/assets/res_Cafe/4.jpg b/app/src/main/assets/res_Cafe/4.jpg new file mode 100644 index 0000000..8792f16 Binary files /dev/null and b/app/src/main/assets/res_Cafe/4.jpg differ diff --git a/app/src/main/assets/res_Cafe/5.jpg b/app/src/main/assets/res_Cafe/5.jpg new file mode 100644 index 0000000..89630aa Binary files /dev/null and b/app/src/main/assets/res_Cafe/5.jpg differ diff --git a/app/src/main/assets/res_Cafe/6.jpg b/app/src/main/assets/res_Cafe/6.jpg new file mode 100644 index 0000000..7e6832e Binary files /dev/null and b/app/src/main/assets/res_Cafe/6.jpg differ diff --git a/app/src/main/assets/res_Cafe/7.jpg b/app/src/main/assets/res_Cafe/7.jpg new file mode 100644 index 0000000..f4d2afb Binary files /dev/null and b/app/src/main/assets/res_Cafe/7.jpg differ diff --git a/app/src/main/assets/res_Cafe/8.jpg b/app/src/main/assets/res_Cafe/8.jpg new file mode 100644 index 0000000..78f5ccf Binary files /dev/null and b/app/src/main/assets/res_Cafe/8.jpg differ diff --git a/app/src/main/assets/res_Cafe/9.jpg b/app/src/main/assets/res_Cafe/9.jpg new file mode 100644 index 0000000..4038bb5 Binary files /dev/null and b/app/src/main/assets/res_Cafe/9.jpg differ diff --git a/app/src/main/assets/res_Cartoons/1.jpg b/app/src/main/assets/res_Cartoons/1.jpg new file mode 100644 index 0000000..74bf123 Binary files /dev/null and b/app/src/main/assets/res_Cartoons/1.jpg differ diff --git a/app/src/main/assets/res_Cartoons/10.jpg b/app/src/main/assets/res_Cartoons/10.jpg new file mode 100644 index 0000000..450fa6e Binary files /dev/null and b/app/src/main/assets/res_Cartoons/10.jpg differ diff --git a/app/src/main/assets/res_Cartoons/11.jpg b/app/src/main/assets/res_Cartoons/11.jpg new file mode 100644 index 0000000..1f2a904 Binary files /dev/null and b/app/src/main/assets/res_Cartoons/11.jpg differ diff --git a/app/src/main/assets/res_Cartoons/12.jpg b/app/src/main/assets/res_Cartoons/12.jpg new file mode 100644 index 0000000..86ef206 Binary files /dev/null and b/app/src/main/assets/res_Cartoons/12.jpg differ diff --git a/app/src/main/assets/res_Cartoons/13.jpg b/app/src/main/assets/res_Cartoons/13.jpg new file mode 100644 index 0000000..92e1d75 Binary files /dev/null and b/app/src/main/assets/res_Cartoons/13.jpg differ diff --git a/app/src/main/assets/res_Cartoons/14.jpg b/app/src/main/assets/res_Cartoons/14.jpg new file mode 100644 index 0000000..c82e897 Binary files /dev/null and b/app/src/main/assets/res_Cartoons/14.jpg differ diff --git a/app/src/main/assets/res_Cartoons/15.jpg b/app/src/main/assets/res_Cartoons/15.jpg new file mode 100644 index 0000000..bcd8678 Binary files /dev/null and b/app/src/main/assets/res_Cartoons/15.jpg differ diff --git a/app/src/main/assets/res_Cartoons/16.jpg b/app/src/main/assets/res_Cartoons/16.jpg new file mode 100644 index 0000000..18377bd Binary files /dev/null and b/app/src/main/assets/res_Cartoons/16.jpg differ diff --git a/app/src/main/assets/res_Cartoons/17.jpg b/app/src/main/assets/res_Cartoons/17.jpg new file mode 100644 index 0000000..45aafbb Binary files /dev/null and b/app/src/main/assets/res_Cartoons/17.jpg differ diff --git a/app/src/main/assets/res_Cartoons/18.jpg b/app/src/main/assets/res_Cartoons/18.jpg new file mode 100644 index 0000000..048d253 Binary files /dev/null and b/app/src/main/assets/res_Cartoons/18.jpg differ diff --git a/app/src/main/assets/res_Cartoons/19.jpg b/app/src/main/assets/res_Cartoons/19.jpg new file mode 100644 index 0000000..c2501b2 Binary files /dev/null and b/app/src/main/assets/res_Cartoons/19.jpg differ diff --git a/app/src/main/assets/res_Cartoons/2.jpg b/app/src/main/assets/res_Cartoons/2.jpg new file mode 100644 index 0000000..8baf95b Binary files /dev/null and b/app/src/main/assets/res_Cartoons/2.jpg differ diff --git a/app/src/main/assets/res_Cartoons/20.jpg b/app/src/main/assets/res_Cartoons/20.jpg new file mode 100644 index 0000000..fb7901c Binary files /dev/null and b/app/src/main/assets/res_Cartoons/20.jpg differ diff --git a/app/src/main/assets/res_Cartoons/21.jpg b/app/src/main/assets/res_Cartoons/21.jpg new file mode 100644 index 0000000..ed7104e Binary files /dev/null and b/app/src/main/assets/res_Cartoons/21.jpg differ diff --git a/app/src/main/assets/res_Cartoons/22.jpg b/app/src/main/assets/res_Cartoons/22.jpg new file mode 100644 index 0000000..cd003eb Binary files /dev/null and b/app/src/main/assets/res_Cartoons/22.jpg differ diff --git a/app/src/main/assets/res_Cartoons/23.jpg b/app/src/main/assets/res_Cartoons/23.jpg new file mode 100644 index 0000000..77b49a4 Binary files /dev/null and b/app/src/main/assets/res_Cartoons/23.jpg differ diff --git a/app/src/main/assets/res_Cartoons/24.jpg b/app/src/main/assets/res_Cartoons/24.jpg new file mode 100644 index 0000000..1c7dc65 Binary files /dev/null and b/app/src/main/assets/res_Cartoons/24.jpg differ diff --git a/app/src/main/assets/res_Cartoons/25.jpg b/app/src/main/assets/res_Cartoons/25.jpg new file mode 100644 index 0000000..442aec2 Binary files /dev/null and b/app/src/main/assets/res_Cartoons/25.jpg differ diff --git a/app/src/main/assets/res_Cartoons/26.jpg b/app/src/main/assets/res_Cartoons/26.jpg new file mode 100644 index 0000000..ec4a2ff Binary files /dev/null and b/app/src/main/assets/res_Cartoons/26.jpg differ diff --git a/app/src/main/assets/res_Cartoons/3.jpg b/app/src/main/assets/res_Cartoons/3.jpg new file mode 100644 index 0000000..e099902 Binary files /dev/null and b/app/src/main/assets/res_Cartoons/3.jpg differ diff --git a/app/src/main/assets/res_Cartoons/4.jpg b/app/src/main/assets/res_Cartoons/4.jpg new file mode 100644 index 0000000..a4c69ba Binary files /dev/null and b/app/src/main/assets/res_Cartoons/4.jpg differ diff --git a/app/src/main/assets/res_Cartoons/5.jpg b/app/src/main/assets/res_Cartoons/5.jpg new file mode 100644 index 0000000..b32485d Binary files /dev/null and b/app/src/main/assets/res_Cartoons/5.jpg differ diff --git a/app/src/main/assets/res_Cartoons/6.jpg b/app/src/main/assets/res_Cartoons/6.jpg new file mode 100644 index 0000000..0e0a7ef Binary files /dev/null and b/app/src/main/assets/res_Cartoons/6.jpg differ diff --git a/app/src/main/assets/res_Cartoons/7.jpg b/app/src/main/assets/res_Cartoons/7.jpg new file mode 100644 index 0000000..ecd8dc0 Binary files /dev/null and b/app/src/main/assets/res_Cartoons/7.jpg differ diff --git a/app/src/main/assets/res_Cartoons/8.jpg b/app/src/main/assets/res_Cartoons/8.jpg new file mode 100644 index 0000000..f6ea587 Binary files /dev/null and b/app/src/main/assets/res_Cartoons/8.jpg differ diff --git a/app/src/main/assets/res_Cartoons/9.jpg b/app/src/main/assets/res_Cartoons/9.jpg new file mode 100644 index 0000000..da4c151 Binary files /dev/null and b/app/src/main/assets/res_Cartoons/9.jpg differ diff --git a/app/src/main/assets/res_Christmas/1.jpg b/app/src/main/assets/res_Christmas/1.jpg new file mode 100644 index 0000000..cc1fafb Binary files /dev/null and b/app/src/main/assets/res_Christmas/1.jpg differ diff --git a/app/src/main/assets/res_Christmas/10.jpg b/app/src/main/assets/res_Christmas/10.jpg new file mode 100644 index 0000000..e5e63d6 Binary files /dev/null and b/app/src/main/assets/res_Christmas/10.jpg differ diff --git a/app/src/main/assets/res_Christmas/11.jpg b/app/src/main/assets/res_Christmas/11.jpg new file mode 100644 index 0000000..cae5d66 Binary files /dev/null and b/app/src/main/assets/res_Christmas/11.jpg differ diff --git a/app/src/main/assets/res_Christmas/12.jpg b/app/src/main/assets/res_Christmas/12.jpg new file mode 100644 index 0000000..13fd21f Binary files /dev/null and b/app/src/main/assets/res_Christmas/12.jpg differ diff --git a/app/src/main/assets/res_Christmas/13.jpg b/app/src/main/assets/res_Christmas/13.jpg new file mode 100644 index 0000000..1fa30fe Binary files /dev/null and b/app/src/main/assets/res_Christmas/13.jpg differ diff --git a/app/src/main/assets/res_Christmas/14.jpg b/app/src/main/assets/res_Christmas/14.jpg new file mode 100644 index 0000000..aec6dcf Binary files /dev/null and b/app/src/main/assets/res_Christmas/14.jpg differ diff --git a/app/src/main/assets/res_Christmas/15.jpg b/app/src/main/assets/res_Christmas/15.jpg new file mode 100644 index 0000000..647c8b6 Binary files /dev/null and b/app/src/main/assets/res_Christmas/15.jpg differ diff --git a/app/src/main/assets/res_Christmas/16.jpg b/app/src/main/assets/res_Christmas/16.jpg new file mode 100644 index 0000000..b36a79c Binary files /dev/null and b/app/src/main/assets/res_Christmas/16.jpg differ diff --git a/app/src/main/assets/res_Christmas/17.jpg b/app/src/main/assets/res_Christmas/17.jpg new file mode 100644 index 0000000..2655af2 Binary files /dev/null and b/app/src/main/assets/res_Christmas/17.jpg differ diff --git a/app/src/main/assets/res_Christmas/18.jpg b/app/src/main/assets/res_Christmas/18.jpg new file mode 100644 index 0000000..e784d64 Binary files /dev/null and b/app/src/main/assets/res_Christmas/18.jpg differ diff --git a/app/src/main/assets/res_Christmas/19.jpg b/app/src/main/assets/res_Christmas/19.jpg new file mode 100644 index 0000000..fcf2085 Binary files /dev/null and b/app/src/main/assets/res_Christmas/19.jpg differ diff --git a/app/src/main/assets/res_Christmas/2.jpg b/app/src/main/assets/res_Christmas/2.jpg new file mode 100644 index 0000000..326e86b Binary files /dev/null and b/app/src/main/assets/res_Christmas/2.jpg differ diff --git a/app/src/main/assets/res_Christmas/20.jpg b/app/src/main/assets/res_Christmas/20.jpg new file mode 100644 index 0000000..a9e3c89 Binary files /dev/null and b/app/src/main/assets/res_Christmas/20.jpg differ diff --git a/app/src/main/assets/res_Christmas/21.jpg b/app/src/main/assets/res_Christmas/21.jpg new file mode 100644 index 0000000..71b4150 Binary files /dev/null and b/app/src/main/assets/res_Christmas/21.jpg differ diff --git a/app/src/main/assets/res_Christmas/22.jpg b/app/src/main/assets/res_Christmas/22.jpg new file mode 100644 index 0000000..3c99d0d Binary files /dev/null and b/app/src/main/assets/res_Christmas/22.jpg differ diff --git a/app/src/main/assets/res_Christmas/23.jpg b/app/src/main/assets/res_Christmas/23.jpg new file mode 100644 index 0000000..32c3b03 Binary files /dev/null and b/app/src/main/assets/res_Christmas/23.jpg differ diff --git a/app/src/main/assets/res_Christmas/24.jpg b/app/src/main/assets/res_Christmas/24.jpg new file mode 100644 index 0000000..80fd836 Binary files /dev/null and b/app/src/main/assets/res_Christmas/24.jpg differ diff --git a/app/src/main/assets/res_Christmas/25.jpg b/app/src/main/assets/res_Christmas/25.jpg new file mode 100644 index 0000000..8e2bef6 Binary files /dev/null and b/app/src/main/assets/res_Christmas/25.jpg differ diff --git a/app/src/main/assets/res_Christmas/3.jpg b/app/src/main/assets/res_Christmas/3.jpg new file mode 100644 index 0000000..4c24cd2 Binary files /dev/null and b/app/src/main/assets/res_Christmas/3.jpg differ diff --git a/app/src/main/assets/res_Christmas/4.jpg b/app/src/main/assets/res_Christmas/4.jpg new file mode 100644 index 0000000..28fb1b0 Binary files /dev/null and b/app/src/main/assets/res_Christmas/4.jpg differ diff --git a/app/src/main/assets/res_Christmas/5.jpg b/app/src/main/assets/res_Christmas/5.jpg new file mode 100644 index 0000000..93ad555 Binary files /dev/null and b/app/src/main/assets/res_Christmas/5.jpg differ diff --git a/app/src/main/assets/res_Christmas/6.jpg b/app/src/main/assets/res_Christmas/6.jpg new file mode 100644 index 0000000..02fe302 Binary files /dev/null and b/app/src/main/assets/res_Christmas/6.jpg differ diff --git a/app/src/main/assets/res_Christmas/7.jpg b/app/src/main/assets/res_Christmas/7.jpg new file mode 100644 index 0000000..dc41982 Binary files /dev/null and b/app/src/main/assets/res_Christmas/7.jpg differ diff --git a/app/src/main/assets/res_Christmas/8.jpg b/app/src/main/assets/res_Christmas/8.jpg new file mode 100644 index 0000000..5f13019 Binary files /dev/null and b/app/src/main/assets/res_Christmas/8.jpg differ diff --git a/app/src/main/assets/res_Christmas/9.jpg b/app/src/main/assets/res_Christmas/9.jpg new file mode 100644 index 0000000..e556980 Binary files /dev/null and b/app/src/main/assets/res_Christmas/9.jpg differ diff --git a/app/src/main/assets/res_Festivals/1.jpg b/app/src/main/assets/res_Festivals/1.jpg new file mode 100644 index 0000000..125d632 Binary files /dev/null and b/app/src/main/assets/res_Festivals/1.jpg differ diff --git a/app/src/main/assets/res_Festivals/10.jpg b/app/src/main/assets/res_Festivals/10.jpg new file mode 100644 index 0000000..d17b9f1 Binary files /dev/null and b/app/src/main/assets/res_Festivals/10.jpg differ diff --git a/app/src/main/assets/res_Festivals/11.jpg b/app/src/main/assets/res_Festivals/11.jpg new file mode 100644 index 0000000..702f052 Binary files /dev/null and b/app/src/main/assets/res_Festivals/11.jpg differ diff --git a/app/src/main/assets/res_Festivals/12.jpg b/app/src/main/assets/res_Festivals/12.jpg new file mode 100644 index 0000000..6f231e1 Binary files /dev/null and b/app/src/main/assets/res_Festivals/12.jpg differ diff --git a/app/src/main/assets/res_Festivals/13.jpg b/app/src/main/assets/res_Festivals/13.jpg new file mode 100644 index 0000000..20556a1 Binary files /dev/null and b/app/src/main/assets/res_Festivals/13.jpg differ diff --git a/app/src/main/assets/res_Festivals/14.jpg b/app/src/main/assets/res_Festivals/14.jpg new file mode 100644 index 0000000..fb78127 Binary files /dev/null and b/app/src/main/assets/res_Festivals/14.jpg differ diff --git a/app/src/main/assets/res_Festivals/15.jpg b/app/src/main/assets/res_Festivals/15.jpg new file mode 100644 index 0000000..e74f47e Binary files /dev/null and b/app/src/main/assets/res_Festivals/15.jpg differ diff --git a/app/src/main/assets/res_Festivals/16.jpg b/app/src/main/assets/res_Festivals/16.jpg new file mode 100644 index 0000000..136f6e8 Binary files /dev/null and b/app/src/main/assets/res_Festivals/16.jpg differ diff --git a/app/src/main/assets/res_Festivals/17.jpg b/app/src/main/assets/res_Festivals/17.jpg new file mode 100644 index 0000000..fd50e67 Binary files /dev/null and b/app/src/main/assets/res_Festivals/17.jpg differ diff --git a/app/src/main/assets/res_Festivals/18.jpg b/app/src/main/assets/res_Festivals/18.jpg new file mode 100644 index 0000000..d3f7936 Binary files /dev/null and b/app/src/main/assets/res_Festivals/18.jpg differ diff --git a/app/src/main/assets/res_Festivals/19.jpg b/app/src/main/assets/res_Festivals/19.jpg new file mode 100644 index 0000000..9a4f1b8 Binary files /dev/null and b/app/src/main/assets/res_Festivals/19.jpg differ diff --git a/app/src/main/assets/res_Festivals/2.jpg b/app/src/main/assets/res_Festivals/2.jpg new file mode 100644 index 0000000..84aa31a Binary files /dev/null and b/app/src/main/assets/res_Festivals/2.jpg differ diff --git a/app/src/main/assets/res_Festivals/20.jpg b/app/src/main/assets/res_Festivals/20.jpg new file mode 100644 index 0000000..268c943 Binary files /dev/null and b/app/src/main/assets/res_Festivals/20.jpg differ diff --git a/app/src/main/assets/res_Festivals/21.jpg b/app/src/main/assets/res_Festivals/21.jpg new file mode 100644 index 0000000..614bffd Binary files /dev/null and b/app/src/main/assets/res_Festivals/21.jpg differ diff --git a/app/src/main/assets/res_Festivals/22.jpg b/app/src/main/assets/res_Festivals/22.jpg new file mode 100644 index 0000000..f81eb8d Binary files /dev/null and b/app/src/main/assets/res_Festivals/22.jpg differ diff --git a/app/src/main/assets/res_Festivals/3.jpg b/app/src/main/assets/res_Festivals/3.jpg new file mode 100644 index 0000000..5ca2b11 Binary files /dev/null and b/app/src/main/assets/res_Festivals/3.jpg differ diff --git a/app/src/main/assets/res_Festivals/4.jpg b/app/src/main/assets/res_Festivals/4.jpg new file mode 100644 index 0000000..1f8cc81 Binary files /dev/null and b/app/src/main/assets/res_Festivals/4.jpg differ diff --git a/app/src/main/assets/res_Festivals/5.jpg b/app/src/main/assets/res_Festivals/5.jpg new file mode 100644 index 0000000..7f1bd1a Binary files /dev/null and b/app/src/main/assets/res_Festivals/5.jpg differ diff --git a/app/src/main/assets/res_Festivals/6.jpg b/app/src/main/assets/res_Festivals/6.jpg new file mode 100644 index 0000000..9cf832a Binary files /dev/null and b/app/src/main/assets/res_Festivals/6.jpg differ diff --git a/app/src/main/assets/res_Festivals/7.jpg b/app/src/main/assets/res_Festivals/7.jpg new file mode 100644 index 0000000..dcd83f3 Binary files /dev/null and b/app/src/main/assets/res_Festivals/7.jpg differ diff --git a/app/src/main/assets/res_Festivals/8.jpg b/app/src/main/assets/res_Festivals/8.jpg new file mode 100644 index 0000000..1117f09 Binary files /dev/null and b/app/src/main/assets/res_Festivals/8.jpg differ diff --git a/app/src/main/assets/res_Festivals/9.jpg b/app/src/main/assets/res_Festivals/9.jpg new file mode 100644 index 0000000..39d8467 Binary files /dev/null and b/app/src/main/assets/res_Festivals/9.jpg differ diff --git a/app/src/main/assets/res_Flowers/1.jpg b/app/src/main/assets/res_Flowers/1.jpg new file mode 100644 index 0000000..217d9c8 Binary files /dev/null and b/app/src/main/assets/res_Flowers/1.jpg differ diff --git a/app/src/main/assets/res_Flowers/10.jpg b/app/src/main/assets/res_Flowers/10.jpg new file mode 100644 index 0000000..ba84e61 Binary files /dev/null and b/app/src/main/assets/res_Flowers/10.jpg differ diff --git a/app/src/main/assets/res_Flowers/11.jpg b/app/src/main/assets/res_Flowers/11.jpg new file mode 100644 index 0000000..e579753 Binary files /dev/null and b/app/src/main/assets/res_Flowers/11.jpg differ diff --git a/app/src/main/assets/res_Flowers/12.jpg b/app/src/main/assets/res_Flowers/12.jpg new file mode 100644 index 0000000..26092f9 Binary files /dev/null and b/app/src/main/assets/res_Flowers/12.jpg differ diff --git a/app/src/main/assets/res_Flowers/13.jpg b/app/src/main/assets/res_Flowers/13.jpg new file mode 100644 index 0000000..41d2df3 Binary files /dev/null and b/app/src/main/assets/res_Flowers/13.jpg differ diff --git a/app/src/main/assets/res_Flowers/14.jpg b/app/src/main/assets/res_Flowers/14.jpg new file mode 100644 index 0000000..c44df66 Binary files /dev/null and b/app/src/main/assets/res_Flowers/14.jpg differ diff --git a/app/src/main/assets/res_Flowers/15.jpg b/app/src/main/assets/res_Flowers/15.jpg new file mode 100644 index 0000000..ea34d36 Binary files /dev/null and b/app/src/main/assets/res_Flowers/15.jpg differ diff --git a/app/src/main/assets/res_Flowers/16.jpg b/app/src/main/assets/res_Flowers/16.jpg new file mode 100644 index 0000000..506beb1 Binary files /dev/null and b/app/src/main/assets/res_Flowers/16.jpg differ diff --git a/app/src/main/assets/res_Flowers/17.jpg b/app/src/main/assets/res_Flowers/17.jpg new file mode 100644 index 0000000..3764b21 Binary files /dev/null and b/app/src/main/assets/res_Flowers/17.jpg differ diff --git a/app/src/main/assets/res_Flowers/18.jpg b/app/src/main/assets/res_Flowers/18.jpg new file mode 100644 index 0000000..a759ab6 Binary files /dev/null and b/app/src/main/assets/res_Flowers/18.jpg differ diff --git a/app/src/main/assets/res_Flowers/19.jpg b/app/src/main/assets/res_Flowers/19.jpg new file mode 100644 index 0000000..e8c2a84 Binary files /dev/null and b/app/src/main/assets/res_Flowers/19.jpg differ diff --git a/app/src/main/assets/res_Flowers/2.jpg b/app/src/main/assets/res_Flowers/2.jpg new file mode 100644 index 0000000..fb7e56f Binary files /dev/null and b/app/src/main/assets/res_Flowers/2.jpg differ diff --git a/app/src/main/assets/res_Flowers/20.jpg b/app/src/main/assets/res_Flowers/20.jpg new file mode 100644 index 0000000..93e5408 Binary files /dev/null and b/app/src/main/assets/res_Flowers/20.jpg differ diff --git a/app/src/main/assets/res_Flowers/21.jpg b/app/src/main/assets/res_Flowers/21.jpg new file mode 100644 index 0000000..4fa3a77 Binary files /dev/null and b/app/src/main/assets/res_Flowers/21.jpg differ diff --git a/app/src/main/assets/res_Flowers/22.jpg b/app/src/main/assets/res_Flowers/22.jpg new file mode 100644 index 0000000..6f45df7 Binary files /dev/null and b/app/src/main/assets/res_Flowers/22.jpg differ diff --git a/app/src/main/assets/res_Flowers/23.jpg b/app/src/main/assets/res_Flowers/23.jpg new file mode 100644 index 0000000..46e806d Binary files /dev/null and b/app/src/main/assets/res_Flowers/23.jpg differ diff --git a/app/src/main/assets/res_Flowers/3.jpg b/app/src/main/assets/res_Flowers/3.jpg new file mode 100644 index 0000000..22a741c Binary files /dev/null and b/app/src/main/assets/res_Flowers/3.jpg differ diff --git a/app/src/main/assets/res_Flowers/4.jpg b/app/src/main/assets/res_Flowers/4.jpg new file mode 100644 index 0000000..dd0a30f Binary files /dev/null and b/app/src/main/assets/res_Flowers/4.jpg differ diff --git a/app/src/main/assets/res_Flowers/5.jpg b/app/src/main/assets/res_Flowers/5.jpg new file mode 100644 index 0000000..9dcb4f5 Binary files /dev/null and b/app/src/main/assets/res_Flowers/5.jpg differ diff --git a/app/src/main/assets/res_Flowers/6.jpg b/app/src/main/assets/res_Flowers/6.jpg new file mode 100644 index 0000000..cdf1f65 Binary files /dev/null and b/app/src/main/assets/res_Flowers/6.jpg differ diff --git a/app/src/main/assets/res_Flowers/7.jpg b/app/src/main/assets/res_Flowers/7.jpg new file mode 100644 index 0000000..caab990 Binary files /dev/null and b/app/src/main/assets/res_Flowers/7.jpg differ diff --git a/app/src/main/assets/res_Flowers/8.jpg b/app/src/main/assets/res_Flowers/8.jpg new file mode 100644 index 0000000..c43832b Binary files /dev/null and b/app/src/main/assets/res_Flowers/8.jpg differ diff --git a/app/src/main/assets/res_Flowers/9.jpg b/app/src/main/assets/res_Flowers/9.jpg new file mode 100644 index 0000000..5b78ee1 Binary files /dev/null and b/app/src/main/assets/res_Flowers/9.jpg differ diff --git a/app/src/main/assets/res_Fruits/1.jpg b/app/src/main/assets/res_Fruits/1.jpg new file mode 100644 index 0000000..767c0b4 Binary files /dev/null and b/app/src/main/assets/res_Fruits/1.jpg differ diff --git a/app/src/main/assets/res_Fruits/10.jpg b/app/src/main/assets/res_Fruits/10.jpg new file mode 100644 index 0000000..95bdbca Binary files /dev/null and b/app/src/main/assets/res_Fruits/10.jpg differ diff --git a/app/src/main/assets/res_Fruits/11.jpg b/app/src/main/assets/res_Fruits/11.jpg new file mode 100644 index 0000000..b0bb89a Binary files /dev/null and b/app/src/main/assets/res_Fruits/11.jpg differ diff --git a/app/src/main/assets/res_Fruits/12.jpg b/app/src/main/assets/res_Fruits/12.jpg new file mode 100644 index 0000000..c1d9bad Binary files /dev/null and b/app/src/main/assets/res_Fruits/12.jpg differ diff --git a/app/src/main/assets/res_Fruits/13.jpg b/app/src/main/assets/res_Fruits/13.jpg new file mode 100644 index 0000000..f44fb86 Binary files /dev/null and b/app/src/main/assets/res_Fruits/13.jpg differ diff --git a/app/src/main/assets/res_Fruits/14.jpg b/app/src/main/assets/res_Fruits/14.jpg new file mode 100644 index 0000000..459a60c Binary files /dev/null and b/app/src/main/assets/res_Fruits/14.jpg differ diff --git a/app/src/main/assets/res_Fruits/15.jpg b/app/src/main/assets/res_Fruits/15.jpg new file mode 100644 index 0000000..a4e4abe Binary files /dev/null and b/app/src/main/assets/res_Fruits/15.jpg differ diff --git a/app/src/main/assets/res_Fruits/16.jpg b/app/src/main/assets/res_Fruits/16.jpg new file mode 100644 index 0000000..33a7a9a Binary files /dev/null and b/app/src/main/assets/res_Fruits/16.jpg differ diff --git a/app/src/main/assets/res_Fruits/17.jpg b/app/src/main/assets/res_Fruits/17.jpg new file mode 100644 index 0000000..c193b1e Binary files /dev/null and b/app/src/main/assets/res_Fruits/17.jpg differ diff --git a/app/src/main/assets/res_Fruits/18.jpg b/app/src/main/assets/res_Fruits/18.jpg new file mode 100644 index 0000000..f0ca248 Binary files /dev/null and b/app/src/main/assets/res_Fruits/18.jpg differ diff --git a/app/src/main/assets/res_Fruits/19.jpg b/app/src/main/assets/res_Fruits/19.jpg new file mode 100644 index 0000000..d93dfde Binary files /dev/null and b/app/src/main/assets/res_Fruits/19.jpg differ diff --git a/app/src/main/assets/res_Fruits/2.jpg b/app/src/main/assets/res_Fruits/2.jpg new file mode 100644 index 0000000..b32f9f5 Binary files /dev/null and b/app/src/main/assets/res_Fruits/2.jpg differ diff --git a/app/src/main/assets/res_Fruits/20.jpg b/app/src/main/assets/res_Fruits/20.jpg new file mode 100644 index 0000000..cc3fe93 Binary files /dev/null and b/app/src/main/assets/res_Fruits/20.jpg differ diff --git a/app/src/main/assets/res_Fruits/21.jpg b/app/src/main/assets/res_Fruits/21.jpg new file mode 100644 index 0000000..c1813eb Binary files /dev/null and b/app/src/main/assets/res_Fruits/21.jpg differ diff --git a/app/src/main/assets/res_Fruits/22.jpg b/app/src/main/assets/res_Fruits/22.jpg new file mode 100644 index 0000000..47387e1 Binary files /dev/null and b/app/src/main/assets/res_Fruits/22.jpg differ diff --git a/app/src/main/assets/res_Fruits/23.jpg b/app/src/main/assets/res_Fruits/23.jpg new file mode 100644 index 0000000..7f173ec Binary files /dev/null and b/app/src/main/assets/res_Fruits/23.jpg differ diff --git a/app/src/main/assets/res_Fruits/24.jpg b/app/src/main/assets/res_Fruits/24.jpg new file mode 100644 index 0000000..a7ae235 Binary files /dev/null and b/app/src/main/assets/res_Fruits/24.jpg differ diff --git a/app/src/main/assets/res_Fruits/25.jpg b/app/src/main/assets/res_Fruits/25.jpg new file mode 100644 index 0000000..dd664bb Binary files /dev/null and b/app/src/main/assets/res_Fruits/25.jpg differ diff --git a/app/src/main/assets/res_Fruits/26.jpg b/app/src/main/assets/res_Fruits/26.jpg new file mode 100644 index 0000000..c8e4723 Binary files /dev/null and b/app/src/main/assets/res_Fruits/26.jpg differ diff --git a/app/src/main/assets/res_Fruits/27.jpg b/app/src/main/assets/res_Fruits/27.jpg new file mode 100644 index 0000000..816337d Binary files /dev/null and b/app/src/main/assets/res_Fruits/27.jpg differ diff --git a/app/src/main/assets/res_Fruits/28.jpg b/app/src/main/assets/res_Fruits/28.jpg new file mode 100644 index 0000000..29973d5 Binary files /dev/null and b/app/src/main/assets/res_Fruits/28.jpg differ diff --git a/app/src/main/assets/res_Fruits/29.jpg b/app/src/main/assets/res_Fruits/29.jpg new file mode 100644 index 0000000..4f0750f Binary files /dev/null and b/app/src/main/assets/res_Fruits/29.jpg differ diff --git a/app/src/main/assets/res_Fruits/3.jpg b/app/src/main/assets/res_Fruits/3.jpg new file mode 100644 index 0000000..f57893b Binary files /dev/null and b/app/src/main/assets/res_Fruits/3.jpg differ diff --git a/app/src/main/assets/res_Fruits/30.jpg b/app/src/main/assets/res_Fruits/30.jpg new file mode 100644 index 0000000..cfd117a Binary files /dev/null and b/app/src/main/assets/res_Fruits/30.jpg differ diff --git a/app/src/main/assets/res_Fruits/31.jpg b/app/src/main/assets/res_Fruits/31.jpg new file mode 100644 index 0000000..b59a7c5 Binary files /dev/null and b/app/src/main/assets/res_Fruits/31.jpg differ diff --git a/app/src/main/assets/res_Fruits/32.jpg b/app/src/main/assets/res_Fruits/32.jpg new file mode 100644 index 0000000..8f70790 Binary files /dev/null and b/app/src/main/assets/res_Fruits/32.jpg differ diff --git a/app/src/main/assets/res_Fruits/33.jpg b/app/src/main/assets/res_Fruits/33.jpg new file mode 100644 index 0000000..373b142 Binary files /dev/null and b/app/src/main/assets/res_Fruits/33.jpg differ diff --git a/app/src/main/assets/res_Fruits/34.jpg b/app/src/main/assets/res_Fruits/34.jpg new file mode 100644 index 0000000..c5beb91 Binary files /dev/null and b/app/src/main/assets/res_Fruits/34.jpg differ diff --git a/app/src/main/assets/res_Fruits/35.jpg b/app/src/main/assets/res_Fruits/35.jpg new file mode 100644 index 0000000..79cd667 Binary files /dev/null and b/app/src/main/assets/res_Fruits/35.jpg differ diff --git a/app/src/main/assets/res_Fruits/36.jpg b/app/src/main/assets/res_Fruits/36.jpg new file mode 100644 index 0000000..c0cb185 Binary files /dev/null and b/app/src/main/assets/res_Fruits/36.jpg differ diff --git a/app/src/main/assets/res_Fruits/37.jpg b/app/src/main/assets/res_Fruits/37.jpg new file mode 100644 index 0000000..ba1b245 Binary files /dev/null and b/app/src/main/assets/res_Fruits/37.jpg differ diff --git a/app/src/main/assets/res_Fruits/38.jpg b/app/src/main/assets/res_Fruits/38.jpg new file mode 100644 index 0000000..c7eccb8 Binary files /dev/null and b/app/src/main/assets/res_Fruits/38.jpg differ diff --git a/app/src/main/assets/res_Fruits/39.jpg b/app/src/main/assets/res_Fruits/39.jpg new file mode 100644 index 0000000..bc95aaa Binary files /dev/null and b/app/src/main/assets/res_Fruits/39.jpg differ diff --git a/app/src/main/assets/res_Fruits/4.jpg b/app/src/main/assets/res_Fruits/4.jpg new file mode 100644 index 0000000..2d7465d Binary files /dev/null and b/app/src/main/assets/res_Fruits/4.jpg differ diff --git a/app/src/main/assets/res_Fruits/5.jpg b/app/src/main/assets/res_Fruits/5.jpg new file mode 100644 index 0000000..8ed633f Binary files /dev/null and b/app/src/main/assets/res_Fruits/5.jpg differ diff --git a/app/src/main/assets/res_Fruits/6.jpg b/app/src/main/assets/res_Fruits/6.jpg new file mode 100644 index 0000000..06ce330 Binary files /dev/null and b/app/src/main/assets/res_Fruits/6.jpg differ diff --git a/app/src/main/assets/res_Fruits/7.jpg b/app/src/main/assets/res_Fruits/7.jpg new file mode 100644 index 0000000..6153618 Binary files /dev/null and b/app/src/main/assets/res_Fruits/7.jpg differ diff --git a/app/src/main/assets/res_Fruits/8.jpg b/app/src/main/assets/res_Fruits/8.jpg new file mode 100644 index 0000000..e333f0f Binary files /dev/null and b/app/src/main/assets/res_Fruits/8.jpg differ diff --git a/app/src/main/assets/res_Fruits/9.jpg b/app/src/main/assets/res_Fruits/9.jpg new file mode 100644 index 0000000..d549d15 Binary files /dev/null and b/app/src/main/assets/res_Fruits/9.jpg differ diff --git a/app/src/main/assets/res_General/1.jpg b/app/src/main/assets/res_General/1.jpg new file mode 100644 index 0000000..eb7c14b Binary files /dev/null and b/app/src/main/assets/res_General/1.jpg differ diff --git a/app/src/main/assets/res_General/10.jpg b/app/src/main/assets/res_General/10.jpg new file mode 100644 index 0000000..eacd298 Binary files /dev/null and b/app/src/main/assets/res_General/10.jpg differ diff --git a/app/src/main/assets/res_General/11.jpg b/app/src/main/assets/res_General/11.jpg new file mode 100644 index 0000000..273a876 Binary files /dev/null and b/app/src/main/assets/res_General/11.jpg differ diff --git a/app/src/main/assets/res_General/12.jpg b/app/src/main/assets/res_General/12.jpg new file mode 100644 index 0000000..5d786c5 Binary files /dev/null and b/app/src/main/assets/res_General/12.jpg differ diff --git a/app/src/main/assets/res_General/13.jpg b/app/src/main/assets/res_General/13.jpg new file mode 100644 index 0000000..486441a Binary files /dev/null and b/app/src/main/assets/res_General/13.jpg differ diff --git a/app/src/main/assets/res_General/14.jpg b/app/src/main/assets/res_General/14.jpg new file mode 100644 index 0000000..c36516b Binary files /dev/null and b/app/src/main/assets/res_General/14.jpg differ diff --git a/app/src/main/assets/res_General/15.jpg b/app/src/main/assets/res_General/15.jpg new file mode 100644 index 0000000..9d19fdf Binary files /dev/null and b/app/src/main/assets/res_General/15.jpg differ diff --git a/app/src/main/assets/res_General/2.jpg b/app/src/main/assets/res_General/2.jpg new file mode 100644 index 0000000..090d5d5 Binary files /dev/null and b/app/src/main/assets/res_General/2.jpg differ diff --git a/app/src/main/assets/res_General/3.jpg b/app/src/main/assets/res_General/3.jpg new file mode 100644 index 0000000..a17f1b2 Binary files /dev/null and b/app/src/main/assets/res_General/3.jpg differ diff --git a/app/src/main/assets/res_General/4.jpg b/app/src/main/assets/res_General/4.jpg new file mode 100644 index 0000000..2f4d8a2 Binary files /dev/null and b/app/src/main/assets/res_General/4.jpg differ diff --git a/app/src/main/assets/res_General/5.jpg b/app/src/main/assets/res_General/5.jpg new file mode 100644 index 0000000..8ac1cdb Binary files /dev/null and b/app/src/main/assets/res_General/5.jpg differ diff --git a/app/src/main/assets/res_General/6.jpg b/app/src/main/assets/res_General/6.jpg new file mode 100644 index 0000000..95cc582 Binary files /dev/null and b/app/src/main/assets/res_General/6.jpg differ diff --git a/app/src/main/assets/res_General/7.jpg b/app/src/main/assets/res_General/7.jpg new file mode 100644 index 0000000..91cbcfd Binary files /dev/null and b/app/src/main/assets/res_General/7.jpg differ diff --git a/app/src/main/assets/res_General/8.jpg b/app/src/main/assets/res_General/8.jpg new file mode 100644 index 0000000..af8da73 Binary files /dev/null and b/app/src/main/assets/res_General/8.jpg differ diff --git a/app/src/main/assets/res_General/9.jpg b/app/src/main/assets/res_General/9.jpg new file mode 100644 index 0000000..d5cfb72 Binary files /dev/null and b/app/src/main/assets/res_General/9.jpg differ diff --git a/app/src/main/assets/res_Mehndi/1.jpg b/app/src/main/assets/res_Mehndi/1.jpg new file mode 100644 index 0000000..8dd8843 Binary files /dev/null and b/app/src/main/assets/res_Mehndi/1.jpg differ diff --git a/app/src/main/assets/res_Mehndi/10.jpg b/app/src/main/assets/res_Mehndi/10.jpg new file mode 100644 index 0000000..2432a79 Binary files /dev/null and b/app/src/main/assets/res_Mehndi/10.jpg differ diff --git a/app/src/main/assets/res_Mehndi/11.jpg b/app/src/main/assets/res_Mehndi/11.jpg new file mode 100644 index 0000000..aba85bf Binary files /dev/null and b/app/src/main/assets/res_Mehndi/11.jpg differ diff --git a/app/src/main/assets/res_Mehndi/12.jpg b/app/src/main/assets/res_Mehndi/12.jpg new file mode 100644 index 0000000..f71ae22 Binary files /dev/null and b/app/src/main/assets/res_Mehndi/12.jpg differ diff --git a/app/src/main/assets/res_Mehndi/2.jpg b/app/src/main/assets/res_Mehndi/2.jpg new file mode 100644 index 0000000..0f56bf7 Binary files /dev/null and b/app/src/main/assets/res_Mehndi/2.jpg differ diff --git a/app/src/main/assets/res_Mehndi/3.jpg b/app/src/main/assets/res_Mehndi/3.jpg new file mode 100644 index 0000000..2bc7b69 Binary files /dev/null and b/app/src/main/assets/res_Mehndi/3.jpg differ diff --git a/app/src/main/assets/res_Mehndi/4.jpg b/app/src/main/assets/res_Mehndi/4.jpg new file mode 100644 index 0000000..6fc3f70 Binary files /dev/null and b/app/src/main/assets/res_Mehndi/4.jpg differ diff --git a/app/src/main/assets/res_Mehndi/5.jpg b/app/src/main/assets/res_Mehndi/5.jpg new file mode 100644 index 0000000..dccb5cf Binary files /dev/null and b/app/src/main/assets/res_Mehndi/5.jpg differ diff --git a/app/src/main/assets/res_Mehndi/6.jpg b/app/src/main/assets/res_Mehndi/6.jpg new file mode 100644 index 0000000..4e052dd Binary files /dev/null and b/app/src/main/assets/res_Mehndi/6.jpg differ diff --git a/app/src/main/assets/res_Mehndi/7.jpg b/app/src/main/assets/res_Mehndi/7.jpg new file mode 100644 index 0000000..021e789 Binary files /dev/null and b/app/src/main/assets/res_Mehndi/7.jpg differ diff --git a/app/src/main/assets/res_Mehndi/8.jpg b/app/src/main/assets/res_Mehndi/8.jpg new file mode 100644 index 0000000..dd45b50 Binary files /dev/null and b/app/src/main/assets/res_Mehndi/8.jpg differ diff --git a/app/src/main/assets/res_Mehndi/9.jpg b/app/src/main/assets/res_Mehndi/9.jpg new file mode 100644 index 0000000..6ff2300 Binary files /dev/null and b/app/src/main/assets/res_Mehndi/9.jpg differ diff --git a/app/src/main/assets/res_Nature/1.jpg b/app/src/main/assets/res_Nature/1.jpg new file mode 100644 index 0000000..22c00e3 Binary files /dev/null and b/app/src/main/assets/res_Nature/1.jpg differ diff --git a/app/src/main/assets/res_Nature/10.jpg b/app/src/main/assets/res_Nature/10.jpg new file mode 100644 index 0000000..65aab09 Binary files /dev/null and b/app/src/main/assets/res_Nature/10.jpg differ diff --git a/app/src/main/assets/res_Nature/11.jpg b/app/src/main/assets/res_Nature/11.jpg new file mode 100644 index 0000000..23c6653 Binary files /dev/null and b/app/src/main/assets/res_Nature/11.jpg differ diff --git a/app/src/main/assets/res_Nature/12.jpg b/app/src/main/assets/res_Nature/12.jpg new file mode 100644 index 0000000..36e1835 Binary files /dev/null and b/app/src/main/assets/res_Nature/12.jpg differ diff --git a/app/src/main/assets/res_Nature/13.jpg b/app/src/main/assets/res_Nature/13.jpg new file mode 100644 index 0000000..5816b61 Binary files /dev/null and b/app/src/main/assets/res_Nature/13.jpg differ diff --git a/app/src/main/assets/res_Nature/14.jpg b/app/src/main/assets/res_Nature/14.jpg new file mode 100644 index 0000000..b4e5dc6 Binary files /dev/null and b/app/src/main/assets/res_Nature/14.jpg differ diff --git a/app/src/main/assets/res_Nature/15.jpg b/app/src/main/assets/res_Nature/15.jpg new file mode 100644 index 0000000..5424ac4 Binary files /dev/null and b/app/src/main/assets/res_Nature/15.jpg differ diff --git a/app/src/main/assets/res_Nature/16.jpg b/app/src/main/assets/res_Nature/16.jpg new file mode 100644 index 0000000..fd00791 Binary files /dev/null and b/app/src/main/assets/res_Nature/16.jpg differ diff --git a/app/src/main/assets/res_Nature/17.jpg b/app/src/main/assets/res_Nature/17.jpg new file mode 100644 index 0000000..38410e8 Binary files /dev/null and b/app/src/main/assets/res_Nature/17.jpg differ diff --git a/app/src/main/assets/res_Nature/18.jpg b/app/src/main/assets/res_Nature/18.jpg new file mode 100644 index 0000000..5ae5028 Binary files /dev/null and b/app/src/main/assets/res_Nature/18.jpg differ diff --git a/app/src/main/assets/res_Nature/19.jpg b/app/src/main/assets/res_Nature/19.jpg new file mode 100644 index 0000000..e49b4f1 Binary files /dev/null and b/app/src/main/assets/res_Nature/19.jpg differ diff --git a/app/src/main/assets/res_Nature/2.jpg b/app/src/main/assets/res_Nature/2.jpg new file mode 100644 index 0000000..3b5ec4c Binary files /dev/null and b/app/src/main/assets/res_Nature/2.jpg differ diff --git a/app/src/main/assets/res_Nature/20.jpg b/app/src/main/assets/res_Nature/20.jpg new file mode 100644 index 0000000..cc94724 Binary files /dev/null and b/app/src/main/assets/res_Nature/20.jpg differ diff --git a/app/src/main/assets/res_Nature/21.jpg b/app/src/main/assets/res_Nature/21.jpg new file mode 100644 index 0000000..dfa6c09 Binary files /dev/null and b/app/src/main/assets/res_Nature/21.jpg differ diff --git a/app/src/main/assets/res_Nature/22.jpg b/app/src/main/assets/res_Nature/22.jpg new file mode 100644 index 0000000..c05e638 Binary files /dev/null and b/app/src/main/assets/res_Nature/22.jpg differ diff --git a/app/src/main/assets/res_Nature/23.jpg b/app/src/main/assets/res_Nature/23.jpg new file mode 100644 index 0000000..6f932ec Binary files /dev/null and b/app/src/main/assets/res_Nature/23.jpg differ diff --git a/app/src/main/assets/res_Nature/3.jpg b/app/src/main/assets/res_Nature/3.jpg new file mode 100644 index 0000000..1423546 Binary files /dev/null and b/app/src/main/assets/res_Nature/3.jpg differ diff --git a/app/src/main/assets/res_Nature/4.jpg b/app/src/main/assets/res_Nature/4.jpg new file mode 100644 index 0000000..5499510 Binary files /dev/null and b/app/src/main/assets/res_Nature/4.jpg differ diff --git a/app/src/main/assets/res_Nature/5.jpg b/app/src/main/assets/res_Nature/5.jpg new file mode 100644 index 0000000..434261a Binary files /dev/null and b/app/src/main/assets/res_Nature/5.jpg differ diff --git a/app/src/main/assets/res_Nature/6.jpg b/app/src/main/assets/res_Nature/6.jpg new file mode 100644 index 0000000..f50166b Binary files /dev/null and b/app/src/main/assets/res_Nature/6.jpg differ diff --git a/app/src/main/assets/res_Nature/7.jpg b/app/src/main/assets/res_Nature/7.jpg new file mode 100644 index 0000000..96e178c Binary files /dev/null and b/app/src/main/assets/res_Nature/7.jpg differ diff --git a/app/src/main/assets/res_Nature/8.jpg b/app/src/main/assets/res_Nature/8.jpg new file mode 100644 index 0000000..c68f4f1 Binary files /dev/null and b/app/src/main/assets/res_Nature/8.jpg differ diff --git a/app/src/main/assets/res_Nature/9.jpg b/app/src/main/assets/res_Nature/9.jpg new file mode 100644 index 0000000..6b8ccb4 Binary files /dev/null and b/app/src/main/assets/res_Nature/9.jpg differ diff --git a/app/src/main/assets/res_Properties/1.jpg b/app/src/main/assets/res_Properties/1.jpg new file mode 100644 index 0000000..3289a38 Binary files /dev/null and b/app/src/main/assets/res_Properties/1.jpg differ diff --git a/app/src/main/assets/res_Properties/10.jpg b/app/src/main/assets/res_Properties/10.jpg new file mode 100644 index 0000000..b065539 Binary files /dev/null and b/app/src/main/assets/res_Properties/10.jpg differ diff --git a/app/src/main/assets/res_Properties/11.jpg b/app/src/main/assets/res_Properties/11.jpg new file mode 100644 index 0000000..12d28b1 Binary files /dev/null and b/app/src/main/assets/res_Properties/11.jpg differ diff --git a/app/src/main/assets/res_Properties/12.jpg b/app/src/main/assets/res_Properties/12.jpg new file mode 100644 index 0000000..182879f Binary files /dev/null and b/app/src/main/assets/res_Properties/12.jpg differ diff --git a/app/src/main/assets/res_Properties/13.jpg b/app/src/main/assets/res_Properties/13.jpg new file mode 100644 index 0000000..4263530 Binary files /dev/null and b/app/src/main/assets/res_Properties/13.jpg differ diff --git a/app/src/main/assets/res_Properties/14.jpg b/app/src/main/assets/res_Properties/14.jpg new file mode 100644 index 0000000..42e4ab3 Binary files /dev/null and b/app/src/main/assets/res_Properties/14.jpg differ diff --git a/app/src/main/assets/res_Properties/15.jpg b/app/src/main/assets/res_Properties/15.jpg new file mode 100644 index 0000000..b529436 Binary files /dev/null and b/app/src/main/assets/res_Properties/15.jpg differ diff --git a/app/src/main/assets/res_Properties/16.jpg b/app/src/main/assets/res_Properties/16.jpg new file mode 100644 index 0000000..85caef0 Binary files /dev/null and b/app/src/main/assets/res_Properties/16.jpg differ diff --git a/app/src/main/assets/res_Properties/17.jpg b/app/src/main/assets/res_Properties/17.jpg new file mode 100644 index 0000000..6295f58 Binary files /dev/null and b/app/src/main/assets/res_Properties/17.jpg differ diff --git a/app/src/main/assets/res_Properties/18.jpg b/app/src/main/assets/res_Properties/18.jpg new file mode 100644 index 0000000..f8e4e87 Binary files /dev/null and b/app/src/main/assets/res_Properties/18.jpg differ diff --git a/app/src/main/assets/res_Properties/19.jpg b/app/src/main/assets/res_Properties/19.jpg new file mode 100644 index 0000000..c476493 Binary files /dev/null and b/app/src/main/assets/res_Properties/19.jpg differ diff --git a/app/src/main/assets/res_Properties/2.jpg b/app/src/main/assets/res_Properties/2.jpg new file mode 100644 index 0000000..084fa51 Binary files /dev/null and b/app/src/main/assets/res_Properties/2.jpg differ diff --git a/app/src/main/assets/res_Properties/3.jpg b/app/src/main/assets/res_Properties/3.jpg new file mode 100644 index 0000000..4ee71c4 Binary files /dev/null and b/app/src/main/assets/res_Properties/3.jpg differ diff --git a/app/src/main/assets/res_Properties/4.jpg b/app/src/main/assets/res_Properties/4.jpg new file mode 100644 index 0000000..25912f1 Binary files /dev/null and b/app/src/main/assets/res_Properties/4.jpg differ diff --git a/app/src/main/assets/res_Properties/5.jpg b/app/src/main/assets/res_Properties/5.jpg new file mode 100644 index 0000000..77c2aa8 Binary files /dev/null and b/app/src/main/assets/res_Properties/5.jpg differ diff --git a/app/src/main/assets/res_Properties/6.jpg b/app/src/main/assets/res_Properties/6.jpg new file mode 100644 index 0000000..75b1e32 Binary files /dev/null and b/app/src/main/assets/res_Properties/6.jpg differ diff --git a/app/src/main/assets/res_Properties/7.jpg b/app/src/main/assets/res_Properties/7.jpg new file mode 100644 index 0000000..f059989 Binary files /dev/null and b/app/src/main/assets/res_Properties/7.jpg differ diff --git a/app/src/main/assets/res_Properties/8.jpg b/app/src/main/assets/res_Properties/8.jpg new file mode 100644 index 0000000..6be97eb Binary files /dev/null and b/app/src/main/assets/res_Properties/8.jpg differ diff --git a/app/src/main/assets/res_Properties/9.jpg b/app/src/main/assets/res_Properties/9.jpg new file mode 100644 index 0000000..626cab9 Binary files /dev/null and b/app/src/main/assets/res_Properties/9.jpg differ diff --git a/app/src/main/assets/res_Rangoli/1.jpg b/app/src/main/assets/res_Rangoli/1.jpg new file mode 100644 index 0000000..e628714 Binary files /dev/null and b/app/src/main/assets/res_Rangoli/1.jpg differ diff --git a/app/src/main/assets/res_Rangoli/10.jpg b/app/src/main/assets/res_Rangoli/10.jpg new file mode 100644 index 0000000..f6e9d09 Binary files /dev/null and b/app/src/main/assets/res_Rangoli/10.jpg differ diff --git a/app/src/main/assets/res_Rangoli/13.jpg b/app/src/main/assets/res_Rangoli/13.jpg new file mode 100644 index 0000000..9741d57 Binary files /dev/null and b/app/src/main/assets/res_Rangoli/13.jpg differ diff --git a/app/src/main/assets/res_Rangoli/14.jpg b/app/src/main/assets/res_Rangoli/14.jpg new file mode 100644 index 0000000..3ca4970 Binary files /dev/null and b/app/src/main/assets/res_Rangoli/14.jpg differ diff --git a/app/src/main/assets/res_Rangoli/15.jpg b/app/src/main/assets/res_Rangoli/15.jpg new file mode 100644 index 0000000..98abac3 Binary files /dev/null and b/app/src/main/assets/res_Rangoli/15.jpg differ diff --git a/app/src/main/assets/res_Rangoli/16.jpg b/app/src/main/assets/res_Rangoli/16.jpg new file mode 100644 index 0000000..150dfdc Binary files /dev/null and b/app/src/main/assets/res_Rangoli/16.jpg differ diff --git a/app/src/main/assets/res_Rangoli/17.jpg b/app/src/main/assets/res_Rangoli/17.jpg new file mode 100644 index 0000000..4127115 Binary files /dev/null and b/app/src/main/assets/res_Rangoli/17.jpg differ diff --git a/app/src/main/assets/res_Rangoli/18.jpg b/app/src/main/assets/res_Rangoli/18.jpg new file mode 100644 index 0000000..6ae96e9 Binary files /dev/null and b/app/src/main/assets/res_Rangoli/18.jpg differ diff --git a/app/src/main/assets/res_Rangoli/19.jpg b/app/src/main/assets/res_Rangoli/19.jpg new file mode 100644 index 0000000..ffcbd6a Binary files /dev/null and b/app/src/main/assets/res_Rangoli/19.jpg differ diff --git a/app/src/main/assets/res_Rangoli/2.jpg b/app/src/main/assets/res_Rangoli/2.jpg new file mode 100644 index 0000000..7329109 Binary files /dev/null and b/app/src/main/assets/res_Rangoli/2.jpg differ diff --git a/app/src/main/assets/res_Rangoli/20.jpg b/app/src/main/assets/res_Rangoli/20.jpg new file mode 100644 index 0000000..b7be138 Binary files /dev/null and b/app/src/main/assets/res_Rangoli/20.jpg differ diff --git a/app/src/main/assets/res_Rangoli/21.jpg b/app/src/main/assets/res_Rangoli/21.jpg new file mode 100644 index 0000000..eaa5fdf Binary files /dev/null and b/app/src/main/assets/res_Rangoli/21.jpg differ diff --git a/app/src/main/assets/res_Rangoli/22.jpg b/app/src/main/assets/res_Rangoli/22.jpg new file mode 100644 index 0000000..28aca48 Binary files /dev/null and b/app/src/main/assets/res_Rangoli/22.jpg differ diff --git a/app/src/main/assets/res_Rangoli/23.jpg b/app/src/main/assets/res_Rangoli/23.jpg new file mode 100644 index 0000000..057d2d4 Binary files /dev/null and b/app/src/main/assets/res_Rangoli/23.jpg differ diff --git a/app/src/main/assets/res_Rangoli/24.jpg b/app/src/main/assets/res_Rangoli/24.jpg new file mode 100644 index 0000000..e933061 Binary files /dev/null and b/app/src/main/assets/res_Rangoli/24.jpg differ diff --git a/app/src/main/assets/res_Rangoli/25.jpg b/app/src/main/assets/res_Rangoli/25.jpg new file mode 100644 index 0000000..569a74c Binary files /dev/null and b/app/src/main/assets/res_Rangoli/25.jpg differ diff --git a/app/src/main/assets/res_Rangoli/3.jpg b/app/src/main/assets/res_Rangoli/3.jpg new file mode 100644 index 0000000..569342c Binary files /dev/null and b/app/src/main/assets/res_Rangoli/3.jpg differ diff --git a/app/src/main/assets/res_Rangoli/4.jpg b/app/src/main/assets/res_Rangoli/4.jpg new file mode 100644 index 0000000..7c5d0de Binary files /dev/null and b/app/src/main/assets/res_Rangoli/4.jpg differ diff --git a/app/src/main/assets/res_Rangoli/5.jpg b/app/src/main/assets/res_Rangoli/5.jpg new file mode 100644 index 0000000..5a3228f Binary files /dev/null and b/app/src/main/assets/res_Rangoli/5.jpg differ diff --git a/app/src/main/assets/res_Rangoli/6.jpg b/app/src/main/assets/res_Rangoli/6.jpg new file mode 100644 index 0000000..270f078 Binary files /dev/null and b/app/src/main/assets/res_Rangoli/6.jpg differ diff --git a/app/src/main/assets/res_Rangoli/7.jpg b/app/src/main/assets/res_Rangoli/7.jpg new file mode 100644 index 0000000..241beac Binary files /dev/null and b/app/src/main/assets/res_Rangoli/7.jpg differ diff --git a/app/src/main/assets/res_Rangoli/8.jpg b/app/src/main/assets/res_Rangoli/8.jpg new file mode 100644 index 0000000..c62e0d7 Binary files /dev/null and b/app/src/main/assets/res_Rangoli/8.jpg differ diff --git a/app/src/main/assets/res_Rangoli/9.jpg b/app/src/main/assets/res_Rangoli/9.jpg new file mode 100644 index 0000000..bcd14a7 Binary files /dev/null and b/app/src/main/assets/res_Rangoli/9.jpg differ diff --git a/app/src/main/assets/res_Sports/1.jpg b/app/src/main/assets/res_Sports/1.jpg new file mode 100644 index 0000000..cd1cb09 Binary files /dev/null and b/app/src/main/assets/res_Sports/1.jpg differ diff --git a/app/src/main/assets/res_Sports/10.jpg b/app/src/main/assets/res_Sports/10.jpg new file mode 100644 index 0000000..2ec81a5 Binary files /dev/null and b/app/src/main/assets/res_Sports/10.jpg differ diff --git a/app/src/main/assets/res_Sports/11.jpg b/app/src/main/assets/res_Sports/11.jpg new file mode 100644 index 0000000..f00ecb5 Binary files /dev/null and b/app/src/main/assets/res_Sports/11.jpg differ diff --git a/app/src/main/assets/res_Sports/12.jpg b/app/src/main/assets/res_Sports/12.jpg new file mode 100644 index 0000000..b004929 Binary files /dev/null and b/app/src/main/assets/res_Sports/12.jpg differ diff --git a/app/src/main/assets/res_Sports/13.jpg b/app/src/main/assets/res_Sports/13.jpg new file mode 100644 index 0000000..73fa886 Binary files /dev/null and b/app/src/main/assets/res_Sports/13.jpg differ diff --git a/app/src/main/assets/res_Sports/14.jpg b/app/src/main/assets/res_Sports/14.jpg new file mode 100644 index 0000000..3d9069e Binary files /dev/null and b/app/src/main/assets/res_Sports/14.jpg differ diff --git a/app/src/main/assets/res_Sports/15.jpg b/app/src/main/assets/res_Sports/15.jpg new file mode 100644 index 0000000..a090c83 Binary files /dev/null and b/app/src/main/assets/res_Sports/15.jpg differ diff --git a/app/src/main/assets/res_Sports/16.jpg b/app/src/main/assets/res_Sports/16.jpg new file mode 100644 index 0000000..185d6e3 Binary files /dev/null and b/app/src/main/assets/res_Sports/16.jpg differ diff --git a/app/src/main/assets/res_Sports/17.jpg b/app/src/main/assets/res_Sports/17.jpg new file mode 100644 index 0000000..b8193fa Binary files /dev/null and b/app/src/main/assets/res_Sports/17.jpg differ diff --git a/app/src/main/assets/res_Sports/18.jpg b/app/src/main/assets/res_Sports/18.jpg new file mode 100644 index 0000000..ba4fcea Binary files /dev/null and b/app/src/main/assets/res_Sports/18.jpg differ diff --git a/app/src/main/assets/res_Sports/19.jpg b/app/src/main/assets/res_Sports/19.jpg new file mode 100644 index 0000000..617c2af Binary files /dev/null and b/app/src/main/assets/res_Sports/19.jpg differ diff --git a/app/src/main/assets/res_Sports/2.jpg b/app/src/main/assets/res_Sports/2.jpg new file mode 100644 index 0000000..59890e5 Binary files /dev/null and b/app/src/main/assets/res_Sports/2.jpg differ diff --git a/app/src/main/assets/res_Sports/20.jpg b/app/src/main/assets/res_Sports/20.jpg new file mode 100644 index 0000000..4032ff4 Binary files /dev/null and b/app/src/main/assets/res_Sports/20.jpg differ diff --git a/app/src/main/assets/res_Sports/21.jpg b/app/src/main/assets/res_Sports/21.jpg new file mode 100644 index 0000000..23979ba Binary files /dev/null and b/app/src/main/assets/res_Sports/21.jpg differ diff --git a/app/src/main/assets/res_Sports/22.jpg b/app/src/main/assets/res_Sports/22.jpg new file mode 100644 index 0000000..c61e91e Binary files /dev/null and b/app/src/main/assets/res_Sports/22.jpg differ diff --git a/app/src/main/assets/res_Sports/23.jpg b/app/src/main/assets/res_Sports/23.jpg new file mode 100644 index 0000000..7bf0806 Binary files /dev/null and b/app/src/main/assets/res_Sports/23.jpg differ diff --git a/app/src/main/assets/res_Sports/24.jpg b/app/src/main/assets/res_Sports/24.jpg new file mode 100644 index 0000000..23cbc17 Binary files /dev/null and b/app/src/main/assets/res_Sports/24.jpg differ diff --git a/app/src/main/assets/res_Sports/25.jpg b/app/src/main/assets/res_Sports/25.jpg new file mode 100644 index 0000000..06d992e Binary files /dev/null and b/app/src/main/assets/res_Sports/25.jpg differ diff --git a/app/src/main/assets/res_Sports/26.jpg b/app/src/main/assets/res_Sports/26.jpg new file mode 100644 index 0000000..26af61e Binary files /dev/null and b/app/src/main/assets/res_Sports/26.jpg differ diff --git a/app/src/main/assets/res_Sports/27.jpg b/app/src/main/assets/res_Sports/27.jpg new file mode 100644 index 0000000..91bf104 Binary files /dev/null and b/app/src/main/assets/res_Sports/27.jpg differ diff --git a/app/src/main/assets/res_Sports/28.jpg b/app/src/main/assets/res_Sports/28.jpg new file mode 100644 index 0000000..8c790e7 Binary files /dev/null and b/app/src/main/assets/res_Sports/28.jpg differ diff --git a/app/src/main/assets/res_Sports/3.jpg b/app/src/main/assets/res_Sports/3.jpg new file mode 100644 index 0000000..8315af5 Binary files /dev/null and b/app/src/main/assets/res_Sports/3.jpg differ diff --git a/app/src/main/assets/res_Sports/4.jpg b/app/src/main/assets/res_Sports/4.jpg new file mode 100644 index 0000000..8070e68 Binary files /dev/null and b/app/src/main/assets/res_Sports/4.jpg differ diff --git a/app/src/main/assets/res_Sports/5.jpg b/app/src/main/assets/res_Sports/5.jpg new file mode 100644 index 0000000..5bcb837 Binary files /dev/null and b/app/src/main/assets/res_Sports/5.jpg differ diff --git a/app/src/main/assets/res_Sports/6.jpg b/app/src/main/assets/res_Sports/6.jpg new file mode 100644 index 0000000..038521f Binary files /dev/null and b/app/src/main/assets/res_Sports/6.jpg differ diff --git a/app/src/main/assets/res_Sports/7.jpg b/app/src/main/assets/res_Sports/7.jpg new file mode 100644 index 0000000..73bf0de Binary files /dev/null and b/app/src/main/assets/res_Sports/7.jpg differ diff --git a/app/src/main/assets/res_Sports/8.jpg b/app/src/main/assets/res_Sports/8.jpg new file mode 100644 index 0000000..6c565f8 Binary files /dev/null and b/app/src/main/assets/res_Sports/8.jpg differ diff --git a/app/src/main/assets/res_Sports/9.jpg b/app/src/main/assets/res_Sports/9.jpg new file mode 100644 index 0000000..130cd94 Binary files /dev/null and b/app/src/main/assets/res_Sports/9.jpg differ diff --git a/app/src/main/assets/res_Vehicles/1.jpg b/app/src/main/assets/res_Vehicles/1.jpg new file mode 100644 index 0000000..da449f7 Binary files /dev/null and b/app/src/main/assets/res_Vehicles/1.jpg differ diff --git a/app/src/main/assets/res_Vehicles/10.jpg b/app/src/main/assets/res_Vehicles/10.jpg new file mode 100644 index 0000000..0084613 Binary files /dev/null and b/app/src/main/assets/res_Vehicles/10.jpg differ diff --git a/app/src/main/assets/res_Vehicles/11.jpg b/app/src/main/assets/res_Vehicles/11.jpg new file mode 100644 index 0000000..ba5f4d4 Binary files /dev/null and b/app/src/main/assets/res_Vehicles/11.jpg differ diff --git a/app/src/main/assets/res_Vehicles/12.jpg b/app/src/main/assets/res_Vehicles/12.jpg new file mode 100644 index 0000000..32c7908 Binary files /dev/null and b/app/src/main/assets/res_Vehicles/12.jpg differ diff --git a/app/src/main/assets/res_Vehicles/13.jpg b/app/src/main/assets/res_Vehicles/13.jpg new file mode 100644 index 0000000..dd47e76 Binary files /dev/null and b/app/src/main/assets/res_Vehicles/13.jpg differ diff --git a/app/src/main/assets/res_Vehicles/14.jpg b/app/src/main/assets/res_Vehicles/14.jpg new file mode 100644 index 0000000..8b886e6 Binary files /dev/null and b/app/src/main/assets/res_Vehicles/14.jpg differ diff --git a/app/src/main/assets/res_Vehicles/15.jpg b/app/src/main/assets/res_Vehicles/15.jpg new file mode 100644 index 0000000..cf78752 Binary files /dev/null and b/app/src/main/assets/res_Vehicles/15.jpg differ diff --git a/app/src/main/assets/res_Vehicles/16.jpg b/app/src/main/assets/res_Vehicles/16.jpg new file mode 100644 index 0000000..87f8a19 Binary files /dev/null and b/app/src/main/assets/res_Vehicles/16.jpg differ diff --git a/app/src/main/assets/res_Vehicles/17.jpg b/app/src/main/assets/res_Vehicles/17.jpg new file mode 100644 index 0000000..011b53b Binary files /dev/null and b/app/src/main/assets/res_Vehicles/17.jpg differ diff --git a/app/src/main/assets/res_Vehicles/18.jpg b/app/src/main/assets/res_Vehicles/18.jpg new file mode 100644 index 0000000..c4433c8 Binary files /dev/null and b/app/src/main/assets/res_Vehicles/18.jpg differ diff --git a/app/src/main/assets/res_Vehicles/19.jpg b/app/src/main/assets/res_Vehicles/19.jpg new file mode 100644 index 0000000..b9361f1 Binary files /dev/null and b/app/src/main/assets/res_Vehicles/19.jpg differ diff --git a/app/src/main/assets/res_Vehicles/2.jpg b/app/src/main/assets/res_Vehicles/2.jpg new file mode 100644 index 0000000..ff06675 Binary files /dev/null and b/app/src/main/assets/res_Vehicles/2.jpg differ diff --git a/app/src/main/assets/res_Vehicles/20.jpg b/app/src/main/assets/res_Vehicles/20.jpg new file mode 100644 index 0000000..3e22c5c Binary files /dev/null and b/app/src/main/assets/res_Vehicles/20.jpg differ diff --git a/app/src/main/assets/res_Vehicles/21.jpg b/app/src/main/assets/res_Vehicles/21.jpg new file mode 100644 index 0000000..f93b99a Binary files /dev/null and b/app/src/main/assets/res_Vehicles/21.jpg differ diff --git a/app/src/main/assets/res_Vehicles/22.jpg b/app/src/main/assets/res_Vehicles/22.jpg new file mode 100644 index 0000000..952afa9 Binary files /dev/null and b/app/src/main/assets/res_Vehicles/22.jpg differ diff --git a/app/src/main/assets/res_Vehicles/23.jpg b/app/src/main/assets/res_Vehicles/23.jpg new file mode 100644 index 0000000..a6e1c25 Binary files /dev/null and b/app/src/main/assets/res_Vehicles/23.jpg differ diff --git a/app/src/main/assets/res_Vehicles/24.jpg b/app/src/main/assets/res_Vehicles/24.jpg new file mode 100644 index 0000000..83c706a Binary files /dev/null and b/app/src/main/assets/res_Vehicles/24.jpg differ diff --git a/app/src/main/assets/res_Vehicles/25.jpg b/app/src/main/assets/res_Vehicles/25.jpg new file mode 100644 index 0000000..6ebdbf7 Binary files /dev/null and b/app/src/main/assets/res_Vehicles/25.jpg differ diff --git a/app/src/main/assets/res_Vehicles/26.jpg b/app/src/main/assets/res_Vehicles/26.jpg new file mode 100644 index 0000000..3805357 Binary files /dev/null and b/app/src/main/assets/res_Vehicles/26.jpg differ diff --git a/app/src/main/assets/res_Vehicles/27.jpg b/app/src/main/assets/res_Vehicles/27.jpg new file mode 100644 index 0000000..0849027 Binary files /dev/null and b/app/src/main/assets/res_Vehicles/27.jpg differ diff --git a/app/src/main/assets/res_Vehicles/28.jpg b/app/src/main/assets/res_Vehicles/28.jpg new file mode 100644 index 0000000..019baa9 Binary files /dev/null and b/app/src/main/assets/res_Vehicles/28.jpg differ diff --git a/app/src/main/assets/res_Vehicles/29.jpg b/app/src/main/assets/res_Vehicles/29.jpg new file mode 100644 index 0000000..c7e0d3a Binary files /dev/null and b/app/src/main/assets/res_Vehicles/29.jpg differ diff --git a/app/src/main/assets/res_Vehicles/3.jpg b/app/src/main/assets/res_Vehicles/3.jpg new file mode 100644 index 0000000..eb33365 Binary files /dev/null and b/app/src/main/assets/res_Vehicles/3.jpg differ diff --git a/app/src/main/assets/res_Vehicles/30.jpg b/app/src/main/assets/res_Vehicles/30.jpg new file mode 100644 index 0000000..3820102 Binary files /dev/null and b/app/src/main/assets/res_Vehicles/30.jpg differ diff --git a/app/src/main/assets/res_Vehicles/31.jpg b/app/src/main/assets/res_Vehicles/31.jpg new file mode 100644 index 0000000..bba9999 Binary files /dev/null and b/app/src/main/assets/res_Vehicles/31.jpg differ diff --git a/app/src/main/assets/res_Vehicles/32.jpg b/app/src/main/assets/res_Vehicles/32.jpg new file mode 100644 index 0000000..6d64a3f Binary files /dev/null and b/app/src/main/assets/res_Vehicles/32.jpg differ diff --git a/app/src/main/assets/res_Vehicles/4.jpg b/app/src/main/assets/res_Vehicles/4.jpg new file mode 100644 index 0000000..968f0ad Binary files /dev/null and b/app/src/main/assets/res_Vehicles/4.jpg differ diff --git a/app/src/main/assets/res_Vehicles/5.jpg b/app/src/main/assets/res_Vehicles/5.jpg new file mode 100644 index 0000000..abdd96c Binary files /dev/null and b/app/src/main/assets/res_Vehicles/5.jpg differ diff --git a/app/src/main/assets/res_Vehicles/6.jpg b/app/src/main/assets/res_Vehicles/6.jpg new file mode 100644 index 0000000..7eeb870 Binary files /dev/null and b/app/src/main/assets/res_Vehicles/6.jpg differ diff --git a/app/src/main/assets/res_Vehicles/7.jpg b/app/src/main/assets/res_Vehicles/7.jpg new file mode 100644 index 0000000..c5e6294 Binary files /dev/null and b/app/src/main/assets/res_Vehicles/7.jpg differ diff --git a/app/src/main/assets/res_Vehicles/8.jpg b/app/src/main/assets/res_Vehicles/8.jpg new file mode 100644 index 0000000..6628782 Binary files /dev/null and b/app/src/main/assets/res_Vehicles/8.jpg differ diff --git a/app/src/main/assets/res_Vehicles/9.jpg b/app/src/main/assets/res_Vehicles/9.jpg new file mode 100644 index 0000000..367b772 Binary files /dev/null and b/app/src/main/assets/res_Vehicles/9.jpg differ diff --git a/app/src/main/java/com/ar/drawing/art/activity/UIAllList.java b/app/src/main/java/com/ar/drawing/art/activity/UIAllList.java new file mode 100644 index 0000000..3d4b5ef --- /dev/null +++ b/app/src/main/java/com/ar/drawing/art/activity/UIAllList.java @@ -0,0 +1,62 @@ +package com.ar.drawing.art.activity; + +import android.os.Bundle; +import android.view.View; + +import androidx.appcompat.app.AppCompatActivity; +import androidx.recyclerview.widget.GridLayoutManager; + +import com.ar.drawing.art.adapter.AdaAllList; +import com.ar.drawing.art.databinding.UiAllListBinding; +import com.ar.drawing.art.utils.ArtApp; +import com.ar.drawing.art.utils.Common; +import com.ar.drawing.art.utils.ItemDec; + +import java.util.List; + +public class UIAllList extends AppCompatActivity { + + private UiAllListBinding preViewBinding; + + private String dirStr; + + + @Override + protected void onCreate(Bundle savedInstanceState) { + super.onCreate(savedInstanceState); + + preViewBinding = UiAllListBinding.inflate(getLayoutInflater()); + setContentView(preViewBinding.getRoot()); + Common.setStatusBarTextColor(this, true); + dirStr = getIntent().getStringExtra(ArtApp.Key_ViewDir); + preViewBinding.categoryName.setText(dirStr.substring(dirStr.lastIndexOf("_") + 1)); + + + + onInitList(); + onInitClick(); + } + + private void onInitList() { + + List list = Common.fileExistsInAssets(this, dirStr); + ItemDec itemDec = new ItemDec(10, 10, 5); + AdaAllList adaAllList = new AdaAllList(this, list); + preViewBinding.recyclerview.setAdapter(adaAllList); + preViewBinding.recyclerview.addItemDecoration(itemDec); + preViewBinding.recyclerview.setLayoutManager(new GridLayoutManager(this, 2)); + } + + private void onInitClick() { + preViewBinding.back.setOnClickListener(new View.OnClickListener() { + @Override + public void onClick(View v) { + finish(); + } + }); + } + + + + +} \ No newline at end of file diff --git a/app/src/main/java/com/ar/drawing/art/activity/UIDetail.java b/app/src/main/java/com/ar/drawing/art/activity/UIDetail.java new file mode 100644 index 0000000..91e90e3 --- /dev/null +++ b/app/src/main/java/com/ar/drawing/art/activity/UIDetail.java @@ -0,0 +1,340 @@ +package com.ar.drawing.art.activity; + +import android.Manifest; +import android.app.Activity; +import android.content.Intent; +import android.graphics.Bitmap; +import android.graphics.Matrix; +import android.graphics.Point; +import android.graphics.PointF; +import android.net.Uri; +import android.os.Build; +import android.os.Bundle; +import android.provider.MediaStore; +import android.util.Log; +import android.view.MotionEvent; +import android.view.View; +import android.widget.ImageView; +import android.widget.SeekBar; +import android.widget.Toast; + +import androidx.activity.result.ActivityResultLauncher; +import androidx.activity.result.contract.ActivityResultContracts; +import androidx.annotation.NonNull; +import androidx.appcompat.app.AppCompatActivity; +import androidx.camera.core.Camera; +import androidx.camera.core.CameraSelector; +import androidx.camera.core.ImageCapture; +import androidx.camera.core.Preview; +import androidx.camera.lifecycle.ProcessCameraProvider; +import androidx.camera.view.PreviewView; +import androidx.core.app.ActivityCompat; +import androidx.core.content.ContextCompat; + +import com.ar.drawing.art.dataman.MyDataBase; +import com.ar.drawing.art.utils.Common; +import com.ar.drawing.art.utils.ArtApp; +import com.google.common.util.concurrent.ListenableFuture; +import com.ar.drawing.art.R; + +public class UIDetail extends AppCompatActivity implements View.OnTouchListener, View.OnClickListener { + private CameraSelector cameraSelector; + private String[] permissions; + + private Camera camera; + private ImageCapture imageCapture; + private PreviewView previewView; + private ImageView imageView; + private SeekBar seekBar; + + + + + private int MODE;//当前状态 + public static final int MODE_NONE = 0;//无操作 + public static final int MODE_DRAG = 1;//单指操作 + public static final int MODE_SCALE = 2;//双指操作 + + private Matrix startMatrix = new Matrix(); + private Matrix endMatrix = new Matrix();//变化后的矩阵 + private PointF startPointF = new PointF();//初始坐标 + private float distance;//初始距离 + private float scaleMultiple;//缩放倍数 + + private ImageView flashIm, imZoom, imBack,imFavorite; + private ImageView imPhoto; + + private String curBitmapPath; + private boolean hasPermission = false; + private boolean isMain; + + + private ActivityResultLauncher intentActivityResultLauncher; + + @Override + protected void onCreate(Bundle savedInstanceState) { + super.onCreate(savedInstanceState); + setContentView(R.layout.ui_preview); + Common.setStatusBarTextColor(this, false); + Intent intent = getIntent(); + isMain = intent.getBooleanExtra(ArtApp.Key_ISMAIN, false); + + + previewView = findViewById(R.id.preview); + imageView = findViewById(R.id.image); + imBack = findViewById(R.id.back); + + seekBar = findViewById(R.id.seekbar); + flashIm = findViewById(R.id.im_flash); + imPhoto = findViewById(R.id.im_photo); + imZoom = findViewById(R.id.im_zoom); + imFavorite = findViewById(R.id.im_favorite); + + + + curBitmapPath = getIntent().getStringExtra(ArtApp.Key_Camera); + + boolean b = MyDataBase.queryIsLike(curBitmapPath); + imFavorite.setSelected(b); + + intentActivityResultLauncher = registerForActivityResult(new ActivityResultContracts.StartActivityForResult(), result -> { + if (result.getResultCode() == Activity.RESULT_OK && result.getData() != null) { + Uri imageUri = result.getData().getData(); + if(imageUri!= null){ + String lastPathSegment = imageUri.getLastPathSegment(); + int index = lastPathSegment.lastIndexOf("/"); + String name = lastPathSegment.substring(index+1); + double uriFileSize = Common.getUriFileSize(UIDetail.this, imageUri); + Log.d(ArtApp.TAG, "------uriFileSize-----" + uriFileSize+"--Mb"); + if(uriFileSize>=5){ + Toast.makeText(UIDetail.this, getString(R.string.import_im_too_big), Toast.LENGTH_SHORT).show(); + return; + } + imageView.setImageURI(imageUri); + new Thread(new Runnable() { + @Override + public void run() { + boolean b = Common.saveToInternalStorage(name, imageUri, UIDetail.this); + if(b){ + String importPath = Common.getImportPath(name); + MyDataBase.insertImport(importPath); + } + } + }).start(); + + + } + + } + + }); + + init(); + initClick(); + } + + + + private void onInitIm(float imW, float imH) { + Point screen = Common.getScreen(this); + float newX = screen.x / 2f - imW / 2; + float newY = screen.y / 2f - imH / 2; + startMatrix.postTranslate(newX, newY); + imageView.setImageMatrix(startMatrix); + } + + @Override + public boolean onTouch(View v, MotionEvent event) { + switch (event.getAction() & event.getActionMasked()) { + case MotionEvent.ACTION_DOWN: + + startMatrix.set(imageView.getImageMatrix()); + endMatrix.set(imageView.getImageMatrix()); + + startPointF.set(event.getX(), event.getY()); + + + + + MODE = MODE_DRAG; + + break; + case MotionEvent.ACTION_POINTER_DOWN: + + startMatrix.set(endMatrix); + + distance = Common.getDistance(event); + + MODE = MODE_SCALE; + + break; + case MotionEvent.ACTION_MOVE://滑动(单+双) + if (MODE == MODE_DRAG) {//单指滑动时 + + endMatrix.set(startMatrix); + //向矩阵传入位移距离 + endMatrix.postTranslate(event.getX() - startPointF.x, event.getY() - startPointF.y); + Log.d("---------------tt", "------ACTION_MOVE-----x=" + event.getX() + "------y=" + event.getY()); + } else if (MODE == MODE_SCALE) {//双指滑动时 + //计算缩放倍数 + scaleMultiple = Common.getDistance(event) / distance; + //获取初始矩阵 + endMatrix.set(startMatrix); + //向矩阵传入缩放倍数 + endMatrix.postScale(scaleMultiple, scaleMultiple, startPointF.x, startPointF.y); + } + break; + case MotionEvent.ACTION_UP://单指离开 + case MotionEvent.ACTION_POINTER_UP://双指离开 + //手指离开后,重置状态 + MODE = MODE_NONE; + + break; + } + //事件结束后,把矩阵的变化同步到ImageView上 + imageView.setImageMatrix(endMatrix); + return true; + } + + @Override + public void onClick(View v) { + if (v.equals(imBack)) { + + if (isMain) { + finish(); + } else { + finish(); + } + + } else { + if (!hasPermission) { + showNoPermission(); + return; + } + if (v.equals(flashIm)) { + boolean selected = flashIm.isSelected(); + flashIm.setSelected(!selected); + camera.getCameraControl().enableTorch(!selected); + } else if (v.equals(imPhoto)) { + Intent intent = new Intent(Intent.ACTION_PICK, MediaStore.Images.Media.EXTERNAL_CONTENT_URI); + intentActivityResultLauncher.launch(intent); + } else if (v.equals(imZoom)) { + if (seekBar.getVisibility() == View.VISIBLE) { + seekBar.setVisibility(View.GONE); + } else if (seekBar.getVisibility() == View.GONE) { + seekBar.setVisibility(View.VISIBLE); + } + }else if(v.equals(imFavorite)){ + boolean selected = imFavorite.isSelected(); + imFavorite.setSelected(!selected); + boolean newSelect = imFavorite.isSelected(); + if(newSelect){ + MyDataBase.insertOrUpdateLike(curBitmapPath); + }else { + MyDataBase.deleteLike(curBitmapPath); + + } + } + } + + } + + private void initClick() { + imBack.setOnClickListener(this); + flashIm.setOnClickListener(this); + imPhoto.setOnClickListener(this); + imZoom.setOnClickListener(this); + imFavorite.setOnClickListener(this); + seekBar.setOnSeekBarChangeListener(new SeekBar.OnSeekBarChangeListener() { + @Override + public void onProgressChanged(SeekBar seekBar, int progress, boolean fromUser) { + float v = (seekBar.getMax() - progress) / 10.0f; + imageView.setAlpha(v); + + } + + @Override + public void onStartTrackingTouch(SeekBar seekBar) { + + } + + @Override + public void onStopTrackingTouch(SeekBar seekBar) { + + } + }); + } + + private void init() { + cameraSelector = CameraSelector.DEFAULT_BACK_CAMERA; + permissions = new String[]{android.Manifest.permission.CAMERA}; + if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.TIRAMISU) { + permissions = new String[]{android.Manifest.permission.CAMERA, Manifest.permission.READ_MEDIA_IMAGES}; + } else { + permissions = new String[]{android.Manifest.permission.CAMERA, Manifest.permission.READ_EXTERNAL_STORAGE, Manifest.permission.WRITE_EXTERNAL_STORAGE}; + } + if (!Common.checkPermission(this,permissions)) { + hasPermission = false; + imageView.setOnTouchListener(null); + ActivityCompat.requestPermissions(this, permissions, 0); + } else { + hasPermission = true; + imageView.setOnTouchListener(this); + startCamera(); + } + } + + private void startCamera() { + ListenableFuture future = ProcessCameraProvider.getInstance(this); + future.addListener(() -> { + try { + ProcessCameraProvider cameraProvider = future.get(); + + Preview preview = new Preview.Builder().build(); + cameraProvider.unbindAll(); + ImageCapture.Builder builder1 = new ImageCapture.Builder(); + imageCapture = builder1.build(); + camera = cameraProvider.bindToLifecycle(this, cameraSelector, preview, imageCapture); + + preview.setSurfaceProvider(previewView.getSurfaceProvider()); + + if (curBitmapPath != null) { + Bitmap bitmap = Common.loadImage(this, curBitmapPath); + imageView.setImageBitmap(bitmap); + int width = bitmap.getWidth(); + int height = bitmap.getHeight(); + onInitIm(width, height); + } + + } catch (Exception e) { + e.printStackTrace(); + } + }, ContextCompat.getMainExecutor(this)); + + } + + @Override + public void onRequestPermissionsResult(int requestCode, @NonNull String[] permissions, @NonNull int[] grantResults) { + super.onRequestPermissionsResult(requestCode, permissions, grantResults); + if (requestCode == 0) { + if (Common.checkPermission(UIDetail.this,permissions)) { + hasPermission = true; + imageView.setOnTouchListener(this); + startCamera(); + } else { + hasPermission = false; + imageView.setOnTouchListener(null); + } + + } + } + + + + + private void showNoPermission() { + Toast.makeText(this, getString(R.string.permission_fail), Toast.LENGTH_SHORT).show(); + } + + +} \ No newline at end of file diff --git a/app/src/main/java/com/ar/drawing/art/activity/UIMain.java b/app/src/main/java/com/ar/drawing/art/activity/UIMain.java new file mode 100644 index 0000000..84daa06 --- /dev/null +++ b/app/src/main/java/com/ar/drawing/art/activity/UIMain.java @@ -0,0 +1,114 @@ +package com.ar.drawing.art.activity; + +import android.os.Bundle; +import android.view.LayoutInflater; +import android.view.View; +import android.widget.ImageView; +import android.widget.TextView; + +import androidx.annotation.NonNull; +import androidx.appcompat.app.AppCompatActivity; +import androidx.core.content.ContextCompat; +import androidx.fragment.app.Fragment; +import androidx.viewpager2.adapter.FragmentStateAdapter; +import androidx.viewpager2.widget.ViewPager2; + +import com.ar.drawing.art.R; +import com.ar.drawing.art.databinding.UiHomeBinding; +import com.ar.drawing.art.fragmen.FragFavorite; +import com.ar.drawing.art.fragmen.FragGallery; +import com.ar.drawing.art.fragmen.FragHome; +import com.ar.drawing.art.utils.Common; +import com.google.android.material.tabs.TabLayout; + +import java.util.ArrayList; +import java.util.List; +import java.util.Objects; + +public class UIMain extends AppCompatActivity { + + private UiHomeBinding binding; + + private List listFragment = new ArrayList<>(); + + + + + @Override + protected void onCreate(Bundle savedInstanceState) { + super.onCreate(savedInstanceState); + Common.setStatusBarTextColor(this, true); + binding = UiHomeBinding.inflate(getLayoutInflater()); + setContentView(binding.getRoot()); + listFragment.add(FragHome.newInstance()); + listFragment.add(FragGallery.newInstance()); + listFragment.add(FragFavorite.newInstance()); + + onTabInit(); + binding.viewPager2.setUserInputEnabled(false); + binding.viewPager2.setAdapter(new FragmentStateAdapter(this) { + @NonNull + @Override + public Fragment createFragment(int position) { + return listFragment.get(position); + } + + @Override + public int getItemCount() { + return listFragment.size(); + } + }); + bingTabVp(); + } + private void bingTabVp() { + binding.tab.addOnTabSelectedListener(new TabLayout.OnTabSelectedListener() { + @Override + public void onTabSelected(TabLayout.Tab tab) { + ImageView icon = Objects.requireNonNull(tab.getCustomView()).findViewById(R.id.im_icon); + icon.setSelected(true); + binding.viewPager2.setCurrentItem(tab.getPosition()); + } + + @Override + public void onTabUnselected(TabLayout.Tab tab) { + ImageView icon = Objects.requireNonNull(tab.getCustomView()).findViewById(R.id.im_icon); + icon.setSelected(false); + } + + @Override + public void onTabReselected(TabLayout.Tab tab) { + + } + }); + binding.viewPager2.registerOnPageChangeCallback(new ViewPager2.OnPageChangeCallback() { + @Override + public void onPageSelected(int position) { + super.onPageSelected(position); + Objects.requireNonNull(binding.tab.getTabAt(position)).select(); + } + }); + } + + + private void onTabInit() { + + for (int i = 0; i < listFragment.size(); i++) { + TabLayout.Tab tab = binding.tab.newTab(); + View inflate = LayoutInflater.from(this).inflate(R.layout.item_tab, null, false); + ImageView icon = inflate.findViewById(R.id.im_icon); + TextView tabText = inflate.findViewById(R.id.tab_text); + if (i == 0) { + tabText.setText(ContextCompat.getString(this,R.string.tab_home)); + icon.setImageDrawable(ContextCompat.getDrawable(this, R.drawable.ic_tab_home)); + } else if (i == 1){ + tabText.setText(ContextCompat.getString(this,R.string.tab_import)); + icon.setImageDrawable(ContextCompat.getDrawable(this, R.drawable.tab_selector_import)); + }else { + tabText.setText(ContextCompat.getString(this,R.string.tab_favorite)); + icon.setImageDrawable(ContextCompat.getDrawable(this, R.drawable.ic_tab_like)); + } + tab.setCustomView(inflate); + binding.tab.addTab(tab); + } + } +} \ No newline at end of file diff --git a/app/src/main/java/com/ar/drawing/art/activity/UIWelcome.java b/app/src/main/java/com/ar/drawing/art/activity/UIWelcome.java new file mode 100644 index 0000000..26fe59a --- /dev/null +++ b/app/src/main/java/com/ar/drawing/art/activity/UIWelcome.java @@ -0,0 +1,56 @@ +package com.ar.drawing.art.activity; + +import android.content.Intent; +import android.os.Bundle; +import android.os.CountDownTimer; + +import androidx.appcompat.app.AppCompatActivity; + +import com.ar.drawing.art.databinding.UiWelcomeBinding; +import com.ar.drawing.art.utils.Common; + +public class UIWelcome extends AppCompatActivity { + + private UiWelcomeBinding binding; + private long time = 1000; + private CountDownTimer countDownTimer; + + + @Override + protected void onCreate(Bundle savedInstanceState) { + super.onCreate(savedInstanceState); + binding = UiWelcomeBinding.inflate(getLayoutInflater()); + setContentView(binding.getRoot()); + Common.setStatusBarTextColor(this, true); + + + countDownTimer= new CountDownTimer(time,100) { + @Override + public void onTick(long millisUntilFinished) { + int progressPercentage = (int) ((100 * millisUntilFinished) / time); + int Percentage = 100 - progressPercentage; + binding.loadingPb.setProgress(Percentage); + } + + @Override + public void onFinish() { + enterMain(); + } + }; + countDownTimer.start(); + } + private void enterMain() { + binding.loadingPb.setProgress(100); + Intent intent = new Intent(UIWelcome.this, UIMain.class); + startActivity(intent); + finish(); + } + + @Override + protected void onDestroy() { + super.onDestroy(); + if (countDownTimer != null) { + countDownTimer.cancel(); + } + } +} \ No newline at end of file diff --git a/app/src/main/java/com/ar/drawing/art/adapter/AdaAllList.java b/app/src/main/java/com/ar/drawing/art/adapter/AdaAllList.java new file mode 100644 index 0000000..7468cd4 --- /dev/null +++ b/app/src/main/java/com/ar/drawing/art/adapter/AdaAllList.java @@ -0,0 +1,79 @@ +package com.ar.drawing.art.adapter; + +import android.content.Context; +import android.content.Intent; +import android.graphics.Bitmap; +import android.view.LayoutInflater; +import android.view.View; +import android.view.ViewGroup; + +import androidx.annotation.NonNull; +import androidx.recyclerview.widget.RecyclerView; + +import com.ar.drawing.art.activity.UIDetail; +import com.ar.drawing.art.utils.ArtApp; +import com.ar.drawing.art.utils.Common; +import com.ar.drawing.art.databinding.ItemActivityListBinding; + +import java.util.List; + +public class AdaAllList extends RecyclerView.Adapter { + + + private Context mCon; + private List data; + + + + public AdaAllList(Context mCon, List bitmapList) { + this.mCon = mCon; + data = bitmapList; + } + + + + @NonNull + @Override + public HomeVH onCreateViewHolder(@NonNull ViewGroup parent, int viewType) { + + return new HomeVH( ItemActivityListBinding.inflate(LayoutInflater.from(parent.getContext()), parent, false)); + } + + @Override + public void onBindViewHolder(@NonNull HomeVH holder, int position) { + + String name = data.get(position); + Bitmap bitmap = Common.loadImageFromAssets(mCon, name); + holder.binding.imPreview.setImageBitmap(bitmap); + + holder.binding.cardView.setOnClickListener(new View.OnClickListener() { + @Override + public void onClick(View v) { + Intent intent = new Intent(mCon, UIDetail.class); + intent.putExtra(ArtApp.Key_Camera, name); + mCon.startActivity(intent); + } + }); + + + } + + @Override + public int getItemCount() { + return data.size(); + } + + public static class HomeVH extends RecyclerView.ViewHolder { + private ItemActivityListBinding binding; + + + + + public HomeVH(@NonNull ItemActivityListBinding itemView) { + super(itemView.getRoot()); + binding = itemView; + } + + + } +} diff --git a/app/src/main/java/com/ar/drawing/art/adapter/AdaImport.java b/app/src/main/java/com/ar/drawing/art/adapter/AdaImport.java new file mode 100644 index 0000000..aeccebf --- /dev/null +++ b/app/src/main/java/com/ar/drawing/art/adapter/AdaImport.java @@ -0,0 +1,110 @@ +package com.ar.drawing.art.adapter; + +import android.app.Activity; +import android.content.Intent; +import android.graphics.Bitmap; +import android.graphics.BitmapFactory; +import android.view.LayoutInflater; +import android.view.View; +import android.view.ViewGroup; + +import androidx.annotation.NonNull; +import androidx.recyclerview.widget.RecyclerView; + +import com.ar.drawing.art.activity.UIDetail; +import com.ar.drawing.art.databinding.ItemImportBinding; +import com.ar.drawing.art.dataman.ImportBean; +import com.ar.drawing.art.dataman.MyDataBase; +import com.ar.drawing.art.utils.ArtApp; + +import java.util.ArrayList; +import java.util.List; + +public class AdaImport extends RecyclerView.Adapter { + + + private Activity mCon; + private List data = new ArrayList<>(); + + + public void setData(List data) { + this.data = data; + notifyDataSetChanged(); + } + public AdaImport(Activity mCon) { + this.mCon = mCon; + } + + public void addData(ImportBean newData){ + data.add(newData); + int i = data.size() - 1; + notifyItemInserted(i); + notifyItemChanged(i); + + } + + @NonNull + @Override + public HomeVH onCreateViewHolder(@NonNull ViewGroup parent, int viewType) { + + return new HomeVH(ItemImportBinding.inflate(LayoutInflater.from(parent.getContext()), parent, false)); + } + + @Override + public void onBindViewHolder(@NonNull HomeVH holder, int position) { + ImportBean importBean = data.get(position); + String path = importBean.getUri(); + new Thread(new Runnable() { + @Override + public void run() { + Bitmap bitmap = BitmapFactory.decodeFile(path); + mCon.runOnUiThread(()->{ + holder.binding.imPreview.setImageBitmap(bitmap); + }); + + } + }).start(); + + + + holder.binding.cardView.setOnClickListener(new View.OnClickListener() { + @Override + public void onClick(View v) { + Intent intent = new Intent(mCon, UIDetail.class); + intent.putExtra(ArtApp.Key_Camera, path); + mCon.startActivity(intent); + } + }); + holder.binding.delete.setOnClickListener(new View.OnClickListener() { + @Override + public void onClick(View v) { + int adapterPosition = holder.getAdapterPosition(); + MyDataBase.deleteImport(path); + data.remove(adapterPosition); + notifyItemRemoved(adapterPosition); + } + }); + + + + } + + @Override + public int getItemCount() { + return data.size(); + } + + public static class HomeVH extends RecyclerView.ViewHolder { + + + private ItemImportBinding binding; + + + public HomeVH(@NonNull ItemImportBinding itemView) { + super(itemView.getRoot()); + binding = itemView; + } + + + } +} diff --git a/app/src/main/java/com/ar/drawing/art/adapter/AdaMain.java b/app/src/main/java/com/ar/drawing/art/adapter/AdaMain.java new file mode 100644 index 0000000..8cffc0b --- /dev/null +++ b/app/src/main/java/com/ar/drawing/art/adapter/AdaMain.java @@ -0,0 +1,98 @@ +package com.ar.drawing.art.adapter; + +import android.content.Context; +import android.graphics.Bitmap; +import android.view.LayoutInflater; +import android.view.View; +import android.view.ViewGroup; + +import androidx.annotation.NonNull; +import androidx.recyclerview.widget.LinearLayoutManager; +import androidx.recyclerview.widget.RecyclerView; + +import com.ar.drawing.art.databinding.ItemHomeBinding; +import com.ar.drawing.art.listener.OnClickListener; +import com.ar.drawing.art.utils.ArtApp; +import com.ar.drawing.art.utils.Common; + +import java.util.ArrayList; +import java.util.List; + +public class AdaMain extends RecyclerView.Adapter { + private List nameList = ArtApp.getAllDir(); + + private Context mCon; + + private OnClickListener listener; + + public AdaMain(Context mCon) { + this.mCon = mCon; + } + + public void setListener(OnClickListener listener) { + this.listener = listener; + } + + @NonNull + @Override + public HomeVH onCreateViewHolder(@NonNull ViewGroup parent, int viewType) { + + return new HomeVH(ItemHomeBinding.inflate(LayoutInflater.from(parent.getContext()), parent, false)); + } + + @Override + public void onBindViewHolder(@NonNull HomeVH holder, int position) { + String dir = nameList.get(position); + String filePath = dir + "/1.jpg"; + String filePath2 = dir + "/2.jpg"; + String filePath3 = dir + "/3.jpg"; + String filePath4 = dir + "/4.jpg"; + Bitmap bitmap = Common.loadImageFromAssets(mCon, filePath); + String substring = dir.substring(dir.lastIndexOf("_") + 1); + + holder.itemBinding.name.setText(substring); + List data = new ArrayList<>(); + data.add(filePath); + data.add(filePath2); + data.add(filePath3); + data.add(filePath4); + adaListChild listAdapter = new adaListChild(mCon, data); + listAdapter.setListener(listener); + holder.itemBinding.childRecycler.setAdapter(listAdapter); + holder.itemBinding.childRecycler.setLayoutManager(new LinearLayoutManager(mCon, LinearLayoutManager.HORIZONTAL, false)); + + holder.itemBinding.all.setOnClickListener(new View.OnClickListener() { + @Override + public void onClick(View v) { + if (listener != null) { + listener.onClickItem(0, dir); + } + + } + }); + if(position == nameList.size()-1){ + holder.itemBinding.view.setVisibility(View.VISIBLE); + }else { + holder.itemBinding.view.setVisibility(View.GONE); + } + + + } + + + @Override + public int getItemCount() { + return nameList.size(); + } + + public static class HomeVH extends RecyclerView.ViewHolder { + private ItemHomeBinding itemBinding; + + public HomeVH(@NonNull ItemHomeBinding itemHomeBinding) { + super(itemHomeBinding.getRoot()); + itemBinding = itemHomeBinding; + } + + + } +} diff --git a/app/src/main/java/com/ar/drawing/art/adapter/adaFavorite.java b/app/src/main/java/com/ar/drawing/art/adapter/adaFavorite.java new file mode 100644 index 0000000..58e8cf3 --- /dev/null +++ b/app/src/main/java/com/ar/drawing/art/adapter/adaFavorite.java @@ -0,0 +1,98 @@ +package com.ar.drawing.art.adapter; + +import android.app.Activity; +import android.content.Intent; +import android.graphics.Bitmap; +import android.view.LayoutInflater; +import android.view.View; +import android.view.ViewGroup; +import android.widget.ImageView; + +import androidx.annotation.NonNull; +import androidx.cardview.widget.CardView; +import androidx.recyclerview.widget.RecyclerView; + +import com.ar.drawing.art.activity.UIDetail; +import com.ar.drawing.art.dataman.MyBean; +import com.ar.drawing.art.utils.ArtApp; +import com.ar.drawing.art.utils.Common; +import com.ar.drawing.art.R; + +import java.util.List; + +public class adaFavorite extends RecyclerView.Adapter { + + + private Activity mCon; + private List data; + + + public void setData(List data) { + this.data = data; + notifyDataSetChanged(); + } + public adaFavorite(Activity mCon) { + this.mCon = mCon; + } + + @NonNull + @Override + public HomeVH onCreateViewHolder(@NonNull ViewGroup parent, int viewType) { + View view = LayoutInflater.from(parent.getContext()).inflate(R.layout.item_favorite, parent, false); + return new HomeVH(view); + } + + @Override + public void onBindViewHolder(@NonNull HomeVH holder, int position) { + MyBean myBean = data.get(position); + String name = myBean.getPath(); + new Thread(new Runnable() { + @Override + public void run() { + Bitmap bitmap = Common.loadImage(mCon, name); + mCon.runOnUiThread(()->{ + holder.previewIm.setImageBitmap(bitmap); + }); + + } + }).start(); + + if(position == data.size()-1){ + holder.spaceView.setVisibility(View.VISIBLE); + }else { + holder.spaceView.setVisibility(View.GONE); + } + + holder.cardView.setOnClickListener(new View.OnClickListener() { + @Override + public void onClick(View v) { + Intent intent = new Intent(mCon, UIDetail.class); + intent.putExtra(ArtApp.Key_Camera, name); + mCon.startActivity(intent); + } + }); + + } + + @Override + public int getItemCount() { + return data.size(); + } + + public static class HomeVH extends RecyclerView.ViewHolder { + private ImageView previewIm, imFavorite; + + private CardView cardView ; + + private View spaceView ; + public HomeVH(@NonNull View itemView) { + super(itemView); + previewIm = itemView.findViewById(R.id.imPreview); + cardView = itemView.findViewById(R.id.card_view); + spaceView = itemView.findViewById(R.id.view); + imFavorite = itemView.findViewById(R.id.im_favorite); + } + + + } +} diff --git a/app/src/main/java/com/ar/drawing/art/adapter/adaListChild.java b/app/src/main/java/com/ar/drawing/art/adapter/adaListChild.java new file mode 100644 index 0000000..4e7d890 --- /dev/null +++ b/app/src/main/java/com/ar/drawing/art/adapter/adaListChild.java @@ -0,0 +1,83 @@ +package com.ar.drawing.art.adapter; + +import android.content.Context; +import android.graphics.Bitmap; +import android.view.LayoutInflater; +import android.view.View; +import android.view.ViewGroup; + +import androidx.annotation.NonNull; +import androidx.recyclerview.widget.RecyclerView; + +import com.ar.drawing.art.databinding.ItemListChildBinding; +import com.ar.drawing.art.listener.OnClickListener; +import com.ar.drawing.art.utils.Common; + +import java.util.List; + +public class adaListChild extends RecyclerView.Adapter { + + + private Context mCon; + private List data; + + private OnClickListener listener; + + + public void setListener(OnClickListener listener) { + this.listener = listener; + } + + public adaListChild(Context mCon, List bitmapList ) { + this.mCon = mCon; + data = bitmapList; + + } + + + @NonNull + @Override + public ChildVH onCreateViewHolder(@NonNull ViewGroup parent, int viewType) { + + + return new ChildVH( ItemListChildBinding.inflate(LayoutInflater.from(parent.getContext()), parent, false)); + } + + @Override + public void onBindViewHolder(@NonNull ChildVH holder, int position) { + + String name = data.get(position); + Bitmap bitmap = Common.loadImageFromAssets(mCon, name); + holder.binding.imPreview.setImageBitmap(bitmap); + holder.binding.cardView.setOnClickListener(new View.OnClickListener() { + @Override + public void onClick(View v) { + if (listener != null) { + listener.onClickItem(1, name); + } + } + }); + + + + } + + @Override + public int getItemCount() { + return data.size(); + } + + public static class ChildVH extends RecyclerView.ViewHolder { + + + private ItemListChildBinding binding; + + + public ChildVH(@NonNull ItemListChildBinding itemView) { + super(itemView.getRoot()); + binding = itemView; + } + + + } +} diff --git a/app/src/main/java/com/ar/drawing/art/dataman/ImportBean.java b/app/src/main/java/com/ar/drawing/art/dataman/ImportBean.java new file mode 100644 index 0000000..39a23a5 --- /dev/null +++ b/app/src/main/java/com/ar/drawing/art/dataman/ImportBean.java @@ -0,0 +1,32 @@ +package com.ar.drawing.art.dataman; + + +import io.objectbox.annotation.Entity; +import io.objectbox.annotation.Id; + +@Entity +public class ImportBean { + + @Id + private long id; + + private String uri; + + + + public long getId() { + return id; + } + + public void setId(long id) { + this.id = id; + } + + public String getUri() { + return uri; + } + + public void setUri(String uri) { + this.uri = uri; + } +} diff --git a/app/src/main/java/com/ar/drawing/art/dataman/MyBean.java b/app/src/main/java/com/ar/drawing/art/dataman/MyBean.java new file mode 100644 index 0000000..85fccdc --- /dev/null +++ b/app/src/main/java/com/ar/drawing/art/dataman/MyBean.java @@ -0,0 +1,32 @@ +package com.ar.drawing.art.dataman; + + +import io.objectbox.annotation.Entity; +import io.objectbox.annotation.Id; + +@Entity +public class MyBean { + + @Id + private long id; + + private String path; + + + + public long getId() { + return id; + } + + public void setId(long id) { + this.id = id; + } + + public String getPath() { + return path; + } + + public void setPath(String path) { + this.path = path; + } +} diff --git a/app/src/main/java/com/ar/drawing/art/dataman/MyDataBase.java b/app/src/main/java/com/ar/drawing/art/dataman/MyDataBase.java new file mode 100644 index 0000000..4e9d24d --- /dev/null +++ b/app/src/main/java/com/ar/drawing/art/dataman/MyDataBase.java @@ -0,0 +1,148 @@ +package com.ar.drawing.art.dataman; + +import android.content.Context; +import android.util.Log; + +import com.ar.drawing.art.listener.OnLikeListener; +import com.ar.drawing.art.utils.ArtApp; + +import java.util.ArrayList; +import java.util.List; + +import io.objectbox.Box; +import io.objectbox.BoxStore; +import io.objectbox.query.QueryBuilder; + +public class MyDataBase { + + private static BoxStore boxStore; + + private static Box LikeBox; + + private static Box ImportBox; + + private static List list = new ArrayList<>(); + + public static void addListener(OnLikeListener listener) { + list.add(listener); + } + + public static void init(Context context) { + boxStore = MyObjectBox.builder().androidContext(context).build(); + } + + private static Box getObjectBoxLike() { + if (LikeBox == null) { + LikeBox = boxStore.boxFor(MyBean.class); + } + + return LikeBox; + } + private static Box getObjectBoxImport() { + if (ImportBox == null) { + ImportBox = boxStore.boxFor(ImportBean.class); + } + + return ImportBox; + } + + public static void insertOrUpdateLike(String mPath) { + Box objectBoxLike = getObjectBoxLike(); + MyBean first = objectBoxLike.query() + .equal(MyBean_.path, mPath, QueryBuilder.StringOrder.CASE_SENSITIVE) + .build() + .findFirst(); + if (first == null) { + MyBean myBean = new MyBean(); + myBean.setPath(mPath); + objectBoxLike.put(myBean); + for(OnLikeListener listener:list){ + listener.onAddLike(); + } + } else { + + } + } + public static void insertImport(String muri) { + Box objectBoxImport = getObjectBoxImport(); + ImportBean first = objectBoxImport.query() + .equal(ImportBean_.uri, muri, QueryBuilder.StringOrder.CASE_SENSITIVE) + .build() + .findFirst(); + if (first == null) { + + ImportBean importBean = new ImportBean(); + importBean.setUri(muri); + objectBoxImport.put(importBean); + } else { + + } + + } + + public static void deleteImport(String mPath) { + Box objectBoxImport = getObjectBoxImport(); + ImportBean first = objectBoxImport.query() + .equal(ImportBean_.uri, mPath, QueryBuilder.StringOrder.CASE_SENSITIVE) + .build() + .findFirst(); + if (first != null) { + objectBoxImport.remove(first); + for(OnLikeListener listener:list){ +// listener.onDeleteLike(); + } + Log.d(ArtApp.TAG, "--------deleteImport imId=" + mPath); + } + + + } + + public static void deleteLike(String mPath) { + Box objectBoxLike = getObjectBoxLike(); + MyBean boxLike = objectBoxLike.query() + .equal(MyBean_.path, mPath, QueryBuilder.StringOrder.CASE_SENSITIVE) + .build() + .findFirst(); + if (boxLike != null) { + objectBoxLike.remove(boxLike); + for(OnLikeListener listener:list){ + listener.onDeleteLike(); + } + Log.d(ArtApp.TAG, "--------deleteLike imId=" + mPath); + } + + + } + + public static List queryAllLike() { + return getObjectBoxLike().query() + .build() + .find(); + } + + public static List queryAllImport() { + return getObjectBoxImport().query() + .build() + .find(); + } + public static boolean queryIsImport(String mPath) { + Box objectBoxImport = getObjectBoxImport(); + ImportBean first = objectBoxImport.query() + .equal(ImportBean_.uri, mPath, QueryBuilder.StringOrder.CASE_SENSITIVE) + .build() + .findFirst(); + return first != null; + + } + + + public static boolean queryIsLike(String mPath) { + Box objectBoxLike = getObjectBoxLike(); + MyBean first = objectBoxLike.query() + .equal(MyBean_.path, mPath, QueryBuilder.StringOrder.CASE_SENSITIVE) + .build() + .findFirst(); + return first != null; + + } +} diff --git a/app/src/main/java/com/ar/drawing/art/fragmen/FragFavorite.java b/app/src/main/java/com/ar/drawing/art/fragmen/FragFavorite.java new file mode 100644 index 0000000..966b16d --- /dev/null +++ b/app/src/main/java/com/ar/drawing/art/fragmen/FragFavorite.java @@ -0,0 +1,79 @@ +package com.ar.drawing.art.fragmen; + +import android.os.Bundle; +import android.view.LayoutInflater; +import android.view.View; +import android.view.ViewGroup; + +import androidx.fragment.app.Fragment; +import androidx.recyclerview.widget.GridLayoutManager; + +import com.ar.drawing.art.adapter.adaFavorite; +import com.ar.drawing.art.databinding.FragFavoriteBinding; +import com.ar.drawing.art.dataman.MyBean; +import com.ar.drawing.art.dataman.MyDataBase; +import com.ar.drawing.art.listener.OnLikeListener; +import com.ar.drawing.art.utils.ItemDec; + +import java.util.List; + +public class FragFavorite extends Fragment { + private FragFavoriteBinding binding; + + public FragFavorite() { + + } + public static FragFavorite newInstance() { + return new FragFavorite(); + } + + + + @Override + public View onCreateView(LayoutInflater inflater, ViewGroup container, + Bundle savedInstanceState) { + binding = FragFavoriteBinding.inflate(getLayoutInflater()); + onInit(); + + return binding.getRoot(); + } + + private void onInit(){ + List datumLocals = MyDataBase.queryAllLike(); + adaFavorite listFavorite = new adaFavorite(requireActivity()); + listFavorite.setData(datumLocals); + updateUi(datumLocals); + ItemDec itemDec = new ItemDec(10, 10, 5); + binding.recyclerview.addItemDecoration(itemDec); + binding.recyclerview.setAdapter(listFavorite); + binding.recyclerview.setLayoutManager(new GridLayoutManager(requireContext(), 3)); + + + MyDataBase.addListener(new OnLikeListener() { + @Override + public void onAddLike() { + List datumLocals = MyDataBase.queryAllLike(); + listFavorite.setData(datumLocals); + updateUi(datumLocals); + } + + @Override + public void onDeleteLike() { + List datumLocals = MyDataBase.queryAllLike(); + listFavorite.setData(datumLocals); + updateUi(datumLocals); + } + }); + } + + private void updateUi(List datumLocals){ + if(datumLocals.size()>0){ + binding.recyclerview.setVisibility(View.VISIBLE); + binding.layoutNoFavorite.setVisibility(View.GONE); + }else { + binding.recyclerview.setVisibility(View.GONE); + binding.layoutNoFavorite.setVisibility(View.VISIBLE); + } + + } +} \ No newline at end of file diff --git a/app/src/main/java/com/ar/drawing/art/fragmen/FragGallery.java b/app/src/main/java/com/ar/drawing/art/fragmen/FragGallery.java new file mode 100644 index 0000000..b7af573 --- /dev/null +++ b/app/src/main/java/com/ar/drawing/art/fragmen/FragGallery.java @@ -0,0 +1,225 @@ +package com.ar.drawing.art.fragmen; + +import android.Manifest; +import android.app.Activity; +import android.content.Intent; +import android.net.Uri; +import android.os.Build; +import android.os.Bundle; +import android.provider.MediaStore; +import android.util.Log; +import android.view.LayoutInflater; +import android.view.View; +import android.view.ViewGroup; +import android.widget.Toast; + +import androidx.activity.result.ActivityResultCallback; +import androidx.activity.result.ActivityResultLauncher; +import androidx.activity.result.contract.ActivityResultContracts; +import androidx.fragment.app.Fragment; +import androidx.recyclerview.widget.GridLayoutManager; + +import com.ar.drawing.art.R; +import com.ar.drawing.art.adapter.AdaImport; +import com.ar.drawing.art.databinding.FragGalleryBinding; +import com.ar.drawing.art.dataman.ImportBean; +import com.ar.drawing.art.dataman.MyDataBase; +import com.ar.drawing.art.utils.ArtApp; +import com.ar.drawing.art.utils.Common; +import com.ar.drawing.art.utils.ItemDec; + +import java.io.File; +import java.util.List; +import java.util.Map; + +public class FragGallery extends Fragment { + + private FragGalleryBinding binding; + + + private String[] permissions; + + private AdaImport adaImport; + private ActivityResultLauncher intentActivityResultLauncher; + private ActivityResultLauncher permissionsLauncher; + public FragGallery() { + + } + + public static FragGallery newInstance() { + FragGallery fragment = new FragGallery(); + Bundle args = new Bundle(); + fragment.setArguments(args); + return fragment; + } + + + @Override + public View onCreateView(LayoutInflater inflater, ViewGroup container, + Bundle savedInstanceState) { + binding = FragGalleryBinding.inflate(getLayoutInflater()); + onInit(); + + return binding.getRoot(); + } + + + private void onInit() { + + binding.loading.setVisibility(View.VISIBLE); + loadImport(); + binding.btnImport.setOnClickListener(new View.OnClickListener() { + @Override + public void onClick(View v) { + checkPermission(); + } + }); + + permissionsLauncher = registerForActivityResult( + new ActivityResultContracts.RequestMultiplePermissions(), + new ActivityResultCallback>() { + @Override + public void onActivityResult(Map result) { + Boolean isGranted = true; + for (Map.Entry entry : result.entrySet()) { + String permission = entry.getKey(); + isGranted = entry.getValue(); + if(!entry.getValue()){ + isGranted = false; + } + } + if (isGranted) { + startIntent(); + }else { + Toast.makeText(requireContext(), " Permission denied", Toast.LENGTH_SHORT).show(); + } + } + } + ); + intentActivityResultLauncher = registerForActivityResult(new ActivityResultContracts.StartActivityForResult(), result -> { + if (result.getResultCode() == Activity.RESULT_OK && result.getData() != null) { + Uri imageUri = result.getData().getData(); + if (imageUri != null) { + binding.loading.setVisibility(View.VISIBLE); + double uriFileSize = Common.getUriFileSize(requireContext(), imageUri); + Log.d(ArtApp.TAG, "------uriFileSize-----" + uriFileSize + "--Mb"); + if (uriFileSize >= 5) { + binding.loading.setVisibility(View.GONE); + Toast.makeText(requireContext(), getString(R.string.import_im_too_big), Toast.LENGTH_SHORT).show(); + return; + } + String lastPathSegment = imageUri.getLastPathSegment(); + int index = lastPathSegment.lastIndexOf("/"); + + String name = lastPathSegment.substring(index + 1); + String importPath = Common.getImportPath(name); + new Thread(new Runnable() { + @Override + public void run() { + File file = new File(importPath); + boolean isimport = MyDataBase.queryIsImport(importPath); + if (file.exists()) { + if (!isimport) { + MyDataBase.insertImport(importPath); + } + requireActivity().runOnUiThread(() -> { + binding.loading.setVisibility(View.GONE); + if (isimport) { + Toast.makeText(requireContext(), getString(R.string.import_already), Toast.LENGTH_SHORT).show(); + } else { + ImportBean importBean = new ImportBean(); + importBean.setUri(importPath); + adaImport.addData(importBean); + updateUi(true); + } + }); + } else { + boolean b = Common.saveToInternalStorage(name, imageUri, requireContext()); + if (b) { + MyDataBase.insertImport(importPath); + } + requireActivity().runOnUiThread(() -> { + binding.loading.setVisibility(View.GONE); + if (b) { + ImportBean importBean = new ImportBean(); + importBean.setUri(importPath); + adaImport.addData(importBean); + updateUi(true); + } else { + Toast.makeText(requireContext(), getString(R.string.import_fail), Toast.LENGTH_SHORT).show(); + } + }); + } + + } + }).start(); + } + + } + + }); + } + + private void checkPermission() { + if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.TIRAMISU) { + permissions = new String[]{Manifest.permission.READ_MEDIA_IMAGES}; + } else { + permissions = new String[]{Manifest.permission.READ_EXTERNAL_STORAGE, Manifest.permission.WRITE_EXTERNAL_STORAGE}; + } + if (!Common.checkPermission(requireActivity(), permissions)) { + permissionsLauncher.launch(permissions); + } else { + startIntent(); + } + } + + + private void startIntent() { + Intent intent = new Intent(Intent.ACTION_PICK, MediaStore.Images.Media.EXTERNAL_CONTENT_URI); + intentActivityResultLauncher.launch(intent); + +// Intent intent = new Intent(Intent.ACTION_OPEN_DOCUMENT); +// intent.setType("image/*"); +// intent.addCategory(Intent.CATEGORY_OPENABLE); +// String[] mimeTypes = {"image/jpeg", "image/png", "image/webp"}; +// intent.putExtra(Intent.EXTRA_MIME_TYPES, mimeTypes); +// Intent chooser = Intent.createChooser(intent, "Please select a picture"); +// intentActivityResultLauncher.launch(chooser); + + + } + + + private void loadImport() { + ItemDec itemDec = new ItemDec(10, 10, 5); + binding.recyclerview.addItemDecoration(itemDec); + adaImport = new AdaImport(requireActivity()); + new Thread(new Runnable() { + @Override + public void run() { + List importUrises = MyDataBase.queryAllImport(); + requireActivity().runOnUiThread(() -> { + adaImport.setData(importUrises); + updateUi(importUrises.size() > 0); + binding.loading.setVisibility(View.GONE); + }); + } + }).start(); + binding.recyclerview.setAdapter(adaImport); + binding.recyclerview.setLayoutManager(new GridLayoutManager(requireActivity(), 3)); + } + + + private void updateUi(boolean isShow) { + if (isShow) { + binding.recyclerview.setVisibility(View.VISIBLE); + binding.layoutNoImport.setVisibility(View.GONE); + } else { + binding.recyclerview.setVisibility(View.GONE); + binding.layoutNoImport.setVisibility(View.VISIBLE); + } + + } + + +} \ No newline at end of file diff --git a/app/src/main/java/com/ar/drawing/art/fragmen/FragHome.java b/app/src/main/java/com/ar/drawing/art/fragmen/FragHome.java new file mode 100644 index 0000000..80dc9b1 --- /dev/null +++ b/app/src/main/java/com/ar/drawing/art/fragmen/FragHome.java @@ -0,0 +1,69 @@ +package com.ar.drawing.art.fragmen; + +import android.content.Intent; +import android.os.Bundle; +import android.view.LayoutInflater; +import android.view.View; +import android.view.ViewGroup; + +import androidx.fragment.app.Fragment; +import androidx.recyclerview.widget.GridLayoutManager; + +import com.ar.drawing.art.activity.UIAllList; +import com.ar.drawing.art.activity.UIDetail; +import com.ar.drawing.art.adapter.AdaMain; +import com.ar.drawing.art.databinding.FragHomeBinding; +import com.ar.drawing.art.listener.OnClickListener; +import com.ar.drawing.art.utils.ArtApp; + +public class FragHome extends Fragment implements OnClickListener { + + private FragHomeBinding binding; + + public FragHome() { + + } + public static FragHome newInstance() { + FragHome fragment = new FragHome(); + Bundle args = new Bundle(); + fragment.setArguments(args); + return fragment; + } + + + @Override + public View onCreateView(LayoutInflater inflater, ViewGroup container, + Bundle savedInstanceState) { + binding = FragHomeBinding.inflate(getLayoutInflater()); + onInitRecycler(); + + + return binding.getRoot(); + } + + private void onInitRecycler() { + AdaMain adaMain = new AdaMain(requireContext()); + adaMain.setListener(this::onClickItem); + binding.recyclerview.setAdapter(adaMain); + binding.recyclerview.setLayoutManager(new GridLayoutManager(requireContext(), 1)); + } + + + @Override + public void onClickItem(int type, String dir) { + switch (type) { + case 0: + Intent intent = new Intent(requireContext(), UIAllList.class); + intent.putExtra(ArtApp.Key_ViewDir, dir); + startActivity(intent); + break; + case 1: + Intent intent1 = new Intent(requireContext(), UIDetail.class); + intent1.putExtra(ArtApp.Key_Camera, dir); + startActivity(intent1); + break; + } + + + } +} \ No newline at end of file diff --git a/app/src/main/java/com/ar/drawing/art/listener/OnClickListener.java b/app/src/main/java/com/ar/drawing/art/listener/OnClickListener.java new file mode 100644 index 0000000..46a5b71 --- /dev/null +++ b/app/src/main/java/com/ar/drawing/art/listener/OnClickListener.java @@ -0,0 +1,6 @@ +package com.ar.drawing.art.listener; + +public interface OnClickListener { + + void onClickItem(int type,String dir); +} diff --git a/app/src/main/java/com/ar/drawing/art/listener/OnLikeListener.java b/app/src/main/java/com/ar/drawing/art/listener/OnLikeListener.java new file mode 100644 index 0000000..2550138 --- /dev/null +++ b/app/src/main/java/com/ar/drawing/art/listener/OnLikeListener.java @@ -0,0 +1,7 @@ +package com.ar.drawing.art.listener; + +public interface OnLikeListener { + + void onAddLike(); + void onDeleteLike(); +} diff --git a/app/src/main/java/com/ar/drawing/art/utils/ArtApp.java b/app/src/main/java/com/ar/drawing/art/utils/ArtApp.java new file mode 100644 index 0000000..e419c5f --- /dev/null +++ b/app/src/main/java/com/ar/drawing/art/utils/ArtApp.java @@ -0,0 +1,101 @@ +package com.ar.drawing.art.utils; + +import android.app.Application; +import android.content.res.AssetManager; +import android.graphics.Typeface; + +import com.ar.drawing.art.dataman.MyDataBase; + +import java.util.ArrayList; +import java.util.Collections; +import java.util.List; + +public class ArtApp extends Application { + public static String Key_ViewDir = "pre_dir"; + public static String Key_ISMAIN = "ismain"; + public static String Key_Camera = "camera_data"; + + public static String TAG = "============="; + + + public static ArtApp app; + +// private String APPId ="h67505d35951dc"; +// +// private String AppKey ="a81d17e5cc10cd96a65fe75c0ffd15334"; + + public static Typeface defaultFont; + + @Override + public void onCreate() { + super.onCreate(); + app = this; + AssetManager assets = getAssets(); + defaultFont = Typeface.createFromAsset(assets, "myfont.ttf"); + + MyDataBase.init(this); + + } + +// private void initSDk(){ +// ATSDK.checkIsEuTraffic(this, new NetTrafficeCallback() { +// +// @Override +// public void onResultCallback(boolean isEU) { +// if (isEU && ATSDK.getGDPRDataLevel(MyApplication.this) == ATSDK.UNKNOWN) { +// ATSDK.showGdprAuth(MyApplication.this); +// } +// +// } +// +// @Override +// public void onErrorCallback(String errorMsg) { +// +// } +// }); +// ATSDK.init( this, APPId, AppKey); +// ; +// } + + public static String Class_Animals = "res_Animals"; + public static String Class_birds = "res_Birds"; + public static String Class_butterfly = "res_Butterfly"; + public static String Class_cafe = "res_Cafe"; + public static String Class_cartoons = "res_Cartoons"; + public static String Class_christmas = "res_Christmas"; + public static String Class_festivals = "res_Festivals"; + public static String Class_flowers = "res_Flowers"; + public static String Class_fruits = "res_Fruits"; + public static String Class_general = "res_General"; + + public static String Class_mehndi = "res_Mehndi"; + public static String Class_nature = "res_Nature"; + public static String Class_properties = "res_Properties"; + public static String Class_rangoli = "res_Rangoli"; + public static String Class_sports = "res_Sports"; + public static String Class_vehicles = "res_Vehicles"; + + public static List getAllDir() { + ArrayList list = new ArrayList<>(); + list.add(Class_Animals); + list.add(Class_birds); + list.add(Class_butterfly); + list.add(Class_cafe); + list.add(Class_cartoons); + list.add(Class_christmas); + list.add(Class_festivals); + list.add(Class_flowers); + list.add(Class_fruits); + list.add(Class_general); + list.add(Class_mehndi); + list.add(Class_nature); + list.add(Class_properties); + list.add(Class_rangoli); + list.add(Class_sports); + list.add(Class_vehicles); + Collections.shuffle(list); + return list; + + + } +} diff --git a/app/src/main/java/com/ar/drawing/art/utils/Common.java b/app/src/main/java/com/ar/drawing/art/utils/Common.java new file mode 100644 index 0000000..069d268 --- /dev/null +++ b/app/src/main/java/com/ar/drawing/art/utils/Common.java @@ -0,0 +1,188 @@ +package com.ar.drawing.art.utils; + +import android.app.Activity; +import android.content.ContentResolver; +import android.content.Context; +import android.content.pm.PackageManager; +import android.content.res.AssetManager; +import android.graphics.Bitmap; +import android.graphics.BitmapFactory; +import android.graphics.Point; +import android.net.Uri; +import android.util.DisplayMetrics; +import android.util.Log; +import android.view.MotionEvent; +import android.view.View; +import android.view.Window; +import android.view.WindowManager; +import android.widget.TextView; + +import androidx.core.app.ActivityCompat; + + +import java.io.File; +import java.io.FileOutputStream; +import java.io.IOException; +import java.io.InputStream; +import java.util.ArrayList; +import java.util.List; + +public class Common { + + + + public static void setStatusBarTextColor(Activity activity, boolean dark) { + Window window = activity.getWindow(); + View decor = window.getDecorView(); + if (dark) { + decor.setSystemUiVisibility(View.SYSTEM_UI_FLAG_LAYOUT_FULLSCREEN + | View.SYSTEM_UI_FLAG_LIGHT_STATUS_BAR); + } else { + decor.setSystemUiVisibility(View.SYSTEM_UI_FLAG_LAYOUT_FULLSCREEN + | View.SYSTEM_UI_FLAG_LAYOUT_STABLE); + } + window.addFlags(WindowManager.LayoutParams.FLAG_TRANSLUCENT_STATUS); + } + + public static Point getScreen(Context context) { + DisplayMetrics displayMetrics = new DisplayMetrics(); + WindowManager windowManager = (WindowManager) context.getSystemService(Context.WINDOW_SERVICE); + windowManager.getDefaultDisplay().getMetrics(displayMetrics); + int width = displayMetrics.widthPixels; + int height = displayMetrics.heightPixels; + Point point = new Point(); + point.x = width; + point.y = height; + return point; + } + + + + + public static Bitmap loadImage(Context context, String path) { + Bitmap bitmap = loadImageFromAssets(context, path); + if (bitmap == null) { + Bitmap bitmap1 = BitmapFactory.decodeFile(path); + Log.d(ArtApp.TAG,"--------import"); + return bitmap1; + } else { + Log.d(ArtApp.TAG,"--------Assets"); + return bitmap; + } + } + + + public static Bitmap loadImageFromAssets(Context context, String fileName) { + Bitmap bitmap = null; + AssetManager assetManager = context.getAssets(); + try (InputStream is = assetManager.open(fileName)) { + bitmap = BitmapFactory.decodeStream(is); + } catch (IOException e) { + return bitmap; + } + + return bitmap; + + } + + public static List fileExistsInAssets(Context context, String dir) { + + List pathList = new ArrayList(); + try { + AssetManager assetManager = context.getAssets(); + String[] files = assetManager.list(dir); + + if (files != null) { + for (String name : files) { + pathList.add(dir + "/" + name); + } + return pathList; + } + } catch (IOException e) { + + return pathList; + } + return pathList; + } + + + + + + public static float getDistance(MotionEvent event) { + float x = event.getX(0) - event.getX(1); + float y = event.getY(0) - event.getY(1); + return (float) Math.sqrt(x * x + y * y); + } + + + public static void initFont(TextView tv) { + tv.setTypeface(ArtApp.defaultFont); + } + + + public static boolean saveToInternalStorage(String fileName, Uri fileUri, Context context) { + try { + // 获取输入流 + Bitmap bitmap = BitmapFactory.decodeStream(context.getContentResolver().openInputStream(fileUri)); + // 创建图片文件 + File file = new File(context.getFilesDir(), fileName); + FileOutputStream fileOutputStream = new FileOutputStream(file); + // 将Bitmap图片进行存储 + bitmap.compress(Bitmap.CompressFormat.PNG, 100, fileOutputStream); + fileOutputStream.close(); + return true; + } catch (IOException e) { + e.printStackTrace(); + return false; + } + } + + public static String getImportPath(String name) { + File filesDir = ArtApp.app.getFilesDir(); + String s = filesDir + "/" + name; + return s; + } + + public static float dpToPx(float dpValue) { + float density = ArtApp.app.getResources().getDisplayMetrics().density; + return density * dpValue + 0.5f; + } + + + public static boolean checkPermission(Activity activity,String[] permissions) { + boolean result = true; + for (String per : permissions) { + if (ActivityCompat.checkSelfPermission(activity, per) != PackageManager.PERMISSION_GRANTED) { + result = false; + } + } + return result; + + } + + public static double getUriFileSize(Context context, Uri uri) { + double fileSize = 0; + ContentResolver contentResolver = context.getContentResolver(); + + // 如果Uri是文件类型 + if (uri.getScheme().equals("file")) { + File file = new File(uri.getPath()); + fileSize = file.length(); + } else { // 如果Uri不是文件类型,则通过ContentResolver获取大小 + try { + fileSize = contentResolver.openFileDescriptor(uri, "r").getStatSize(); + + } catch (Exception e) { + Log.e("UriUtils", "Error while retrieving file size: " + e.getMessage()); + } + } + fileSize = fileSize/1048576.0; + return fileSize; + } + + + + + +} diff --git a/app/src/main/java/com/ar/drawing/art/utils/FontTv.java b/app/src/main/java/com/ar/drawing/art/utils/FontTv.java new file mode 100644 index 0000000..39cb6c1 --- /dev/null +++ b/app/src/main/java/com/ar/drawing/art/utils/FontTv.java @@ -0,0 +1,32 @@ +package com.ar.drawing.art.utils; + +import android.content.Context; +import android.content.res.TypedArray; +import android.util.AttributeSet; + +import androidx.annotation.Nullable; + +import com.ar.drawing.art.R; + +public class FontTv extends androidx.appcompat.widget.AppCompatTextView { + + + public FontTv(Context context, @Nullable AttributeSet attrs) { + super(context, attrs); + initAttrs(context,attrs); + } + + + private void initAttrs(Context context, AttributeSet attrs){ + TypedArray typedArray = context.obtainStyledAttributes(attrs, R.styleable.MyTV); + boolean aBoolean = typedArray.getBoolean(R.styleable.MyTV_apply_font,false); + if(aBoolean){ + Common.initFont(this); + } + + typedArray.recycle(); + } + + + +} diff --git a/app/src/main/java/com/ar/drawing/art/utils/ItemDec.java b/app/src/main/java/com/ar/drawing/art/utils/ItemDec.java new file mode 100644 index 0000000..3a560a3 --- /dev/null +++ b/app/src/main/java/com/ar/drawing/art/utils/ItemDec.java @@ -0,0 +1,74 @@ +package com.ar.drawing.art.utils; + +import android.graphics.Rect; +import android.view.View; + +import androidx.annotation.NonNull; +import androidx.recyclerview.widget.GridLayoutManager; +import androidx.recyclerview.widget.LinearLayoutManager; +import androidx.recyclerview.widget.RecyclerView; +import androidx.recyclerview.widget.StaggeredGridLayoutManager; + + +public class ItemDec extends RecyclerView.ItemDecoration { + + private int v, h, ex; + + public ItemDec(int v, int h, int ex) { + this.v = Math.round(dpToPx(v)); + this.h = Math.round(dpToPx(h)); + this.ex = Math.round(dpToPx(ex)); + } + + @Override + public void getItemOffsets(@NonNull Rect outRect, @NonNull View view, @NonNull RecyclerView parent, @NonNull RecyclerView.State state) { + super.getItemOffsets(outRect, view, parent, state); + int spanCount = 1; + int spanSize = 1; + int spanIndex = 0; + + int childAdapterPosition = parent.getChildAdapterPosition(view); + RecyclerView.LayoutManager layoutManager = parent.getLayoutManager(); + if (layoutManager instanceof StaggeredGridLayoutManager) { + StaggeredGridLayoutManager staggeredGridLayoutManager = (StaggeredGridLayoutManager) layoutManager; + StaggeredGridLayoutManager.LayoutParams layoutParams = (StaggeredGridLayoutManager.LayoutParams) view.getLayoutParams(); + spanCount = staggeredGridLayoutManager.getSpanCount(); + if (layoutParams.isFullSpan()) { + spanSize = spanCount; + } + spanIndex = layoutParams.getSpanIndex(); + } else if (layoutManager instanceof GridLayoutManager) { + GridLayoutManager gridLayoutManager = (GridLayoutManager) layoutManager; + GridLayoutManager.LayoutParams layoutParams = (GridLayoutManager.LayoutParams) view.getLayoutParams(); + spanCount = gridLayoutManager.getSpanCount(); + spanSize = gridLayoutManager.getSpanSizeLookup().getSpanSize(childAdapterPosition); + spanIndex = layoutParams.getSpanIndex(); + } else if (layoutManager instanceof LinearLayoutManager) { + outRect.left = v; + outRect.right = v; + outRect.bottom = h; + } + + if (spanSize == spanCount) { + outRect.left = v + ex; + outRect.right = v + ex; + outRect.bottom = h; + + } else { + int itemAllSpacing = (v * (spanCount + 1) + ex * 2) / spanCount; + int left = v * (spanIndex + 1) - itemAllSpacing * spanIndex + ex; + int right = itemAllSpacing - left; + outRect.left = left; + outRect.right = right; + outRect.bottom = h; + + } + + } + + + public static float dpToPx(float dpValue) { + float density = ArtApp.app.getResources().getDisplayMetrics().density; + return density * dpValue + 0.5f; + } +} diff --git a/app/src/main/res/color/selector_text_color.xml b/app/src/main/res/color/selector_text_color.xml new file mode 100644 index 0000000..563275b --- /dev/null +++ b/app/src/main/res/color/selector_text_color.xml @@ -0,0 +1,5 @@ + + + + + \ No newline at end of file diff --git a/app/src/main/res/drawable-v24/ic_launcher_foreground.xml b/app/src/main/res/drawable-v24/ic_launcher_foreground.xml new file mode 100644 index 0000000..2b068d1 --- /dev/null +++ b/app/src/main/res/drawable-v24/ic_launcher_foreground.xml @@ -0,0 +1,30 @@ + + + + + + + + + + + \ No newline at end of file diff --git a/app/src/main/res/drawable/flash_close.xml b/app/src/main/res/drawable/flash_close.xml new file mode 100644 index 0000000..372b38d --- /dev/null +++ b/app/src/main/res/drawable/flash_close.xml @@ -0,0 +1,18 @@ + + + + diff --git a/app/src/main/res/drawable/flash_open.xml b/app/src/main/res/drawable/flash_open.xml new file mode 100644 index 0000000..6f4e4eb --- /dev/null +++ b/app/src/main/res/drawable/flash_open.xml @@ -0,0 +1,9 @@ + + + diff --git a/app/src/main/res/drawable/ic_heart_red_selector.xml b/app/src/main/res/drawable/ic_heart_red_selector.xml new file mode 100644 index 0000000..4d6f7a8 --- /dev/null +++ b/app/src/main/res/drawable/ic_heart_red_selector.xml @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/app/src/main/res/drawable/ic_import_gray.xml b/app/src/main/res/drawable/ic_import_gray.xml new file mode 100644 index 0000000..82b953a --- /dev/null +++ b/app/src/main/res/drawable/ic_import_gray.xml @@ -0,0 +1,9 @@ + + + diff --git a/app/src/main/res/drawable/ic_import_light.xml b/app/src/main/res/drawable/ic_import_light.xml new file mode 100644 index 0000000..d81bedc --- /dev/null +++ b/app/src/main/res/drawable/ic_import_light.xml @@ -0,0 +1,9 @@ + + + diff --git a/app/src/main/res/drawable/ic_launcher_background.xml b/app/src/main/res/drawable/ic_launcher_background.xml new file mode 100644 index 0000000..07d5da9 --- /dev/null +++ b/app/src/main/res/drawable/ic_launcher_background.xml @@ -0,0 +1,170 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/app/src/main/res/drawable/ic_like0.xml b/app/src/main/res/drawable/ic_like0.xml new file mode 100644 index 0000000..1845a6c --- /dev/null +++ b/app/src/main/res/drawable/ic_like0.xml @@ -0,0 +1,9 @@ + + + diff --git a/app/src/main/res/drawable/ic_like1.xml b/app/src/main/res/drawable/ic_like1.xml new file mode 100644 index 0000000..0d74b36 --- /dev/null +++ b/app/src/main/res/drawable/ic_like1.xml @@ -0,0 +1,9 @@ + + + diff --git a/app/src/main/res/drawable/ic_photo.xml b/app/src/main/res/drawable/ic_photo.xml new file mode 100644 index 0000000..1355b85 --- /dev/null +++ b/app/src/main/res/drawable/ic_photo.xml @@ -0,0 +1,10 @@ + + + diff --git a/app/src/main/res/drawable/ic_remove.xml b/app/src/main/res/drawable/ic_remove.xml new file mode 100644 index 0000000..43c61ce --- /dev/null +++ b/app/src/main/res/drawable/ic_remove.xml @@ -0,0 +1,9 @@ + + + diff --git a/app/src/main/res/drawable/ic_tab_home.xml b/app/src/main/res/drawable/ic_tab_home.xml new file mode 100644 index 0000000..52365e1 --- /dev/null +++ b/app/src/main/res/drawable/ic_tab_home.xml @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/app/src/main/res/drawable/ic_tab_like.xml b/app/src/main/res/drawable/ic_tab_like.xml new file mode 100644 index 0000000..d19a2ae --- /dev/null +++ b/app/src/main/res/drawable/ic_tab_like.xml @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/app/src/main/res/drawable/ic_tab_like1.xml b/app/src/main/res/drawable/ic_tab_like1.xml new file mode 100644 index 0000000..1e924ba --- /dev/null +++ b/app/src/main/res/drawable/ic_tab_like1.xml @@ -0,0 +1,9 @@ + + + diff --git a/app/src/main/res/drawable/ic_thumb.xml b/app/src/main/res/drawable/ic_thumb.xml new file mode 100644 index 0000000..b08d488 --- /dev/null +++ b/app/src/main/res/drawable/ic_thumb.xml @@ -0,0 +1,9 @@ + + + + + + \ No newline at end of file diff --git a/app/src/main/res/drawable/im_back.xml b/app/src/main/res/drawable/im_back.xml new file mode 100644 index 0000000..f53206f --- /dev/null +++ b/app/src/main/res/drawable/im_back.xml @@ -0,0 +1,9 @@ + + + diff --git a/app/src/main/res/drawable/im_back_white.xml b/app/src/main/res/drawable/im_back_white.xml new file mode 100644 index 0000000..b47d615 --- /dev/null +++ b/app/src/main/res/drawable/im_back_white.xml @@ -0,0 +1,9 @@ + + + diff --git a/app/src/main/res/drawable/im_circle.xml b/app/src/main/res/drawable/im_circle.xml new file mode 100644 index 0000000..647024d --- /dev/null +++ b/app/src/main/res/drawable/im_circle.xml @@ -0,0 +1,14 @@ + + + + diff --git a/app/src/main/res/drawable/like_stoke.xml b/app/src/main/res/drawable/like_stoke.xml new file mode 100644 index 0000000..c3ca983 --- /dev/null +++ b/app/src/main/res/drawable/like_stoke.xml @@ -0,0 +1,9 @@ + + + diff --git a/app/src/main/res/drawable/pb_alaph_progress.xml b/app/src/main/res/drawable/pb_alaph_progress.xml new file mode 100644 index 0000000..778039f --- /dev/null +++ b/app/src/main/res/drawable/pb_alaph_progress.xml @@ -0,0 +1,17 @@ + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/app/src/main/res/drawable/selecor_flash.xml b/app/src/main/res/drawable/selecor_flash.xml new file mode 100644 index 0000000..6e6cc63 --- /dev/null +++ b/app/src/main/res/drawable/selecor_flash.xml @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/app/src/main/res/drawable/shape_button_preview.xml b/app/src/main/res/drawable/shape_button_preview.xml new file mode 100644 index 0000000..676e5aa --- /dev/null +++ b/app/src/main/res/drawable/shape_button_preview.xml @@ -0,0 +1,7 @@ + + + + + + \ No newline at end of file diff --git a/app/src/main/res/drawable/shape_import.xml b/app/src/main/res/drawable/shape_import.xml new file mode 100644 index 0000000..b565c4c --- /dev/null +++ b/app/src/main/res/drawable/shape_import.xml @@ -0,0 +1,10 @@ + + + + + + \ No newline at end of file diff --git a/app/src/main/res/drawable/shape_seeall.xml b/app/src/main/res/drawable/shape_seeall.xml new file mode 100644 index 0000000..53378c2 --- /dev/null +++ b/app/src/main/res/drawable/shape_seeall.xml @@ -0,0 +1,9 @@ + + + + + + \ No newline at end of file diff --git a/app/src/main/res/drawable/shape_tab.xml b/app/src/main/res/drawable/shape_tab.xml new file mode 100644 index 0000000..e1b7045 --- /dev/null +++ b/app/src/main/res/drawable/shape_tab.xml @@ -0,0 +1,8 @@ + + + + + + + \ No newline at end of file diff --git a/app/src/main/res/drawable/tab_drawing_gray.xml b/app/src/main/res/drawable/tab_drawing_gray.xml new file mode 100644 index 0000000..dc1a222 --- /dev/null +++ b/app/src/main/res/drawable/tab_drawing_gray.xml @@ -0,0 +1,9 @@ + + + diff --git a/app/src/main/res/drawable/tab_drawing_light.xml b/app/src/main/res/drawable/tab_drawing_light.xml new file mode 100644 index 0000000..70c7259 --- /dev/null +++ b/app/src/main/res/drawable/tab_drawing_light.xml @@ -0,0 +1,9 @@ + + + diff --git a/app/src/main/res/drawable/tab_selector_import.xml b/app/src/main/res/drawable/tab_selector_import.xml new file mode 100644 index 0000000..af232e9 --- /dev/null +++ b/app/src/main/res/drawable/tab_selector_import.xml @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/app/src/main/res/drawable/welcome_pb.xml b/app/src/main/res/drawable/welcome_pb.xml new file mode 100644 index 0000000..8ce06c4 --- /dev/null +++ b/app/src/main/res/drawable/welcome_pb.xml @@ -0,0 +1,20 @@ + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/app/src/main/res/layout/frag_favorite.xml b/app/src/main/res/layout/frag_favorite.xml new file mode 100644 index 0000000..c0cdd5b --- /dev/null +++ b/app/src/main/res/layout/frag_favorite.xml @@ -0,0 +1,37 @@ + + + + + + + + + + + + + + \ No newline at end of file diff --git a/app/src/main/res/layout/frag_gallery.xml b/app/src/main/res/layout/frag_gallery.xml new file mode 100644 index 0000000..13ff165 --- /dev/null +++ b/app/src/main/res/layout/frag_gallery.xml @@ -0,0 +1,76 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/app/src/main/res/layout/frag_home.xml b/app/src/main/res/layout/frag_home.xml new file mode 100644 index 0000000..75d43f7 --- /dev/null +++ b/app/src/main/res/layout/frag_home.xml @@ -0,0 +1,17 @@ + + + + + + + + \ No newline at end of file diff --git a/app/src/main/res/layout/item_activity_list.xml b/app/src/main/res/layout/item_activity_list.xml new file mode 100644 index 0000000..4036021 --- /dev/null +++ b/app/src/main/res/layout/item_activity_list.xml @@ -0,0 +1,31 @@ + + + + + + + + + + + + + + \ No newline at end of file diff --git a/app/src/main/res/layout/item_favorite.xml b/app/src/main/res/layout/item_favorite.xml new file mode 100644 index 0000000..9bcf4d6 --- /dev/null +++ b/app/src/main/res/layout/item_favorite.xml @@ -0,0 +1,30 @@ + + + + + + + + + + + + \ No newline at end of file diff --git a/app/src/main/res/layout/item_home.xml b/app/src/main/res/layout/item_home.xml new file mode 100644 index 0000000..1d714be --- /dev/null +++ b/app/src/main/res/layout/item_home.xml @@ -0,0 +1,57 @@ + + + + + + + + + + + + + + + + diff --git a/app/src/main/res/layout/item_import.xml b/app/src/main/res/layout/item_import.xml new file mode 100644 index 0000000..8ca60c2 --- /dev/null +++ b/app/src/main/res/layout/item_import.xml @@ -0,0 +1,34 @@ + + + + + + + + + + + + + + \ No newline at end of file diff --git a/app/src/main/res/layout/item_list_child.xml b/app/src/main/res/layout/item_list_child.xml new file mode 100644 index 0000000..f5ec23f --- /dev/null +++ b/app/src/main/res/layout/item_list_child.xml @@ -0,0 +1,37 @@ + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/app/src/main/res/layout/item_tab.xml b/app/src/main/res/layout/item_tab.xml new file mode 100644 index 0000000..c680ea1 --- /dev/null +++ b/app/src/main/res/layout/item_tab.xml @@ -0,0 +1,26 @@ + + + + + + + + + + \ No newline at end of file diff --git a/app/src/main/res/layout/ui_all_list.xml b/app/src/main/res/layout/ui_all_list.xml new file mode 100644 index 0000000..ab75d49 --- /dev/null +++ b/app/src/main/res/layout/ui_all_list.xml @@ -0,0 +1,37 @@ + + + + + + + + + + \ No newline at end of file diff --git a/app/src/main/res/layout/ui_home.xml b/app/src/main/res/layout/ui_home.xml new file mode 100644 index 0000000..e56214e --- /dev/null +++ b/app/src/main/res/layout/ui_home.xml @@ -0,0 +1,32 @@ + + + + + + + + + \ No newline at end of file diff --git a/app/src/main/res/layout/ui_preview.xml b/app/src/main/res/layout/ui_preview.xml new file mode 100644 index 0000000..c19f70f --- /dev/null +++ b/app/src/main/res/layout/ui_preview.xml @@ -0,0 +1,106 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/app/src/main/res/layout/ui_welcome.xml b/app/src/main/res/layout/ui_welcome.xml new file mode 100644 index 0000000..14268da --- /dev/null +++ b/app/src/main/res/layout/ui_welcome.xml @@ -0,0 +1,46 @@ + + + + + + + + + + \ No newline at end of file diff --git a/app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml b/app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml new file mode 100644 index 0000000..6f3b755 --- /dev/null +++ b/app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/app/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml b/app/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml new file mode 100644 index 0000000..6f3b755 --- /dev/null +++ b/app/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/app/src/main/res/mipmap-hdpi/ic_launcher.webp b/app/src/main/res/mipmap-hdpi/ic_launcher.webp new file mode 100644 index 0000000..c209e78 Binary files /dev/null and b/app/src/main/res/mipmap-hdpi/ic_launcher.webp differ diff --git a/app/src/main/res/mipmap-hdpi/ic_launcher_round.webp b/app/src/main/res/mipmap-hdpi/ic_launcher_round.webp new file mode 100644 index 0000000..b2dfe3d Binary files /dev/null and b/app/src/main/res/mipmap-hdpi/ic_launcher_round.webp differ diff --git a/app/src/main/res/mipmap-mdpi/ic_launcher.webp b/app/src/main/res/mipmap-mdpi/ic_launcher.webp new file mode 100644 index 0000000..4f0f1d6 Binary files /dev/null and b/app/src/main/res/mipmap-mdpi/ic_launcher.webp differ diff --git a/app/src/main/res/mipmap-mdpi/ic_launcher_round.webp b/app/src/main/res/mipmap-mdpi/ic_launcher_round.webp new file mode 100644 index 0000000..62b611d Binary files /dev/null and b/app/src/main/res/mipmap-mdpi/ic_launcher_round.webp differ diff --git a/app/src/main/res/mipmap-xhdpi/ic_launcher.webp b/app/src/main/res/mipmap-xhdpi/ic_launcher.webp new file mode 100644 index 0000000..948a307 Binary files /dev/null and b/app/src/main/res/mipmap-xhdpi/ic_launcher.webp differ diff --git a/app/src/main/res/mipmap-xhdpi/ic_launcher_round.webp b/app/src/main/res/mipmap-xhdpi/ic_launcher_round.webp new file mode 100644 index 0000000..1b9a695 Binary files /dev/null and b/app/src/main/res/mipmap-xhdpi/ic_launcher_round.webp differ diff --git a/app/src/main/res/mipmap-xxhdpi/ic_launcher.webp b/app/src/main/res/mipmap-xxhdpi/ic_launcher.webp new file mode 100644 index 0000000..28d4b77 Binary files /dev/null and b/app/src/main/res/mipmap-xxhdpi/ic_launcher.webp differ diff --git a/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.webp b/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.webp new file mode 100644 index 0000000..9287f50 Binary files /dev/null and b/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.webp differ diff --git a/app/src/main/res/mipmap-xxxhdpi/ic_launcher.webp b/app/src/main/res/mipmap-xxxhdpi/ic_launcher.webp new file mode 100644 index 0000000..aa7d642 Binary files /dev/null and b/app/src/main/res/mipmap-xxxhdpi/ic_launcher.webp differ diff --git a/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.webp b/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.webp new file mode 100644 index 0000000..9126ae3 Binary files /dev/null and b/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.webp differ diff --git a/app/src/main/res/mipmap-xxxhdpi/icon.png b/app/src/main/res/mipmap-xxxhdpi/icon.png new file mode 100644 index 0000000..6ac8475 Binary files /dev/null and b/app/src/main/res/mipmap-xxxhdpi/icon.png differ diff --git a/app/src/main/res/values-night/themes.xml b/app/src/main/res/values-night/themes.xml new file mode 100644 index 0000000..71efee4 --- /dev/null +++ b/app/src/main/res/values-night/themes.xml @@ -0,0 +1,7 @@ + + + + \ No newline at end of file diff --git a/app/src/main/res/values/attrs.xml b/app/src/main/res/values/attrs.xml new file mode 100644 index 0000000..3e55230 --- /dev/null +++ b/app/src/main/res/values/attrs.xml @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/app/src/main/res/values/colors.xml b/app/src/main/res/values/colors.xml new file mode 100644 index 0000000..3143640 --- /dev/null +++ b/app/src/main/res/values/colors.xml @@ -0,0 +1,31 @@ + + + #FF000000 + #FFFFFFFF + #F7F5F4 + + #E84646 + #cccccc + #6F6C6C + + #F67186 + + #00000000 + #cccccc + + + + + + + + + + #4DFFFFFF + + + #30c1ca + #dbdbdb + #123885 + #4DE0F0F1 + \ No newline at end of file diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml new file mode 100644 index 0000000..5a65a05 --- /dev/null +++ b/app/src/main/res/values/strings.xml @@ -0,0 +1,20 @@ + + AR Drawing Art + + + Please grant the relevant permissions and try again. + No Favorites + + You haven\'t uploaded any pictures yet + Import pictures + Import failed, please try again + Too big, the image should not be larger than 5M + Already imported + + + See all + + Home + Gallery + Favorite + \ No newline at end of file diff --git a/app/src/main/res/values/themes.xml b/app/src/main/res/values/themes.xml new file mode 100644 index 0000000..2b36a94 --- /dev/null +++ b/app/src/main/res/values/themes.xml @@ -0,0 +1,10 @@ + + + + +