Commit 9ae76224 authored by Uthmika2000's avatar Uthmika2000

Done

parent a2cd246a
<?xml version="1.0" encoding="UTF-8"?>
<module type="JAVA_MODULE" version="4">
<component name="NewModuleRootManager" inherit-compiler-output="true">
<exclude-output />
<content url="file://$MODULE_DIR$" />
<orderEntry type="inheritedJdk" />
<orderEntry type="sourceFolder" forTests="false" />
</component>
</module>
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8"?>
<module type="JAVA_MODULE" version="4">
<component name="NewModuleRootManager" inherit-compiler-output="true">
<exclude-output />
<content url="file://$MODULE_DIR$" />
<orderEntry type="inheritedJdk" />
<orderEntry type="sourceFolder" forTests="false" />
</component>
</module>
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="ProjectModuleManager">
<modules>
<module fileurl="file://$PROJECT_DIR$/.idea/Courier_Tracker.iml" filepath="$PROJECT_DIR$/.idea/Courier_Tracker.iml" />
</modules>
</component>
</project>
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="VcsDirectoryMappings">
<mapping directory="" vcs="Git" />
</component>
</project>
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="AutoImportSettings">
<option name="autoReloadType" value="NONE" />
</component>
<component name="ChangeListManager">
<list default="true" id="3ed4c3fa-8b5a-44f2-adc5-aafe2a17d41c" name="Changes" comment="" />
<option name="SHOW_DIALOG" value="false" />
<option name="HIGHLIGHT_CONFLICTS" value="true" />
<option name="HIGHLIGHT_NON_ACTIVE_CHANGELIST" value="false" />
<option name="LAST_RESOLUTION" value="IGNORE" />
</component>
<component name="Git.Settings">
<option name="RECENT_GIT_ROOT_PATH" value="$PROJECT_DIR$" />
</component>
<component name="ProjectId" id="2WqwGTWVzyHWxdvMSwZP4FfXXe9" />
<component name="ProjectViewState">
<option name="hideEmptyMiddlePackages" value="true" />
<option name="showLibraryContents" value="true" />
</component>
<component name="PropertiesComponent"><![CDATA[{
"keyToString": {
"RunOnceActivity.OpenProjectViewOnStart": "true",
"RunOnceActivity.ShowReadmeOnStart": "true",
"RunOnceActivity.cidr.known.project.marker": "true",
"cidr.known.project.marker": "true",
"last_opened_file_path": "C:/Users/Uthmika/Downloads/Compressed/TrackerApp/MyApplication"
}
}]]></component>
<component name="SpellCheckerSettings" RuntimeDictionaries="0" Folders="0" CustomDictionaries="0" DefaultDictionary="application-level" UseSingleDictionary="true" transferred="true" />
<component name="TaskManager">
<task active="true" id="Default" summary="Default task">
<changelist id="3ed4c3fa-8b5a-44f2-adc5-aafe2a17d41c" name="Changes" comment="" />
<created>1697473321409</created>
<option name="number" value="Default" />
<option name="presentableId" value="Default" />
<updated>1697473321409</updated>
</task>
<servers />
</component>
<component name="Vcs.Log.Tabs.Properties">
<option name="TAB_STATES">
<map>
<entry key="MAIN">
<value>
<State />
</value>
</entry>
</map>
</option>
</component>
</project>
\ No newline at end of file
*.iml
.gradle
/local.properties
/.idea/caches
/.idea/libraries
/.idea/modules.xml
/.idea/workspace.xml
/.idea/navEditor.xml
/.idea/assetWizardSettings.xml
.DS_Store
/build
/captures
.externalNativeBuild
.cxx
local.properties
# Default ignored files
/shelf/
/workspace.xml
My Application
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="CompilerConfiguration">
<bytecodeTargetLevel target="17" />
</component>
</project>
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="deploymentTargetDropDown">
<targetSelectedWithDropDown>
<Target>
<type value="QUICK_BOOT_TARGET" />
<deviceKey>
<Key>
<type value="VIRTUAL_DEVICE_PATH" />
<value value="C:\Users\Uthmika\.android\avd\Pixel_6_API_30.avd" />
</Key>
</deviceKey>
</Target>
</targetSelectedWithDropDown>
<timeTargetWasSelectedWithDropDown value="2023-10-22T10:19:32.345769800Z" />
</component>
</project>
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="GradleMigrationSettings" migrationVersion="1" />
<component name="GradleSettings">
<option name="linkedExternalProjectsSettings">
<GradleProjectSettings>
<option name="testRunner" value="GRADLE" />
<option name="distributionType" value="DEFAULT_WRAPPED" />
<option name="externalProjectPath" value="$PROJECT_DIR$" />
<option name="gradleJvm" value="jbr-17" />
<option name="modules">
<set>
<option value="$PROJECT_DIR$" />
<option value="$PROJECT_DIR$/app" />
</set>
</option>
</GradleProjectSettings>
</option>
</component>
</project>
\ No newline at end of file
<project version="4">
<component name="ExternalStorageConfigurationManager" enabled="true" />
<component name="ProjectRootManager" version="2" languageLevel="JDK_17" default="true" project-jdk-name="jbr-17" project-jdk-type="JavaSDK">
<output url="file://$PROJECT_DIR$/build/classes" />
</component>
<component name="ProjectType">
<option name="id" value="Android" />
</component>
</project>
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="VcsDirectoryMappings">
<mapping directory="$PROJECT_DIR$/.." vcs="Git" />
</component>
</project>
\ No newline at end of file
plugins {
id 'com.android.application'
}
android {
namespace 'com.example.myapplication'
compileSdk 33
defaultConfig {
applicationId "com.example.myapplication"
minSdk 26
targetSdk 33
versionCode 1
versionName "1.0"
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
}
}
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
}
}
dependencies {
implementation 'androidx.appcompat:appcompat:1.6.1'
implementation 'com.google.android.material:material:1.5.0'
implementation 'androidx.constraintlayout:constraintlayout:2.1.4'
testImplementation 'junit:junit:4.13.2'
androidTestImplementation 'androidx.test.ext:junit:1.1.5'
androidTestImplementation 'androidx.test.espresso:espresso-core:3.5.1'
implementation 'com.squareup.retrofit2:retrofit:2.4.0'
implementation 'com.squareup.retrofit2:converter-gson:2.4.0'
implementation 'de.hdodenhof:circleimageview:3.1.0'
implementation 'androidx.navigation:navigation-fragment:2.5.3'
implementation 'androidx.navigation:navigation-ui:2.5.3'
testImplementation 'junit:junit:4.13.2'
androidTestImplementation 'androidx.test.ext:junit:1.1.5'
androidTestImplementation 'androidx.test.espresso:espresso-core:3.5.1'
implementation 'de.hdodenhof:circleimageview:3.1.0'
implementation 'com.android.volley:volley:1.2.1'
implementation 'com.google.android.gms:play-services-maps:18.1.0'
//dependency for qr
implementation 'com.journeyapps:zxing-android-embedded:4.3.0'
}
\ No newline at end of file
# Add project specific ProGuard rules here.
# You can control the set of applied configuration files using the
# proguardFiles setting in build.gradle.
#
# For more details, see
# http://developer.android.com/guide/developing/tools/proguard.html
# If your project uses WebView with JS, uncomment the following
# and specify the fully qualified class name to the JavaScript interface
# class:
#-keepclassmembers class fqcn.of.javascript.interface.for.webview {
# public *;
#}
# Uncomment this to preserve the line number information for
# debugging stack traces.
#-keepattributes SourceFile,LineNumberTable
# If you keep the line number information, uncomment this to
# hide the original source file name.
#-renamesourcefileattribute SourceFile
\ No newline at end of file
package com.example.myapplication;
import android.content.Context;
import androidx.test.platform.app.InstrumentationRegistry;
import androidx.test.ext.junit.runners.AndroidJUnit4;
import org.junit.Test;
import org.junit.runner.RunWith;
import static org.junit.Assert.*;
/**
* Instrumented test, which will execute on an Android device.
*
* @see <a href="http://d.android.com/tools/testing">Testing documentation</a>
*/
@RunWith(AndroidJUnit4.class)
public class ExampleInstrumentedTest {
@Test
public void useAppContext() {
// Context of the app under test.
Context appContext = InstrumentationRegistry.getInstrumentation().getTargetContext();
assertEquals("com.example.myapplication", appContext.getPackageName());
}
}
\ No newline at end of file
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools">
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" />
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />
<uses-permission android:name="android.permission.POST_NOTIFICATIONS" />
<uses-permission android:name="android.permission.ACCESS_BACKGROUND_LOCATION" />
<application
android:allowBackup="true"
android:dataExtractionRules="@xml/data_extraction_rules"
android:fullBackupContent="@xml/backup_rules"
android:icon="@mipmap/ic_launcher"
android:label="@string/app_name"
android:usesCleartextTraffic="true"
android:roundIcon="@mipmap/ic_launcher_round"
android:supportsRtl="true"
android:theme="@style/Theme.MyApplication"
tools:targetApi="31">
<activity
android:name=".Register_Activity"
android:exported="false" />
<activity
android:name=".PasswordReset_Activity"
android:exported="false" />
<activity
android:name=".MainActivity"
android:exported="true">
<!-- <intent-filter>-->
<!-- <action android:name="android.intent.action.MAIN" />-->
<!-- <category android:name="android.intent.category.LAUNCHER" />-->
<!-- </intent-filter>-->
</activity>
<meta-data
android:name="com.google.android.geo.API_KEY"
android:value="AIzaSyB6sU6_qf9A0D7kZhkkilmGQ1jQza4PDT8" />
<meta-data
android:name="com.google.android.gms.vision.DEPENDENCIES"
android:value="barcode" />
<activity
android:name=".Login_Activity"
android:exported="true">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
</application>
</manifest>
\ No newline at end of file
package com.example.myapplication.APIModels;
import com.google.gson.annotations.SerializedName;
public class LoginCustomer {
@SerializedName("status")
private String status;
@SerializedName("token")
private String token;
@SerializedName("customer")
private customer customer;
public String getStatus() {
return status;
}
public void setStatus(String status) {
this.status = status;
}
public String getToken() {
return token;
}
public void setToken(String token) {
this.token = token;
}
public com.example.myapplication.APIModels.customer getCustomer() {
return customer;
}
public void setCustomer(com.example.myapplication.APIModels.customer customer) {
this.customer = customer;
}
}
package com.example.myapplication.APIModels;
import com.example.myapplication.mod.tickets;
import com.google.gson.annotations.SerializedName;
import java.util.ArrayList;
public class TicketModel {
@SerializedName("data")
private tickets data;
@SerializedName("status")
private String status;
public tickets getData() {
return data;
}
public void setData(tickets data) {
this.data = data;
}
public String getStatus() {
return status;
}
public void setStatus(String status) {
this.status = status;
}
}
package com.example.myapplication.APIModels;
public class User {
private String email;
private String password;
public String getEmail() {
return email;
}
public void setEmail(String email) {
this.email = email;
}
public String getPassword() {
return password;
}
public void setPassword(String password) {
this.password = password;
}
}
package com.example.myapplication.APIModels;
import com.google.gson.annotations.SerializedName;
public class customer {
@SerializedName("id")
private int id;
public int getId() {
return id;
}
public void setId(int id) {
this.id = id;
}
}
package com.example.myapplication.APIModels;
import com.google.gson.annotations.SerializedName;
public class defectModel {
@SerializedName("defectiveness")
String defectiveness;
@SerializedName("status")
String status;
public String getDefectiveness() {
return defectiveness;
}
public void setDefectiveness(String defectiveness) {
this.defectiveness = defectiveness;
}
public String getStatus() {
return status;
}
public void setStatus(String status) {
this.status = status;
}
}
package com.example.myapplication.APIModels;
import com.example.myapplication.mod.tickets;
import com.google.gson.annotations.SerializedName;
public class packageDetailsModel {
@SerializedName("_id")
private String _id;
@SerializedName("__v")
int __v;
public String get_id() {
return _id;
}
public void set_id(String _id) {
this._id = _id;
}
public int get__v() {
return __v;
}
public void set__v(int __v) {
this.__v = __v;
}
@SerializedName("senderName")
private String senderName;
@SerializedName("senderContact")
private String senderContact;
@SerializedName("img1")
private String img1;
@SerializedName("img2")
private String img2;
public String getSenderName() {
return senderName;
}
public void setSenderName(String senderName) {
this.senderName = senderName;
}
public String getSenderContact() {
return senderContact;
}
public void setSenderContact(String senderContact) {
this.senderContact = senderContact;
}
public String getImg1() {
return img1;
}
public void setImg1(String img1) {
this.img1 = img1;
}
public String getImg2() {
return img2;
}
public void setImg2(String img2) {
this.img2 = img2;
}
}
package com.example.myapplication.APIModels;
public class sendercontact {
private String senderContact;
public String getSenderContact() {
return senderContact;
}
public void setSenderContact(String senderContact) {
this.senderContact = senderContact;
}
}
package com.example.myapplication.Adapter;
import android.content.Context;
import android.content.SharedPreferences;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.ImageView;
import android.widget.RelativeLayout;
import android.widget.TextView;
import androidx.annotation.NonNull;
import androidx.cardview.widget.CardView;
import androidx.recyclerview.widget.RecyclerView;
import com.example.myapplication.APIModels.TicketModel;
import com.example.myapplication.Fragment.PackageFragment;
import com.example.myapplication.R;
import com.example.myapplication.mod.timeline;
import java.text.SimpleDateFormat;
import java.util.Date;
import java.util.List;
public class StatusTicketAdapter extends RecyclerView.Adapter<StatusTicketAdapter.MyViewHolder> {
private TicketModel ticketModel;
private Context context;
SharedPreferences sharedPreferences;
PackageFragment packageFragment = new PackageFragment();
String CreateDate,DeletedDate,UpdatedDate;
String uName = null;
int i = 0;
private List<timeline> timelines;
public StatusTicketAdapter(TicketModel ticketModel, Context context ) {
this.ticketModel = ticketModel;
this.context = context;
}
@Override
public StatusTicketAdapter.MyViewHolder onCreateViewHolder(ViewGroup parent, int viewType) {
View view = LayoutInflater.from(parent.getContext()).inflate(R.layout.tickets_list_timeline, parent, false);
return new StatusTicketAdapter.MyViewHolder(view);
}
@Override
public void onBindViewHolder(@NonNull MyViewHolder holder, int position) {
for(int i = 0; i < ticketModel.getData().getTickets().get(position).getTimeline().size();){
holder.TicketId.setText("ID : "+ticketModel.getData().getTickets().get(position).getTimeline().get(i).getTicketID());
holder.description.setText("DESCRIPTION : "+ ticketModel.getData().getTickets().get(position).getTimeline().get(i).getDescription());
long dv = Long.valueOf(ticketModel.getData().getTickets().get(position).getTimeline().get(i).getCreatedAt()) * 1000;// its need to be in milisecond
Date df = new java.util.Date(dv);
CreateDate = new SimpleDateFormat("yyyy.MM.dd || hh:mma").format(df);
long dv1 = Long.valueOf(ticketModel.getData().getTickets().get(position).getTimeline().get(i).getDeletedAt()) * 1000;// its need to be in milisecond
Date df1 = new java.util.Date(dv1);
DeletedDate = new SimpleDateFormat("yyyy.MM.dd || hh:mma").format(df1);
long dv2 = Long.valueOf(ticketModel.getData().getTickets().get(position).getTimeline().get(i).getUpdatedAt()) * 1000;// its need to be in milisecond
Date df2 = new java.util.Date(dv2);
UpdatedDate = new SimpleDateFormat("yyyy.MM.dd || hh:mma").format(df2);
holder.CreatedDate.setText("CREATED AT : "+ CreateDate);
holder.DeletedDate.setText("DELETED AT : " + DeletedDate);
holder.UpdatedDate.setText("UPDATED AT : "+UpdatedDate );
i++;
}
}
@Override
public int getItemCount() {
return ticketModel.getData().getTickets().size();
}
public class MyViewHolder extends RecyclerView.ViewHolder {
TextView description, TicketId,CreatedDate,DeletedDate,UpdatedDate, Status;
ImageView image;
RelativeLayout rL1;
CardView crd;
public MyViewHolder(@NonNull View itemView) {
super(itemView);
description = itemView.findViewById(R.id.txtDescription);
TicketId = itemView.findViewById(R.id.txtTicketID);
Status = itemView.findViewById(R.id.txtStatus);
CreatedDate = itemView.findViewById(R.id.txtCdate);
DeletedDate = itemView.findViewById(R.id.txtDdate);
UpdatedDate = itemView.findViewById(R.id.txtUdate);
}
}
}
package com.example.myapplication.Adapter;
import android.content.Context;
import android.content.SharedPreferences;
import android.graphics.Color;
import android.os.Bundle;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.ImageView;
import android.widget.RelativeLayout;
import android.widget.TextView;
import androidx.annotation.NonNull;
import androidx.cardview.widget.CardView;
import androidx.fragment.app.FragmentActivity;
import androidx.recyclerview.widget.RecyclerView;
import com.example.myapplication.APIModels.TicketModel;
import com.example.myapplication.Fragment.PackageFragment;
import com.example.myapplication.Fragment.ViewTicketFragment;
import com.example.myapplication.Network.FragmentCommunication;
import com.example.myapplication.R;
public class TicketsAdapter extends RecyclerView.Adapter<TicketsAdapter.MyViewHolder>{
private TicketModel ticketModel;
private Context context;
SharedPreferences sharedPreferences;
PackageFragment packageFragment = new PackageFragment();
ViewTicketFragment viewTicketFragment = new ViewTicketFragment();
String uName = null;
private FragmentCommunication mCommunicator;
public TicketsAdapter(TicketModel ticketModel, Context context,FragmentCommunication communication) {
this.ticketModel = ticketModel;
this.context = context;
mCommunicator=communication;
}
@Override
public MyViewHolder onCreateViewHolder(ViewGroup parent, int viewType) {
View view = LayoutInflater.from(parent.getContext()).inflate(R.layout.tickets_list, parent, false);
MyViewHolder holder = new MyViewHolder(view,mCommunicator);
return new MyViewHolder(view, mCommunicator);
}
@Override
public void onBindViewHolder(MyViewHolder holder, int position) {
holder.description.setText(ticketModel.getData().getTickets().get(position).getCall().getTranscript()+"");
holder.title.setText(ticketModel.getData().getTickets().get(position).getTitle()+"");
holder.Status.setText(ticketModel.getData().getTickets().get(position).getStatus()+"");
holder.email.setText(ticketModel.getData().getTickets().get(position).getCustomer().getEmail()+"");
if ((position %2)==0 )
{
holder.rL1.setBackgroundColor(Color.parseColor("#f4f4f4"));
} else {
holder.rL1.setBackgroundColor(Color.parseColor("#cdcdcd"));
}
//two text views defined on top of the viewHolder
String Title = ticketModel.getData().getTickets().get(position).getTitle();
}
@Override
public int getItemCount() {
return ticketModel.getData().getTickets().size();
}
public class MyViewHolder extends RecyclerView.ViewHolder{
TextView description,title,Status,email;
ImageView image;
RelativeLayout rL1;
CardView crd;
FragmentCommunication mComminication;
public MyViewHolder(@NonNull View itemView, FragmentCommunication Communicator) {
super(itemView);
description = itemView.findViewById(R.id.txtDescription);
title=itemView.findViewById(R.id.txtTicketNo);
Status=itemView.findViewById(R.id.txtStatus);
email=itemView.findViewById(R.id.txtEmail);
image = itemView.findViewById(R.id.img1);
rL1 = itemView.findViewById(R.id.rL1);
crd = itemView.findViewById(R.id.crd1);
mComminication=Communicator;
crd.setOnClickListener(this::onClick);
}
public void onClick(View view) {
mComminication.respond(getAdapterPosition(),
ticketModel.getData().getTickets().get(getAdapterPosition()).getTitle(),
ticketModel.getData().getTickets().get(getAdapterPosition()).getTime().getCreated(),
ticketModel.getData().getTickets().get(getAdapterPosition()).getTime().getUpdated(),
ticketModel.getData().getTickets().get(getAdapterPosition()).getStatus(),
ticketModel.getData().getTickets().get(getAdapterPosition()).getTimeline().get(0).getDescription(),
ticketModel.getData().getTickets().get(getAdapterPosition()).getId()
);
}
}
}
package com.example.myapplication.Fragment;
import android.os.Bundle;
import androidx.fragment.app.Fragment;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import com.example.myapplication.R;
public class FeedBackFragment extends Fragment {
@Override
public View onCreateView(LayoutInflater inflater, ViewGroup container,
Bundle savedInstanceState) {
// Inflate the layout for this fragment
View view = inflater.inflate(R.layout.fragment_feed_back, container, false);
return view;
}
}
\ No newline at end of file
package com.example.myapplication.Fragment;
import android.os.Bundle;
import androidx.annotation.NonNull;
import androidx.fragment.app.Fragment;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import com.example.myapplication.R;
import com.google.android.gms.maps.CameraUpdateFactory;
import com.google.android.gms.maps.GoogleMap;
import com.google.android.gms.maps.OnMapReadyCallback;
import com.google.android.gms.maps.SupportMapFragment;
import com.google.android.gms.maps.model.LatLng;
import com.google.android.gms.maps.model.MarkerOptions;
public class MapViewFragment extends Fragment {
@Override
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
}
@Override
public View onCreateView(LayoutInflater inflater, ViewGroup container,
Bundle savedInstanceState) {
// Inflate the layout for this fragment
View view = inflater.inflate(R.layout.fragment_map_view,container,false);
SupportMapFragment supportMapFragment = (SupportMapFragment) getChildFragmentManager().findFragmentById(R.id.MY_MAP);
supportMapFragment.getMapAsync(new OnMapReadyCallback() {
@Override
public void onMapReady(@NonNull GoogleMap googleMap) {
LatLng Nugegoda = new LatLng(6.8649, 79.8997);
googleMap.addMarker(new MarkerOptions()
.position(Nugegoda)
.title("Nugegoda"));
googleMap.animateCamera(CameraUpdateFactory.newLatLngZoom(Nugegoda,14));
LatLng Maharagama = new LatLng(6.8511, 79.9212);
googleMap.addMarker(new MarkerOptions()
.position(Maharagama)
.title("Maharagama"));
googleMap.animateCamera(CameraUpdateFactory.newLatLngZoom(Maharagama,14));
LatLng Dehiwala = new LatLng(6.8518, 79.8662);
googleMap.addMarker(new MarkerOptions()
.position(Dehiwala)
.title("Dehiwala"));
googleMap.animateCamera(CameraUpdateFactory.newLatLngZoom(Dehiwala,14));
LatLng Rajagiriya = new LatLng(6.9271, 79.9182);
googleMap.addMarker(new MarkerOptions()
.position(Rajagiriya)
.title("Rajagiriya"));
googleMap.animateCamera(CameraUpdateFactory.newLatLngZoom(Rajagiriya,14));
LatLng Battaramulla = new LatLng(6.9102, 79.9585);
googleMap.addMarker(new MarkerOptions()
.position(Battaramulla)
.title("Battaramulla"));
googleMap.animateCamera(CameraUpdateFactory.newLatLngZoom(Battaramulla,14));
LatLng Pannipitiya = new LatLng(6.8532, 79.9882);
googleMap.addMarker(new MarkerOptions()
.position(Pannipitiya)
.title("Pannipitiya"));
googleMap.animateCamera(CameraUpdateFactory.newLatLngZoom(Pannipitiya,14));
}
});
return view;
}
}
\ No newline at end of file
package com.example.myapplication.Fragment;
import android.os.Bundle;
import androidx.fragment.app.Fragment;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import com.example.myapplication.R;
public class PackageFragment extends Fragment {
@Override
public View onCreateView(LayoutInflater inflater, ViewGroup container,
Bundle savedInstanceState) {
// Inflate the layout for this fragment
View view = inflater.inflate(R.layout.fragment_package, container, false);
//MAP VIEW setup
MapViewFragment mapViewFragment = new MapViewFragment();
getParentFragmentManager().beginTransaction().replace(R.id.framelayout, mapViewFragment).commit();
return view;
}
}
\ No newline at end of file
package com.example.myapplication.Fragment;
import android.app.Activity;
import android.content.Context;
import android.content.Intent;
import android.graphics.Bitmap;
import android.net.Uri;
import android.os.Bundle;
import androidx.annotation.Nullable;
import androidx.fragment.app.Fragment;
import android.provider.MediaStore;
import android.util.Base64;
import android.view.Gravity;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.Button;
import android.widget.FrameLayout;
import android.widget.ImageView;
import android.widget.PopupWindow;
import android.widget.TextView;
import android.widget.Toast;
import com.example.myapplication.APIModels.defectModel;
import com.example.myapplication.Network.Interface;
import com.example.myapplication.Network.NetworkClient;
import com.example.myapplication.R;
import com.example.myapplication.mod.defectreqModel;
import java.io.ByteArrayOutputStream;
import java.io.IOException;
import retrofit2.Call;
import retrofit2.Callback;
import retrofit2.Response;
public class ReportFragment extends Fragment {
ImageView upload_image;
int IMG_REQUEST = 21;
Bitmap bitmap;
FrameLayout layout;
Button btnScan;
@Override
public View onCreateView(LayoutInflater inflater, ViewGroup container,
Bundle savedInstanceState) {
// Inflate the layout for this fragment
View view = inflater.inflate(R.layout.fragment_report, container, false);
upload_image = view.findViewById(R.id.upload_image);
layout = view.findViewById(R.id.layout);
upload_image.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View view) {
chooseFile();
}
});
return view;
}
@Override
public void onActivityResult(int requestCode, int resultCode, @Nullable Intent data) {
super.onActivityResult(requestCode, resultCode, data);
if (requestCode == IMG_REQUEST && resultCode == Activity.RESULT_OK && data != null) {
Uri path = data.getData();
try {
//Encoding the image selected by user
bitmap = MediaStore.Images.Media.getBitmap(getContext().getContentResolver(), path);
ByteArrayOutputStream byteArrayOutputStream = new ByteArrayOutputStream();
upload_image.setImageBitmap(bitmap);
bitmap.compress(Bitmap.CompressFormat.JPEG, 75, byteArrayOutputStream);
byte[] imageInByte = byteArrayOutputStream.toByteArray();
String encodedImage = Base64.encodeToString(imageInByte, Base64.DEFAULT);
defectreqModel n = new defectreqModel();
n.setImage(encodedImage);
System.out.println(encodedImage);
//Asking the ML module to scan the package
Call<defectModel> call = NetworkClient.getLocalClient().create(Interface.class).GetDefects(n);
call.enqueue(new Callback<defectModel>() {
@Override
public void onResponse(Call<defectModel> call, Response<defectModel> response) {
defectModel body = response.body();
System.out.println(response);
System.out.println("Defectiveness " + body.getDefectiveness());
System.out.println("Status " + body.getStatus());
Toast.makeText(getContext(), "Defectiveness " + body.getDefectiveness(), Toast.LENGTH_LONG).show();
String defec = "defective";
if (body.getDefectiveness().equals("defective")) {
CreatepopUpwindowError();
}
else
{
CreatepopUpwindow();
}
}
@Override
public void onFailure(Call<defectModel> call, Throwable t) {
System.out.println(t);
}
});
} catch (IOException e) {
e.printStackTrace();
}
}
}
private void chooseFile() {
Intent intent = new Intent();
intent.setType("image/*");
intent.setAction(Intent.ACTION_GET_CONTENT);
startActivityForResult(intent, IMG_REQUEST);
}
private void CreatepopUpwindow() {
LayoutInflater inflater = (LayoutInflater) getContext().getSystemService(Context.LAYOUT_INFLATER_SERVICE);
View popUpView = inflater.inflate(R.layout.popup_message, null);
int width = ViewGroup.LayoutParams.MATCH_PARENT;
int height = ViewGroup.LayoutParams.MATCH_PARENT;
boolean focusable = true;
PopupWindow popupWindow = new PopupWindow(popUpView, width, height, focusable);
layout.post(new Runnable() {
@Override
public void run() {
popupWindow.showAtLocation(layout, Gravity.BOTTOM, 0, 0);
}
});
}
private void CreatepopUpwindowError() {
LayoutInflater inflater = (LayoutInflater) getContext().getSystemService(Context.LAYOUT_INFLATER_SERVICE);
View popUpView = inflater.inflate(R.layout.popup_message_error, null);
int width = ViewGroup.LayoutParams.MATCH_PARENT;
int height = ViewGroup.LayoutParams.MATCH_PARENT;
boolean focusable = true;
PopupWindow popupWindow = new PopupWindow(popUpView, width, height, focusable);
layout.post(new Runnable() {
@Override
public void run() {
popupWindow.showAtLocation(layout, Gravity.BOTTOM, 0, 0);
}
});
}
}
\ No newline at end of file
package com.example.myapplication.Fragment;
import android.app.ProgressDialog;
import android.content.Intent;
import android.os.Bundle;
import androidx.annotation.Nullable;
import androidx.appcompat.widget.AppCompatButton;
import androidx.fragment.app.Fragment;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.TextView;
import android.widget.Toast;
import com.example.myapplication.APIModels.packageDetailsModel;
import com.example.myapplication.APIModels.sendercontact;
import com.example.myapplication.Network.Interface;
import com.example.myapplication.Network.NetworkClient;
import com.example.myapplication.R;
import com.google.zxing.BinaryBitmap;
import com.google.zxing.LuminanceSource;
import com.google.zxing.MultiFormatReader;
import com.google.zxing.RGBLuminanceSource;
import com.google.zxing.common.HybridBinarizer;
import com.google.zxing.integration.android.IntentIntegrator;
import com.google.zxing.integration.android.IntentResult;
import com.journeyapps.barcodescanner.ScanContract;
import com.journeyapps.barcodescanner.ScanOptions;
import java.util.List;
import retrofit2.Call;
import retrofit2.Callback;
import retrofit2.Response;
public class ScanQRFragment extends Fragment {
AppCompatButton scan;
TextView qrOutput;
ShowPackageData showPackageData = new ShowPackageData();
@Override
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
}
@Override
public void onActivityResult(int requestCode, int resultCode, @Nullable Intent data) {
super.onActivityResult(requestCode, resultCode, data);
IntentResult result = IntentIntegrator.parseActivityResult(requestCode, resultCode, data);
if (result != null) {
if (result.getContents() == null) {
Toast.makeText(getContext(), "NO DETAILS", Toast.LENGTH_LONG).show();
} else {
// Toast.makeText(getContext(), "Scanned : " + result.getContents(), Toast.LENGTH_LONG).show();
qrOutput.setText(result.getContents());
String output =result.getContents();
GetPackageData(output);
}
}
}
@Override
public View onCreateView(LayoutInflater inflater, ViewGroup container,
Bundle savedInstanceState) {
// Inflate the layout for this fragment
View view = inflater.inflate(R.layout.fragment_scan_q_r, container, false);
qrOutput = view.findViewById(R.id.QrOutput);
scan = view.findViewById(R.id.btnScanQR);
scan.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View view) {
IntentIntegrator integrator = IntentIntegrator.forSupportFragment(ScanQRFragment.this);
integrator.setOrientationLocked(false);
integrator.setPrompt("Scan QR code");
integrator.setBeepEnabled(false);
integrator.setDesiredBarcodeFormats(IntentIntegrator.QR_CODE);
integrator.initiateScan();
}
});
return view;
}
protected void GetPackageData(String senderContact)
{
final ProgressDialog progressDialog = new ProgressDialog(getContext());
progressDialog.setTitle("Please wait");
progressDialog.setMessage("Loading...");
progressDialog.setCancelable(false);
progressDialog.show();
sendercontact temp = new sendercontact();
temp.setSenderContact(senderContact);
Call<List<packageDetailsModel>> call = NetworkClient.getImagePhoneClient().create(Interface.class).GetPackageData(temp);
call.enqueue(new Callback<List<packageDetailsModel>>() {
@Override
public void onResponse(Call<List<packageDetailsModel>> call, Response<List<packageDetailsModel>> response) {
List<packageDetailsModel> packageDetailsModel = response.body();
String img1 = packageDetailsModel.get(0).getImg1();
String img2 = packageDetailsModel.get(0).getImg2();
String Name = packageDetailsModel.get(0).getSenderName();
String Contact =packageDetailsModel.get(0).getSenderContact();
Bundle bundle = new Bundle();
bundle.putString("Name", Name);
bundle.putString("Contact", Contact);
bundle.putString("img1", img1);
bundle.putString("img2", img2);
showPackageData.setArguments(bundle);
getActivity().getSupportFragmentManager().beginTransaction().replace(R.id.container, showPackageData).commit();
progressDialog.cancel();
}
@Override
public void onFailure(Call<List<packageDetailsModel>> call, Throwable t) {
System.out.println(t);progressDialog.cancel();
}
});
}
}
\ No newline at end of file
package com.example.myapplication.Fragment;
import android.graphics.Bitmap;
import android.graphics.BitmapFactory;
import android.os.Bundle;
import androidx.appcompat.widget.AppCompatButton;
import androidx.fragment.app.Fragment;
import android.util.Base64;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.ImageView;
import android.widget.TextView;
import com.example.myapplication.R;
public class ShowPackageData extends Fragment {
TextView contact,name;
ImageView Image1,Image2;
AppCompatButton btnOnquiry,btnConfirm;
ReportFragment reportFragment = new ReportFragment();
@Override
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
}
@Override
public View onCreateView(LayoutInflater inflater, ViewGroup container,
Bundle savedInstanceState) {
// Inflate the layout for this fragment
View view = inflater.inflate(R.layout.fragment_show_package_data, container, false);
Image1 = view.findViewById(R.id.img1);
Image2 = view.findViewById(R.id.img2);
btnOnquiry = view.findViewById(R.id.btnInq);
btnConfirm = view.findViewById(R.id.btnConfirm);
name =view.findViewById(R.id.txtsenderName);
Bundle bundle = this.getArguments();
//Getting string values from ScanQrFragment
if(bundle != null){
String Name = bundle.getString("Name","");
String img1 = bundle.getString("img1","");
String img2 = bundle.getString("img2","");
name.setText("Customer Name : "+Name);
//Decode base64 to Image
String base64String = img1;
String base64Image = base64String.split(",")[1];
byte[] decodedString = Base64.decode(base64Image, Base64.DEFAULT);
Bitmap decodedByte = BitmapFactory.decodeByteArray(decodedString, 0, decodedString.length);
Image1.setImageBitmap(decodedByte);
String base64String1 = img2;
String base64Image1 = base64String1.split(",")[1];
byte[] decodedString1 = Base64.decode(base64Image1, Base64.DEFAULT);
Bitmap decodedByte1 = BitmapFactory.decodeByteArray(decodedString1, 0, decodedString1.length);
Image2.setImageBitmap(decodedByte1);
btnConfirm.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View view) {
}
});
btnOnquiry.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View view) {
getActivity().getSupportFragmentManager().beginTransaction().replace(R.id.container, reportFragment).commit();
}
});
}
return view;
}
}
\ No newline at end of file
package com.example.myapplication.Fragment;
import static android.content.Context.MODE_PRIVATE;
import static com.example.myapplication.Login_Activity.MY_PREFS_NAME;
import static com.example.myapplication.Network.Constants.PREFERENCE_NAME;
import android.app.ProgressDialog;
import android.content.SharedPreferences;
import android.os.Bundle;
import androidx.fragment.app.Fragment;
import androidx.fragment.app.FragmentManager;
import androidx.fragment.app.FragmentTransaction;
import androidx.recyclerview.widget.LinearLayoutManager;
import androidx.recyclerview.widget.RecyclerView;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.TextView;
import android.widget.Toast;
import com.example.myapplication.APIModels.TicketModel;
import com.example.myapplication.Adapter.TicketsAdapter;
import com.example.myapplication.Login_Activity;
import com.example.myapplication.Network.FragmentCommunication;
import com.example.myapplication.Network.Interface;
import com.example.myapplication.Network.NetworkClient;
import com.example.myapplication.R;
import java.util.List;
import retrofit2.Call;
import retrofit2.Callback;
import retrofit2.Response;
public class TicketsFragment extends Fragment {
private RecyclerView recyclerView;
TextView txt;
private Interface anInterface;
private TicketsAdapter ticketsAdapter;
private RecyclerView.LayoutManager layoutManager;
private TicketModel ticketModel;
@Override
public View onCreateView(LayoutInflater inflater, ViewGroup container,
Bundle savedInstanceState) {
// Inflate the layout for this fragment
View view = inflater.inflate(R.layout.fragment_tickets, container, false);
// txt = view.findViewById(R.id.txtTitle);
recyclerView = view.findViewById(R.id.recyclerView);
layoutManager = new LinearLayoutManager(getContext());
recyclerView.setLayoutManager(layoutManager);
recyclerView.setHasFixedSize(true);
SharedPreferences prefs = getActivity().getSharedPreferences(MY_PREFS_NAME, MODE_PRIVATE);
int UserID = prefs.getInt("userid", 0);
getTicketsList(UserID);
return view;
}
public void getTicketsList(int UID) {
final ProgressDialog progressDialog = new ProgressDialog(getContext());
progressDialog.setTitle("Please wait");
progressDialog.setMessage("Loading...");
progressDialog.setCancelable(false);
progressDialog.show();
Call<TicketModel> call = NetworkClient.getClient().create(Interface.class).getTickets(UID, 1, 5);
System.out.println(UID);
call.enqueue(new Callback<TicketModel>() {
@Override
public void onResponse(Call<TicketModel> call, Response<TicketModel> response) {
ticketModel = response.body();
ticketsAdapter = new TicketsAdapter(ticketModel, getContext(),fragmentCommunication);
recyclerView.setAdapter(ticketsAdapter);
ticketsAdapter.notifyDataSetChanged();
progressDialog.cancel();
}
@Override
public void onFailure(Call<TicketModel> call, Throwable t) {
Toast.makeText(getContext(), "Error\n" + t.toString(), Toast.LENGTH_LONG).show();
}
});
}
FragmentCommunication fragmentCommunication = new FragmentCommunication() {
@Override
public void respond(int position, String Title,int Cdate, int Udate,String Status, String Description,int id ) {
ViewTicketFragment viewTicketFragment = new ViewTicketFragment();
Bundle bundle=new Bundle();
bundle.putString("Title",Title);
bundle.putInt("cdate",Cdate);
bundle.putInt("udate",Udate);
bundle.putInt("id",id);
bundle.putString("status",Status);
bundle.putString("description",Description);
viewTicketFragment.setArguments(bundle);
FragmentManager manager=getFragmentManager();
FragmentTransaction transaction=manager.beginTransaction();
transaction.replace(R.id.container,viewTicketFragment).commit();
}
};
}
\ No newline at end of file
package com.example.myapplication.Fragment;
import android.app.ProgressDialog;
import android.os.Bundle;
import androidx.fragment.app.Fragment;
import androidx.recyclerview.widget.LinearLayoutManager;
import androidx.recyclerview.widget.RecyclerView;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.TextView;
import android.widget.Toast;
import com.example.myapplication.APIModels.TicketModel;
import com.example.myapplication.Adapter.StatusTicketAdapter;
import com.example.myapplication.Adapter.TicketsAdapter;
import com.example.myapplication.Login_Activity;
import com.example.myapplication.Network.Interface;
import com.example.myapplication.Network.NetworkClient;
import com.example.myapplication.R;
import java.text.SimpleDateFormat;
import java.util.Date;
import retrofit2.Call;
import retrofit2.Callback;
import retrofit2.Response;
public class ViewTicketFragment extends Fragment {
TextView txt, txtCdate, txtUdate, txtStatus, txtDescription;
int cDate, uDate;
String title, status, CreateDate, UpdateDate, des;
private RecyclerView recyclerView;
private Interface anInterface;
private StatusTicketAdapter statusTicketAdapter;
private RecyclerView.LayoutManager layoutManager;
private TicketModel ticketModel;
int UID;
@Override
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
title = getArguments().getString("Title", "");
cDate = getArguments().getInt("cdate");
uDate = getArguments().getInt("udate");
UID = getArguments().getInt("id");
//Convert date unix format to normal
long dv = Long.valueOf(cDate) * 1000;// its need to be in milisecond
Date df = new java.util.Date(dv);
CreateDate = new SimpleDateFormat("yyyy.MM.dd || hh:mma").format(df);
long dv1 = Long.valueOf(uDate) * 1000;// its need to be in milisecond
Date df1 = new java.util.Date(dv1);
UpdateDate = new SimpleDateFormat("yyyy.MM.dd || hh:mma").format(df1);
status = getArguments().getString("status", "");
des = getArguments().getString("description", "");
getTicketsList(UID);
}
@Override
public View onCreateView(LayoutInflater inflater, ViewGroup container,
Bundle savedInstanceState) {
// Inflate the layout for this fragment
View view = inflater.inflate(R.layout.fragment_view_ticket, container, false);
txt = view.findViewById(R.id.txt1);
txtCdate = view.findViewById(R.id.txtCdate);
txtUdate = view.findViewById(R.id.txtUdate);
txtStatus = view.findViewById(R.id.txtStatus);
txtDescription = view.findViewById(R.id.txtDes);
recyclerView = view.findViewById(R.id.rv1);
layoutManager = new LinearLayoutManager(getContext());
recyclerView.setLayoutManager(layoutManager);
recyclerView.setHasFixedSize(true);
txt.setText(title);
txtUdate.setText("UPDATED AT : " + UpdateDate);
txtCdate.setText("CREATED AT : " + CreateDate);
txtStatus.setText("STATUS : " + status);
txtDescription.setText("DESCRIPTION : " + des);
return view;
}
public void getTicketsList(int UID) {
final ProgressDialog progressDialog = new ProgressDialog(getContext());
progressDialog.setTitle("Please wait");
progressDialog.setMessage("Loading...");
progressDialog.setCancelable(false);
progressDialog.show();
Call<TicketModel> call = NetworkClient.getClient().create(Interface.class).getTickets(UID, 1, 5);
System.out.println(UID);
call.enqueue(new Callback<TicketModel>() {
@Override
public void onResponse(Call<TicketModel> call, Response<TicketModel> response) {
ticketModel = response.body();
statusTicketAdapter = new StatusTicketAdapter(ticketModel, getContext());
recyclerView.setAdapter(statusTicketAdapter);
statusTicketAdapter.notifyDataSetChanged();
progressDialog.cancel();
}
@Override
public void onFailure(Call<TicketModel> call, Throwable t) {
Toast.makeText(getContext(), "Error\n" + t.toString(), Toast.LENGTH_LONG).show();
}
});
}
}
package com.example.myapplication;
import androidx.appcompat.app.AppCompatActivity;
import androidx.appcompat.widget.AppCompatButton;
import android.app.ProgressDialog;
import android.content.Context;
import android.content.Intent;
import android.content.SharedPreferences;
import android.os.Bundle;
import android.util.Log;
import android.view.View;
import android.widget.TextView;
import android.widget.Toast;
import com.example.myapplication.APIModels.LoginCustomer;
import com.example.myapplication.APIModels.TicketModel;
import com.example.myapplication.APIModels.User;
import com.example.myapplication.Network.Interface;
import com.example.myapplication.Network.NetworkClient;
import retrofit2.Call;
import retrofit2.Callback;
import retrofit2.Response;
public class Login_Activity extends AppCompatActivity {
AppCompatButton login;
TextView etMobile,etPassword,newAccount,resetPassword;
public static final String MY_PREFS_NAME = "MyPrefsFile";
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_login);
login = findViewById(R.id.btnLogin);
etMobile=findViewById(R.id.etMobile);
etPassword=findViewById(R.id.etPassword);
newAccount = findViewById(R.id.txtCreateNew);
resetPassword = findViewById(R.id.txtForgotPass);
//What happens when the login button is clicked
login.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View view)
{
Login();
}
});
newAccount.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View view) {
Intent intent = new Intent(Login_Activity.this,Register_Activity.class);
startActivity(intent);
}
});
resetPassword.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View view) {
Intent intent = new Intent(Login_Activity.this,PasswordReset_Activity.class );
startActivity(intent);
}
});
}
protected void Login()
{
final ProgressDialog progressDialog = new ProgressDialog(Login_Activity.this);
progressDialog.setTitle("Please wait");
progressDialog.setMessage("Login...");
progressDialog.setCancelable(false);
progressDialog.show();
User user=new User();
user.setEmail(etMobile.getText().toString());
user.setPassword(etPassword.getText().toString());
Call<LoginCustomer> call = NetworkClient.getClient().create(Interface.class).Login(user);
call.enqueue(new Callback<LoginCustomer>() {
@Override
public void onResponse(Call<LoginCustomer> call, Response<LoginCustomer> response) {
if(response.isSuccessful())
{
LoginCustomer customer=response.body();
if(!customer.getToken().equals(""))
{
int id=customer.getCustomer().getId();
SharedPreferences.Editor editor = getSharedPreferences(MY_PREFS_NAME, MODE_PRIVATE).edit();
editor.putInt("userid",id );
// editor.putInt("idName", 12);
editor.apply();
Intent i = new Intent(
Login_Activity.this,MainActivity.class
);
startActivity(i);
Toast.makeText(getApplicationContext(),"Successfully Logged in",Toast.LENGTH_LONG).show();
progressDialog.cancel();
}
else {
Toast.makeText(getApplicationContext(),"Username or Password Incorrect",Toast.LENGTH_LONG).show();
progressDialog.cancel();
}
}
progressDialog.cancel();
}
@Override
public void onFailure(Call<LoginCustomer> call, Throwable t) {
Toast.makeText(getApplicationContext(),"Network Error",Toast.LENGTH_LONG).show();
}
});
}
}
\ No newline at end of file
package com.example.myapplication;
import androidx.annotation.Nullable;
import androidx.appcompat.app.AppCompatActivity;
import android.content.Intent;
import android.graphics.Bitmap;
import android.graphics.BitmapFactory;
import android.net.Uri;
import android.os.Bundle;
import android.view.MenuItem;
import android.widget.FrameLayout;
import android.widget.Toast;
import com.example.myapplication.Fragment.FeedBackFragment;
import com.example.myapplication.Fragment.PackageFragment;
import com.example.myapplication.Fragment.ReportFragment;
import com.example.myapplication.Fragment.ScanQRFragment;
import com.example.myapplication.Fragment.TicketsFragment;
import com.google.android.gms.common.api.Result;
import com.google.android.material.bottomnavigation.BottomNavigationView;
import com.google.android.material.navigation.NavigationBarView;
import com.google.zxing.BinaryBitmap;
import com.google.zxing.LuminanceSource;
import com.google.zxing.MultiFormatReader;
import com.google.zxing.RGBLuminanceSource;
import com.google.zxing.common.HybridBinarizer;
import com.google.zxing.integration.android.IntentIntegrator;
import com.google.zxing.integration.android.IntentResult;
import java.io.InputStream;
import java.io.Reader;
public class MainActivity extends AppCompatActivity {
BottomNavigationView bottomNavigationView;
TicketsFragment ticketsFragment = new TicketsFragment();
FeedBackFragment feedBackFragment = new FeedBackFragment();
PackageFragment packageFragment = new PackageFragment();
ReportFragment reportFragment = new ReportFragment();
ScanQRFragment scanQRFragment = new ScanQRFragment();
FrameLayout layout;
public static MainActivity sInstance;
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_main);
System.out.println("Started");
bottomNavigationView = findViewById(R.id.bottomNavigationView);
layout = findViewById(R.id.container);
getSupportFragmentManager().beginTransaction().replace(R.id.container, ticketsFragment).commit();
bottomNavigationView.setOnItemReselectedListener(new NavigationBarView.OnItemReselectedListener() {
@Override
public void onNavigationItemReselected(MenuItem item) {
if (item.getItemId() == R.id.tickets) {
getSupportFragmentManager().beginTransaction().replace(R.id.container, ticketsFragment).commit();
} else if (item.getItemId() == R.id.packages) {
getSupportFragmentManager().beginTransaction().replace(R.id.container, packageFragment).commit();
} else if (item.getItemId() == R.id.feedback) {
getSupportFragmentManager().beginTransaction().replace(R.id.container, feedBackFragment).commit();
} else if (item.getItemId() == R.id.scan) {
getSupportFragmentManager().beginTransaction().replace(R.id.container, scanQRFragment).commit();
}
return;
}
});
}
}
\ No newline at end of file
package com.example.myapplication.Network;
public class Constants {
public static final String BASE_URL = "https://api.dcsrp.xyz/v1.0/";
public static final String Local_BASE_URL = "https://gihan.module.dcsrp.xyz/";
public static final String PREFERENCE_NAME = "session";
public static final String GET_IMAGE_PHONE_NUMBER = "https://lime-plain-bullfrog.cyclic.app/api/";
public static final String GET_IMAGE_PHONE_NUMBER1 = "https://lime-plain-bullfrog.cyclic.app/api/";
}
package com.example.myapplication.Network;
public interface FragmentCommunication {
void respond(int position,String Title,int Cdate, int Udate ,String Status, String Description,int id);
}
package com.example.myapplication.Network;
import com.example.myapplication.APIModels.LoginCustomer;
import com.example.myapplication.APIModels.TicketModel;
import com.example.myapplication.APIModels.User;
import com.example.myapplication.APIModels.defectModel;
import com.example.myapplication.APIModels.packageDetailsModel;
import com.example.myapplication.APIModels.sendercontact;
import com.example.myapplication.mod.defectreqModel;
import java.util.List;
import retrofit2.Call;
import retrofit2.http.Body;
import retrofit2.http.GET;
import retrofit2.http.HTTP;
import retrofit2.http.POST;
import retrofit2.http.Query;
public interface Interface {
@GET("tickets")
Call<TicketModel>getTickets(@Query("customer") int customer, @Query("page") int page, @Query("limit") int limit);
@POST("customer/login")
Call<LoginCustomer> Login(@Body User user);
@POST("defects")
Call<defectModel>GetDefects(@Body defectreqModel model);
//@GET("getDataByphone")
//@HTTP(method = "get",path = "getDataByphone",hasBody = true)
@POST("getDataByphone")
Call<List<packageDetailsModel>>GetPackageData(@Body sendercontact senderContact);
}
package com.example.myapplication.Network;
import static com.example.myapplication.Network.Constants.GET_IMAGE_PHONE_NUMBER;
import static com.example.myapplication.Network.Constants.Local_BASE_URL;
import java.util.concurrent.TimeUnit;
import okhttp3.OkHttpClient;
import retrofit2.Retrofit;
import retrofit2.converter.gson.GsonConverterFactory;
public class NetworkClient {
public static Retrofit retrofit = null;
public static Retrofit getClient() {
final OkHttpClient okHttpClient = new OkHttpClient.Builder()
.connectTimeout(60, TimeUnit.SECONDS)
.writeTimeout(60, TimeUnit.SECONDS)
.readTimeout(60, TimeUnit.SECONDS)
.build();
retrofit = new Retrofit.Builder()
.baseUrl(Constants.BASE_URL)
.addConverterFactory(GsonConverterFactory.create())
.client(okHttpClient)
.build();
return retrofit;
}
public static Retrofit getLocalClient() {
final OkHttpClient okHttpClient = new OkHttpClient.Builder()
.connectTimeout(60, TimeUnit.SECONDS)
.writeTimeout(60, TimeUnit.SECONDS)
.readTimeout(60, TimeUnit.SECONDS)
.build();
retrofit = new Retrofit.Builder()
.baseUrl(Local_BASE_URL)
.addConverterFactory(GsonConverterFactory.create())
.client(okHttpClient)
.build();
return retrofit;
}
public static Retrofit getImagePhoneClient() {
final OkHttpClient okHttpClient = new OkHttpClient.Builder()
.connectTimeout(60, TimeUnit.SECONDS)
.writeTimeout(60, TimeUnit.SECONDS)
.readTimeout(60, TimeUnit.SECONDS)
.build();
retrofit = new Retrofit.Builder()
.baseUrl(GET_IMAGE_PHONE_NUMBER)
.addConverterFactory(GsonConverterFactory.create())
.client(okHttpClient)
.build();
return retrofit;
}
}
package com.example.myapplication;
import androidx.appcompat.app.AppCompatActivity;
import android.os.Bundle;
public class PasswordReset_Activity extends AppCompatActivity {
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_password_reset);
}
}
\ No newline at end of file
package com.example.myapplication;
import androidx.appcompat.app.AppCompatActivity;
import androidx.appcompat.widget.AppCompatButton;
import android.os.Bundle;
import android.view.View;
public class Register_Activity extends AppCompatActivity {
AppCompatButton register;
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_register);
register =findViewById(R.id.btnLogin);
register.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View view) {
register();
}
});
}
void register()
{
}
}
\ No newline at end of file
package com.example.myapplication.mod;
public class CaptureActivity extends com.journeyapps.barcodescanner.CaptureActivity {
}
\ No newline at end of file
package com.example.myapplication.mod;
import com.google.gson.annotations.SerializedName;
public class call {
@SerializedName("number")
String number;
@SerializedName("transcript")
String transcript;
public String getTranscript() {
return transcript;
}
public void setTranscript(String transcript) {
this.transcript = transcript;
}
}
\ No newline at end of file
package com.example.myapplication.mod;
import com.google.gson.annotations.SerializedName;
public class customer {
@SerializedName("email")
private String email;
@SerializedName("id")
private int id;
@SerializedName("mobile")
private String mobile;
@SerializedName("name")
private String name;
@SerializedName("province")
private String province;
@SerializedName("type")
private String type;
public String getEmail() {
return email;
}
public void setEmail(String email) {
this.email = email;
}
public int getId() {
return id;
}
public void setId(int id) {
this.id = id;
}
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
public String getProvince() {
return province;
}
public void setProvince(String province) {
this.province = province;
}
public String getType() {
return type;
}
public void setType(String type) {
this.type = type;
}
public String getMobile() {
return mobile;
}
public void setMobile(String mobile) {
this.mobile = mobile;
}
}
package com.example.myapplication.mod;
import com.google.gson.annotations.SerializedName;
public class defectreqModel {
@SerializedName("image")
String image;
public String getImage() {
return image;
}
public void setImage(String image) {
this.image = image;
}
}
package com.example.myapplication.mod;
import com.google.gson.annotations.SerializedName;
import java.util.List;
public class ticket {
@SerializedName("call")
private call call;
@SerializedName("customer")
private customer customer;
@SerializedName("id")
private int id;
@SerializedName("status")
private String status;
@SerializedName("time")
private time time;
@SerializedName("title")
private String title;
@SerializedName("timeline")
private List<timeline> timeline;
public List<com.example.myapplication.mod.timeline> getTimeline() {
return timeline;
}
public void setTimeline(List<com.example.myapplication.mod.timeline> timeline) {
this.timeline = timeline;
}
public com.example.myapplication.mod.call getCall() {
return call;
}
public void setCall(com.example.myapplication.mod.call call) {
this.call = call;
}
public com.example.myapplication.mod.customer getCustomer() {
return customer;
}
public void setCustomer(com.example.myapplication.mod.customer customer) {
this.customer = customer;
}
public int getId() {
return id;
}
public void setId(int id) {
this.id = id;
}
public String getStatus() {
return status;
}
public void setStatus(String status) {
this.status = status;
}
public com.example.myapplication.mod.time getTime() {
return time;
}
public void setTime(com.example.myapplication.mod.time time) {
this.time = time;
}
public String getTitle() {
return title;
}
public void setTitle(String title) {
this.title = title;
}
}
package com.example.myapplication.mod;
import com.google.gson.annotations.SerializedName;
import java.util.ArrayList;
public class tickets {
@SerializedName("tickets")
private ArrayList<ticket> tickets;
public ArrayList<ticket> getTickets() {
return tickets;
}
public void setTickets(ArrayList<ticket> tickets) {
this.tickets = tickets;
}
}
\ No newline at end of file
package com.example.myapplication.mod;
import com.google.gson.annotations.SerializedName;
public class time {
@SerializedName("created")
int created;
@SerializedName("updated")
int updated;
public int getCreated() {
return created;
}
public void setCreated(int created) {
this.created = created;
}
public int getUpdated() {
return updated;
}
public void setUpdated(int updated) {
this.updated = updated;
}
}
\ No newline at end of file
package com.example.myapplication.mod;
import com.google.gson.annotations.SerializedName;
public class timeline {
@SerializedName("ID")
int ID;
@SerializedName("TicketID")
int TicketID;
@SerializedName("Description")
String Description;
@SerializedName("CreatedAt")
int CreatedAt;
@SerializedName("UpdatedAt")
int UpdatedAt;
@SerializedName("DeletedAt")
int DeletedAt;
public int getID() {
return ID;
}
public void setID(int ID) {
this.ID = ID;
}
public int getTicketID() {
return TicketID;
}
public void setTicketID(int ticketID) {
TicketID = ticketID;
}
public String getDescription() {
return Description;
}
public void setDescription(String description) {
Description = description;
}
public int getCreatedAt() {
return CreatedAt;
}
public void setCreatedAt(int createdAt) {
CreatedAt = createdAt;
}
public int getUpdatedAt() {
return UpdatedAt;
}
public void setUpdatedAt(int updatedAt) {
UpdatedAt = updatedAt;
}
public int getDeletedAt() {
return DeletedAt;
}
public void setDeletedAt(int deletedAt) {
DeletedAt = deletedAt;
}
}
<vector xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:aapt="http://schemas.android.com/aapt"
android:width="108dp"
android:height="108dp"
android:viewportWidth="108"
android:viewportHeight="108">
<path android:pathData="M31,63.928c0,0 6.4,-11 12.1,-13.1c7.2,-2.6 26,-1.4 26,-1.4l38.1,38.1L107,108.928l-32,-1L31,63.928z">
<aapt:attr name="android:fillColor">
<gradient
android:endX="85.84757"
android:endY="92.4963"
android:startX="42.9492"
android:startY="49.59793"
android:type="linear">
<item
android:color="#44000000"
android:offset="0.0" />
<item
android:color="#00000000"
android:offset="1.0" />
</gradient>
</aapt:attr>
</path>
<path
android:fillColor="#FFFFFF"
android:fillType="nonZero"
android:pathData="M65.3,45.828l3.8,-6.6c0.2,-0.4 0.1,-0.9 -0.3,-1.1c-0.4,-0.2 -0.9,-0.1 -1.1,0.3l-3.9,6.7c-6.3,-2.8 -13.4,-2.8 -19.7,0l-3.9,-6.7c-0.2,-0.4 -0.7,-0.5 -1.1,-0.3C38.8,38.328 38.7,38.828 38.9,39.228l3.8,6.6C36.2,49.428 31.7,56.028 31,63.928h46C76.3,56.028 71.8,49.428 65.3,45.828zM43.4,57.328c-0.8,0 -1.5,-0.5 -1.8,-1.2c-0.3,-0.7 -0.1,-1.5 0.4,-2.1c0.5,-0.5 1.4,-0.7 2.1,-0.4c0.7,0.3 1.2,1 1.2,1.8C45.3,56.528 44.5,57.328 43.4,57.328L43.4,57.328zM64.6,57.328c-0.8,0 -1.5,-0.5 -1.8,-1.2s-0.1,-1.5 0.4,-2.1c0.5,-0.5 1.4,-0.7 2.1,-0.4c0.7,0.3 1.2,1 1.2,1.8C66.5,56.528 65.6,57.328 64.6,57.328L64.6,57.328z"
android:strokeWidth="1"
android:strokeColor="#00000000" />
</vector>
\ No newline at end of file
<vector android:height="24dp" android:tint="#E7DF8B"
android:viewportHeight="24" android:viewportWidth="24"
android:width="24dp" xmlns:android="http://schemas.android.com/apk/res/android">
<path android:fillColor="@android:color/white" android:pathData="M12,17.27L18.18,21l-1.64,-7.03L22,9.24l-7.19,-0.61L12,2 9.19,8.63 2,9.24l5.46,4.73L5.82,21z"/>
</vector>
<vector android:height="24dp" android:tint="#C90E39"
android:viewportHeight="24" android:viewportWidth="24"
android:width="24dp" xmlns:android="http://schemas.android.com/apk/res/android">
<path android:fillColor="@android:color/white" android:pathData="M12,17.27L18.18,21l-1.64,-7.03L22,9.24l-7.19,-0.61L12,2 9.19,8.63 2,9.24l5.46,4.73L5.82,21z"/>
</vector>
<?xml version="1.0" encoding="utf-8"?>
<selector xmlns:android="http://schemas.android.com/apk/res/android">
<item>
<shape>
<gradient android:angle="180" android:startColor="#ff0000" android:centerColor="#451ac2" android:endColor="#ff0000"></gradient>
</shape>
</item>
</selector>
\ No newline at end of file
<?xml version="1.0" encoding="utf-8"?>
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="108dp"
android:height="108dp"
android:viewportWidth="108"
android:viewportHeight="108">
<path
android:fillColor="#3DDC84"
android:pathData="M0,0h108v108h-108z" />
<path
android:fillColor="#00000000"
android:pathData="M9,0L9,108"
android:strokeWidth="0.8"
android:strokeColor="#33FFFFFF" />
<path
android:fillColor="#00000000"
android:pathData="M19,0L19,108"
android:strokeWidth="0.8"
android:strokeColor="#33FFFFFF" />
<path
android:fillColor="#00000000"
android:pathData="M29,0L29,108"
android:strokeWidth="0.8"
android:strokeColor="#33FFFFFF" />
<path
android:fillColor="#00000000"
android:pathData="M39,0L39,108"
android:strokeWidth="0.8"
android:strokeColor="#33FFFFFF" />
<path
android:fillColor="#00000000"
android:pathData="M49,0L49,108"
android:strokeWidth="0.8"
android:strokeColor="#33FFFFFF" />
<path
android:fillColor="#00000000"
android:pathData="M59,0L59,108"
android:strokeWidth="0.8"
android:strokeColor="#33FFFFFF" />
<path
android:fillColor="#00000000"
android:pathData="M69,0L69,108"
android:strokeWidth="0.8"
android:strokeColor="#33FFFFFF" />
<path
android:fillColor="#00000000"
android:pathData="M79,0L79,108"
android:strokeWidth="0.8"
android:strokeColor="#33FFFFFF" />
<path
android:fillColor="#00000000"
android:pathData="M89,0L89,108"
android:strokeWidth="0.8"
android:strokeColor="#33FFFFFF" />
<path
android:fillColor="#00000000"
android:pathData="M99,0L99,108"
android:strokeWidth="0.8"
android:strokeColor="#33FFFFFF" />
<path
android:fillColor="#00000000"
android:pathData="M0,9L108,9"
android:strokeWidth="0.8"
android:strokeColor="#33FFFFFF" />
<path
android:fillColor="#00000000"
android:pathData="M0,19L108,19"
android:strokeWidth="0.8"
android:strokeColor="#33FFFFFF" />
<path
android:fillColor="#00000000"
android:pathData="M0,29L108,29"
android:strokeWidth="0.8"
android:strokeColor="#33FFFFFF" />
<path
android:fillColor="#00000000"
android:pathData="M0,39L108,39"
android:strokeWidth="0.8"
android:strokeColor="#33FFFFFF" />
<path
android:fillColor="#00000000"
android:pathData="M0,49L108,49"
android:strokeWidth="0.8"
android:strokeColor="#33FFFFFF" />
<path
android:fillColor="#00000000"
android:pathData="M0,59L108,59"
android:strokeWidth="0.8"
android:strokeColor="#33FFFFFF" />
<path
android:fillColor="#00000000"
android:pathData="M0,69L108,69"
android:strokeWidth="0.8"
android:strokeColor="#33FFFFFF" />
<path
android:fillColor="#00000000"
android:pathData="M0,79L108,79"
android:strokeWidth="0.8"
android:strokeColor="#33FFFFFF" />
<path
android:fillColor="#00000000"
android:pathData="M0,89L108,89"
android:strokeWidth="0.8"
android:strokeColor="#33FFFFFF" />
<path
android:fillColor="#00000000"
android:pathData="M0,99L108,99"
android:strokeWidth="0.8"
android:strokeColor="#33FFFFFF" />
<path
android:fillColor="#00000000"
android:pathData="M19,29L89,29"
android:strokeWidth="0.8"
android:strokeColor="#33FFFFFF" />
<path
android:fillColor="#00000000"
android:pathData="M19,39L89,39"
android:strokeWidth="0.8"
android:strokeColor="#33FFFFFF" />
<path
android:fillColor="#00000000"
android:pathData="M19,49L89,49"
android:strokeWidth="0.8"
android:strokeColor="#33FFFFFF" />
<path
android:fillColor="#00000000"
android:pathData="M19,59L89,59"
android:strokeWidth="0.8"
android:strokeColor="#33FFFFFF" />
<path
android:fillColor="#00000000"
android:pathData="M19,69L89,69"
android:strokeWidth="0.8"
android:strokeColor="#33FFFFFF" />
<path
android:fillColor="#00000000"
android:pathData="M19,79L89,79"
android:strokeWidth="0.8"
android:strokeColor="#33FFFFFF" />
<path
android:fillColor="#00000000"
android:pathData="M29,19L29,89"
android:strokeWidth="0.8"
android:strokeColor="#33FFFFFF" />
<path
android:fillColor="#00000000"
android:pathData="M39,19L39,89"
android:strokeWidth="0.8"
android:strokeColor="#33FFFFFF" />
<path
android:fillColor="#00000000"
android:pathData="M49,19L49,89"
android:strokeWidth="0.8"
android:strokeColor="#33FFFFFF" />
<path
android:fillColor="#00000000"
android:pathData="M59,19L59,89"
android:strokeWidth="0.8"
android:strokeColor="#33FFFFFF" />
<path
android:fillColor="#00000000"
android:pathData="M69,19L69,89"
android:strokeWidth="0.8"
android:strokeColor="#33FFFFFF" />
<path
android:fillColor="#00000000"
android:pathData="M79,19L79,89"
android:strokeWidth="0.8"
android:strokeColor="#33FFFFFF" />
</vector>
<?xml version="1.0" encoding="utf-8"?>
<shape xmlns:android="http://schemas.android.com/apk/res/android">
<solid android:color="@color/white" />
<corners
android:bottomLeftRadius="15dp"
android:bottomRightRadius="15dp"
android:radius="10dp"
android:topLeftRadius="15dp"
android:topRightRadius="15dp" />
</shape>
\ No newline at end of file
<?xml version="1.0" encoding="utf-8"?>
<shape xmlns:android="http://schemas.android.com/apk/res/android">
<solid android:color="#000000"/>
<corners
android:topLeftRadius="25dp"
android:topRightRadius="25dp"
android:bottomLeftRadius="25dp"
android:bottomRightRadius="25dp"
/>
</shape>
\ No newline at end of file
<?xml version="1.0" encoding="utf-8"?>
<shape xmlns:android="http://schemas.android.com/apk/res/android">
<solid android:color="#F3ECEC"/>
<corners
android:topLeftRadius="10dp"
android:topRightRadius="10dp"
android:bottomLeftRadius="10dp"
android:bottomRightRadius="10dp"
/>
</shape>
\ No newline at end of file
<?xml version="1.0" encoding="utf-8"?>
<shape xmlns:android="http://schemas.android.com/apk/res/android">
<solid android:color="#C8C8C8"/>
<corners
android:topLeftRadius="18dp"
android:topRightRadius="18dp"
android:bottomLeftRadius="18dp"
android:bottomRightRadius="18dp"
/>
</shape>
\ No newline at end of file
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
tools:context=".Login_Activity">
<ImageView
android:id="@+id/back"
android:layout_width="60dp"
android:layout_height="60dp"
android:paddingLeft="10dp"
android:paddingTop="10dp"
android:src="@drawable/back"
/>
<ImageView
android:id="@+id/logo"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:src="@drawable/delivery_truck"
android:layout_marginTop="60dp"
/>
<LinearLayout
android:id="@+id/name"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:gravity="center"
android:layout_below="@+id/logo"
>
<TextView
android:id="@+id/D"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="D"
android:layout_below="@+id/logo"
android:gravity="center"
android:fontFamily="@font/revalia"
android:textSize="50dp"
android:textColor="@color/black"
/>
<TextView
android:id="@+id/C"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="C"
android:layout_below="@+id/logo"
android:gravity="center"
android:fontFamily="@font/revalia"
android:textSize="50dp"
android:textColor="#ff0000"
android:layout_toRightOf="@+id/D"
/>
<TextView
android:id="@+id/S"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="S"
android:layout_below="@+id/logo"
android:gravity="center"
android:fontFamily="@font/revalia"
android:textSize="50dp"
android:textColor="@color/black"
android:layout_toRightOf="@+id/C"
/>
<TextView
android:id="@+id/R"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="R"
android:layout_below="@+id/logo"
android:gravity="center"
android:fontFamily="@font/revalia"
android:textSize="50dp"
android:textColor="#ff0000"
android:layout_toRightOf="@+id/S"
/>
<TextView
android:id="@+id/P"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="P"
android:layout_below="@+id/logo"
android:gravity="center"
android:fontFamily="@font/revalia"
android:textSize="50dp"
android:textColor="@color/black"
android:layout_toRightOf="@+id/R"
/>
</LinearLayout>
<RelativeLayout
android:id="@+id/rL1"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical"
android:gravity="center_vertical"
android:layout_below="@+id/name"
android:layout_marginTop="50dp"
>
<com.google.android.material.textfield.TextInputLayout
android:id="@+id/txtMobile"
style="@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginHorizontal="40dp"
android:layout_marginTop="30dp"
android:hint="Email"
app:boxStrokeWidth="2dp"
app:boxCornerRadiusBottomEnd="15dp"
app:boxCornerRadiusBottomStart="15dp"
app:boxCornerRadiusTopStart="15dp"
app:boxCornerRadiusTopEnd="15dp"
>
<com.google.android.material.textfield.TextInputEditText
android:id="@+id/etMobile"
android:textSize="14sp"
android:inputType="text"
android:layout_width="match_parent"
android:layout_height="wrap_content" />
</com.google.android.material.textfield.TextInputLayout>
<com.google.android.material.textfield.TextInputLayout
android:id="@+id/txtPassword"
style="@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginHorizontal="40dp"
android:layout_marginTop="40dp"
android:hint="Password"
app:boxStrokeWidth="2dp"
app:boxCornerRadiusBottomEnd="15dp"
app:boxCornerRadiusBottomStart="15dp"
app:boxCornerRadiusTopStart="15dp"
app:boxCornerRadiusTopEnd="15dp"
android:layout_below="@+id/txtMobile"
>
<com.google.android.material.textfield.TextInputEditText
android:id="@+id/etPassword"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:textSize="14sp"
android:inputType="textPassword"
/>
</com.google.android.material.textfield.TextInputLayout>
<TextView
android:id="@+id/txtForgotPass"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_below="@+id/txtPassword"
android:layout_marginStart="40dp"
android:layout_marginTop="10dp"
android:layout_marginEnd="40dp"
android:gravity="right"
android:text="Forgot Password?"
android:textColor="@color/black"
android:textSize="14sp" />
<androidx.appcompat.widget.AppCompatButton
android:id="@+id/btnLogin"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="LOGIN"
android:layout_marginHorizontal="20dp"
android:textColor="@color/white"
android:textSize="16sp"
android:layout_alignParentBottom="true"
android:background="@drawable/round_layout"
/>
<TextView
android:id="@+id/txtCreateNew"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="Don't have an account? Sign-Up"
android:layout_below="@+id/btnLogin"
android:textColor="#451ac2"
android:gravity="center"
android:textSize="14sp"
android:layout_marginBottom="40dp"
/>
</RelativeLayout>
</RelativeLayout>
\ No newline at end of file
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
tools:context=".MainActivity"
android:orientation="vertical"
>
<FrameLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:id="@+id/container"
android:layout_above="@+id/bottomNavigationView"
>
</FrameLayout>
<com.google.android.material.bottomnavigation.BottomNavigationView
android:id="@+id/bottomNavigationView"
android:layout_width="match_parent"
android:layout_height="65dp"
android:layout_alignParentBottom="true"
app:menu="@menu/bottom_nav_menu"
/>
</RelativeLayout>
\ No newline at end of file
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
tools:context=".PasswordReset_Activity">
<LinearLayout
android:id="@+id/name"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:gravity="center"
android:layout_marginTop="20dp"
>
<TextView
android:id="@+id/D"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="D"
android:layout_below="@+id/logo"
android:gravity="center"
android:fontFamily="@font/revalia"
android:textSize="50dp"
android:textColor="@color/black"
/>
<TextView
android:id="@+id/C"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="C"
android:layout_below="@+id/logo"
android:gravity="center"
android:fontFamily="@font/revalia"
android:textSize="50dp"
android:textColor="#ff0000"
android:layout_toRightOf="@+id/D"
/>
<TextView
android:id="@+id/S"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="S"
android:layout_below="@+id/logo"
android:gravity="center"
android:fontFamily="@font/revalia"
android:textSize="50dp"
android:textColor="@color/black"
android:layout_toRightOf="@+id/C"
/>
<TextView
android:id="@+id/R"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="R"
android:layout_below="@+id/logo"
android:gravity="center"
android:fontFamily="@font/revalia"
android:textSize="50dp"
android:textColor="#ff0000"
android:layout_toRightOf="@+id/S"
/>
<TextView
android:id="@+id/P"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="P"
android:layout_below="@+id/logo"
android:gravity="center"
android:fontFamily="@font/revalia"
android:textSize="50dp"
android:textColor="@color/black"
android:layout_toRightOf="@+id/R"
/>
</LinearLayout>
<RelativeLayout
android:id="@+id/rL1"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical"
android:gravity="center_vertical"
android:layout_below="@+id/name"
android:layout_marginTop="50dp"
>
<TextView
android:id="@+id/txt1"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="Reset your password"
android:textColor="@color/black"
android:gravity="center"
android:layout_marginTop="50dp"
android:textSize="20sp"
android:textStyle="bold"
/>
<com.google.android.material.textfield.TextInputLayout
android:id="@+id/txtNewPassword"
style="@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginHorizontal="40dp"
android:layout_marginTop="140dp"
android:hint="New Password"
app:boxStrokeWidth="2dp"
app:boxCornerRadiusBottomEnd="15dp"
app:boxCornerRadiusBottomStart="15dp"
app:boxCornerRadiusTopStart="15dp"
app:boxCornerRadiusTopEnd="15dp"
android:layout_below="@+id/txt1"
>
<com.google.android.material.textfield.TextInputEditText
android:id="@+id/etNewPassword"
android:textSize="14sp"
android:inputType="number"
android:layout_width="match_parent"
android:layout_height="wrap_content" />
</com.google.android.material.textfield.TextInputLayout>
<com.google.android.material.textfield.TextInputLayout
android:id="@+id/txtConfirmPassword"
style="@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginHorizontal="40dp"
android:layout_marginTop="40dp"
android:hint="Confirm Password"
app:boxStrokeWidth="2dp"
app:boxCornerRadiusBottomEnd="15dp"
app:boxCornerRadiusBottomStart="15dp"
app:boxCornerRadiusTopStart="15dp"
app:boxCornerRadiusTopEnd="15dp"
android:layout_below="@+id/txtNewPassword"
>
<com.google.android.material.textfield.TextInputEditText
android:id="@+id/etConfrimPassword"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:textSize="14sp"
android:inputType="textPassword"
/>
</com.google.android.material.textfield.TextInputLayout>
<androidx.appcompat.widget.AppCompatButton
android:id="@+id/btnLogin"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="RESET"
android:layout_alignParentBottom="true"
android:layout_marginHorizontal="20dp"
android:textColor="@color/white"
android:textSize="16sp"
android:background="@drawable/round_layout"
android:layout_marginBottom="50dp"
/>
<TextView
android:id="@+id/txtCreateNew"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_below="@+id/btnLogin"
android:textColor="#451ac2"
android:gravity="center"
android:textSize="14sp"
android:layout_marginBottom="40dp"
/>
</RelativeLayout>
</RelativeLayout>
\ No newline at end of file
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
tools:context=".PasswordReset_Activity">
<LinearLayout
android:id="@+id/name"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:gravity="center"
android:layout_marginTop="20dp"
>
<TextView
android:id="@+id/D"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="D"
android:layout_below="@+id/logo"
android:gravity="center"
android:fontFamily="@font/revalia"
android:textSize="50dp"
android:textColor="@color/black"
/>
<TextView
android:id="@+id/C"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="C"
android:layout_below="@+id/logo"
android:gravity="center"
android:fontFamily="@font/revalia"
android:textSize="50dp"
android:textColor="#ff0000"
android:layout_toRightOf="@+id/D"
/>
<TextView
android:id="@+id/S"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="S"
android:layout_below="@+id/logo"
android:gravity="center"
android:fontFamily="@font/revalia"
android:textSize="50dp"
android:textColor="@color/black"
android:layout_toRightOf="@+id/C"
/>
<TextView
android:id="@+id/R"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="R"
android:layout_below="@+id/logo"
android:gravity="center"
android:fontFamily="@font/revalia"
android:textSize="50dp"
android:textColor="#ff0000"
android:layout_toRightOf="@+id/S"
/>
<TextView
android:id="@+id/P"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="P"
android:layout_below="@+id/logo"
android:gravity="center"
android:fontFamily="@font/revalia"
android:textSize="50dp"
android:textColor="@color/black"
android:layout_toRightOf="@+id/R"
/>
</LinearLayout>
<RelativeLayout
android:id="@+id/rL1"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical"
android:gravity="center_vertical"
android:layout_below="@+id/name"
android:layout_marginTop="50dp"
>
<TextView
android:id="@+id/txt1"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="Register new account."
android:textColor="@color/black"
android:gravity="center"
android:layout_marginTop="50dp"
android:textSize="20sp"
android:textStyle="bold"
/>
<com.google.android.material.textfield.TextInputLayout
android:id="@+id/txtUserName"
style="@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginHorizontal="40dp"
android:layout_marginTop="60dp"
android:hint="User-Name"
app:boxStrokeWidth="2dp"
app:boxCornerRadiusBottomEnd="15dp"
app:boxCornerRadiusBottomStart="15dp"
app:boxCornerRadiusTopStart="15dp"
app:boxCornerRadiusTopEnd="15dp"
android:layout_below="@+id/txt1"
>
<com.google.android.material.textfield.TextInputEditText
android:id="@+id/etUserName"
android:textSize="14sp"
android:inputType="text"
android:layout_width="match_parent"
android:layout_height="wrap_content" />
</com.google.android.material.textfield.TextInputLayout>
<com.google.android.material.textfield.TextInputLayout
android:id="@+id/txtMobileNumber"
style="@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginHorizontal="40dp"
android:layout_marginTop="40dp"
android:hint="Mobile Number"
app:boxStrokeWidth="2dp"
app:boxCornerRadiusBottomEnd="15dp"
app:boxCornerRadiusBottomStart="15dp"
app:boxCornerRadiusTopStart="15dp"
app:boxCornerRadiusTopEnd="15dp"
android:layout_below="@+id/txtUserName"
>
<com.google.android.material.textfield.TextInputEditText
android:id="@+id/etMobileNumber"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:textSize="14sp"
android:inputType="number"
/>
</com.google.android.material.textfield.TextInputLayout>
<com.google.android.material.textfield.TextInputLayout
android:id="@+id/txtPassword"
style="@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginHorizontal="40dp"
android:layout_marginTop="40dp"
android:hint="Password"
app:boxStrokeWidth="2dp"
app:boxCornerRadiusBottomEnd="15dp"
app:boxCornerRadiusBottomStart="15dp"
app:boxCornerRadiusTopStart="15dp"
app:boxCornerRadiusTopEnd="15dp"
android:layout_below="@+id/txtMobileNumber"
>
<com.google.android.material.textfield.TextInputEditText
android:id="@+id/etPassword"
android:textSize="14sp"
android:inputType="text"
android:layout_width="match_parent"
android:layout_height="wrap_content" />
</com.google.android.material.textfield.TextInputLayout>
<com.google.android.material.textfield.TextInputLayout
android:id="@+id/txtConfirmPassword"
style="@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginHorizontal="40dp"
android:layout_marginTop="40dp"
android:hint="Confirm-Password"
app:boxStrokeWidth="2dp"
app:boxCornerRadiusBottomEnd="15dp"
app:boxCornerRadiusBottomStart="15dp"
app:boxCornerRadiusTopStart="15dp"
app:boxCornerRadiusTopEnd="15dp"
android:layout_below="@+id/txtPassword"
>
<com.google.android.material.textfield.TextInputEditText
android:id="@+id/etConfirmPassword"
android:textSize="14sp"
android:inputType="text"
android:layout_width="match_parent"
android:layout_height="wrap_content" />
</com.google.android.material.textfield.TextInputLayout>
<androidx.appcompat.widget.AppCompatButton
android:id="@+id/btnLogin"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="REGISTER"
android:layout_alignParentBottom="true"
android:layout_marginHorizontal="20dp"
android:textColor="@color/white"
android:textSize="16sp"
android:background="@drawable/round_layout"
android:layout_marginBottom="50dp"
/>
<TextView
android:id="@+id/txtCreateNew"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_below="@+id/btnLogin"
android:textColor="#451ac2"
android:gravity="center"
android:textSize="14sp"
android:layout_marginBottom="40dp"
/>
</RelativeLayout>
</RelativeLayout>
\ No newline at end of file
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
tools:context=".Fragment.FeedBackFragment">
<RelativeLayout
android:id="@+id/rL1"
android:layout_width="match_parent"
android:layout_height="60dp"
android:layout_marginHorizontal="10dp"
android:layout_marginTop="10dp">
<TextView
android:id="@+id/Loggedinuser"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_centerVertical="true"
android:layout_marginStart="0dp"
android:text="FEEDBACK"
android:fontFamily="@font/revalia"
android:textColor="#B71C1C"
android:textSize="20sp"
android:textStyle="bold">
</TextView>
</RelativeLayout>
<RelativeLayout
android:layout_marginTop="30dp"
android:layout_below="@+id/rL1"
android:id="@+id/rL2"
android:layout_width="match_parent"
android:layout_height="wrap_content">
<androidx.cardview.widget.CardView
android:id="@+id/crd2"
android:layout_width="match_parent"
android:layout_height="200dp"
android:elevation="0dp">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical">
<TextView
android:id="@+id/txt1"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="Rate Your Experiance"
android:gravity="center"
android:textSize="20dp"
android:textStyle="bold"
/>
<TextView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="Are you satisfied with the service ?"
android:gravity="center"
android:textSize="14dp"
android:textStyle="bold"
/>
<GridLayout
android:layout_marginTop="20dp"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:columnCount="5"
android:rowCount="1"
>
<ImageView
android:layout_width="50dp"
android:layout_height="50dp"
android:src="@drawable/baseline_star_24"
android:layout_rowWeight="1"
android:layout_columnWeight="1"
/>
<ImageView
android:layout_width="50dp"
android:layout_height="50dp"
android:src="@drawable/baseline_star_24"
android:layout_rowWeight="1"
android:layout_columnWeight="1"
/>
<ImageView
android:layout_width="50dp"
android:layout_height="50dp"
android:src="@drawable/baseline_star_24"
android:layout_rowWeight="1"
android:layout_columnWeight="1"
/>
<ImageView
android:layout_width="50dp"
android:layout_height="50dp"
android:src="@drawable/baseline_star_24"
android:layout_rowWeight="1"
android:layout_columnWeight="1"
/>
<ImageView
android:layout_width="50dp"
android:layout_height="50dp"
android:src="@drawable/baseline_star_24"
android:layout_rowWeight="1"
android:layout_columnWeight="1"
/>
</GridLayout>
</LinearLayout>
</androidx.cardview.widget.CardView>
<androidx.cardview.widget.CardView
android:id="@+id/crd3"
android:layout_below="@+id/crd2"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="25dp"
android:elevation="0dp">
<RadioGroup
android:layout_width="match_parent"
android:layout_height="wrap_content">
<RadioButton
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginHorizontal="40dp"
android:text="Good"/>
<RadioButton
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginHorizontal="40dp"
android:text="Bad"/>
</RadioGroup>
</androidx.cardview.widget.CardView>
<androidx.cardview.widget.CardView
android:layout_below="@+id/crd3"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginHorizontal="10dp"
android:layout_marginTop="60dp"
android:elevation="0dp">
<com.google.android.material.textfield.TextInputEditText
android:layout_width="match_parent"
android:layout_height="200dp"
android:hint="Tell us how can we improve."
/>
</androidx.cardview.widget.CardView>
</RelativeLayout>
</RelativeLayout>
\ No newline at end of file
<?xml version="1.0" encoding="utf-8"?>
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
tools:context=".Fragment.MapViewFragment">
<fragment
android:layout_width="match_parent"
android:layout_height="match_parent"
android:id="@+id/MY_MAP"
android:name="com.google.android.gms.maps.SupportMapFragment"
/>
</FrameLayout>
\ No newline at end of file
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
tools:context=".Fragment.PackageFragment">
<RelativeLayout
android:id="@+id/rL1"
android:layout_width="match_parent"
android:layout_height="60dp"
android:layout_marginHorizontal="10dp"
android:layout_marginTop="10dp">
<TextView
android:id="@+id/Loggedinuser"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_centerVertical="true"
android:layout_marginStart="0dp"
android:text="PACKAGE"
android:fontFamily="@font/revalia"
android:textColor="#B71C1C"
android:textSize="20sp"
android:textStyle="bold">
</TextView>
</RelativeLayout>
<FrameLayout
android:id="@+id/framelayout"
android:layout_width="match_parent"
android:layout_height="200dp"
android:layout_below="@+id/rL1"
>
</FrameLayout>
<androidx.cardview.widget.CardView
android:id="@+id/crd1"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:padding="15dp"
android:layout_below="@+id/framelayout"
android:elevation="10dp"
android:layout_marginHorizontal="20dp"
android:background="#0D47A1">
<RelativeLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="#B3C2DA">
<TextView
android:id="@+id/txtOrderID"
android:layout_width="250dp"
android:layout_height="wrap_content"
android:padding="25dp"
android:text="ORDER ID : "
android:fontFamily="@font/revalia"
/>
<TextView
android:id="@+id/txtOrderValue"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:padding="25dp"
android:text=""
android:fontFamily="@font/revalia"
android:layout_toRightOf="@+id/txtOrderID"
/>
<TextView
android:id="@+id/txtDestination"
android:layout_width="250dp"
android:layout_height="wrap_content"
android:padding="25dp"
android:text="DESTINATION : "
android:fontFamily="@font/revalia"
android:layout_below="@+id/txtOrderID"
/>
<TextView
android:id="@+id/txtDestinationValue"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:padding="25dp"
android:text=""
android:fontFamily="@font/revalia"
android:layout_toRightOf="@+id/txtDestination"
android:layout_below="@+id/txtOrderValue"
/>
<TextView
android:id="@+id/txtEstimatedDate"
android:layout_width="250dp"
android:layout_height="wrap_content"
android:padding="25dp"
android:text="ESTIMATED DATE : "
android:fontFamily="@font/revalia"
android:layout_below="@+id/txtDestination"
/>
<TextView
android:id="@+id/txtEstimatedDateValue"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:padding="25dp"
android:text=""
android:fontFamily="@font/revalia"
android:layout_toRightOf="@+id/txtDestination"
android:layout_below="@+id/txtDestination"
/>
<TextView
android:id="@+id/txtDeliveryStatus"
android:layout_width="250dp"
android:layout_height="wrap_content"
android:padding="25dp"
android:text="DELIVERY STATUS : "
android:fontFamily="@font/revalia"
android:layout_below="@+id/txtEstimatedDate"
/>
<TextView
android:id="@+id/txtDeliveryStatusValue"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:padding="25dp"
android:text=""
android:fontFamily="@font/revalia"
android:layout_toRightOf="@+id/txtDestination"
android:layout_below="@+id/txtEstimatedDate"
/>
</RelativeLayout>
</androidx.cardview.widget.CardView>
<androidx.appcompat.widget.AppCompatButton
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="UPDATE"
android:layout_below="@+id/crd1"
android:layout_marginTop="25dp"
android:layout_marginLeft="40dp"
android:layout_marginRight="40dp"
android:background="@drawable/round_layout"
android:textColor="@color/white"
/>
<!-- <com.google.android.material.bottomnavigation.BottomNavigationView-->
<!-- android:id="@+id/bottomNavigationView"-->
<!-- android:layout_width="match_parent"-->
<!-- android:layout_height="wrap_content"-->
<!-- android:layout_alignParentBottom="true"-->
<!-- />-->
</RelativeLayout>
<?xml version="1.0" encoding="utf-8"?>
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:id="@+id/layout"
tools:context=".Fragment.ReportFragment">
<RelativeLayout
android:layout_width="match_parent"
android:layout_height="wrap_content">
<RelativeLayout
android:id="@+id/rL1"
android:layout_width="match_parent"
android:layout_height="60dp"
android:layout_marginHorizontal="10dp"
android:layout_marginTop="10dp">
<TextView
android:id="@+id/Loggedinuser"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_centerVertical="true"
android:layout_marginStart="0dp"
android:text="DAMAGED"
android:fontFamily="@font/revalia"
android:textColor="#B71C1C"
android:textSize="20sp"
android:textStyle="bold">
</TextView>
</RelativeLayout>
<RelativeLayout
android:layout_below="@+id/rL1"
android:id="@+id/container"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_marginBottom="40dp"
android:gravity="center"
android:orientation="vertical"
>
<TextView
android:layout_width="match_parent"
android:layout_height="50dp"
android:layout_below="@+id/upload_image"
android:text="SELECT IMAGE"
android:fontFamily="@font/revalia"
android:gravity="center"
android:textSize="20dp"
android:textStyle="bold"
/>
<ImageView
android:id="@+id/upload_image"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:src="@drawable/icon_image"
/>
<!-- <Button
android:id="@+id/btnScan"
android:layout_width="match_parent"
android:layout_height="50dp"
android:layout_marginHorizontal="25dp"
android:text="SCAN PACKAGE"
android:background="@drawable/round_layout"
android:layout_alignParentBottom="true"
/>-->
</RelativeLayout>
</RelativeLayout>
</FrameLayout>
\ No newline at end of file
<?xml version="1.0" encoding="utf-8"?>
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
tools:context=".Fragment.ScanQRFragment">
<RelativeLayout
android:layout_width="match_parent"
android:layout_height="wrap_content">
<RelativeLayout
android:id="@+id/rL1"
android:layout_width="match_parent"
android:layout_height="60dp"
android:layout_marginHorizontal="10dp"
android:layout_marginTop="10dp">
<TextView
android:id="@+id/Loggedinuser"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_centerVertical="true"
android:layout_marginStart="0dp"
android:text="SCAN QR"
android:fontFamily="@font/revalia"
android:textColor="#B71C1C"
android:textSize="20sp"
android:textStyle="bold">
</TextView>
</RelativeLayout>
<RelativeLayout
android:layout_below="@+id/rL1"
android:id="@+id/container"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_marginBottom="40dp"
android:gravity="center"
android:orientation="vertical"
>
<ImageView
android:id="@+id/upload_image"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_above="@id/btnScanQR"
android:layout_alignParentTop="true"
android:layout_centerInParent="true"
android:src="@drawable/icon_open_qr_png" />
<androidx.appcompat.widget.AppCompatButton
android:id="@+id/btnScanQR"
android:layout_width="match_parent"
android:layout_height="50dp"
android:layout_marginHorizontal="25dp"
android:layout_alignParentBottom="true"
android:text="OPEN CAMERA"
android:gravity="center"
android:textSize="20dp"
android:textStyle="bold"
android:background="@drawable/round_layout"
android:textColor="@color/white"
/>
<TextView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:id="@+id/QrOutput"
android:layout_above="@+id/btnScanQR"
android:gravity="center"
/>
<!-- <Button
android:id="@+id/btnScan"
android:layout_width="match_parent"
android:layout_height="50dp"
android:layout_marginHorizontal="25dp"
android:text="SCAN PACKAGE"
android:background="@drawable/round_layout"
android:layout_alignParentBottom="true"
/>-->
</RelativeLayout>
</RelativeLayout>
</FrameLayout>
\ No newline at end of file
<?xml version="1.0" encoding="utf-8"?>
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
tools:context=".Fragment.ShowPackageData">
<RelativeLayout
android:layout_width="match_parent"
android:layout_height="match_parent">
<RelativeLayout
android:id="@+id/rL1"
android:layout_width="match_parent"
android:layout_height="60dp"
android:layout_marginHorizontal="10dp"
android:layout_marginTop="10dp">
<TextView
android:id="@+id/Loggedinuser"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_centerVertical="true"
android:layout_marginStart="0dp"
android:text="PACKAGE DETAILS"
android:fontFamily="@font/revalia"
android:textColor="#B71C1C"
android:textSize="20sp"
android:textStyle="bold">
</TextView>
</RelativeLayout>
<ScrollView
android:layout_below="@+id/rL1"
android:layout_width="wrap_content"
android:layout_height="match_parent"
>
<LinearLayout
android:id="@+id/container"
android:layout_below="@+id/rL1"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_marginBottom="40dp"
android:gravity="center"
android:orientation="vertical"
>
<RelativeLayout
android:id="@+id/container2"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginBottom="40dp"
android:gravity="center"
android:orientation="vertical">
<TextView
android:id="@+id/txtsenderName"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginHorizontal="50dp"
android:layout_marginVertical="50dp"
android:text="NAME :"
android:textSize="20dp"
android:textStyle="bold" />
<ImageView
android:id="@+id/img1"
android:layout_width="200dp"
android:layout_height="200dp"
android:layout_below="@+id/txtsenderName"
android:layout_centerHorizontal="true"
android:layout_marginHorizontal="20dp"
android:layout_marginVertical="50dp"
/>
<ImageView
android:id="@+id/img2"
android:layout_width="200dp"
android:layout_height="200dp"
android:layout_below="@+id/img1"
android:layout_marginHorizontal="20dp"
android:layout_centerHorizontal="true"
android:layout_marginVertical="50dp"
/>
<androidx.appcompat.widget.AppCompatButton
android:id="@+id/btnInq"
android:layout_width="150dp"
android:layout_height="50dp"
android:layout_below="@+id/img2"
android:layout_marginHorizontal="25dp"
android:background="@drawable/round_layout"
android:gravity="center"
android:text="INQUIRY"
android:textColor="@color/white"
android:textSize="20dp"
android:textStyle="bold" />
<androidx.appcompat.widget.AppCompatButton
android:id="@+id/btnConfirm"
android:layout_width="150dp"
android:layout_height="50dp"
android:layout_below="@+id/img2"
android:layout_marginHorizontal="25dp"
android:layout_toRightOf="@+id/btnInq"
android:background="@drawable/round_layout"
android:gravity="center"
android:text="CONFIRM"
android:textColor="@color/white"
android:textSize="20dp"
android:textStyle="bold" />
<TextView
android:id="@+id/QrOutput"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_above="@+id/btnInq"
android:gravity="center" />
<!-- <Button
android:id="@+id/btnScan"
android:layout_width="match_parent"
android:layout_height="50dp"
android:layout_marginHorizontal="25dp"
android:text="SCAN PACKAGE"
android:background="@drawable/round_layout"
android:layout_alignParentBottom="true"
/>-->
</RelativeLayout>
</LinearLayout>
</ScrollView>
</RelativeLayout>
</FrameLayout>
\ No newline at end of file
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
tools:context=".Fragment.TicketsFragment">
<RelativeLayout
android:layout_width="match_parent"
android:layout_height="wrap_content">
<RelativeLayout
android:id="@+id/rL1"
android:layout_width="match_parent"
android:layout_height="60dp"
android:layout_marginHorizontal="10dp"
android:layout_marginTop="10dp">
<TextView
android:id="@+id/Loggedinuser"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_centerVertical="true"
android:layout_marginStart="0dp"
android:text="TICKETS"
android:fontFamily="@font/revalia"
android:textColor="#B71C1C"
android:textSize="20sp"
android:textStyle="bold">
</TextView>
</RelativeLayout>
<ScrollView
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_below="@+id/rL1"
>
<FrameLayout
android:id="@+id/container"
android:layout_width="match_parent"
android:layout_height="match_parent">
<RelativeLayout
android:layout_width="match_parent"
android:layout_height="match_parent">
<androidx.recyclerview.widget.RecyclerView
android:id="@+id/recyclerView"
android:layout_width="match_parent"
android:layout_height="match_parent"
/>
</RelativeLayout>
</FrameLayout>
</ScrollView>
</RelativeLayout>
</RelativeLayout>
\ No newline at end of file
<?xml version="1.0" encoding="utf-8"?>
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
xmlns:app="http://schemas.android.com/apk/res-auto"
tools:context=".Fragment.ViewTicketFragment">
<RelativeLayout
android:layout_width="match_parent"
android:layout_height="match_parent">
<RelativeLayout
android:id="@+id/rL1"
android:layout_width="match_parent"
android:layout_height="60dp"
android:layout_marginHorizontal="10dp"
android:layout_marginTop="10dp">
<TextView
android:id="@+id/Loggedinuser"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_centerVertical="true"
android:layout_marginStart="0dp"
android:text="DAMAGED"
android:fontFamily="@font/revalia"
android:textColor="#B71C1C"
android:textSize="20sp"
android:textStyle="bold">
</TextView>
</RelativeLayout>
<RelativeLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_below="@+id/rL1"
>
<TextView
android:id="@+id/txt1"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="Ticket1"
android:gravity="center"
android:background="@drawable/square_layout"
android:fontFamily="@font/revalia"
android:textSize="20dp"
android:paddingVertical="5dp"
android:layout_marginHorizontal="15dp"
/>
<TextView
android:id="@+id/txt2"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="TICKET DETAILS"
android:textStyle="bold"
android:textColor="#1A237E"
android:fontFamily="@font/revalia"
android:gravity="left"
android:paddingVertical="5dp"
android:textSize="15dp"
android:layout_below="@+id/txt1"
android:layout_marginTop="10dp"
android:elevation="15dp"
android:layout_marginHorizontal="25dp"
/>
<androidx.cardview.widget.CardView
android:id="@+id/crd1"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_below="@+id/txt2"
android:gravity="center"
android:padding="20dp"
android:layout_marginHorizontal="15dp"
android:elevation="15dp"
android:layout_marginTop="20dp"
app:cardCornerRadius="25dp"
>
<RelativeLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:padding="10dp"
>
<TextView
android:id="@+id/txtCdate"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="Current Date : "
android:textStyle="bold"
android:layout_marginVertical="10dp"
/>
<TextView
android:id="@+id/txtUdate"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="Update Date : "
android:textStyle="bold"
android:layout_below="@+id/txtCdate"
android:layout_marginVertical="10dp"
/>
<TextView
android:id="@+id/txtStatus"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="Status : "
android:textStyle="bold"
android:layout_below="@+id/txtUdate"
android:layout_marginVertical="10dp"
/>
<TextView
android:id="@+id/txtDes"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="Description : "
android:textStyle="bold"
android:layout_below="@+id/txtStatus"
android:layout_marginVertical="10dp"
/>
</RelativeLayout>
</androidx.cardview.widget.CardView>
<TextView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_below="@+id/crd1"
android:id="@+id/txtTimeline"
android:text="TIME LINE"
android:textSize="15dp"
android:textStyle="bold"
android:fontFamily="@font/revalia"
android:paddingVertical="15dp"
android:textColor="#EA0B0B"
android:paddingHorizontal="20dp"
/>
<androidx.core.widget.NestedScrollView
android:layout_below="@+id/txtTimeline"
android:layout_marginTop="15dp"
android:layout_marginHorizontal="20dp"
android:elevation="10dp"
android:layout_width="match_parent"
android:layout_height="wrap_content">
<androidx.recyclerview.widget.RecyclerView
android:id="@+id/rv1"
android:layout_width="match_parent"
android:layout_height="wrap_content"/>
</androidx.core.widget.NestedScrollView>
</RelativeLayout>
</RelativeLayout>
</FrameLayout>
\ No newline at end of file
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:gravity="center"
android:background="#AA000000"
>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="200dp"
android:layout_marginStart="0dp"
android:layout_marginTop="0dp"
android:layout_marginEnd="0dp"
android:layout_marginBottom="0dp"
android:background="@drawable/popup_bg_premium_feauture"
android:elevation="20dp"
android:orientation="vertical"
android:padding="10dp">
<GridLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:columnCount="3"
android:paddingTop="5dp"
>
<!-- <ImageView-->
<!-- android:layout_width="32dp"-->
<!-- android:layout_height="match_parent"-->
<!-- android:layout_gravity="left"-->
<!-- android:foregroundGravity="center"-->
<!-- android:src="" />-->
<TextView
android:layout_width="match_parent"
android:layout_height="48dp"
android:layout_row="0"
android:layout_column="1"
android:layout_gravity="center"
android:foregroundGravity="center"
android:gravity="center"
android:fontFamily="@font/revalia"
android:text="DEFECTIVENESS"
android:textColor="#000000"
android:textSize="20dp"
android:textStyle="bold" />
</GridLayout>
<TextView
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_marginTop="15dp"
android:gravity="center"
android:text="NO DAMAGE DETECTED"
android:textColor="#33691E"
android:textSize="20dp" />
</LinearLayout>
</RelativeLayout>
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:gravity="center"
android:background="#AA000000"
>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="200dp"
android:layout_marginStart="0dp"
android:layout_marginTop="0dp"
android:layout_marginEnd="0dp"
android:layout_marginBottom="0dp"
android:background="@drawable/popup_bg_premium_feauture"
android:elevation="20dp"
android:orientation="vertical"
android:padding="10dp">
<GridLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:columnCount="3"
android:paddingTop="5dp"
>
<!-- <ImageView-->
<!-- android:layout_width="32dp"-->
<!-- android:layout_height="match_parent"-->
<!-- android:layout_gravity="left"-->
<!-- android:foregroundGravity="center"-->
<!-- android:src="" />-->
<TextView
android:layout_width="match_parent"
android:layout_height="48dp"
android:layout_row="0"
android:layout_column="1"
android:layout_gravity="center"
android:foregroundGravity="center"
android:gravity="center"
android:text="DEFECTIVENESS"
android:fontFamily="@font/revalia"
android:textColor="#000000"
android:textSize="20dp"
android:textStyle="bold" />
<ImageView
android:id="@+id/iconclose"
android:layout_width="wrap_content"
android:layout_height="42dp"
android:layout_gravity="right"
android:foregroundGravity="right"
android:src="@drawable/icon_close" />
</GridLayout>
<TextView
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_marginTop="15dp"
android:gravity="center"
android:text="ITEM IS DAMAGED"
android:textColor="#FF0000"
android:textSize="20dp" />
</LinearLayout>
</RelativeLayout>
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:orientation="vertical"
android:gravity="center"
android:layout_height="wrap_content">
<RelativeLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:id="@+id/rlMain"
>
<androidx.cardview.widget.CardView
android:id="@+id/crd1"
android:layout_width="match_parent"
android:layout_height="wrap_content"
app:cardCornerRadius="15dp"
android:layout_marginTop="15dp"
android:layout_marginBottom="15dp"
android:layout_marginHorizontal="20dp"
>
<RelativeLayout
android:id="@+id/rL1"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_toRightOf="@id/rlMain"
>
<ImageView
android:id="@+id/img1"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:src="@drawable/ticket1"
android:layout_below="@+id/txtTicketNo"
android:paddingHorizontal="5dp"
/>
<TextView
android:id="@+id/txtTicketNo"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="TICKET ID"
android:fontFamily="@font/revalia"
android:gravity="left"
android:layout_marginTop="10dp"
android:padding="0dp"
android:textSize="16sp"
android:textStyle="bold"
android:layout_toRightOf="@id/img1"
/>
<TextView
android:id="@+id/txtDescription"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_below="@+id/txtTicketNo"
android:gravity="left"
android:textStyle="normal"
android:text="Description"
android:textSize="15sp"
android:layout_toRightOf="@id/img1"/>
<TextView
android:id="@+id/txtStatus"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_below="@+id/txtDescription"
android:gravity="left"
android:textStyle="normal"
android:text="Status"
android:textSize="15sp"
android:layout_toRightOf="@id/img1" />
<TextView
android:id="@+id/txtEmail"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_below="@+id/txtStatus"
android:gravity="left"
android:textStyle="normal"
android:paddingBottom="10dp"
android:text="Email"
android:textSize="15sp"
android:layout_toRightOf="@id/img1" />
</RelativeLayout>
</androidx.cardview.widget.CardView>
<View
android:background="#bfbfbf"
android:layout_width="match_parent"
android:layout_height="wrap_content"
/>
</RelativeLayout>
</LinearLayout>
\ No newline at end of file
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:orientation="vertical"
android:gravity="center"
android:layout_height="wrap_content">
<RelativeLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:id="@+id/rlMain"
>
<androidx.cardview.widget.CardView
android:id="@+id/crd1"
android:layout_width="match_parent"
android:layout_height="wrap_content"
app:cardCornerRadius="15dp"
android:layout_marginTop="15dp"
android:layout_marginBottom="15dp"
android:layout_marginHorizontal="20dp"
>
<RelativeLayout
android:id="@+id/rL1"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_toRightOf="@id/rlMain"
android:paddingHorizontal="15dp"
>
<TextView
android:id="@+id/txtTicketID"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="TICKET ID"
android:fontFamily="@font/revalia"
android:gravity="left"
android:layout_marginTop="10dp"
android:padding="0dp"
android:textSize="16sp"
android:textStyle="bold"
/>
<TextView
android:id="@+id/txtDescription"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_below="@+id/txtTicketID"
android:gravity="left"
android:textStyle="normal"
android:text="Description"
android:layout_marginVertical="5dp"
android:textSize="15sp"
/>
<TextView
android:id="@+id/txtCdate"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_below="@+id/txtDescription"
android:gravity="left"
android:layout_marginVertical="5dp"
android:textStyle="normal"
android:text="Creeated at"
android:textSize="15sp" />
<TextView
android:id="@+id/txtUdate"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_below="@+id/txtCdate"
android:layout_marginVertical="5dp"
android:gravity="left"
android:textStyle="normal"
android:text="Updated At"
android:textSize="15sp"
/>
<TextView
android:id="@+id/txtDdate"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginVertical="5dp"
android:layout_below="@+id/txtUdate"
android:gravity="left"
android:textStyle="normal"
android:text="Deleted At"
android:textSize="15sp"
/>
</RelativeLayout>
</androidx.cardview.widget.CardView>
<View
android:background="#bfbfbf"
android:layout_width="match_parent"
android:layout_height="wrap_content"
/>
</RelativeLayout>
</LinearLayout>
\ No newline at end of file
<?xml version="1.0" encoding="utf-8"?>
<menu xmlns:android="http://schemas.android.com/apk/res/android"
>
<item
android:id="@+id/tickets"
android:icon="@drawable/tickets_icon"
android:title="TICKETS"
/>
<item
android:id="@+id/packages"
android:icon="@drawable/package_icon"
android:title="PACKAGE"
/>
<item
android:id="@+id/feedback"
android:icon="@drawable/feedback_icon"
android:title="FEEDBACK"/>
<item
android:id="@+id/scan"
android:icon="@drawable/icon_scan"
android:title="SCAN"/>
</menu>
\ No newline at end of file
<?xml version="1.0" encoding="utf-8"?>
<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android">
<background android:drawable="@drawable/ic_launcher_background" />
<foreground android:drawable="@drawable/ic_launcher_foreground" />
<monochrome android:drawable="@drawable/ic_launcher_foreground" />
</adaptive-icon>
\ No newline at end of file
<?xml version="1.0" encoding="utf-8"?>
<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android">
<background android:drawable="@drawable/ic_launcher_background" />
<foreground android:drawable="@drawable/ic_launcher_foreground" />
<monochrome android:drawable="@drawable/ic_launcher_foreground" />
</adaptive-icon>
\ No newline at end of file
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment