├── 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 |
8 |
9 |
--------------------------------------------------------------------------------
/app/src/main/res/values/themes.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
7 |
8 |
9 |
--------------------------------------------------------------------------------
/app/src/main/java/com/example/up05/SendAPackege3.java:
--------------------------------------------------------------------------------
1 | package com.example.up05;
2 |
3 | import androidx.appcompat.app.AppCompatActivity;
4 |
5 | import android.os.Bundle;
6 |
7 | import com.example.educationalpractice.R;
8 |
9 | public class SendAPackege3 extends AppCompatActivity {
10 |
11 | @Override
12 | protected void onCreate(Bundle savedInstanceState) {
13 | super.onCreate(savedInstanceState);
14 | setContentView(R.layout.activity_send_apackege22);
15 | }
16 | }
--------------------------------------------------------------------------------
/app/src/main/res/drawable/kr_ug.xml:
--------------------------------------------------------------------------------
1 |
2 |
4 |
5 |
6 |
8 |
12 |
--------------------------------------------------------------------------------
/app/src/main/res/drawable/square.xml:
--------------------------------------------------------------------------------
1 |
2 |
4 |
5 |
6 |
8 |
12 |
--------------------------------------------------------------------------------
/app/src/main/res/drawable/kr_ug_red.xml:
--------------------------------------------------------------------------------
1 |
2 |
4 |
5 |
6 |
8 |
12 |
--------------------------------------------------------------------------------
/app/src/main/res/values-v23/themes.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
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 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
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 |
23 |
24 |
34 |
35 |
--------------------------------------------------------------------------------
/app/src/main/res/layout/fragment_second.xml:
--------------------------------------------------------------------------------
1 |
2 |
8 |
9 |
13 |
14 |
23 |
24 |
34 |
35 |
--------------------------------------------------------------------------------
/app/src/main/java/com/example/up05/TransactionSuccessful.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 TransactionSuccessful extends AppCompatActivity {
16 |
17 | @Override
18 | protected void onCreate(Bundle savedInstanceState) {
19 | super.onCreate(savedInstanceState);
20 | setContentView(R.layout.activity_transaction_successful);
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 |
49 | public void Home(View v){
50 | Intent intent = new Intent(this, Home.class);
51 | startActivity(intent);
52 | }
53 | }
--------------------------------------------------------------------------------
/app/src/main/res/drawable/ic_launcher_foreground.xml:
--------------------------------------------------------------------------------
1 |
7 |
8 |
9 |
15 |
18 |
21 |
22 |
23 |
24 |
30 |
--------------------------------------------------------------------------------
/app/src/main/res/drawable/calendwhite.xml:
--------------------------------------------------------------------------------
1 |
6 |
9 |
10 |
--------------------------------------------------------------------------------
/app/src/main/java/com/example/up05/SendAPackage2.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 | import android.widget.TextView;
9 |
10 | import com.example.educationalpractice.R;
11 |
12 | public class SendAPackage2 extends AppCompatActivity {
13 |
14 | @Override
15 | protected void onCreate(Bundle savedInstanceState) {
16 | super.onCreate(savedInstanceState);
17 | setContentView(R.layout.activity_send_apackage2);
18 |
19 | TextView place = findViewById(R.id.textView41);
20 | TextView phon = findViewById(R.id.textView42);
21 | TextView placetrakc = findViewById(R.id.textView44);
22 | TextView phonetrack = findViewById(R.id.textView45);
23 | TextView weight = findViewById(R.id.textView50);
24 | TextView worth = findViewById(R.id.textView52);
25 | TextView item = findViewById(R.id.textView48);
26 |
27 | Bundle arg = getIntent().getExtras();
28 |
29 | place.setText(arg.getString("place"));
30 | phon.setText(arg.getString("phon"));
31 | placetrakc.setText(arg.getString("placetrakc"));
32 | phonetrack.setText(arg.getString("phonetrack"));
33 | weight.setText(arg.getString("weight"));
34 | worth.setText(arg.getString("worth"));
35 | item.setText(arg.getString("item"));
36 | }
37 | public void sendapack(View v){
38 | Intent intent = new Intent(this, SendAPackage.class);
39 | startActivity(intent);
40 | }
41 | public void makepayment(View v){
42 | Intent intent = new Intent(this, TransactionSuccessful.class);
43 | startActivity(intent);
44 | }
45 | public void Right(View v){
46 | Intent intent = new Intent(this, SendAPackage.class);
47 | startActivity(intent);
48 | }
49 | }
--------------------------------------------------------------------------------
/app/build.gradle.kts:
--------------------------------------------------------------------------------
1 | plugins {
2 | id("com.android.application")
3 | id("com.google.gms.google-services")
4 | }
5 |
6 | android {
7 | namespace = "com.example.educationalpractice"
8 | compileSdk = 34
9 |
10 | defaultConfig {
11 | applicationId = "com.example.educationalpractice"
12 | minSdk = 28
13 | targetSdk = 34
14 | versionCode = 1
15 | versionName = "1.0"
16 |
17 | testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
18 | }
19 |
20 | buildTypes {
21 | release {
22 | isMinifyEnabled = false
23 | proguardFiles(
24 | getDefaultProguardFile("proguard-android-optimize.txt"),
25 | "proguard-rules.pro"
26 | )
27 | }
28 | }
29 | compileOptions {
30 | sourceCompatibility = JavaVersion.VERSION_1_8
31 | targetCompatibility = JavaVersion.VERSION_1_8
32 | }
33 | buildFeatures {
34 | viewBinding = true
35 | }
36 | }
37 |
38 | dependencies {
39 |
40 | implementation(platform("com.google.firebase:firebase-bom:32.8.0"))
41 | implementation("androidx.appcompat:appcompat:1.6.1")
42 | implementation("com.google.android.material:material:1.11.0")
43 | implementation("androidx.constraintlayout:constraintlayout:2.1.4")
44 | implementation("androidx.navigation:navigation-fragment:2.6.0")
45 | implementation("androidx.navigation:navigation-ui:2.6.0")
46 | implementation("androidx.lifecycle:lifecycle-livedata-ktx:2.6.1")
47 | implementation("androidx.lifecycle:lifecycle-viewmodel-ktx:2.6.1")
48 | implementation("androidx.legacy:legacy-support-v4:1.0.0")
49 | implementation("androidx.activity:activity:1.8.0")
50 | testImplementation("junit:junit:4.13.2")
51 | implementation("com.google.firebase:firebase-auth")
52 | androidTestImplementation("androidx.test.ext:junit:1.1.5")
53 | androidTestImplementation("androidx.test.espresso:espresso-core:3.5.1")
54 | }
--------------------------------------------------------------------------------
/app/src/main/java/com/example/up05/New_Password.java:
--------------------------------------------------------------------------------
1 | package com.example.up05;
2 |
3 | import androidx.appcompat.app.AppCompatActivity;
4 | import androidx.appcompat.widget.AppCompatButton;
5 |
6 | import android.content.Intent;
7 | import android.os.Bundle;
8 | import android.text.Editable;
9 | import android.text.TextWatcher;
10 | import android.view.View;
11 | import android.widget.EditText;
12 |
13 | import com.example.educationalpractice.R;
14 |
15 | public class New_Password extends AppCompatActivity {
16 |
17 | private AppCompatButton log;
18 | private String confText, passText;
19 | private EditText conf, pass;
20 |
21 | @Override
22 | protected void onCreate(Bundle savedInstanceState) {
23 | super.onCreate(savedInstanceState);
24 | setContentView(R.layout.activity_new_password);
25 |
26 | log = findViewById(R.id.button2);
27 | passText = "";
28 | confText = "";
29 |
30 | conf = findViewById(R.id.pass2);
31 | pass = findViewById(R.id.pass1);
32 |
33 | conf.addTextChangedListener(new TextWatcher() {
34 | @Override
35 | public void beforeTextChanged(CharSequence s, int start, int count, int after) {
36 |
37 | }
38 |
39 | @Override
40 | public void onTextChanged(CharSequence s, int start, int before, int count) {
41 | confText = conf.getText().toString();
42 | passText = pass.getText().toString();
43 | Validation(confText, passText);
44 | }
45 |
46 | @Override
47 | public void afterTextChanged(Editable s) {
48 |
49 | }
50 | });
51 |
52 | pass.addTextChangedListener(new TextWatcher() {
53 | @Override
54 | public void beforeTextChanged(CharSequence s, int start, int count, int after) {
55 |
56 | }
57 |
58 | @Override
59 | public void onTextChanged(CharSequence s, int start, int before, int count) {
60 | confText = conf.getText().toString();
61 | passText = pass.getText().toString();
62 | Validation(confText, passText);
63 | }
64 |
65 | @Override
66 | public void afterTextChanged(Editable s) {
67 |
68 | }
69 | });
70 | }
71 |
72 | public void Validation(String conf, String pass){
73 | if (conf.length()!=0 & pass.length() != 0 & pass.equals(conf) == true){
74 | log.setEnabled(true);
75 | log.setBackgroundColor(getColor(R.color.blue));
76 | } else{
77 | log.setEnabled(false);
78 | log.setBackgroundColor(getColor(R.color.Gray));
79 | }
80 | }
81 |
82 | public void LogIn2(View v){
83 | Intent intent = new Intent(this, Home.class);
84 | startActivity(intent);
85 | }
86 | }
--------------------------------------------------------------------------------
/app/src/main/java/com/example/up05/AddPaymentMethod.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 | import android.widget.CompoundButton;
9 | import android.widget.RadioButton;
10 |
11 | import com.example.educationalpractice.R;
12 |
13 | public class AddPaymentMethod extends AppCompatActivity {
14 |
15 | private RadioButton check1,check2,check3,check4;
16 |
17 | @Override
18 | protected void onCreate(Bundle savedInstanceState) {
19 | super.onCreate(savedInstanceState);
20 | setContentView(R.layout.activity_add_payment_method);
21 |
22 | check1 = findViewById(R.id.radioButton);
23 | check2 = findViewById(R.id.radioButton2);
24 | check3 = findViewById(R.id.radioButton3);
25 | check4 = findViewById(R.id.radioButton4);
26 |
27 | check1.setOnCheckedChangeListener(new CompoundButton.OnCheckedChangeListener() {
28 | @Override
29 | public void onCheckedChanged(CompoundButton buttonView, boolean isChecked) {
30 | if (isChecked){
31 | check2.setChecked(false);
32 | check3.setChecked(false);
33 | check4.setChecked(false);
34 | }
35 | }
36 | });
37 | check2.setOnCheckedChangeListener(new CompoundButton.OnCheckedChangeListener() {
38 | @Override
39 | public void onCheckedChanged(CompoundButton buttonView, boolean isChecked) {
40 | if (isChecked){
41 | check1.setChecked(false);
42 | check3.setChecked(false);
43 | check4.setChecked(false);
44 | }
45 | }
46 | });
47 | check3.setOnCheckedChangeListener(new CompoundButton.OnCheckedChangeListener() {
48 | @Override
49 | public void onCheckedChanged(CompoundButton buttonView, boolean isChecked) {
50 | if (isChecked){
51 | check2.setChecked(true);
52 | check1.setChecked(false);
53 | check4.setChecked(false);
54 | }
55 | }
56 | });
57 |
58 | check4.setOnCheckedChangeListener(new CompoundButton.OnCheckedChangeListener() {
59 | @Override
60 | public void onCheckedChanged(CompoundButton buttonView, boolean isChecked) {
61 | if (isChecked){
62 | check2.setChecked(true);
63 | check3.setChecked(false);
64 | check1.setChecked(false);
65 | }
66 | }
67 | });
68 | }
69 | public void Right(View v){
70 | Intent intent = new Intent(this, Profile.class);
71 | startActivity(intent);
72 | }
73 |
74 | }
--------------------------------------------------------------------------------
/app/src/main/res/layout/activity_delivery_saccessful.xml:
--------------------------------------------------------------------------------
1 |
2 |
8 |
9 |
12 |
13 |
17 |
18 |
23 |
24 |
30 |
31 |
39 |
40 |
50 |
51 |
61 |
62 |
63 |
64 |
65 |
--------------------------------------------------------------------------------
/gradlew.bat:
--------------------------------------------------------------------------------
1 | @rem
2 | @rem Copyright 2015 the original author or authors.
3 | @rem
4 | @rem Licensed under the Apache License, Version 2.0 (the "License");
5 | @rem you may not use this file except in compliance with the License.
6 | @rem You may obtain a copy of the License at
7 | @rem
8 | @rem https://www.apache.org/licenses/LICENSE-2.0
9 | @rem
10 | @rem Unless required by applicable law or agreed to in writing, software
11 | @rem distributed under the License is distributed on an "AS IS" BASIS,
12 | @rem WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 | @rem See the License for the specific language governing permissions and
14 | @rem limitations under the License.
15 | @rem
16 |
17 | @if "%DEBUG%" == "" @echo off
18 | @rem ##########################################################################
19 | @rem
20 | @rem Gradle startup script for Windows
21 | @rem
22 | @rem ##########################################################################
23 |
24 | @rem Set local scope for the variables with windows NT shell
25 | if "%OS%"=="Windows_NT" setlocal
26 |
27 | set DIRNAME=%~dp0
28 | if "%DIRNAME%" == "" set DIRNAME=.
29 | set APP_BASE_NAME=%~n0
30 | set APP_HOME=%DIRNAME%
31 |
32 | @rem Resolve any "." and ".." in APP_HOME to make it shorter.
33 | for %%i in ("%APP_HOME%") do set APP_HOME=%%~fi
34 |
35 | @rem Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
36 | set DEFAULT_JVM_OPTS="-Xmx64m" "-Xms64m"
37 |
38 | @rem Find java.exe
39 | if defined JAVA_HOME goto findJavaFromJavaHome
40 |
41 | set JAVA_EXE=java.exe
42 | %JAVA_EXE% -version >NUL 2>&1
43 | if "%ERRORLEVEL%" == "0" goto execute
44 |
45 | echo.
46 | echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
47 | echo.
48 | echo Please set the JAVA_HOME variable in your environment to match the
49 | echo location of your Java installation.
50 |
51 | goto fail
52 |
53 | :findJavaFromJavaHome
54 | set JAVA_HOME=%JAVA_HOME:"=%
55 | set JAVA_EXE=%JAVA_HOME%/bin/java.exe
56 |
57 | if exist "%JAVA_EXE%" goto execute
58 |
59 | echo.
60 | echo ERROR: JAVA_HOME is set to an invalid directory: %JAVA_HOME%
61 | echo.
62 | echo Please set the JAVA_HOME variable in your environment to match the
63 | echo location of your Java installation.
64 |
65 | goto fail
66 |
67 | :execute
68 | @rem Setup the command line
69 |
70 | set CLASSPATH=%APP_HOME%\gradle\wrapper\gradle-wrapper.jar
71 |
72 |
73 | @rem Execute Gradle
74 | "%JAVA_EXE%" %DEFAULT_JVM_OPTS% %JAVA_OPTS% %GRADLE_OPTS% "-Dorg.gradle.appname=%APP_BASE_NAME%" -classpath "%CLASSPATH%" org.gradle.wrapper.GradleWrapperMain %*
75 |
76 | :end
77 | @rem End local scope for the variables with windows NT shell
78 | if "%ERRORLEVEL%"=="0" goto mainEnd
79 |
80 | :fail
81 | rem Set variable GRADLE_EXIT_CONSOLE if you need the _script_ return code instead of
82 | rem the _cmd.exe /c_ return code!
83 | if not "" == "%GRADLE_EXIT_CONSOLE%" exit 1
84 | exit /b 1
85 |
86 | :mainEnd
87 | if "%OS%"=="Windows_NT" endlocal
88 |
89 | :omega
90 |
--------------------------------------------------------------------------------
/app/src/main/java/com/example/up05/Forgot_password.java:
--------------------------------------------------------------------------------
1 | package com.example.up05;
2 |
3 | import static android.content.ContentValues.TAG;
4 |
5 | import androidx.annotation.NonNull;
6 | import androidx.appcompat.app.AppCompatActivity;
7 | import androidx.appcompat.widget.AppCompatButton;
8 |
9 | import android.content.Intent;
10 | import android.os.Bundle;
11 | import android.text.Editable;
12 | import android.text.TextWatcher;
13 | import android.util.Log;
14 | import android.util.Patterns;
15 | import android.view.View;
16 | import android.widget.EditText;
17 |
18 | import com.example.educationalpractice.R;
19 | import com.google.android.gms.tasks.OnCompleteListener;
20 | import com.google.android.gms.tasks.Task;
21 | import com.google.firebase.auth.FirebaseAuth;
22 |
23 | public class Forgot_password extends AppCompatActivity {
24 |
25 | private AppCompatButton send;
26 | private String emailText;
27 | private EditText email;
28 |
29 | @Override
30 | protected void onCreate(Bundle savedInstanceState) {
31 | super.onCreate(savedInstanceState);
32 | setContentView(R.layout.activity_forgot_password);
33 |
34 | send = findViewById(R.id.button2);
35 |
36 | emailText = "";
37 | email = findViewById(R.id.editTextTextEmailAddress2);
38 |
39 | email.addTextChangedListener(new TextWatcher() {
40 | @Override
41 | public void beforeTextChanged(CharSequence s, int start, int count, int after) {
42 |
43 | }
44 |
45 | @Override
46 | public void onTextChanged(CharSequence s, int start, int before, int count) {
47 | emailText = email.getText().toString();
48 | validateMail(emailText);
49 | }
50 |
51 | @Override
52 | public void afterTextChanged(Editable s) {
53 |
54 | }
55 | });
56 | }
57 | public void validateMail(String email){
58 | if (Patterns.EMAIL_ADDRESS.matcher(email).matches()){
59 | send.setEnabled(true);
60 | send.setBackgroundColor(getColor(R.color.blue));
61 | }
62 | else{
63 | send.setEnabled(false);
64 | send.setBackgroundColor(getColor(R.color.Gray));
65 | }
66 | }
67 | public void Sign_in(View v){
68 | Intent intent = new Intent(this, Log_in.class);
69 | startActivity(intent);
70 | }
71 |
72 | public void StendOTP1(View v){
73 | sendPasswordReset();
74 | Intent intent = new Intent(this, OTP_Verification.class);
75 | startActivity(intent);
76 | }
77 | public void sendPasswordReset() {
78 | // [START send_password_reset]
79 | FirebaseAuth auth = FirebaseAuth.getInstance();
80 | String emailAddress = emailText;
81 |
82 | auth.sendPasswordResetEmail(emailAddress)
83 | .addOnCompleteListener(new OnCompleteListener() {
84 | @Override
85 | public void onComplete(@NonNull Task task) {
86 | if (task.isSuccessful()) {
87 | Log.d(TAG, "Email sent.");
88 | }
89 | }
90 | });
91 | // [END send_password_reset]
92 | }
93 | }
--------------------------------------------------------------------------------
/app/src/main/res/layout/activity_calling.xml:
--------------------------------------------------------------------------------
1 |
2 |
9 |
16 |
17 |
21 |
22 |
28 |
29 |
34 |
35 |
43 |
44 |
45 |
46 |
52 |
53 |
60 |
61 |
62 |
63 |
67 |
68 |
74 |
75 |
76 |
77 |
78 |
79 |
--------------------------------------------------------------------------------
/app/src/main/res/layout/activity_notification.xml:
--------------------------------------------------------------------------------
1 |
2 |
8 |
9 |
13 |
14 |
19 |
20 |
24 |
25 |
33 |
34 |
46 |
47 |
48 |
49 |
50 |
55 |
56 |
60 |
61 |
67 |
68 |
77 |
78 |
79 |
80 |
81 |
--------------------------------------------------------------------------------
/app/src/main/java/com/example/up05/SendAPackage.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 | import android.widget.EditText;
9 | import android.widget.ImageView;
10 | import android.widget.LinearLayout;
11 | import android.widget.TextView;
12 |
13 | import com.example.educationalpractice.R;
14 |
15 | public class SendAPackage extends AppCompatActivity {
16 |
17 | @Override
18 | protected void onCreate(Bundle savedInstanceState) {
19 | super.onCreate(savedInstanceState);
20 | setContentView(R.layout.activity_send_apackage);
21 |
22 | LinearLayout shed = findViewById(R.id.shed);
23 | LinearLayout ins = findViewById(R.id.ins);
24 | TextView textclock = findViewById(R.id.textclock);
25 | TextView textcalend = findViewById(R.id.textcalend);
26 | ImageView clock = findViewById(R.id.clock);
27 | ImageView calend = findViewById(R.id.calend);
28 |
29 | ins.setOnClickListener(new View.OnClickListener() {
30 | @Override
31 | public void onClick(View v) {
32 | ins.setBackground(getDrawable(R.drawable.bluekr));
33 | shed.setBackground(getDrawable(R.drawable.radius_sqvare));
34 | textclock.setTextColor(getColor(R.color.white));
35 | textcalend.setTextColor(getColor(R.color.Gray));
36 | clock.setImageDrawable(getDrawable(R.drawable.clock));
37 | calend.setImageDrawable(getDrawable(R.drawable.calend));
38 | }
39 | });
40 |
41 | shed.setOnClickListener(new View.OnClickListener() {
42 | @Override
43 | public void onClick(View v) {
44 | shed.setBackground(getDrawable(R.drawable.bluekr));
45 | ins.setBackground(getDrawable(R.drawable.radius_sqvare));
46 | textclock.setTextColor(getColor(R.color.Gray));
47 | textcalend.setTextColor(getColor(R.color.white));
48 | clock.setImageDrawable(getDrawable(R.drawable.clockgr));
49 | calend.setImageDrawable(getDrawable(R.drawable.calendwhite));
50 | }
51 | });
52 | }
53 |
54 | public void Next(View v){
55 | EditText address = findViewById(R.id.editTextTextPostalAddress);
56 | EditText town = findViewById(R.id.editTextTextPostalAddress2);
57 | EditText phoneinfo = findViewById(R.id.editTextPhone2);
58 |
59 | EditText addresspoint1 = findViewById(R.id.editTextTextPostalAddress1);
60 | EditText townpoint1 = findViewById(R.id.editTextTextPostalAddress21);
61 | EditText phoneinfopoint1 = findViewById(R.id.editTextPhone21);
62 |
63 | EditText items = findViewById(R.id.editTextTextPostalAddress22);
64 | EditText weightit = findViewById(R.id.editTextTextPostalAddress222);
65 | EditText worthit = findViewById(R.id.editTextPhone22);
66 |
67 | Intent intent = new Intent(this, SendAPackage2.class);
68 | String placetext = address.getText().toString() +" " + town.getText().toString();
69 | String placetracktext = addresspoint1.getText().toString() +" " + townpoint1.getText().toString();
70 | intent.putExtra("place", placetext);
71 | intent.putExtra("phon", phoneinfo.getText().toString());
72 | intent.putExtra("placetrakc", placetracktext);
73 | intent.putExtra("phonetrack", phoneinfopoint1.getText().toString());
74 | intent.putExtra("item", items.getText().toString());
75 | intent.putExtra("weight", weightit.getText().toString());
76 | intent.putExtra("worth", worthit.getText().toString());
77 |
78 | startActivity(intent);
79 | }
80 | public void Right(View v){
81 | Intent intent = new Intent(this, Profile.class);
82 | startActivity(intent);
83 | }
84 | }
--------------------------------------------------------------------------------
/app/src/main/AndroidManifest.xml:
--------------------------------------------------------------------------------
1 |
2 |
4 |
5 |
15 |
18 |
23 |
26 |
29 |
32 |
35 |
38 |
41 |
44 |
47 |
50 |
53 |
56 |
59 |
62 |
65 |
68 |
71 |
74 |
77 |
80 |
83 |
86 |
87 |
88 |
89 |
90 |
91 |
92 |
93 |
94 |
--------------------------------------------------------------------------------
/app/src/main/res/values/strings.xml:
--------------------------------------------------------------------------------
1 |
2 | Educational practice
3 | SignUp
4 |
5 | First Fragment
6 | Second Fragment
7 | Next
8 | Previous
9 |
10 |
11 | Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nam in scelerisque sem. Mauris
12 | volutpat, dolor id interdum ullamcorper, risus dolor egestas lectus, sit amet mattis purus
13 | dui nec risus. Maecenas non sodales nisi, vel dictum dolor. Class aptent taciti sociosqu ad
14 | litora torquent per conubia nostra, per inceptos himenaeos. Suspendisse blandit eleifend
15 | diam, vel rutrum tellus vulputate quis. Aliquam eget libero aliquet, imperdiet nisl a,
16 | ornare ex. Sed rhoncus est ut libero porta lobortis. Fusce in dictum tellus.\n\n
17 | Suspendisse interdum ornare ante. Aliquam nec cursus lorem. Morbi id magna felis. Vivamus
18 | egestas, est a condimentum egestas, turpis nisl iaculis ipsum, in dictum tellus dolor sed
19 | neque. Morbi tellus erat, dapibus ut sem a, iaculis tincidunt dui. Interdum et malesuada
20 | fames ac ante ipsum primis in faucibus. Curabitur et eros porttitor, ultricies urna vitae,
21 | molestie nibh. Phasellus at commodo eros, non aliquet metus. Sed maximus nisl nec dolor
22 | bibendum, vel congue leo egestas.\n\n
23 | Sed interdum tortor nibh, in sagittis risus mollis quis. Curabitur mi odio, condimentum sit
24 | amet auctor at, mollis non turpis. Nullam pretium libero vestibulum, finibus orci vel,
25 | molestie quam. Fusce blandit tincidunt nulla, quis sollicitudin libero facilisis et. Integer
26 | interdum nunc ligula, et fermentum metus hendrerit id. Vestibulum lectus felis, dictum at
27 | lacinia sit amet, tristique id quam. Cras eu consequat dui. Suspendisse sodales nunc ligula,
28 | in lobortis sem porta sed. Integer id ultrices magna, in luctus elit. Sed a pellentesque
29 | est.\n\n
30 | Aenean nunc velit, lacinia sed dolor sed, ultrices viverra nulla. Etiam a venenatis nibh.
31 | Morbi laoreet, tortor sed facilisis varius, nibh orci rhoncus nulla, id elementum leo dui
32 | non lorem. Nam mollis ipsum quis auctor varius. Quisque elementum eu libero sed commodo. In
33 | eros nisl, imperdiet vel imperdiet et, scelerisque a mauris. Pellentesque varius ex nunc,
34 | quis imperdiet eros placerat ac. Duis finibus orci et est auctor tincidunt. Sed non viverra
35 | ipsum. Nunc quis augue egestas, cursus lorem at, molestie sem. Morbi a consectetur ipsum, a
36 | placerat diam. Etiam vulputate dignissim convallis. Integer faucibus mauris sit amet finibus
37 | convallis.\n\n
38 | Phasellus in aliquet mi. Pellentesque habitant morbi tristique senectus et netus et
39 | malesuada fames ac turpis egestas. In volutpat arcu ut felis sagittis, in finibus massa
40 | gravida. Pellentesque id tellus orci. Integer dictum, lorem sed efficitur ullamcorper,
41 | libero justo consectetur ipsum, in mollis nisl ex sed nisl. Donec maximus ullamcorper
42 | sodales. Praesent bibendum rhoncus tellus nec feugiat. In a ornare nulla. Donec rhoncus
43 | libero vel nunc consequat, quis tincidunt nisl eleifend. Cras bibendum enim a justo luctus
44 | vestibulum. Fusce dictum libero quis erat maximus, vitae volutpat diam dignissim.
45 |
46 | Home2
47 | Home
48 | Dashboard
49 | Notifications
50 | ChatRider
51 |
--------------------------------------------------------------------------------
/app/src/main/res/layout/activity_onboarding3.xml:
--------------------------------------------------------------------------------
1 |
2 |
8 |
9 |
12 |
13 |
17 |
18 |
23 |
24 |
31 |
32 |
33 |
46 |
47 |
56 |
57 |
69 |
70 |
76 |
77 |
82 |
83 |
91 |
92 |
93 |
94 |
95 |
96 |
--------------------------------------------------------------------------------
/app/src/main/res/layout/activity_transaction_successful.xml:
--------------------------------------------------------------------------------
1 |
2 |
8 |
9 |
12 |
13 |
17 |
18 |
23 |
24 |
30 |
31 |
39 |
40 |
48 |
49 |
55 |
56 |
62 |
63 |
71 |
72 |
73 |
83 |
84 |
97 |
98 |
99 |
100 |
101 |
--------------------------------------------------------------------------------
/app/src/main/res/drawable/origindet.xml:
--------------------------------------------------------------------------------
1 |
6 |
11 |
12 |
14 |
19 |
20 |
21 |
--------------------------------------------------------------------------------
/app/src/main/res/layout/activity_onboarding1.xml:
--------------------------------------------------------------------------------
1 |
2 |
8 |
9 |
12 |
13 |
17 |
18 |
23 |
24 |
31 |
32 |
33 |
46 |
47 |
56 |
57 |
63 |
64 |
69 |
70 |
88 |
89 |
90 |
91 |
92 |
97 |
98 |
111 |
112 |
113 |
114 |
115 |
116 |
117 |
--------------------------------------------------------------------------------
/app/src/main/res/layout/activity_onboarding4.xml:
--------------------------------------------------------------------------------
1 |
2 |
8 |
9 |
12 |
13 |
17 |
18 |
23 |
24 |
31 |
32 |
33 |
46 |
47 |
56 |
57 |
63 |
64 |
69 |
70 |
88 |
89 |
90 |
91 |
92 |
97 |
98 |
111 |
112 |
113 |
114 |
115 |
116 |
117 |
--------------------------------------------------------------------------------
/app/src/main/res/drawable/walet.xml:
--------------------------------------------------------------------------------
1 |
6 |
13 |
20 |
27 |
34 |
37 |
38 |
--------------------------------------------------------------------------------
/app/src/main/res/drawable/walletact.xml:
--------------------------------------------------------------------------------
1 |
6 |
13 |
20 |
27 |
34 |
37 |
38 |
--------------------------------------------------------------------------------
/app/src/main/res/drawable/profile.xml:
--------------------------------------------------------------------------------
1 |
6 |
13 |
20 |
27 |
30 |
31 |
--------------------------------------------------------------------------------
/app/src/main/res/drawable/profileact.xml:
--------------------------------------------------------------------------------
1 |
6 |
13 |
20 |
27 |
30 |
31 |
--------------------------------------------------------------------------------
/app/src/main/res/drawable/home.xml:
--------------------------------------------------------------------------------
1 |
6 |
13 |
19 |
26 |
33 |
40 |
43 |
44 |
--------------------------------------------------------------------------------
/app/src/main/java/com/example/up05/Log_in.java:
--------------------------------------------------------------------------------
1 | package com.example.up05;
2 |
3 | import static android.content.ContentValues.TAG;
4 |
5 | import androidx.annotation.NonNull;
6 | import androidx.appcompat.app.AppCompatActivity;
7 | import androidx.appcompat.widget.AppCompatButton;
8 |
9 | import android.content.Intent;
10 | import android.os.Bundle;
11 | import android.text.Editable;
12 | import android.text.TextWatcher;
13 | import android.util.Log;
14 | import android.view.View;
15 | import android.widget.EditText;
16 | import android.widget.Toast;
17 |
18 | import com.example.educationalpractice.R;
19 | import com.google.android.gms.tasks.OnCompleteListener;
20 | import com.google.android.gms.tasks.Task;
21 | import com.google.firebase.auth.AuthResult;
22 | import com.google.firebase.auth.FirebaseAuth;
23 | import com.google.firebase.auth.FirebaseUser;
24 |
25 | public class Log_in extends AppCompatActivity {
26 |
27 | private AppCompatButton log;
28 | private String emailText, passText;
29 | private EditText email, pass;
30 | private FirebaseAuth mAuth;
31 | private FirebaseUser user;
32 |
33 | @Override
34 | protected void onCreate(Bundle savedInstanceState) {
35 | super.onCreate(savedInstanceState);
36 | setContentView(R.layout.activity_log_in);
37 |
38 | log = findViewById(R.id.button200);
39 | passText = "";
40 | emailText = "";
41 |
42 | email = findViewById(R.id.editTextTextEmailAddress2);
43 | pass = findViewById(R.id.pass1);
44 | mAuth = FirebaseAuth.getInstance();
45 |
46 | log.setOnClickListener(new View.OnClickListener() {
47 | @Override
48 | public void onClick(View v) {
49 | emailText = email.getText().toString();
50 | passText = pass.getText().toString();
51 | signIn(emailText, passText);
52 |
53 | if(user != null) {
54 | Intent intent = new Intent(Log_in.this, Home.class);
55 | startActivity(intent);
56 | }
57 |
58 | }
59 | });
60 | email.addTextChangedListener(new TextWatcher() {
61 | @Override
62 | public void beforeTextChanged(CharSequence s, int start, int count, int after) {
63 |
64 | }
65 |
66 | @Override
67 | public void onTextChanged(CharSequence s, int start, int before, int count) {
68 | emailText = email.getText().toString();
69 | passText = pass.getText().toString();
70 | if(emailText.length() != 0 & passText.length() != 0){
71 | log.setEnabled(true);
72 | log.setBackgroundColor(getColor(R.color.blue));
73 | } else {
74 | log.setEnabled(false);
75 | log.setBackgroundColor(getColor(R.color.Gray));
76 | }
77 | }
78 |
79 | @Override
80 | public void afterTextChanged(Editable s) {
81 |
82 | }
83 | });
84 |
85 |
86 | pass.addTextChangedListener(new TextWatcher() {
87 | @Override
88 | public void beforeTextChanged(CharSequence s, int start, int count, int after) {
89 |
90 | }
91 |
92 | @Override
93 | public void onTextChanged(CharSequence s, int start, int before, int count) {
94 | emailText = email.getText().toString();
95 | passText = pass.getText().toString();
96 | if(emailText.length() != 0 & passText.length() != 0){
97 | log.setEnabled(true);
98 | log.setBackgroundColor(getColor(R.color.blue));
99 | } else {
100 | log.setEnabled(false);
101 | log.setBackgroundColor(getColor(R.color.Gray));
102 | }
103 | }
104 |
105 | @Override
106 | public void afterTextChanged(Editable s) {
107 |
108 | }
109 | });
110 | }
111 | public void ForgotPassword(View v){
112 | Intent intent = new Intent(this, Forgot_password.class);
113 | startActivity(intent);
114 | }
115 |
116 | public void Sign_Upp(View v){
117 | Intent intent = new Intent(this, SignUp.class);
118 | startActivity(intent);
119 | }
120 |
121 |
122 |
123 |
124 | private void signIn(String email, String password) {
125 | // [START sign_in_with_email]
126 | mAuth.signInWithEmailAndPassword(email, password)
127 | .addOnCompleteListener(this, new OnCompleteListener() {
128 | @Override
129 | public void onComplete(@NonNull Task task) {
130 | if (task.isSuccessful()) {
131 | // Sign in success, update UI with the signed-in user's information
132 | Log.d(TAG, "signInWithEmail:success");
133 | user = mAuth.getCurrentUser();
134 |
135 | } else {
136 | // If sign in fails, display a message to the user.
137 | Log.w(TAG, "signInWithEmail:failure", task.getException());
138 | Toast.makeText(Log_in.this, "Authentication failed.",
139 | Toast.LENGTH_SHORT).show();
140 | user = null;
141 | }
142 | }
143 | });
144 | // [END sign_in_with_email]
145 | }
146 | }
--------------------------------------------------------------------------------
/app/src/main/res/layout/activity_forgot_password.xml:
--------------------------------------------------------------------------------
1 |
2 |
8 |
9 |
12 |
13 |
17 |
18 |
24 |
25 |
32 |
33 |
42 |
43 |
44 |
45 |
51 |
52 |
56 |
57 |
63 |
64 |
76 |
77 |
78 |
79 |
80 |
86 |
87 |
98 |
99 |
105 |
106 |
112 |
113 |
121 |
122 |
123 |
124 |
125 |
126 |
--------------------------------------------------------------------------------
/app/src/main/res/drawable/homeact.xml:
--------------------------------------------------------------------------------
1 |
6 |
13 |
16 |
22 |
29 |
36 |
43 |
46 |
47 |
--------------------------------------------------------------------------------
/app/src/main/java/com/example/up05/OTP_Verification.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.CountDownTimer;
8 | import android.text.Editable;
9 | import android.text.TextWatcher;
10 | import android.view.View;
11 | import android.widget.EditText;
12 | import android.widget.TextView;
13 |
14 | import com.example.educationalpractice.R;
15 |
16 | public class OTP_Verification extends AppCompatActivity {
17 | private EditText one, two, three, four, five, six;
18 |
19 | @Override
20 | protected void onCreate(Bundle savedInstanceState) {
21 | super.onCreate(savedInstanceState);
22 | setContentView(R.layout.activity_otp_verification);
23 |
24 | one = findViewById(R.id.editTextNumberPassword);
25 |
26 | two = findViewById(R.id.editTextNumberPassword2);
27 |
28 | three = findViewById(R.id.editTextNumberPassword3);
29 |
30 | four = findViewById(R.id.editTextNumberPassword4);
31 |
32 | five = findViewById(R.id.editTextNumberPassword5);
33 |
34 | six = findViewById(R.id.editTextNumberPassword6);
35 | final int[] time = {60};
36 | TextView timer = (TextView) findViewById(R.id.textView26) ;
37 |
38 | new CountDownTimer(60000, 1000) {
39 |
40 | public void onTick(long millisUntilFinished) {
41 | timer.setText("seconds remaining: " + time[0]);
42 | time[0]--;
43 | // logic to set the EditText could go here
44 | }
45 |
46 | public void onFinish() {
47 | timer.setText("resend");
48 | timer.setTextColor(getColor(R.color.blue));
49 | }
50 |
51 | }.start();
52 |
53 | one.addTextChangedListener(new TextWatcher() {
54 | @Override
55 | public void beforeTextChanged(CharSequence s, int start, int count, int after) {
56 |
57 | }
58 |
59 | @Override
60 | public void onTextChanged(CharSequence s, int start, int before, int count) {
61 | if(one.length() == 1){
62 | two.requestFocus();
63 | }
64 | }
65 |
66 | @Override
67 | public void afterTextChanged(Editable s) {
68 |
69 | }
70 | });
71 |
72 | two.addTextChangedListener(new TextWatcher() {
73 | @Override
74 | public void beforeTextChanged(CharSequence s, int start, int count, int after) {
75 |
76 | }
77 |
78 | @Override
79 | public void onTextChanged(CharSequence s, int start, int before, int count) {
80 | if(two.length() == 1){
81 | three.requestFocus();
82 | }
83 | if(two.length() == 0){
84 | one.requestFocus();
85 | }
86 | }
87 |
88 | @Override
89 | public void afterTextChanged(Editable s) {
90 |
91 | }
92 | });
93 |
94 | three.addTextChangedListener(new TextWatcher() {
95 | @Override
96 | public void beforeTextChanged(CharSequence s, int start, int count, int after) {
97 |
98 | }
99 |
100 | @Override
101 | public void onTextChanged(CharSequence s, int start, int before, int count) {
102 | if(three.length() == 1){
103 | four.requestFocus();
104 | }
105 | if(three.length() == 0){
106 | two.requestFocus();
107 | }
108 | }
109 |
110 | @Override
111 | public void afterTextChanged(Editable s) {
112 |
113 | }
114 | });
115 |
116 | four.addTextChangedListener(new TextWatcher() {
117 | @Override
118 | public void beforeTextChanged(CharSequence s, int start, int count, int after) {
119 |
120 | }
121 |
122 | @Override
123 | public void onTextChanged(CharSequence s, int start, int before, int count) {
124 | if(four.length() == 1){
125 | five.requestFocus();
126 | }
127 | if(four.length() == 0){
128 | three.requestFocus();
129 | }
130 | }
131 |
132 | @Override
133 | public void afterTextChanged(Editable s) {
134 |
135 | }
136 | });
137 |
138 | five.addTextChangedListener(new TextWatcher() {
139 | @Override
140 | public void beforeTextChanged(CharSequence s, int start, int count, int after) {
141 |
142 | }
143 |
144 | @Override
145 | public void onTextChanged(CharSequence s, int start, int before, int count) {
146 | if(five.length() == 1){
147 | six.requestFocus();
148 | }
149 | if(five.length() == 0){
150 | four.requestFocus();
151 | }
152 | }
153 |
154 | @Override
155 | public void afterTextChanged(Editable s) {
156 |
157 | }
158 | });
159 |
160 | six.addTextChangedListener(new TextWatcher() {
161 | @Override
162 | public void beforeTextChanged(CharSequence s, int start, int count, int after) {
163 |
164 | }
165 |
166 | @Override
167 | public void onTextChanged(CharSequence s, int start, int before, int count) {
168 | if(six.length() == 0){
169 | five.requestFocus();
170 | }
171 | }
172 |
173 | @Override
174 | public void afterTextChanged(Editable s) {
175 |
176 | }
177 | });
178 | }
179 |
180 | public void SetNewPassword1(View v){
181 | Intent intent = new Intent(this, New_Password.class);
182 | startActivity(intent);
183 | }
184 | }
--------------------------------------------------------------------------------
/app/src/main/res/drawable/track.xml:
--------------------------------------------------------------------------------
1 |
6 |
13 |
20 |
27 |
34 |
41 |
48 |
55 |
62 |
65 |
66 |
--------------------------------------------------------------------------------
/app/src/main/res/drawable/trackact.xml:
--------------------------------------------------------------------------------
1 |
6 |
13 |
20 |
27 |
34 |
41 |
48 |
55 |
62 |
65 |
66 |
--------------------------------------------------------------------------------
/app/src/main/res/drawable/ic_launcher_background.xml:
--------------------------------------------------------------------------------
1 |
2 |
7 |
10 |
15 |
20 |
25 |
30 |
35 |
40 |
45 |
50 |
55 |
60 |
65 |
70 |
75 |
80 |
85 |
90 |
95 |
100 |
105 |
110 |
115 |
120 |
125 |
130 |
135 |
140 |
145 |
150 |
155 |
160 |
165 |
170 |
171 |
--------------------------------------------------------------------------------
/gradlew:
--------------------------------------------------------------------------------
1 | #!/usr/bin/env sh
2 |
3 | #
4 | # Copyright 2015 the original author or authors.
5 | #
6 | # Licensed under the Apache License, Version 2.0 (the "License");
7 | # you may not use this file except in compliance with the License.
8 | # You may obtain a copy of the License at
9 | #
10 | # https://www.apache.org/licenses/LICENSE-2.0
11 | #
12 | # Unless required by applicable law or agreed to in writing, software
13 | # distributed under the License is distributed on an "AS IS" BASIS,
14 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 | # See the License for the specific language governing permissions and
16 | # limitations under the License.
17 | #
18 |
19 | ##############################################################################
20 | ##
21 | ## Gradle start up script for UN*X
22 | ##
23 | ##############################################################################
24 |
25 | # Attempt to set APP_HOME
26 | # Resolve links: $0 may be a link
27 | PRG="$0"
28 | # Need this for relative symlinks.
29 | while [ -h "$PRG" ] ; do
30 | ls=`ls -ld "$PRG"`
31 | link=`expr "$ls" : '.*-> \(.*\)$'`
32 | if expr "$link" : '/.*' > /dev/null; then
33 | PRG="$link"
34 | else
35 | PRG=`dirname "$PRG"`"/$link"
36 | fi
37 | done
38 | SAVED="`pwd`"
39 | cd "`dirname \"$PRG\"`/" >/dev/null
40 | APP_HOME="`pwd -P`"
41 | cd "$SAVED" >/dev/null
42 |
43 | APP_NAME="Gradle"
44 | APP_BASE_NAME=`basename "$0"`
45 |
46 | # Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
47 | DEFAULT_JVM_OPTS='"-Xmx64m" "-Xms64m"'
48 |
49 | # Use the maximum available, or set MAX_FD != -1 to use that value.
50 | MAX_FD="maximum"
51 |
52 | warn () {
53 | echo "$*"
54 | }
55 |
56 | die () {
57 | echo
58 | echo "$*"
59 | echo
60 | exit 1
61 | }
62 |
63 | # OS specific support (must be 'true' or 'false').
64 | cygwin=false
65 | msys=false
66 | darwin=false
67 | nonstop=false
68 | case "`uname`" in
69 | CYGWIN* )
70 | cygwin=true
71 | ;;
72 | Darwin* )
73 | darwin=true
74 | ;;
75 | MINGW* )
76 | msys=true
77 | ;;
78 | NONSTOP* )
79 | nonstop=true
80 | ;;
81 | esac
82 |
83 | CLASSPATH=$APP_HOME/gradle/wrapper/gradle-wrapper.jar
84 |
85 |
86 | # Determine the Java command to use to start the JVM.
87 | if [ -n "$JAVA_HOME" ] ; then
88 | if [ -x "$JAVA_HOME/jre/sh/java" ] ; then
89 | # IBM's JDK on AIX uses strange locations for the executables
90 | JAVACMD="$JAVA_HOME/jre/sh/java"
91 | else
92 | JAVACMD="$JAVA_HOME/bin/java"
93 | fi
94 | if [ ! -x "$JAVACMD" ] ; then
95 | die "ERROR: JAVA_HOME is set to an invalid directory: $JAVA_HOME
96 |
97 | Please set the JAVA_HOME variable in your environment to match the
98 | location of your Java installation."
99 | fi
100 | else
101 | JAVACMD="java"
102 | which java >/dev/null 2>&1 || die "ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
103 |
104 | Please set the JAVA_HOME variable in your environment to match the
105 | location of your Java installation."
106 | fi
107 |
108 | # Increase the maximum file descriptors if we can.
109 | if [ "$cygwin" = "false" -a "$darwin" = "false" -a "$nonstop" = "false" ] ; then
110 | MAX_FD_LIMIT=`ulimit -H -n`
111 | if [ $? -eq 0 ] ; then
112 | if [ "$MAX_FD" = "maximum" -o "$MAX_FD" = "max" ] ; then
113 | MAX_FD="$MAX_FD_LIMIT"
114 | fi
115 | ulimit -n $MAX_FD
116 | if [ $? -ne 0 ] ; then
117 | warn "Could not set maximum file descriptor limit: $MAX_FD"
118 | fi
119 | else
120 | warn "Could not query maximum file descriptor limit: $MAX_FD_LIMIT"
121 | fi
122 | fi
123 |
124 | # For Darwin, add options to specify how the application appears in the dock
125 | if $darwin; then
126 | GRADLE_OPTS="$GRADLE_OPTS \"-Xdock:name=$APP_NAME\" \"-Xdock:icon=$APP_HOME/media/gradle.icns\""
127 | fi
128 |
129 | # For Cygwin or MSYS, switch paths to Windows format before running java
130 | if [ "$cygwin" = "true" -o "$msys" = "true" ] ; then
131 | APP_HOME=`cygpath --path --mixed "$APP_HOME"`
132 | CLASSPATH=`cygpath --path --mixed "$CLASSPATH"`
133 |
134 | JAVACMD=`cygpath --unix "$JAVACMD"`
135 |
136 | # We build the pattern for arguments to be converted via cygpath
137 | ROOTDIRSRAW=`find -L / -maxdepth 1 -mindepth 1 -type d 2>/dev/null`
138 | SEP=""
139 | for dir in $ROOTDIRSRAW ; do
140 | ROOTDIRS="$ROOTDIRS$SEP$dir"
141 | SEP="|"
142 | done
143 | OURCYGPATTERN="(^($ROOTDIRS))"
144 | # Add a user-defined pattern to the cygpath arguments
145 | if [ "$GRADLE_CYGPATTERN" != "" ] ; then
146 | OURCYGPATTERN="$OURCYGPATTERN|($GRADLE_CYGPATTERN)"
147 | fi
148 | # Now convert the arguments - kludge to limit ourselves to /bin/sh
149 | i=0
150 | for arg in "$@" ; do
151 | CHECK=`echo "$arg"|egrep -c "$OURCYGPATTERN" -`
152 | CHECK2=`echo "$arg"|egrep -c "^-"` ### Determine if an option
153 |
154 | if [ $CHECK -ne 0 ] && [ $CHECK2 -eq 0 ] ; then ### Added a condition
155 | eval `echo args$i`=`cygpath --path --ignore --mixed "$arg"`
156 | else
157 | eval `echo args$i`="\"$arg\""
158 | fi
159 | i=`expr $i + 1`
160 | done
161 | case $i in
162 | 0) set -- ;;
163 | 1) set -- "$args0" ;;
164 | 2) set -- "$args0" "$args1" ;;
165 | 3) set -- "$args0" "$args1" "$args2" ;;
166 | 4) set -- "$args0" "$args1" "$args2" "$args3" ;;
167 | 5) set -- "$args0" "$args1" "$args2" "$args3" "$args4" ;;
168 | 6) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" ;;
169 | 7) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" ;;
170 | 8) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" "$args7" ;;
171 | 9) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" "$args7" "$args8" ;;
172 | esac
173 | fi
174 |
175 | # Escape application args
176 | save () {
177 | for i do printf %s\\n "$i" | sed "s/'/'\\\\''/g;1s/^/'/;\$s/\$/' \\\\/" ; done
178 | echo " "
179 | }
180 | APP_ARGS=`save "$@"`
181 |
182 | # Collect all arguments for the java command, following the shell quoting and substitution rules
183 | eval set -- $DEFAULT_JVM_OPTS $JAVA_OPTS $GRADLE_OPTS "\"-Dorg.gradle.appname=$APP_BASE_NAME\"" -classpath "\"$CLASSPATH\"" org.gradle.wrapper.GradleWrapperMain "$APP_ARGS"
184 |
185 | exec "$JAVACMD" "$@"
186 |
--------------------------------------------------------------------------------
/app/src/main/res/layout/activity_new_password.xml:
--------------------------------------------------------------------------------
1 |
2 |
8 |
9 |
12 |
13 |
17 |
18 |
24 |
25 |
32 |
33 |
42 |
43 |
44 |
45 |
51 |
52 |
56 |
57 |
63 |
64 |
70 |
71 |
80 |
81 |
82 |
83 |
88 |
89 |
95 |
96 |
102 |
103 |
112 |
113 |
114 |
115 |
116 |
117 |
118 |
124 |
125 |
136 |
137 |
138 |
139 |
140 |
141 |
--------------------------------------------------------------------------------