├── app ├── .gitignore ├── src │ ├── main │ │ ├── res │ │ │ ├── drawable │ │ │ │ ├── but.png │ │ │ │ ├── cub.png │ │ │ │ ├── eye.png │ │ │ │ ├── ken.png │ │ │ │ ├── map.png │ │ │ │ ├── one.png │ │ │ │ ├── ron.png │ │ │ │ ├── about.png │ │ │ │ ├── add84.png │ │ │ │ ├── bool.png │ │ │ │ ├── card.png │ │ │ │ ├── edit.png │ │ │ │ ├── emoji.png │ │ │ │ ├── five.png │ │ │ │ ├── james.png │ │ │ │ ├── linee.png │ │ │ │ ├── logo.png │ │ │ │ ├── pic1.png │ │ │ │ ├── pic2.png │ │ │ │ ├── pic3.png │ │ │ │ ├── ezekiel.png │ │ │ │ ├── ezekielb.png │ │ │ │ ├── facebook.png │ │ │ │ ├── lineblue.png │ │ │ │ ├── listcard.png │ │ │ │ ├── log_out.png │ │ │ │ ├── rignt_st.png │ │ │ │ ├── search.png │ │ │ │ ├── trans1.png │ │ │ │ ├── trans2.png │ │ │ │ ├── trans3.png │ │ │ │ ├── trans4.png │ │ │ │ ├── triangle.png │ │ │ │ ├── chats_imag.png │ │ │ │ ├── dictation.png │ │ │ │ ├── referrals.png │ │ │ │ ├── statements.png │ │ │ │ ├── uncardlist.png │ │ │ │ ├── unkenblue.png │ │ │ │ ├── customer_imag.png │ │ │ │ ├── notification.png │ │ │ │ ├── numbers_block.png │ │ │ │ ├── right_yellow.png │ │ │ │ ├── tech_meetup.png │ │ │ │ ├── love_revolution.png │ │ │ │ ├── notification_white.png │ │ │ │ ├── sendapackage_imag.png │ │ │ │ ├── find_your_wallet_imag.png │ │ │ │ ├── top_up.xml │ │ │ │ ├── chats_bac.xml │ │ │ │ ├── chatsbluexm.xml │ │ │ │ ├── searchh.xml │ │ │ │ ├── chatsgrey.xml │ │ │ │ ├── line.xml │ │ │ │ ├── radius_sqvare.xml │ │ │ │ ├── kr_ug.xml │ │ │ │ ├── square.xml │ │ │ │ ├── kr_ug_red.xml │ │ │ │ ├── trunssucc_smal.xml │ │ │ │ ├── trunssucc_big.xml │ │ │ │ ├── trunsfer.xml │ │ │ │ ├── bluekr.xml │ │ │ │ ├── destination.xml │ │ │ │ ├── sq_right.xml │ │ │ │ ├── clock.xml │ │ │ │ ├── trush.xml │ │ │ │ ├── clockgr.xml │ │ │ │ ├── add.xml │ │ │ │ ├── bank.xml │ │ │ │ ├── animation.xml │ │ │ │ ├── card_top_up.xml │ │ │ │ ├── notnotifi.xml │ │ │ │ ├── ic_launcher_foreground.xml │ │ │ │ ├── calendwhite.xml │ │ │ │ ├── origindet.xml │ │ │ │ ├── walet.xml │ │ │ │ ├── walletact.xml │ │ │ │ ├── profile.xml │ │ │ │ ├── profileact.xml │ │ │ │ ├── home.xml │ │ │ │ ├── homeact.xml │ │ │ │ ├── track.xml │ │ │ │ ├── trackact.xml │ │ │ │ └── ic_launcher_background.xml │ │ │ ├── values-land │ │ │ │ └── dimens.xml │ │ │ ├── values-w1240dp │ │ │ │ └── dimens.xml │ │ │ ├── values-w600dp │ │ │ │ └── dimens.xml │ │ │ ├── mipmap-hdpi │ │ │ │ ├── ic_launcher.webp │ │ │ │ └── ic_launcher_round.webp │ │ │ ├── mipmap-mdpi │ │ │ │ ├── ic_launcher.webp │ │ │ │ └── ic_launcher_round.webp │ │ │ ├── mipmap-xhdpi │ │ │ │ ├── ic_launcher.webp │ │ │ │ └── ic_launcher_round.webp │ │ │ ├── mipmap-xxhdpi │ │ │ │ ├── ic_launcher.webp │ │ │ │ └── ic_launcher_round.webp │ │ │ ├── mipmap-xxxhdpi │ │ │ │ ├── ic_launcher.webp │ │ │ │ └── ic_launcher_round.webp │ │ │ ├── values │ │ │ │ ├── dimens.xml │ │ │ │ ├── themes.xml │ │ │ │ ├── colors.xml │ │ │ │ └── strings.xml │ │ │ ├── values-night │ │ │ │ └── themes.xml │ │ │ ├── mipmap-anydpi │ │ │ │ ├── ic_launcher.xml │ │ │ │ └── ic_launcher_round.xml │ │ │ ├── values-v23 │ │ │ │ └── themes.xml │ │ │ ├── xml │ │ │ │ ├── backup_rules.xml │ │ │ │ └── data_extraction_rules.xml │ │ │ ├── layout │ │ │ │ ├── activity_splash.xml │ │ │ │ ├── fragment_first.xml │ │ │ │ ├── fragment_second.xml │ │ │ │ ├── activity_delivery_saccessful.xml │ │ │ │ ├── activity_calling.xml │ │ │ │ ├── activity_notification.xml │ │ │ │ ├── activity_onboarding3.xml │ │ │ │ ├── activity_transaction_successful.xml │ │ │ │ ├── activity_onboarding1.xml │ │ │ │ ├── activity_onboarding4.xml │ │ │ │ ├── activity_forgot_password.xml │ │ │ │ └── activity_new_password.xml │ │ │ └── navigation │ │ │ │ └── nav_graph.xml │ │ ├── java │ │ │ └── com │ │ │ │ └── example │ │ │ │ └── up05 │ │ │ │ ├── SendAPackege3.java │ │ │ │ ├── ChatRider.java │ │ │ │ ├── Notification.java │ │ │ │ ├── Chats.java │ │ │ │ ├── Calling.java │ │ │ │ ├── Truck.java │ │ │ │ ├── Wallet.java │ │ │ │ ├── Onboarding3.java │ │ │ │ ├── Onboarding1.java │ │ │ │ ├── Onboarding4.java │ │ │ │ ├── Home.java │ │ │ │ ├── Spalsh.java │ │ │ │ ├── Profile.java │ │ │ │ ├── FirstFragment.java │ │ │ │ ├── SecondFragment.java │ │ │ │ ├── DeliverySaccessful.java │ │ │ │ ├── TransactionSuccessful.java │ │ │ │ ├── SendAPackage2.java │ │ │ │ ├── New_Password.java │ │ │ │ ├── AddPaymentMethod.java │ │ │ │ ├── Forgot_password.java │ │ │ │ ├── SendAPackage.java │ │ │ │ ├── Log_in.java │ │ │ │ └── OTP_Verification.java │ │ └── AndroidManifest.xml │ ├── test │ │ └── java │ │ │ └── com │ │ │ └── example │ │ │ └── educationalpractice │ │ │ └── ExampleUnitTest.java │ └── androidTest │ │ └── java │ │ └── com │ │ └── example │ │ └── educationalpractice │ │ └── ExampleInstrumentedTest.java ├── google-services.json ├── proguard-rules.pro └── build.gradle.kts ├── .idea ├── .name ├── .gitignore ├── vcs.xml ├── compiler.xml ├── deploymentTargetDropDown.xml ├── migrations.xml ├── misc.xml └── gradle.xml ├── gradle └── wrapper │ ├── gradle-wrapper.jar │ └── gradle-wrapper.properties ├── .gitignore ├── settings.gradle.kts ├── README.md ├── gradle.properties ├── gradlew.bat └── gradlew /app/.gitignore: -------------------------------------------------------------------------------- 1 | /build -------------------------------------------------------------------------------- /.idea/.name: -------------------------------------------------------------------------------- 1 | Educational practice -------------------------------------------------------------------------------- /.idea/.gitignore: -------------------------------------------------------------------------------- 1 | # Default ignored files 2 | /shelf/ 3 | /workspace.xml 4 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/but.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/K1rsN7/UP05/HEAD/app/src/main/res/drawable/but.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/cub.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/K1rsN7/UP05/HEAD/app/src/main/res/drawable/cub.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/eye.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/K1rsN7/UP05/HEAD/app/src/main/res/drawable/eye.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/ken.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/K1rsN7/UP05/HEAD/app/src/main/res/drawable/ken.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/map.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/K1rsN7/UP05/HEAD/app/src/main/res/drawable/map.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/one.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/K1rsN7/UP05/HEAD/app/src/main/res/drawable/one.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/ron.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/K1rsN7/UP05/HEAD/app/src/main/res/drawable/ron.png -------------------------------------------------------------------------------- /app/src/main/res/values-land/dimens.xml: -------------------------------------------------------------------------------- 1 | 2 | 48dp 3 | -------------------------------------------------------------------------------- /gradle/wrapper/gradle-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/K1rsN7/UP05/HEAD/gradle/wrapper/gradle-wrapper.jar -------------------------------------------------------------------------------- /app/src/main/res/drawable/about.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/K1rsN7/UP05/HEAD/app/src/main/res/drawable/about.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/add84.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/K1rsN7/UP05/HEAD/app/src/main/res/drawable/add84.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/bool.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/K1rsN7/UP05/HEAD/app/src/main/res/drawable/bool.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/card.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/K1rsN7/UP05/HEAD/app/src/main/res/drawable/card.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/edit.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/K1rsN7/UP05/HEAD/app/src/main/res/drawable/edit.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/emoji.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/K1rsN7/UP05/HEAD/app/src/main/res/drawable/emoji.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/five.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/K1rsN7/UP05/HEAD/app/src/main/res/drawable/five.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/james.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/K1rsN7/UP05/HEAD/app/src/main/res/drawable/james.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/linee.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/K1rsN7/UP05/HEAD/app/src/main/res/drawable/linee.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/K1rsN7/UP05/HEAD/app/src/main/res/drawable/logo.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/pic1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/K1rsN7/UP05/HEAD/app/src/main/res/drawable/pic1.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/pic2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/K1rsN7/UP05/HEAD/app/src/main/res/drawable/pic2.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/pic3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/K1rsN7/UP05/HEAD/app/src/main/res/drawable/pic3.png -------------------------------------------------------------------------------- /app/src/main/res/values-w1240dp/dimens.xml: -------------------------------------------------------------------------------- 1 | 2 | 200dp 3 | -------------------------------------------------------------------------------- /app/src/main/res/values-w600dp/dimens.xml: -------------------------------------------------------------------------------- 1 | 2 | 48dp 3 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/ezekiel.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/K1rsN7/UP05/HEAD/app/src/main/res/drawable/ezekiel.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/ezekielb.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/K1rsN7/UP05/HEAD/app/src/main/res/drawable/ezekielb.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/facebook.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/K1rsN7/UP05/HEAD/app/src/main/res/drawable/facebook.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/lineblue.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/K1rsN7/UP05/HEAD/app/src/main/res/drawable/lineblue.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/listcard.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/K1rsN7/UP05/HEAD/app/src/main/res/drawable/listcard.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/log_out.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/K1rsN7/UP05/HEAD/app/src/main/res/drawable/log_out.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/rignt_st.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/K1rsN7/UP05/HEAD/app/src/main/res/drawable/rignt_st.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/search.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/K1rsN7/UP05/HEAD/app/src/main/res/drawable/search.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/trans1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/K1rsN7/UP05/HEAD/app/src/main/res/drawable/trans1.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/trans2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/K1rsN7/UP05/HEAD/app/src/main/res/drawable/trans2.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/trans3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/K1rsN7/UP05/HEAD/app/src/main/res/drawable/trans3.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/trans4.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/K1rsN7/UP05/HEAD/app/src/main/res/drawable/trans4.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/triangle.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/K1rsN7/UP05/HEAD/app/src/main/res/drawable/triangle.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/chats_imag.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/K1rsN7/UP05/HEAD/app/src/main/res/drawable/chats_imag.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/dictation.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/K1rsN7/UP05/HEAD/app/src/main/res/drawable/dictation.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/referrals.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/K1rsN7/UP05/HEAD/app/src/main/res/drawable/referrals.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/statements.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/K1rsN7/UP05/HEAD/app/src/main/res/drawable/statements.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/uncardlist.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/K1rsN7/UP05/HEAD/app/src/main/res/drawable/uncardlist.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/unkenblue.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/K1rsN7/UP05/HEAD/app/src/main/res/drawable/unkenblue.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/customer_imag.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/K1rsN7/UP05/HEAD/app/src/main/res/drawable/customer_imag.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/notification.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/K1rsN7/UP05/HEAD/app/src/main/res/drawable/notification.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/numbers_block.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/K1rsN7/UP05/HEAD/app/src/main/res/drawable/numbers_block.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/right_yellow.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/K1rsN7/UP05/HEAD/app/src/main/res/drawable/right_yellow.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/tech_meetup.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/K1rsN7/UP05/HEAD/app/src/main/res/drawable/tech_meetup.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/love_revolution.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/K1rsN7/UP05/HEAD/app/src/main/res/drawable/love_revolution.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-hdpi/ic_launcher.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/K1rsN7/UP05/HEAD/app/src/main/res/mipmap-hdpi/ic_launcher.webp -------------------------------------------------------------------------------- /app/src/main/res/mipmap-mdpi/ic_launcher.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/K1rsN7/UP05/HEAD/app/src/main/res/mipmap-mdpi/ic_launcher.webp -------------------------------------------------------------------------------- /app/src/main/res/drawable/notification_white.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/K1rsN7/UP05/HEAD/app/src/main/res/drawable/notification_white.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/sendapackage_imag.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/K1rsN7/UP05/HEAD/app/src/main/res/drawable/sendapackage_imag.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xhdpi/ic_launcher.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/K1rsN7/UP05/HEAD/app/src/main/res/mipmap-xhdpi/ic_launcher.webp -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xxhdpi/ic_launcher.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/K1rsN7/UP05/HEAD/app/src/main/res/mipmap-xxhdpi/ic_launcher.webp -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xxxhdpi/ic_launcher.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/K1rsN7/UP05/HEAD/app/src/main/res/mipmap-xxxhdpi/ic_launcher.webp -------------------------------------------------------------------------------- /app/src/main/res/drawable/find_your_wallet_imag.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/K1rsN7/UP05/HEAD/app/src/main/res/drawable/find_your_wallet_imag.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-hdpi/ic_launcher_round.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/K1rsN7/UP05/HEAD/app/src/main/res/mipmap-hdpi/ic_launcher_round.webp -------------------------------------------------------------------------------- /app/src/main/res/mipmap-mdpi/ic_launcher_round.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/K1rsN7/UP05/HEAD/app/src/main/res/mipmap-mdpi/ic_launcher_round.webp -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xhdpi/ic_launcher_round.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/K1rsN7/UP05/HEAD/app/src/main/res/mipmap-xhdpi/ic_launcher_round.webp -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xxhdpi/ic_launcher_round.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/K1rsN7/UP05/HEAD/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.webp -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/K1rsN7/UP05/HEAD/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.webp -------------------------------------------------------------------------------- /.idea/vcs.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /.idea/compiler.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /.idea/deploymentTargetDropDown.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | -------------------------------------------------------------------------------- /gradle/wrapper/gradle-wrapper.properties: -------------------------------------------------------------------------------- 1 | #Mon Apr 01 14:42:08 MSK 2024 2 | distributionBase=GRADLE_USER_HOME 3 | distributionPath=wrapper/dists 4 | distributionUrl=https\://services.gradle.org/distributions/gradle-8.4-bin.zip 5 | zipStoreBase=GRADLE_USER_HOME 6 | zipStorePath=wrapper/dists 7 | -------------------------------------------------------------------------------- /app/src/main/res/values/dimens.xml: -------------------------------------------------------------------------------- 1 | 2 | 16dp 3 | 4 | 16dp 5 | 16dp 6 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | *.iml 2 | .gradle 3 | /local.properties 4 | /.idea/caches 5 | /.idea/libraries 6 | /.idea/modules.xml 7 | /.idea/workspace.xml 8 | /.idea/navEditor.xml 9 | /.idea/assetWizardSettings.xml 10 | .DS_Store 11 | /build 12 | /captures 13 | .externalNativeBuild 14 | .cxx 15 | local.properties 16 | -------------------------------------------------------------------------------- /.idea/migrations.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 9 | 10 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/top_up.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 6 | 8 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/chats_bac.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 6 | 8 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/chatsbluexm.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 6 | 8 | 9 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/searchh.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 6 | 8 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/chatsgrey.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 6 | 8 | 9 | -------------------------------------------------------------------------------- /app/src/main/res/values-night/themes.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 7 | -------------------------------------------------------------------------------- /app/src/main/res/mipmap-anydpi/ic_launcher.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /app/src/main/res/mipmap-anydpi/ic_launcher_round.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/line.xml: -------------------------------------------------------------------------------- 1 | 6 | 11 | 12 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/radius_sqvare.xml: -------------------------------------------------------------------------------- 1 | 2 | 5 | 6 | 7 | 8 | 10 | -------------------------------------------------------------------------------- /settings.gradle.kts: -------------------------------------------------------------------------------- 1 | pluginManagement { 2 | repositories { 3 | google() 4 | mavenCentral() 5 | gradlePluginPortal() 6 | } 7 | } 8 | dependencyResolutionManagement { 9 | repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS) 10 | repositories { 11 | google() 12 | mavenCentral() 13 | } 14 | } 15 | 16 | rootProject.name = "Educational practice" 17 | include(":app") 18 | -------------------------------------------------------------------------------- /.idea/misc.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 9 | -------------------------------------------------------------------------------- /app/src/main/res/values/themes.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /app/src/test/java/com/example/educationalpractice/ExampleUnitTest.java: -------------------------------------------------------------------------------- 1 | package com.example.educationalpractice; 2 | 3 | import org.junit.Test; 4 | 5 | import static org.junit.Assert.*; 6 | 7 | /** 8 | * Example local unit test, which will execute on the development machine (host). 9 | * 10 | * @see Testing documentation 11 | */ 12 | public class ExampleUnitTest { 13 | @Test 14 | public void addition_isCorrect() { 15 | assertEquals(4, 2 + 2); 16 | } 17 | } -------------------------------------------------------------------------------- /app/src/main/res/xml/backup_rules.xml: -------------------------------------------------------------------------------- 1 | 8 | 9 | 13 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/trunssucc_smal.xml: -------------------------------------------------------------------------------- 1 | 6 | 9 | 12 | 13 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/trunssucc_big.xml: -------------------------------------------------------------------------------- 1 | 6 | 9 | 12 | 13 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/trunsfer.xml: -------------------------------------------------------------------------------- 1 | 6 | 9 | 12 | 13 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/bluekr.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 10 | 11 | 12 | 14 | 18 | -------------------------------------------------------------------------------- /app/src/main/res/xml/data_extraction_rules.xml: -------------------------------------------------------------------------------- 1 | 6 | 7 | 8 | 12 | 13 | 19 | -------------------------------------------------------------------------------- /app/src/main/res/values/colors.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | #FF000000 4 | #FFFFFFFF 5 | #076AFF 6 | #C9D4FB 7 | #0560FA 8 | #A7A7A7 9 | #A7A7A7 10 | #ED3A3A 11 | #ED3A3A 12 | #EC8000 13 | #EC8000 14 | #35B369 15 | #CFCFCF 16 | -------------------------------------------------------------------------------- /app/src/main/java/com/example/up05/ChatRider.java: -------------------------------------------------------------------------------- 1 | package com.example.up05; 2 | 3 | import androidx.appcompat.app.AppCompatActivity; 4 | 5 | import android.content.Intent; 6 | import android.os.Bundle; 7 | import android.view.View; 8 | 9 | import com.example.educationalpractice.R; 10 | 11 | public class ChatRider extends AppCompatActivity { 12 | 13 | @Override 14 | protected void onCreate(Bundle savedInstanceState) { 15 | super.onCreate(savedInstanceState); 16 | setContentView(R.layout.activity_chat_rider); 17 | } 18 | 19 | public void Call(View v){ 20 | Intent intent = new Intent(this, Calling.class); 21 | startActivity(intent); 22 | } 23 | } -------------------------------------------------------------------------------- /app/src/main/java/com/example/up05/Notification.java: -------------------------------------------------------------------------------- 1 | package com.example.up05; 2 | 3 | import androidx.appcompat.app.AppCompatActivity; 4 | 5 | import android.content.Intent; 6 | import android.os.Bundle; 7 | import android.view.View; 8 | 9 | import com.example.educationalpractice.R; 10 | 11 | public class Notification extends AppCompatActivity { 12 | 13 | @Override 14 | protected void onCreate(Bundle savedInstanceState) { 15 | super.onCreate(savedInstanceState); 16 | setContentView(R.layout.activity_notification); 17 | } 18 | public void Right(View v){ 19 | Intent intent = new Intent(this, Profile.class); 20 | startActivity(intent); 21 | } 22 | } -------------------------------------------------------------------------------- /app/src/main/res/drawable/destination.xml: -------------------------------------------------------------------------------- 1 | 6 | 9 | 10 | -------------------------------------------------------------------------------- /.idea/gradle.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 18 | 19 | -------------------------------------------------------------------------------- /app/google-services.json: -------------------------------------------------------------------------------- 1 | { 2 | "project_info": { 3 | "project_number": "460602168502", 4 | "project_id": "educational-f3bd6", 5 | "storage_bucket": "educational-f3bd6.appspot.com" 6 | }, 7 | "client": [ 8 | { 9 | "client_info": { 10 | "mobilesdk_app_id": "1:460602168502:android:afd6e914ca38c6bc140217", 11 | "android_client_info": { 12 | "package_name": "com.example.educationalpractice" 13 | } 14 | }, 15 | "oauth_client": [], 16 | "api_key": [ 17 | { 18 | "current_key": "AIzaSyAXYVJ6UDsSO1p8GyvYInD2UL6-fVr9Oek" 19 | } 20 | ], 21 | "services": { 22 | "appinvite_service": { 23 | "other_platform_oauth_client": [] 24 | } 25 | } 26 | } 27 | ], 28 | "configuration_version": "1" 29 | } -------------------------------------------------------------------------------- /app/src/main/java/com/example/up05/Chats.java: -------------------------------------------------------------------------------- 1 | package com.example.up05; 2 | 3 | import androidx.appcompat.app.AppCompatActivity; 4 | 5 | import android.content.Intent; 6 | import android.os.Bundle; 7 | import android.view.View; 8 | 9 | import com.example.educationalpractice.R; 10 | 11 | public class Chats extends AppCompatActivity { 12 | 13 | @Override 14 | protected void onCreate(Bundle savedInstanceState) { 15 | super.onCreate(savedInstanceState); 16 | setContentView(R.layout.activity_chats); 17 | } 18 | public void Right(View v){ 19 | Intent intent = new Intent(this, Home.class); 20 | startActivity(intent); 21 | } 22 | 23 | public void Chinonso(View v){ 24 | Intent intent = new Intent(this, ChatRider.class); 25 | startActivity(intent); 26 | } 27 | } -------------------------------------------------------------------------------- /app/src/main/res/drawable/sq_right.xml: -------------------------------------------------------------------------------- 1 | 6 | 13 | 20 | 21 | -------------------------------------------------------------------------------- /app/proguard-rules.pro: -------------------------------------------------------------------------------- 1 | # Add project specific ProGuard rules here. 2 | # You can control the set of applied configuration files using the 3 | # proguardFiles setting in build.gradle. 4 | # 5 | # For more details, see 6 | # http://developer.android.com/guide/developing/tools/proguard.html 7 | 8 | # If your project uses WebView with JS, uncomment the following 9 | # and specify the fully qualified class name to the JavaScript interface 10 | # class: 11 | #-keepclassmembers class fqcn.of.javascript.interface.for.webview { 12 | # public *; 13 | #} 14 | 15 | # Uncomment this to preserve the line number information for 16 | # debugging stack traces. 17 | #-keepattributes SourceFile,LineNumberTable 18 | 19 | # If you keep the line number information, uncomment this to 20 | # hide the original source file name. 21 | #-renamesourcefileattribute SourceFile -------------------------------------------------------------------------------- /app/src/main/java/com/example/up05/Calling.java: -------------------------------------------------------------------------------- 1 | package com.example.up05; 2 | 3 | import android.content.Intent; 4 | import android.os.Bundle; 5 | import android.view.View; 6 | 7 | import androidx.activity.EdgeToEdge; 8 | import androidx.appcompat.app.AppCompatActivity; 9 | import androidx.core.graphics.Insets; 10 | import androidx.core.view.ViewCompat; 11 | import androidx.core.view.WindowInsetsCompat; 12 | 13 | import com.example.educationalpractice.R; 14 | 15 | public class Calling extends AppCompatActivity { 16 | 17 | @Override 18 | protected void onCreate(Bundle savedInstanceState) { 19 | super.onCreate(savedInstanceState); 20 | setContentView(R.layout.activity_calling); 21 | } 22 | 23 | public void EndCall(View v){ 24 | Intent intent = new Intent(this, ChatRider.class); 25 | startActivity(intent); 26 | } 27 | } -------------------------------------------------------------------------------- /app/src/main/res/drawable/clock.xml: -------------------------------------------------------------------------------- 1 | 6 | 13 | 20 | 21 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/trush.xml: -------------------------------------------------------------------------------- 1 | 6 | 13 | 14 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/clockgr.xml: -------------------------------------------------------------------------------- 1 | 6 | 13 | 20 | 21 | -------------------------------------------------------------------------------- /app/src/main/res/layout/activity_splash.xml: -------------------------------------------------------------------------------- 1 | 2 | 8 | 9 | 14 | 15 | 20 | 21 | -------------------------------------------------------------------------------- /app/src/androidTest/java/com/example/educationalpractice/ExampleInstrumentedTest.java: -------------------------------------------------------------------------------- 1 | package com.example.educationalpractice; 2 | 3 | import android.content.Context; 4 | 5 | import androidx.test.platform.app.InstrumentationRegistry; 6 | import androidx.test.ext.junit.runners.AndroidJUnit4; 7 | 8 | import org.junit.Test; 9 | import org.junit.runner.RunWith; 10 | 11 | import static org.junit.Assert.*; 12 | 13 | /** 14 | * Instrumented test, which will execute on an Android device. 15 | * 16 | * @see Testing documentation 17 | */ 18 | @RunWith(AndroidJUnit4.class) 19 | public class ExampleInstrumentedTest { 20 | @Test 21 | public void useAppContext() { 22 | // Context of the app under test. 23 | Context appContext = InstrumentationRegistry.getInstrumentation().getTargetContext(); 24 | assertEquals("com.example.educationalpractice", appContext.getPackageName()); 25 | } 26 | } -------------------------------------------------------------------------------- /app/src/main/java/com/example/up05/Truck.java: -------------------------------------------------------------------------------- 1 | package com.example.up05; 2 | 3 | import androidx.appcompat.app.AppCompatActivity; 4 | 5 | import android.content.Intent; 6 | import android.os.Bundle; 7 | import android.view.View; 8 | 9 | import com.example.educationalpractice.R; 10 | 11 | public class Truck extends AppCompatActivity { 12 | 13 | @Override 14 | protected void onCreate(Bundle savedInstanceState) { 15 | super.onCreate(savedInstanceState); 16 | setContentView(R.layout.activity_truck); 17 | } 18 | public void Profile(View v){ 19 | Intent intent = new Intent(this, Profile.class); 20 | startActivity(intent); 21 | } 22 | public void Walet(View v){ 23 | Intent intent = new Intent(this, Wallet.class); 24 | startActivity(intent); 25 | } 26 | public void Home(View v){ 27 | Intent intent = new Intent(this, Home.class); 28 | startActivity(intent); 29 | } 30 | } -------------------------------------------------------------------------------- /app/src/main/java/com/example/up05/Wallet.java: -------------------------------------------------------------------------------- 1 | package com.example.up05; 2 | 3 | import androidx.appcompat.app.AppCompatActivity; 4 | 5 | import android.content.Intent; 6 | import android.os.Bundle; 7 | import android.view.View; 8 | 9 | import com.example.educationalpractice.R; 10 | 11 | public class Wallet extends AppCompatActivity { 12 | 13 | @Override 14 | protected void onCreate(Bundle savedInstanceState) { 15 | super.onCreate(savedInstanceState); 16 | setContentView(R.layout.activity_wallet); 17 | } 18 | public void Profile(View v){ 19 | Intent intent = new Intent(this, Profile.class); 20 | startActivity(intent); 21 | } 22 | public void Home(View v){ 23 | Intent intent = new Intent(this, Home.class); 24 | startActivity(intent); 25 | } 26 | public void Track(View v){ 27 | Intent intent = new Intent(this, Truck.class); 28 | startActivity(intent); 29 | } 30 | } -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | License - Creative Commons Attribution-NonCommercial 4.0 International (CC BY-NC 4.0) 2 | The full text of the license is available here: CC BY-NC 4.0 Legal Code. 3 | 4 | You are free to: 5 | Share — copy and redistribute the material in any medium or format 6 | Adapt — remix, transform, and build upon the material The licensor cannot revoke these freedoms as long as you follow the license terms. 7 | Under the following terms: 8 | Attribution — You must give appropriate credit , provide a link to the license, and indicate if changes were made . You may do so in any reasonable manner, but not in any way that suggests the licensor endorses you or your use. 9 | NonCommercial — You may not use the material for commercial purposes . 10 | No additional restrictions — You may not apply legal terms or technological measures that legally restrict others from doing anything the license permits. 11 | This is just a brief excerpt of the main points of the license. Please refer to the full legal text of the license for a full understanding of its terms. 12 | -------------------------------------------------------------------------------- /app/src/main/java/com/example/up05/Onboarding3.java: -------------------------------------------------------------------------------- 1 | package com.example.up05; 2 | 3 | import androidx.appcompat.app.AppCompatActivity; 4 | 5 | import android.content.Intent; 6 | import android.os.Bundle; 7 | import android.view.View; 8 | 9 | import com.example.educationalpractice.R; 10 | 11 | public class Onboarding3 extends AppCompatActivity { 12 | 13 | @Override 14 | protected void onCreate(Bundle savedInstanceState) { 15 | super.onCreate(savedInstanceState); 16 | setContentView(R.layout.activity_onboarding3); 17 | } 18 | //Этот метод вызывается при нажатии на определенный элемент (View) на экране и запускает другое активити. 19 | public void SignUp1(View v){ 20 | Intent intent = new Intent(this, SignUp.class); 21 | startActivity(intent); 22 | } 23 | //Этот метод вызывается при нажатии на определенный элемент (View) на экране и запускает другое активити. 24 | public void SignIn1(View v){ 25 | Intent intent = new Intent(this, Log_in.class); 26 | startActivity(intent); 27 | } 28 | } -------------------------------------------------------------------------------- /app/src/main/java/com/example/up05/Onboarding1.java: -------------------------------------------------------------------------------- 1 | package com.example.up05; 2 | 3 | import androidx.appcompat.app.AppCompatActivity; 4 | 5 | import android.content.Intent; 6 | import android.os.Bundle; 7 | import android.view.View; 8 | 9 | import com.example.educationalpractice.R; 10 | 11 | public class Onboarding1 extends AppCompatActivity { 12 | 13 | @Override 14 | protected void onCreate(Bundle savedInstanceState) { 15 | super.onCreate(savedInstanceState); 16 | setContentView(R.layout.activity_onboarding1); 17 | } 18 | 19 | //Этот метод вызывается при нажатии на определенный элемент (View) на экране и запускает другое активити. 20 | public void Skip(View v){ 21 | Intent intent = new Intent(this, Onboarding3.class); 22 | startActivity(intent); 23 | } 24 | //Этот метод вызывается при нажатии на определенный элемент (View) на экране и запускает другое активити. 25 | public void Next1(View v){ 26 | Intent intent = new Intent(this, Onboarding4.class); 27 | startActivity(intent); 28 | } 29 | } -------------------------------------------------------------------------------- /app/src/main/java/com/example/up05/Onboarding4.java: -------------------------------------------------------------------------------- 1 | package com.example.up05; 2 | 3 | import androidx.appcompat.app.AppCompatActivity; 4 | 5 | import android.content.Intent; 6 | import android.os.Bundle; 7 | import android.view.View; 8 | 9 | import com.example.educationalpractice.R; 10 | 11 | public class Onboarding4 extends AppCompatActivity { 12 | 13 | @Override 14 | protected void onCreate(Bundle savedInstanceState) { 15 | super.onCreate(savedInstanceState); 16 | setContentView(R.layout.activity_onboarding4); 17 | } 18 | 19 | //Этот метод вызывается при нажатии на определенный элемент (View) на экране и запускает другое активити. 20 | public void Skip(View v){ 21 | Intent intent = new Intent(this, Onboarding3.class); 22 | startActivity(intent); 23 | } 24 | //Этот метод вызывается при нажатии на определенный элемент (View) на экране и запускает другое активити. 25 | public void Next4(View v){ 26 | Intent intent = new Intent(this, Onboarding3.class); 27 | startActivity(intent); 28 | } 29 | } -------------------------------------------------------------------------------- /app/src/main/java/com/example/up05/Home.java: -------------------------------------------------------------------------------- 1 | package com.example.up05; 2 | 3 | import androidx.appcompat.app.AppCompatActivity; 4 | 5 | import android.content.Intent; 6 | import android.os.Bundle; 7 | import android.view.View; 8 | 9 | import com.example.educationalpractice.R; 10 | 11 | public class Home extends AppCompatActivity { 12 | 13 | @Override 14 | protected void onCreate(Bundle savedInstanceState) { 15 | super.onCreate(savedInstanceState); 16 | setContentView(R.layout.activity_home); 17 | } 18 | public void Profile(View v){ 19 | Intent intent = new Intent(this, Profile.class); 20 | startActivity(intent); 21 | } 22 | public void Walet(View v){ 23 | Intent intent = new Intent(this, Wallet.class); 24 | startActivity(intent); 25 | } 26 | public void Track(View v){ 27 | Intent intent = new Intent(this, Truck.class); 28 | startActivity(intent); 29 | } 30 | public void Chats(View v){ 31 | Intent intent = new Intent(this, Chats.class); 32 | startActivity(intent); 33 | } 34 | } -------------------------------------------------------------------------------- /app/src/main/res/drawable/add.xml: -------------------------------------------------------------------------------- 1 | 6 | 13 | 20 | 27 | 28 | -------------------------------------------------------------------------------- /app/src/main/res/navigation/nav_graph.xml: -------------------------------------------------------------------------------- 1 | 2 | 7 | 8 | 13 | 14 | 17 | 18 | 23 | 24 | 27 | 28 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/bank.xml: -------------------------------------------------------------------------------- 1 | 6 | 9 | 12 | 13 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/animation.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/card_top_up.xml: -------------------------------------------------------------------------------- 1 | 6 | 9 | 12 | 13 | -------------------------------------------------------------------------------- /app/src/main/java/com/example/up05/Spalsh.java: -------------------------------------------------------------------------------- 1 | package com.example.up05; 2 | 3 | import androidx.appcompat.app.AppCompatActivity; 4 | 5 | import android.content.Intent; 6 | import android.os.Bundle; 7 | import android.os.Handler; 8 | import android.view.View; 9 | 10 | import com.example.educationalpractice.R; 11 | 12 | public class Spalsh extends AppCompatActivity { 13 | 14 | @Override 15 | protected void onCreate(Bundle savedInstanceState) { 16 | super.onCreate(savedInstanceState); 17 | setContentView(R.layout.activity_splash); 18 | 19 | //Здесь создается новый объект Handler и вызывается метод postDelayed(), который запускает задачу через определенное время. В данном случае, через 3 секунды происходит переход на другую активити. 20 | new Handler().postDelayed(new Runnable() { 21 | @Override 22 | public void run() { 23 | Intent intent = new Intent(Spalsh.this, Onboarding1.class); 24 | startActivity(intent); 25 | } 26 | }, 3000); 27 | } 28 | //Этот метод вызывается при нажатии на определенный элемент (View) на экране и запускает другое активити. 29 | public void onClick(View v){ 30 | Intent intent = new Intent(this, Onboarding1.class); 31 | startActivity(intent); 32 | } 33 | } -------------------------------------------------------------------------------- /gradle.properties: -------------------------------------------------------------------------------- 1 | # Project-wide Gradle settings. 2 | # IDE (e.g. Android Studio) users: 3 | # Gradle settings configured through the IDE *will override* 4 | # any settings specified in this file. 5 | # For more details on how to configure your build environment visit 6 | # http://www.gradle.org/docs/current/userguide/build_environment.html 7 | # Specifies the JVM arguments used for the daemon process. 8 | # The setting is particularly useful for tweaking memory settings. 9 | org.gradle.jvmargs=-Xmx2048m -Dfile.encoding=UTF-8 10 | # When configured, Gradle will run in incubating parallel mode. 11 | # This option should only be used with decoupled projects. More details, visit 12 | # http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects 13 | # org.gradle.parallel=true 14 | # AndroidX package structure to make it clearer which packages are bundled with the 15 | # Android operating system, and which are packaged with your app's APK 16 | # https://developer.android.com/topic/libraries/support-library/androidx-rn 17 | android.useAndroidX=true 18 | # Enables namespacing of each library's R class so that its R class includes only the 19 | # resources declared in the library itself and none from the library's dependencies, 20 | # thereby reducing the size of the R class for that library 21 | android.nonTransitiveRClass=true -------------------------------------------------------------------------------- /app/src/main/res/drawable/notnotifi.xml: -------------------------------------------------------------------------------- 1 | 6 | 12 | 19 | 24 | 25 | -------------------------------------------------------------------------------- /app/src/main/java/com/example/up05/Profile.java: -------------------------------------------------------------------------------- 1 | package com.example.up05; 2 | 3 | import androidx.appcompat.app.AppCompatActivity; 4 | 5 | import android.content.Intent; 6 | import android.os.Bundle; 7 | import android.view.View; 8 | 9 | import com.example.educationalpractice.R; 10 | 11 | public class Profile extends AppCompatActivity { 12 | 13 | @Override 14 | protected void onCreate(Bundle savedInstanceState) { 15 | super.onCreate(savedInstanceState); 16 | setContentView(R.layout.activity_profile); 17 | } 18 | public void Card(View v){ 19 | Intent intent = new Intent(this, AddPaymentMethod.class); 20 | startActivity(intent); 21 | } 22 | public void Notification(View v){ 23 | Intent intent = new Intent(this, Notification.class); 24 | startActivity(intent); 25 | } 26 | public void Statements(View v){ 27 | Intent intent = new Intent(this, SendAPackage.class); 28 | startActivity(intent); 29 | } 30 | public void Home(View v){ 31 | Intent intent = new Intent(this, Home.class); 32 | startActivity(intent); 33 | } 34 | public void Walet(View v){ 35 | Intent intent = new Intent(this, Wallet.class); 36 | startActivity(intent); 37 | } 38 | public void Track(View v){ 39 | Intent intent = new Intent(this, Truck.class); 40 | startActivity(intent); 41 | } 42 | public void LogOut(View v){ 43 | Intent intent = new Intent(this, Log_in.class); 44 | startActivity(intent); 45 | } 46 | } -------------------------------------------------------------------------------- /app/src/main/java/com/example/up05/FirstFragment.java: -------------------------------------------------------------------------------- 1 | package com.example.up05; 2 | 3 | import android.os.Bundle; 4 | import android.view.LayoutInflater; 5 | import android.view.View; 6 | import android.view.ViewGroup; 7 | 8 | import androidx.annotation.NonNull; 9 | import androidx.fragment.app.Fragment; 10 | import androidx.navigation.fragment.NavHostFragment; 11 | 12 | import com.example.educationalpractice.R; 13 | import com.example.educationalpractice.databinding.FragmentFirstBinding; 14 | 15 | public class FirstFragment extends Fragment { 16 | 17 | private FragmentFirstBinding binding; 18 | 19 | @Override 20 | public View onCreateView( 21 | LayoutInflater inflater, ViewGroup container, 22 | Bundle savedInstanceState 23 | ) { 24 | 25 | binding = FragmentFirstBinding.inflate(inflater, container, false); 26 | return binding.getRoot(); 27 | 28 | } 29 | 30 | public void onViewCreated(@NonNull View view, Bundle savedInstanceState) { 31 | super.onViewCreated(view, savedInstanceState); 32 | 33 | binding.buttonFirst.setOnClickListener(new View.OnClickListener() { 34 | @Override 35 | public void onClick(View view) { 36 | NavHostFragment.findNavController(FirstFragment.this) 37 | .navigate(R.id.action_FirstFragment_to_SecondFragment); 38 | } 39 | }); 40 | } 41 | 42 | @Override 43 | public void onDestroyView() { 44 | super.onDestroyView(); 45 | binding = null; 46 | } 47 | 48 | } -------------------------------------------------------------------------------- /app/src/main/java/com/example/up05/SecondFragment.java: -------------------------------------------------------------------------------- 1 | package com.example.up05; 2 | 3 | import android.os.Bundle; 4 | import android.view.LayoutInflater; 5 | import android.view.View; 6 | import android.view.ViewGroup; 7 | 8 | import androidx.annotation.NonNull; 9 | import androidx.fragment.app.Fragment; 10 | import androidx.navigation.fragment.NavHostFragment; 11 | 12 | import com.example.educationalpractice.R; 13 | import com.example.educationalpractice.databinding.FragmentSecondBinding; 14 | 15 | public class SecondFragment extends Fragment { 16 | 17 | private FragmentSecondBinding binding; 18 | 19 | @Override 20 | public View onCreateView( 21 | LayoutInflater inflater, ViewGroup container, 22 | Bundle savedInstanceState 23 | ) { 24 | 25 | binding = FragmentSecondBinding.inflate(inflater, container, false); 26 | return binding.getRoot(); 27 | 28 | } 29 | 30 | public void onViewCreated(@NonNull View view, Bundle savedInstanceState) { 31 | super.onViewCreated(view, savedInstanceState); 32 | 33 | binding.buttonSecond.setOnClickListener(new View.OnClickListener() { 34 | @Override 35 | public void onClick(View view) { 36 | NavHostFragment.findNavController(SecondFragment.this) 37 | .navigate(R.id.action_SecondFragment_to_FirstFragment); 38 | } 39 | }); 40 | } 41 | 42 | @Override 43 | public void onDestroyView() { 44 | super.onDestroyView(); 45 | binding = null; 46 | } 47 | 48 | } -------------------------------------------------------------------------------- /app/src/main/java/com/example/up05/DeliverySaccessful.java: -------------------------------------------------------------------------------- 1 | package com.example.up05; 2 | 3 | import androidx.appcompat.app.AppCompatActivity; 4 | 5 | import android.content.Intent; 6 | import android.graphics.drawable.AnimationDrawable; 7 | import android.os.Bundle; 8 | import android.os.CountDownTimer; 9 | import android.view.View; 10 | import android.widget.ImageView; 11 | import android.widget.TextView; 12 | 13 | import com.example.educationalpractice.R; 14 | 15 | public class DeliverySaccessful extends AppCompatActivity { 16 | 17 | @Override 18 | protected void onCreate(Bundle savedInstanceState) { 19 | super.onCreate(savedInstanceState); 20 | setContentView(R.layout.activity_delivery_saccessful); 21 | 22 | ImageView anim = findViewById(R.id.anim); 23 | 24 | anim.setBackgroundResource(R.drawable.animation); 25 | 26 | AnimationDrawable frameAnimation = (AnimationDrawable) anim.getBackground(); 27 | 28 | new CountDownTimer(2650, 1000) { 29 | 30 | public void onTick(long millisUntilFinished) { 31 | frameAnimation.start(); 32 | } 33 | 34 | public void onFinish() { 35 | frameAnimation.stop(); 36 | anim.setBackground(getDrawable(R.drawable.trunssucc_big)); 37 | TextView suc = findViewById(R.id.textView37); 38 | suc.setText("Transaction Successful"); 39 | } 40 | 41 | }.start(); 42 | } 43 | 44 | public void Track(View v){ 45 | Intent intent = new Intent(this, Truck.class); 46 | startActivity(intent); 47 | } 48 | } -------------------------------------------------------------------------------- /app/src/main/res/layout/fragment_first.xml: -------------------------------------------------------------------------------- 1 | 2 | 8 | 9 | 13 | 14 |