Commit ae31de10 by Ramesh Babu Puvvadi

created new project setup EAN

parent c28e857c
POSSTOCK
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="deploymentTargetSelector">
<selectionStates>
<SelectionState runConfigName="app">
<option name="selectionMode" value="DROPDOWN" />
</SelectionState>
</selectionStates>
</component>
</project>
\ No newline at end of file
......@@ -4,16 +4,15 @@
<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="gradleJvm" value="#GRADLE_LOCAL_JAVA_HOME" />
<option name="modules">
<set>
<option value="$PROJECT_DIR$" />
<option value="$PROJECT_DIR$/app" />
</set>
</option>
<option name="resolveExternalAnnotations" value="false" />
</GradleProjectSettings>
</option>
</component>
......
<component name="InspectionProjectProfileManager">
<profile version="1.0">
<option name="myName" value="Project Default" />
<inspection_tool class="IfStatementWithIdenticalBranches" enabled="true" level="WEAK WARNING" enabled_by_default="true">
<option name="myHighlightWhenLastStatementIsCall" value="false" />
<inspection_tool class="AutoCloseableResource" enabled="true" level="WARNING" enabled_by_default="true">
<option name="METHOD_MATCHER_CONFIG" value="java.util.Formatter,format,java.io.Writer,append,com.google.common.base.Preconditions,checkNotNull,org.hibernate.Session,close,java.io.PrintWriter,printf,java.io.PrintStream,printf,com.squareup.okhttp.Response,body" />
</inspection_tool>
</profile>
</component>
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="ProjectMigrations">
<option name="MigrateToGradleLocalJavaHome">
<set>
<option value="$PROJECT_DIR$" />
</set>
</option>
</component>
</project>
\ No newline at end of file
This diff is collapsed. Click to expand it.
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="VcsDirectoryMappings">
<mapping directory="$PROJECT_DIR$" vcs="Git" />
<mapping directory="" vcs="Git" />
</component>
</project>
\ No newline at end of file
apply plugin: 'com.android.application'
apply plugin: 'com.google.gms.google-services'
apply plugin: 'com.google.firebase.crashlytics'
android {
compileSdkVersion 32
compileSdkVersion 34
buildToolsVersion "30.0.3"
defaultConfig {
applicationId "w.soulofpluto.posstockauditrecieving"
applicationId "w.soulofpluto.stockauditean"
minSdkVersion 16
targetSdkVersion 32
targetSdkVersion 34
versionCode 2
versionName "1.1"
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
......@@ -40,9 +38,9 @@ dependencies {
implementation 'com.squareup.retrofit2:retrofit:2.3.0'
implementation 'com.squareup.retrofit2:converter-gson:2.2.0'
implementation 'com.squareup.okhttp3:logging-interceptor:3.8.0'
implementation platform('com.google.firebase:firebase-bom:28.4.0')
implementation 'com.google.firebase:firebase-analytics'
implementation 'com.google.firebase:firebase-crashlytics:18.2.1'
// implementation platform('com.google.firebase:firebase-bom:28.4.0')
// implementation 'com.google.firebase:firebase-analytics'
// implementation 'com.google.firebase:firebase-crashlytics:18.2.1'
implementation 'com.karumi:dexter:6.2.3'
testImplementation 'junit:junit:4.12'
androidTestImplementation 'androidx.test.espresso:espresso-core:3.3.0'
......
<?xml version="1.0" encoding="utf-8"?>
<manifest
xmlns:android="http://schemas.android.com/apk/res/android"
package="w.soulofpluto.posstockauditrecieving">
xmlns:tools="http://schemas.android.com/tools"
package="w.soulofpluto.stockauditean">
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/>
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
<!--<uses-permission android:name="android.permission.BLUETOOTH"/>
<uses-permission android:name="android.permission.BLUETOOTH_ADMIN"/>
<uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" />
......@@ -23,7 +25,8 @@
android:usesCleartextTraffic="true"
android:requestLegacyExternalStorage="true"
android:theme="@style/AppTheme.NoActionBar"
android:networkSecurityConfig="@xml/network_security_config">
android:networkSecurityConfig="@xml/network_security_config"
tools:targetApi="n">
<!--android:roundIcon="@drawable/adaptive_icon"
<uses-library
......@@ -32,58 +35,58 @@
</uses-library> -->
<activity
android:name="w.soulofpluto.posstockauditrecieving.SplashActivity"
android:windowSoftInputMode="adjustNothing"
android:screenOrientation="portrait"
android:exported="true">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
android:name=".SplashActivity"
android:windowSoftInputMode="adjustNothing"
android:configChanges="orientation"
android:exported="true">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
<activity
android:name="w.soulofpluto.posstockauditrecieving.Login"
android:name="w.soulofpluto.stockauditean.Login"
android:windowSoftInputMode="adjustResize|stateHidden"
android:screenOrientation="portrait">
</activity>
<activity
android:name="w.soulofpluto.posstockauditrecieving.HomeActivity"
android:name=".HomeActivity"
android:screenOrientation="portrait"
android:configChanges="keyboardHidden|screenSize">
</activity>
<activity
android:name="w.soulofpluto.posstockauditrecieving.DashBoardActivity"
android:name=".DashBoardActivity"
android:windowSoftInputMode="adjustNothing"
android:screenOrientation="portrait"
android:configChanges="keyboardHidden|screenSize">
</activity>
<activity
android:name="w.soulofpluto.posstockauditrecieving.MainActivity"
android:name=".MainActivity"
android:windowSoftInputMode="adjustResize"
android:screenOrientation="portrait"
android:configChanges="keyboardHidden|screenSize">
</activity>
<activity
android:name="w.soulofpluto.posstockauditrecieving.PlanDetails"
android:name=".PlanDetails"
android:screenOrientation="portrait"
android:configChanges="keyboardHidden|screenSize"
android:windowSoftInputMode="adjustNothing">
</activity>
<activity
android:name="w.soulofpluto.posstockauditrecieving.RackWiseQty"
android:name=".RackWiseQty"
android:windowSoftInputMode="adjustNothing"
android:screenOrientation="portrait"
android:configChanges="keyboardHidden|screenSize">
</activity>
<activity
android:name="w.soulofpluto.posstockauditrecieving.SearchByBarcode"
android:name=".SearchByBarcode"
android:windowSoftInputMode="adjustNothing"
android:screenOrientation="portrait"
android:configChanges="keyboardHidden|screenSize">
......
package w.soulofpluto.posstockauditrecieving;
package w.soulofpluto.stockauditean;
import android.app.ActivityManager;
import android.content.Context;
......@@ -18,38 +18,43 @@ import static android.content.Context.ACTIVITY_SERVICE;
File dir = context.getCacheDir();
deleteDir(dir);
} catch (Exception e) {
throw new RuntimeException(e);
}
}
public static boolean deleteDir(File dir) {
public static boolean deleteDir(File dir) {
if (dir != null && dir.isDirectory()) {
Log.e("AppUtils ====<","Calling 1 deleteCache");
String[] children = dir.list();
for (int i = 0; i < children.length; i++) {
boolean success = deleteDir(new File(dir, children[i]));
if (!success) {
return false;
Log.e("AppUtils ====","Calling 1 deleteCache");
if (children != null) {
int i = 0;
while (i < children.length) {
boolean success = deleteDir(new File(dir, children[i]));
if(!success){
return false;
}
i++;
}
}
return dir.delete();
} else if (dir != null && dir.isFile()) {
return dir.delete();
return dir.delete();
} else {
return false;
return false;
}
}
}
public static void clearAppData(Context context) {
try {
if (Build.VERSION_CODES.KITKAT <= Build.VERSION.SDK_INT) {
((ActivityManager)context.getSystemService(ACTIVITY_SERVICE)).clearApplicationUserData();
} else {
String packageName = context.getApplicationContext().getPackageName();
Runtime runtime = Runtime.getRuntime();
runtime.exec("pm clear "+packageName);
public static void clearAppData(Context context) {
try{
if(Build.VERSION_CODES.KITKAT <= Build.VERSION.SDK_INT) {
((ActivityManager)context.getSystemService(ACTIVITY_SERVICE)).clearApplicationUserData();
}else {
String packageName = context.getApplicationContext().getPackageName();
Runtime runtime = Runtime.getRuntime();
runtime.exec("pm clear "+packageName);
}
} catch (Exception e) {
e.printStackTrace();
}catch(Exception e) {
e.printStackTrace();
}
}
}
}
package w.soulofpluto.posstockauditrecieving;
package w.soulofpluto.stockauditean;
/*
Create by Ramesh Babu
......
package w.soulofpluto.posstockauditrecieving;
package w.soulofpluto.stockauditean;
import android.app.Activity;
import android.app.ProgressDialog;
......
package w.soulofpluto.posstockauditrecieving;
package w.soulofpluto.stockauditean;
/*
Create by Ramesh Babu
......
package w.soulofpluto.posstockauditrecieving;
package w.soulofpluto.stockauditean;
import android.content.Intent;
import android.os.Bundle;
......
package w.soulofpluto.posstockauditrecieving;
package w.soulofpluto.stockauditean;
/*
Create by Ramesh Babu
......
package w.soulofpluto.posstockauditrecieving;
package w.soulofpluto.stockauditean;
import android.content.Context;
import android.os.Handler;
......
package w.soulofpluto.posstockauditrecieving;
package w.soulofpluto.stockauditean;
import android.Manifest;
import android.content.pm.PackageManager;
......@@ -30,16 +30,14 @@ import org.json.JSONObject;
import java.io.IOException;
import java.util.ArrayList;
import java.util.List;
import java.util.Objects;
import java.util.concurrent.TimeUnit;
import static w.soulofpluto.posstockauditrecieving.Constants.Logout;
import static w.soulofpluto.stockauditean.Constants.Logout;
/*
Create by Ramesh Babu
Create by Ramesh Babu
*/
//1111
//180685gk
public class HomeActivity extends AppCompatActivity {
Toolbar home_toolbar;
static PreferenceManager preferenceManager;
......@@ -49,14 +47,14 @@ import static w.soulofpluto.posstockauditrecieving.Constants.Logout;
private static final int REQUEST_PERMISSION = 100;
@Override
protected void onCreate(@Nullable Bundle savedInstanceState){
protected void onCreate(@Nullable Bundle savedInstanceState) {
setContentView(R.layout.activity_home);
home_toolbar = findViewById(R.id.home_toolbar);
version = findViewById(R.id.version);
recyclerView = findViewById(R.id.menu_list);
preferenceManager = new PreferenceManager(this);
setSupportActionBar(home_toolbar);
getSupportActionBar().setTitle(Html.fromHtml("&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;"+getResources().getString(R.string.home)));
Objects.requireNonNull(getSupportActionBar()).setTitle(Html.fromHtml("&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;"+getResources().getString(R.string.home)));
version.setText(Html.fromHtml(Constants.Ver_Text + Constants.VERSION));
if(Constants.isNetworkAvailable(HomeActivity.this)) {
setUI();
......@@ -71,39 +69,40 @@ import static w.soulofpluto.posstockauditrecieving.Constants.Logout;
if (Build.VERSION.SDK_INT < Build.VERSION_CODES.M) {
return;
}
int permissionStorage = ContextCompat.checkSelfPermission(this, Manifest.permission.WRITE_EXTERNAL_STORAGE);
int permissionStorage = ContextCompat.checkSelfPermission(this, Manifest.permission.WRITE_EXTERNAL_STORAGE);
int permissionLocation = ContextCompat.checkSelfPermission(this, Manifest.permission.ACCESS_COARSE_LOCATION);
List<String> requestPermissions = new ArrayList<>();
if (permissionStorage == PackageManager.PERMISSION_DENIED) {
requestPermissions.add(Manifest.permission.WRITE_EXTERNAL_STORAGE);
requestPermissions.add(Manifest.permission.WRITE_EXTERNAL_STORAGE);
}
if (permissionLocation == PackageManager.PERMISSION_DENIED) {
requestPermissions.add(Manifest.permission.ACCESS_COARSE_LOCATION);
requestPermissions.add(Manifest.permission.ACCESS_COARSE_LOCATION);
}
if (!requestPermissions.isEmpty()) {
ActivityCompat.requestPermissions(this, requestPermissions.toArray(new String[requestPermissions.size()]), REQUEST_PERMISSION);
ActivityCompat.requestPermissions(this, requestPermissions.toArray(new String[0]), REQUEST_PERMISSION);
}
}
@Override
public void onRequestPermissionsResult(int requestCode, @NonNull String permissions[], @NonNull int[] grantResults) {
if (requestCode != REQUEST_PERMISSION || grantResults.length == 0) {
return;
if(requestCode != REQUEST_PERMISSION || grantResults.length == 0) {
return;
}
}
private void setUI(){
final OkHttpClient client = new OkHttpClient();
client.setConnectTimeout(250, TimeUnit.SECONDS);
client.setReadTimeout(250, TimeUnit.SECONDS);
client.setWriteTimeout(250, TimeUnit.SECONDS);
client.setReadTimeout(250, TimeUnit.SECONDS);
client.setWriteTimeout(250, TimeUnit.SECONDS);
Request request = new Request.Builder()
.url(Constants.MenuBar)
.get()
.addHeader(Constants.Type, Constants.App_json)
.addHeader(getResources().getString(R.string.accesstoken),preferenceManager.getCustToken())
.addHeader(Constants.Type, Constants.App_json)
.addHeader(getResources().getString(R.string.accesstoken), preferenceManager.getCustToken())
.addHeader(getResources().getString(R.string.storeidtoken),preferenceManager.getStoreId())
.build();
client.newCall(request).enqueue(new Callback(){
@Override
public void onFailure(Request request, final IOException e){
......@@ -166,15 +165,13 @@ import static w.soulofpluto.posstockauditrecieving.Constants.Logout;
@Override
public boolean onOptionsItemSelected(@NonNull MenuItem item){
switch(item.getItemId()){
case R.id.dashboard_logout:
if(Constants.isNetworkAvailable(HomeActivity.this)){
Logout(Logout+preferenceManager.getUserId());
Constants.ProgressDialogShow(HomeActivity.this);
}else{
Constants.getToast(HomeActivity.this,getResources().getString(R.string.connection));
}
break;
if (item.getItemId() == R.id.dashboard_logout) {
if (Constants.isNetworkAvailable(HomeActivity.this)) {
Logout(Logout + preferenceManager.getUserId());
Constants.ProgressDialogShow(HomeActivity.this);
} else {
Constants.getToast(HomeActivity.this, getResources().getString(R.string.connection));
}
}
return super.onOptionsItemSelected(item);
}
......@@ -187,8 +184,8 @@ import static w.soulofpluto.posstockauditrecieving.Constants.Logout;
final Request request = new Request.Builder()
.url(Url)
.get()
.addHeader(Constants.Type, Constants.App_json)
.addHeader(getResources().getString(R.string.accesstoken),preferenceManager.getCustToken())
.addHeader(Constants.Type, Constants.App_json)
.addHeader(getResources().getString(R.string.accesstoken), preferenceManager.getCustToken())
.addHeader(getResources().getString(R.string.storeidtoken),preferenceManager.getStoreId())
.build();
client.newCall(request).enqueue(new Callback(){
......@@ -201,7 +198,7 @@ import static w.soulofpluto.posstockauditrecieving.Constants.Logout;
Constants.ProgressDialogDismiss();
final String res = response.body().string();
try{
Log.e("Dashboard Logout ", res);
//Log.e("Dashboard Logout ", res);
if(response.code() == 200) {
JSONObject jsonObject = new JSONObject(res);
if (jsonObject.has("success")) {
......
package w.soulofpluto.posstockauditrecieving;
package w.soulofpluto.stockauditean;
import android.app.Activity;
import android.content.Context;
......@@ -31,7 +31,7 @@ import java.io.IOException;
import java.net.UnknownHostException;
import java.util.ArrayList;
import java.util.concurrent.TimeUnit;
import static w.soulofpluto.posstockauditrecieving.Constants.JSON;
import static w.soulofpluto.stockauditean.Constants.JSON;
/*
Create by Ramesh Babu
......
package w.soulofpluto.posstockauditrecieving;
package w.soulofpluto.stockauditean;
import androidx.appcompat.app.AppCompatActivity;
import androidx.appcompat.widget.Toolbar;
......@@ -29,8 +29,8 @@ import java.util.ArrayList;
import java.util.Date;
import java.util.concurrent.TimeUnit;
import static w.soulofpluto.posstockauditrecieving.Constants.JSON;
import static w.soulofpluto.posstockauditrecieving.Constants.getDateWithOffset;
import static w.soulofpluto.stockauditean.Constants.JSON;
import static w.soulofpluto.stockauditean.Constants.getDateWithOffset;
public class MainActivity extends AppCompatActivity {
Toolbar main_toolbar;
......
package w.soulofpluto.posstockauditrecieving;
package w.soulofpluto.stockauditean;
import android.content.Context;
import android.content.Intent;
......
package w.soulofpluto.posstockauditrecieving;
package w.soulofpluto.stockauditean;
/*
Create by Ramesh Babu
......
package w.soulofpluto.posstockauditrecieving;
package w.soulofpluto.stockauditean;
import android.app.Activity;
import android.content.Context;
......
package w.soulofpluto.posstockauditrecieving;
package w.soulofpluto.stockauditean;
import android.os.Parcel;
import android.os.Parcelable;
......
package w.soulofpluto.posstockauditrecieving;
package w.soulofpluto.stockauditean;
import android.app.Activity;
import android.content.Context;
......
package w.soulofpluto.posstockauditrecieving;
package w.soulofpluto.stockauditean;
/*
Create by Ramesh Babu
......
package w.soulofpluto.posstockauditrecieving;
package w.soulofpluto.stockauditean;
import android.content.Context;
import android.text.Html;
......
package w.soulofpluto.posstockauditrecieving;
package w.soulofpluto.stockauditean;
import android.os.Build;
import android.os.Bundle;
......@@ -31,8 +31,8 @@ import java.util.ArrayList;
import java.util.Collections;
import java.util.Date;
import java.util.concurrent.TimeUnit;
import static w.soulofpluto.posstockauditrecieving.Constants.JSON;
import static w.soulofpluto.posstockauditrecieving.Constants.getDateWithOffset;
import static w.soulofpluto.stockauditean.Constants.JSON;
import static w.soulofpluto.stockauditean.Constants.getDateWithOffset;
/*
Create by Ramesh Babu P
......
package w.soulofpluto.posstockauditrecieving;
package w.soulofpluto.stockauditean;
import android.os.Build;
import android.os.Bundle;
......@@ -32,8 +32,8 @@ import java.text.SimpleDateFormat;
import java.util.ArrayList;
import java.util.Date;
import java.util.concurrent.TimeUnit;
import static w.soulofpluto.posstockauditrecieving.Constants.JSON;
import static w.soulofpluto.posstockauditrecieving.Constants.getDateWithOffset;
import static w.soulofpluto.stockauditean.Constants.JSON;
import static w.soulofpluto.stockauditean.Constants.getDateWithOffset;
/*
Create by Ramesh Babu
......
package w.soulofpluto.posstockauditrecieving;
package w.soulofpluto.stockauditean;
import android.content.Intent;
import android.os.Bundle;
import android.os.Handler;
import androidx.annotation.Nullable;
import androidx.appcompat.app.AppCompatActivity;
import com.google.firebase.FirebaseApp;
import com.google.firebase.crashlytics.FirebaseCrashlytics;
/*
Create by Ramesh Babu
......@@ -15,13 +13,17 @@ import com.google.firebase.crashlytics.FirebaseCrashlytics;
public class SplashActivity extends AppCompatActivity{
PreferenceManager preferenceManager;
//5351
//A123456
@Override
protected void onCreate(@Nullable Bundle savedInstanceState){
setContentView(R.layout.activity_splash);
preferenceManager = new PreferenceManager(this);
FirebaseApp.initializeApp(this);
FirebaseCrashlytics.getInstance().setCrashlyticsCollectionEnabled(true);
runOnUiThread(() -> splashMethod());
//FirebaseApp.initializeApp(this);
//FirebaseCrashlytics.getInstance().setCrashlyticsCollectionEnabled(true);
runOnUiThread(this::splashMethod);
super.onCreate(savedInstanceState);
}
......
package w.soulofpluto.posstockauditrecieving;
package w.soulofpluto.stockauditean;
/*
Create by Ramesh Babu
......
......@@ -3,9 +3,8 @@
<item>
<shape android:shape="rectangle">
<gradient android:angle="180"
android:endColor="#07c4a0"
android:startColor="#007cde" />
android:endColor="#73bf69"
android:startColor="#1c8b7e" />
</shape>
</item>
</selector>
\ No newline at end of file
<?xml version="1.0" encoding="utf-8"?>
<shape xmlns:android="http://schemas.android.com/apk/res/android" >
<gradient
android:angle="180"
android:endColor="#07c4a0"
android:startColor="#007cde"/>
android:endColor="#73bf69"
android:startColor="#1c8b7e"/>
<corners
android:bottomLeftRadius="7dp"
android:bottomRightRadius="7dp"
......
......@@ -5,22 +5,22 @@
android:viewportHeight="512">
<path
android:pathData="M237.5,2.1c-60.6,4.3 -118.1,30.7 -161.4,74 -99.4,99.4 -99.4,260.4 0,359.8 99.4,99.4 260.4,99.4 359.8,-0 99.4,-99.4 99.4,-260.4 0,-359.8 -44.1,-44.1 -100.7,-69.7 -163.9,-74.1 -16,-1.1 -17.3,-1.1 -34.5,0.1zM166.6,115.5c1.9,2.9 1.1,6 -2,8l-2.3,1.5 2.6,5.3 2.6,5.2 0.5,124.2c0.5,123.4 0.5,124.2 2.6,126.9 4,5.4 7,6.9 13.9,6.9 6.9,-0 9.9,-1.5 13.9,-6.9 1.7,-2.2 2.2,-4.7 2.6,-13.2 0.4,-8.9 0.8,-10.8 2.4,-12 1.6,-1.2 9.8,-1.4 47.5,-1.4 40.9,-0 45.6,0.2 47.3,1.7 2.2,2 2.3,6.1 0.1,8.5 -1.5,1.7 -4.2,1.8 -43.5,1.8l-41.8,-0 0,6.3c0,4.7 -0.6,7.6 -2.4,11l-2.3,4.7 86.2,-0.2 86.2,-0.3 3.7,-2.9c4.5,-3.4 6.6,-7.9 6.6,-14.1l0,-4.5 -26.5,-0c-25.2,-0 -26.6,-0.1 -28.5,-2 -4.2,-4.2 -1.2,-10 5.1,-10l3.9,-0 0,-111.9 0,-111.8 -2.2,-3.3c-1.3,-1.8 -3.6,-4.3 -5.1,-5.4 -2.8,-2.1 -3.7,-2.1 -67.5,-2.4 -64.6,-0.2 -64.6,-0.2 -66.9,-2.4 -2.7,-2.5 -2.9,-4.5 -0.7,-7.6l1.5,-2.2 65.7,-0 65.7,-0 5,2.4c6.2,2.9 11.7,8.6 14.7,15.1l2.3,5 0.3,112.2 0.2,112.3 20.7,-0c25.7,-0 24.3,-0.8 24.3,13.9 0,8.2 -0.5,11.5 -1.9,14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5,4.6 0.4,7.6 -1.4,2 -2.3,2.2 -12.1,2.2 -8.5,-0 -11,-0.3 -12.5,-1.7 -2.4,-2.1 -2.3,-5.8 0.2,-8.3 1.7,-1.7 3.3,-2 12,-2 8.9,-0 10.1,0.2 12,2.2zM321.2,361.7c3.7,3.3 1.1,10.3 -3.9,10.3 -2.8,-0 -6.3,-3.3 -6.3,-6 0,-2.6 3.4,-6 6.2,-6 1.2,-0 3,0.7 4,1.7z"
android:fillColor="#1c81ce"
android:strokeColor="#1c81ce"/>
android:fillColor="#73bf69"
android:strokeColor="#73bf69"/>
<path
android:pathData="M131.5,126.4c-6.1,2.7 -9.5,8.5 -9.5,16.2l0,4.4 16.8,-0 16.8,-0 -0.6,-6c-0.6,-6.6 -2.7,-10.2 -8,-13.8 -3.8,-2.5 -10.7,-2.9 -15.5,-0.8z"
android:fillColor="#1c81ce"
android:strokeColor="#1c81ce"/>
android:fillColor="#73bf69"
android:strokeColor="#73bf69"/>
<path
android:pathData="M282,178.5l0,8.5 12,-0 12,-0 -4.2,-8.5 -4.2,-8.5 -7.8,-0 -7.8,-0 0,8.5z"
android:fillColor="#1c81ce"
android:strokeColor="#1c81ce"/>
android:fillColor="#73bf69"
android:strokeColor="#73bf69"/>
<path
android:pathData="M226.5,225.5c-4.1,4 -3.3,10.5 1.7,13.1 5.9,3.1 12,-0.6 12,-7.3 0,-7.3 -8.6,-11 -13.7,-5.8z"
android:fillColor="#1c81ce"
android:strokeColor="#1c81ce"/>
android:fillColor="#73bf69"
android:strokeColor="#73bf69"/>
<path
android:pathData="M286.9,225.9c-3.5,3.6 -3.7,7 -0.5,10.7 6.1,7.2 17.4,-0.2 14,-9.1 -0.8,-1.9 -5.5,-4.5 -8.4,-4.5 -1.2,-0 -3.5,1.3 -5.1,2.9z"
android:fillColor="#1c81ce"
android:strokeColor="#1c81ce"/>
android:fillColor="#73bf69"
android:strokeColor="#73bf69"/>
</vector>
......@@ -5,18 +5,18 @@
android:viewportHeight="512">
<path
android:pathData="M237.5,2.1c-60.6,4.3 -118.1,30.7 -161.4,74 -99.4,99.4 -99.4,260.4 0,359.8 99.4,99.4 260.4,99.4 359.8,-0 99.4,-99.4 99.4,-260.4 0,-359.8 -44.1,-44.1 -100.7,-69.7 -163.9,-74.1 -16,-1.1 -17.3,-1.1 -34.5,0.1zM318.3,109.6c5.6,1.9 12.9,8.1 16.1,13.7 4.4,7.6 4.6,11.4 4.6,78.7l0,64 -6.5,-0 -6.5,-0 0,-63.3c-0.1,-34.7 -0.5,-65.2 -0.9,-67.6 -1,-4.8 -3.3,-8.4 -7.5,-11.5 -2.7,-2 -4,-2.1 -54.7,-2.4l-51.9,-0.3 0,26.1c0,23.6 -0.2,26.4 -1.9,29.8 -4.2,8.2 -8.8,10.2 -23.6,10.2l-11.5,-0 0,-6.5 0,-6.5 10.4,-0c8.2,-0 10.8,-0.3 12,-1.6 1.4,-1.3 1.6,-4.7 1.6,-21.8l0,-20.2 -26.5,26.6 -26.5,26.5 0,94.8c0,104.8 -0.4,99 6.6,104.3l3.7,2.9 77.1,0.3c42.4,0.2 78.5,-0 80.3,-0.3 1.8,-0.3 4.6,-1.7 6.3,-3.2 5.5,-4.6 6.3,-7.4 6.8,-23.6l0.5,-14.8 6.1,0.3 6.1,0.3 0.3,11.5c0.5,19.3 -2.2,27.8 -11.3,35.8 -8.5,7.5 -4.5,7.2 -92.5,7.2 -90.4,-0 -84.6,0.5 -94.1,-8.9 -9.6,-9.6 -8.9,-1.2 -8.9,-114l0,-98.5 34.7,-34.8 34.8,-34.8 56.1,-0c48.4,-0 56.7,0.2 60.7,1.6zM272,138.5l0,6.5 -6.5,-0 -6.5,-0 0,-6.5 0,-6.5 6.5,-0 6.5,-0 0,6.5zM302.7,133.5c8.4,3.5 11.3,9 11.3,21l0,8.5 -6.5,-0 -6.5,-0 0,-7.4c0,-5.4 -0.4,-7.9 -1.6,-9 -1.1,-1.2 -3.6,-1.6 -9,-1.6l-7.4,-0 0,-6.5 0,-6.5 8,-0c5,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,-0 0,6.5z"
android:fillColor="#1c81ce"
android:strokeColor="#1c81ce"/>
android:fillColor="#73bf69"
android:strokeColor="#73bf69"/>
<path
android:pathData="M400,232.5l-2.4,2.6 3.7,3.6 3.6,3.7 2.6,-2.4c2.7,-2.5 3.3,-6.8 1.3,-8.8 -2,-2 -6.3,-1.4 -8.8,1.3z"
android:fillColor="#1c81ce"
android:strokeColor="#1c81ce"/>
android:fillColor="#73bf69"
android:strokeColor="#73bf69"/>
<path
android:pathData="M354.9,277.6l-33.4,33.4 3.8,3.7 3.7,3.8 33.3,-33.5 33.4,-33.5 -3.7,-3.7 -3.7,-3.6 -33.4,33.4z"
android:fillColor="#1c81ce"
android:strokeColor="#1c81ce"/>
android:fillColor="#73bf69"
android:strokeColor="#73bf69"/>
<path
android:pathData="M312,326l-2.1,4.1 4.2,-2.1c3.9,-2.1 4,-2.2 2.3,-4.1 -0.9,-1 -1.9,-1.9 -2,-1.9 -0.2,-0 -1.3,1.8 -2.4,4z"
android:fillColor="#1c81ce"
android:strokeColor="#1c81ce"/>
android:fillColor="#73bf69"
android:strokeColor="#73bf69"/>
</vector>
......@@ -5,18 +5,18 @@
android:viewportHeight="512">
<path
android:pathData="M237.5,2.1c-60.6,4.3 -118.1,30.7 -161.4,74 -99.4,99.4 -99.4,260.4 0,359.8 99.4,99.4 260.4,99.4 359.8,-0 99.4,-99.4 99.4,-260.4 0,-359.8 -44.1,-44.1 -100.7,-69.7 -163.9,-74.1 -16,-1.1 -17.3,-1.1 -34.5,0.1zM318.7,146.2l36.3,36.3 0,27.5 0,27.5 4.8,2.5c7,3.7 17.1,14.3 21.4,22.6 4.9,9.3 6.8,16.9 6.8,27.2 0,10.4 -2.1,18.9 -6.9,27.8l-3.8,6.9 23,23.8 23,23.8 -3.8,3.9c-2.2,2.2 -4.4,4 -5,4 -0.5,-0 -11.3,-10.3 -23.8,-22.9l-22.8,-22.8 -6.4,4.1 -6.4,4.1 0,29.2 -0.1,29.3 -111.5,-0 -111.5,-0 0,-145.5 0,-145.5 75.2,-0 75.3,-0 36.2,36.2z"
android:fillColor="#1c81ce"
android:strokeColor="#1c81ce"/>
android:fillColor="#73bf69"
android:strokeColor="#73bf69"/>
<path
android:pathData="M146.8,256l-0.3,131 97.3,-0 97.2,-0 0,-19.8 0,-19.7 -8.7,0.3c-17.3,0.7 -31.6,-5 -43.9,-17.3 -8.3,-8.3 -13.6,-18 -15.9,-29 -1.8,-8.8 -1.8,-14.2 0,-23 4.3,-20.6 20,-37.8 40,-44.1 7,-2.2 9.7,-2.5 18.3,-2.2l10.2,0.3 0,-20.3 0,-20.2 -34,-0 -34,-0 0,-33.5 0,-33.5 -63,-0 -63,-0 -0.2,131zM287,222.5l0,7.5 -60.5,-0 -60.5,-0 0,-7.5 0,-7.5 60.5,-0 60.5,-0 0,7.5zM253,256.5l0,7.5 -43.5,-0 -43.5,-0 0,-7.5 0,-7.5 43.5,-0 43.5,-0 0,7.5zM252.5,291l0,7.5 -43.2,0.3 -43.3,0.2 0,-7.3c0,-4.1 0.3,-7.7 0.7,-8 0.3,-0.4 19.8,-0.6 43.2,-0.5l42.6,0.3 0,7.5zM253,325.5l0,7.5 -43.5,-0 -43.5,-0 0,-7.5 0,-7.5 43.5,-0 43.5,-0 0,7.5z"
android:fillColor="#1c81ce"
android:strokeColor="#1c81ce"/>
android:fillColor="#73bf69"
android:strokeColor="#73bf69"/>
<path
android:pathData="M285,155.4l0,25.6 25,-0c13.8,-0 25,-0.3 25,-0.6 0,-0.4 -11.2,-11.9 -25,-25.7l-25,-25 0,25.7z"
android:fillColor="#1c81ce"
android:strokeColor="#1c81ce"/>
android:fillColor="#73bf69"
android:strokeColor="#73bf69"/>
<path
android:pathData="M318.7,247.1c-10.9,2.6 -23.7,13 -28.7,23.4 -13,27.2 3.6,58.9 33.3,63.5 19.4,3 38.3,-7.4 47,-25.8 3,-6.3 3.2,-7.4 3.2,-17.7 0,-9.2 -0.4,-12 -2.4,-16.8 -4.7,-11.8 -15.8,-22 -27.9,-25.7 -6.8,-2.1 -17.7,-2.5 -24.5,-0.9zM357.4,272.1c1.8,1.4 2.6,3 2.6,5 0,3.4 -1.3,4.8 -19.2,21.8 -15.2,14.3 -15.2,14.3 -26.5,2.8 -4.5,-4.5 -8.7,-9.4 -9.2,-11 -1.9,-4.9 1.5,-9.7 6.9,-9.7 1.2,-0 4.7,2.4 8.1,5.7l6,5.7 4.2,-4c2.3,-2.2 7.6,-7.2 11.8,-11.2 8.4,-7.9 10.8,-8.7 15.3,-5.1z"
android:fillColor="#1c81ce"
android:strokeColor="#1c81ce"/>
android:fillColor="#73bf69"
android:strokeColor="#73bf69"/>
</vector>
......@@ -5,18 +5,18 @@
android:viewportHeight="512">
<path
android:pathData="M237.5,2.1c-60.6,4.3 -118.1,30.7 -161.4,74 -99.4,99.4 -99.4,260.4 0,359.8 99.4,99.4 260.4,99.4 359.8,-0 99.4,-99.4 99.4,-260.4 0,-359.8 -44.1,-44.1 -100.7,-69.7 -163.9,-74.1 -16,-1.1 -17.3,-1.1 -34.5,0.1zM404.2,114.7c11.8,11.8 15.8,16.4 15.8,18.2 0,1.8 -4,6.4 -15.2,17.8 -8.4,8.5 -16.3,15.6 -17.6,16 -2.8,0.7 -9.2,-4.9 -9.2,-8.1 0,-1.2 3.3,-5.4 8.2,-10.3l8.3,-8.3 -39,-0 -38.9,-0 5.9,3.7c52.9,32.5 76,95.3 56.5,153.2 -13.6,40.5 -49.2,73.5 -90.6,84 -15.6,4 -23.1,4.3 -97.8,4.2l-71.9,-0.1 8.1,8.4c4.9,4.9 8.2,9.2 8.2,10.4 0,3.2 -4.8,8.2 -7.8,8.2 -3.8,-0 -34.2,-30.3 -34.2,-34 0,-3.4 30.4,-34 33.8,-34 3,-0 8.2,5.1 8.2,8 0,1.4 -3,5.3 -8.2,10.6l-8.2,8.4 39.5,-0 39.4,-0.1 -5.4,-3.2c-42.4,-25.2 -67.2,-70.9 -64.7,-119.2 2.9,-56.7 42.3,-104.7 97.4,-119 15.3,-4 29.3,-4.6 102,-4.3 36.9,0.2 67.2,0.1 67.2,-0.2 0,-0.3 -3.6,-4.1 -8,-8.5 -4.4,-4.4 -8,-8.7 -8,-9.6 0,-1 1.2,-3.1 2.6,-4.8 4.7,-5.6 6.1,-4.8 23.6,12.6z"
android:fillColor="#1c81ce"
android:fillColor="#73bf69"
android:strokeColor="#00000000"/>
<path
android:pathData="M249.5,140.6c-27.9,2.4 -51.5,12.6 -71.3,30.9 -36.5,33.9 -46.5,89.5 -24.1,134.8 5.5,11.1 11.1,19 20.7,28.9 44.4,46.1 119,46.1 163.4,-0 20.1,-20.8 30.7,-44.8 32.4,-73.3 3.2,-52.4 -30.1,-100.7 -80.1,-116.2 -12.1,-3.7 -30.1,-6 -41,-5.1zM325.5,193.4c1.4,2 1.5,9.6 1.3,62.8 -0.3,49.5 -0.5,60.8 -1.7,62.1 -1.2,1.6 -7.3,1.7 -68.6,1.7 -61.3,-0 -67.4,-0.1 -68.6,-1.7 -1.2,-1.3 -1.4,-12.6 -1.7,-62.1 -0.2,-53.2 -0.1,-60.8 1.3,-62.8l1.5,-2.4 67.5,-0 67.5,-0 1.5,2.4z"
android:fillColor="#1c81ce"
android:fillColor="#73bf69"
android:strokeColor="#00000000"/>
<path
android:pathData="M198,255.5l0,53.5 58.5,-0 58.5,-0 0,-53.5 0,-53.5 -17.5,-0 -17.5,-0 0,23.3c0,19.4 -0.3,23.6 -1.6,25.5 -2.3,3.4 -5.8,2.7 -13.9,-2.8 -4.1,-2.8 -7.7,-5 -8,-5 -0.3,-0 -3.9,2.2 -8,5 -8.1,5.5 -11.6,6.2 -13.9,2.8 -1.3,-1.9 -1.6,-6.1 -1.6,-25.5l0,-23.3 -17.5,-0 -17.5,-0 0,53.5zM245,272c2.4,2.4 2.5,4.8 0.4,7.8 -1.5,2.1 -2.1,2.2 -18,2.2 -9.5,-0 -17.4,-0.4 -18.5,-1 -2.4,-1.3 -2.6,-6.6 -0.2,-9.2 1.4,-1.6 3.4,-1.8 18,-1.8 15,-0 16.5,0.2 18.3,2zM228.2,289.7c2.2,2 2.4,6.6 0.2,8.7 -1.1,1.2 -3.6,1.6 -9.9,1.6 -9.2,-0 -11.5,-1.1 -11.5,-5.7 0,-4.9 2.4,-6.3 11.3,-6.3 6.1,-0 8.5,0.4 9.9,1.7z"
android:fillColor="#1c81ce"
android:fillColor="#73bf69"
android:strokeColor="#00000000"/>
<path
android:pathData="M244.8,219.4l-0.3,17.5 3,-2c1.7,-1.1 4.4,-2.7 6.2,-3.6 3.3,-1.7 4,-1.5 12.4,4l2.4,1.6 -0.3,-17.4 -0.3,-17.5 -11.4,-0 -11.4,-0 -0.3,17.4z"
android:fillColor="#1c81ce"
android:fillColor="#73bf69"
android:strokeColor="#00000000"/>
</vector>
app/src/main/res/drawable/icon.png

8.61 KB | W: | H:

app/src/main/res/drawable/icon.png

3.79 KB | W: | H:

app/src/main/res/drawable/icon.png
app/src/main/res/drawable/icon.png
app/src/main/res/drawable/icon.png
app/src/main/res/drawable/icon.png
  • 2-up
  • Swipe
  • Onion skin
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout
xmlns:android="http://schemas.android.com/apk/res/android"
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="@drawable/background_all"
android:orientation="vertical"
android:orientation="horizontal"
android:weightSum="1">
<!--<androidx.appcompat.widget.Toolbar
......@@ -45,91 +44,90 @@
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_weight="0.60"
android:gravity="center"
>
android:gravity="center">
<androidx.cardview.widget.CardView
android:layout_width="match_parent"
android:layout_height="wrap_content"
app:cardCornerRadius="10dp"
android:layout_margin="20dp">
<LinearLayout
<androidx.cardview.widget.CardView
android:layout_width="match_parent"
android:layout_height="match_parent"
android:gravity="center"
android:orientation="vertical"
android:layout_margin="10dp">
android:layout_height="wrap_content"
android:layout_margin="20dp"
app:cardCornerRadius="10dp">
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="LOGIN"
<LinearLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_margin="10dp"
android:gravity="center"
style="@style/headerfont"
android:layout_marginTop="30dp"/>
android:orientation="vertical">
<com.google.android.material.textfield.TextInputLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:hint="@string/userId">
<EditText
android:id="@+id/userId"
android:layout_width="match_parent"
<TextView
style="@style/headerfont"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginLeft="15dp"
android:layout_marginRight="15dp"
android:drawableRight="@drawable/ic_user"
android:inputType="number"
style="@style/textfont"
android:textAllCaps="false" />
</com.google.android.material.textfield.TextInputLayout>
android:layout_marginTop="30dp"
android:gravity="center"
android:text="LOGIN" />
<com.google.android.material.textfield.TextInputLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:hint="@string/userIdPassword">
<EditText
android:id="@+id/password"
<com.google.android.material.textfield.TextInputLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginLeft="15dp"
android:layout_marginRight="15dp"
android:drawableRight="@drawable/ic_password"
style="@style/textfont"
android:inputType="textPassword" />
android:hint="@string/userId">
<EditText
android:id="@+id/userId"
style="@style/textfont"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginLeft="15dp"
android:layout_marginRight="15dp"
android:drawableRight="@drawable/ic_user"
android:inputType="number"
android:textAllCaps="false" />
</com.google.android.material.textfield.TextInputLayout>
<com.google.android.material.textfield.TextInputLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:hint="@string/userIdPassword">
</com.google.android.material.textfield.TextInputLayout>
<EditText
android:id="@+id/password"
style="@style/textfont"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginLeft="15dp"
android:layout_marginRight="15dp"
android:drawableRight="@drawable/ic_password"
android:inputType="textPassword" />
</com.google.android.material.textfield.TextInputLayout>
<Spinner
android:id="@+id/storeId"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginLeft="15dp"
android:layout_marginRight="15dp">
</Spinner>
<Button
android:id="@+id/submit"
style="@style/textfont"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginLeft="15dp"
android:layout_marginRight="15dp"
android:background="@drawable/button_background"
android:text="LOGIN"
android:textColor="@android:color/white"
app:cornerRadius="5dp"
android:layout_marginBottom="30dp"/>
<Spinner
android:id="@+id/storeId"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginLeft="15dp"
android:layout_marginRight="15dp"></Spinner>
<Button
android:id="@+id/submit"
style="@style/textfont"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginLeft="15dp"
android:layout_marginRight="15dp"
android:layout_marginBottom="30dp"
android:background="@drawable/button_background"
android:text="LOGIN"
android:textColor="@android:color/white"
app:cornerRadius="5dp" />
</LinearLayout>
</LinearLayout>
</androidx.cardview.widget.CardView>
</androidx.cardview.widget.CardView>
</LinearLayout>
......
......@@ -7,7 +7,7 @@
tools:context=".MainActivity"
android:background="@color/bg">
<androidx.appcompat.widget.Toolbar
<androidx.appcompat.widget.Toolbar
android:id="@+id/main_toolbar"
android:layout_width="match_parent"
android:layout_height="?attr/actionBarSize"
......@@ -23,8 +23,7 @@
app:titleTextColor="@android:color/white"
android:background="@drawable/background_all"
app:titleTextAppearance="@style/Toolbartitleheader">
</androidx.appcompat.widget.Toolbar>
</androidx.appcompat.widget.Toolbar>
<!--<EditText
android:layout_below="@+id/main_toolbar"
......
<?xml version="1.0" encoding="utf-8"?>
<resources>
<color name="colorPrimary">#2C0465</color>
<color name="colorPrimaryDark">#007cde</color>
<color name="colorPrimaryDark">#73bf69</color>
<color name="colorAccent">#07c4a0</color>
<color name="bg">#6A95A5A6</color>
......
<resources>
<string name="app_name">Pos Stock Audit </string>
<string name="app_name">Stock Audit EAN </string>
<string name="success" translatable="false">success</string>
<string name="msg" translatable="false">msg</string>
<string name="data" translatable="false">data</string>
......
package w.soulofpluto.posstockauditrecieving;
package w.soulofpluto.stockauditean;
import org.junit.Test;
......
include ':app'
rootProject.name = "POSSTOCK"
\ No newline at end of file
rootProject.name = "STOCKAUDITEAN"
\ No newline at end of file
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