Finish v1_0_13(16)
This commit is contained in:
commit
c3a866d3be
5
.idea/assetWizardSettings.xml
generated
5
.idea/assetWizardSettings.xml
generated
@ -3,6 +3,11 @@
|
|||||||
<component name="WizardSettings">
|
<component name="WizardSettings">
|
||||||
<option name="children">
|
<option name="children">
|
||||||
<map>
|
<map>
|
||||||
|
<entry key="imageWizard">
|
||||||
|
<value>
|
||||||
|
<PersistentState />
|
||||||
|
</value>
|
||||||
|
</entry>
|
||||||
<entry key="vectorWizard">
|
<entry key="vectorWizard">
|
||||||
<value>
|
<value>
|
||||||
<PersistentState>
|
<PersistentState>
|
||||||
|
|||||||
BIN
.idea/caches/build_file_checksums.ser
generated
BIN
.idea/caches/build_file_checksums.ser
generated
Binary file not shown.
@ -21,8 +21,8 @@ android {
|
|||||||
applicationId "it.integry.integrywmsnative"
|
applicationId "it.integry.integrywmsnative"
|
||||||
minSdkVersion 21
|
minSdkVersion 21
|
||||||
targetSdkVersion 28
|
targetSdkVersion 28
|
||||||
versionCode 15
|
versionCode 16
|
||||||
versionName "1.0.12"
|
versionName "1.0.13"
|
||||||
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
|
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@ -19,24 +19,20 @@
|
|||||||
<activity
|
<activity
|
||||||
android:name=".MainActivity"
|
android:name=".MainActivity"
|
||||||
android:label="@string/app_name"
|
android:label="@string/app_name"
|
||||||
|
android:screenOrientation="portrait"
|
||||||
android:theme="@style/Light"
|
android:theme="@style/Light"
|
||||||
android:windowSoftInputMode="adjustPan"
|
android:windowSoftInputMode="adjustPan">
|
||||||
android:screenOrientation="portrait">
|
|
||||||
<intent-filter>
|
|
||||||
<action android:name="android.intent.action.MAIN" />
|
|
||||||
|
|
||||||
<category android:name="android.intent.category.LAUNCHER" />
|
|
||||||
</intent-filter>
|
|
||||||
</activity>
|
</activity>
|
||||||
<activity
|
<activity
|
||||||
android:name=".gest.accettazione_ordine_inevaso.AccettazioneOrdineInevasoActivity"
|
android:name=".gest.accettazione_ordine_inevaso.AccettazioneOrdineInevasoActivity"
|
||||||
android:theme="@style/Light"
|
|
||||||
android:screenOrientation="portrait"
|
android:screenOrientation="portrait"
|
||||||
|
android:theme="@style/Light"
|
||||||
android:windowSoftInputMode="adjustNothing" />
|
android:windowSoftInputMode="adjustNothing" />
|
||||||
<activity
|
<activity
|
||||||
android:name=".gest.vendita_ordine_inevaso.VenditaOrdineInevasoActivity"
|
android:name=".gest.vendita_ordine_inevaso.VenditaOrdineInevasoActivity"
|
||||||
android:theme="@style/Light"
|
|
||||||
android:screenOrientation="portrait"
|
android:screenOrientation="portrait"
|
||||||
|
android:theme="@style/Light"
|
||||||
android:windowSoftInputMode="adjustNothing" />
|
android:windowSoftInputMode="adjustNothing" />
|
||||||
<activity
|
<activity
|
||||||
android:name=".gest.login.LoginActivity"
|
android:name=".gest.login.LoginActivity"
|
||||||
@ -52,12 +48,24 @@
|
|||||||
android:label="@string/activity_contenuto_bancale_title"
|
android:label="@string/activity_contenuto_bancale_title"
|
||||||
android:screenOrientation="portrait"
|
android:screenOrientation="portrait"
|
||||||
android:theme="@style/Light" />
|
android:theme="@style/Light" />
|
||||||
|
|
||||||
<meta-data
|
<meta-data
|
||||||
android:name="io.fabric.ApiKey"
|
android:name="io.fabric.ApiKey"
|
||||||
android:value="26f0d16c00d20fe74582627c831f26e30646a187" />
|
android:value="26f0d16c00d20fe74582627c831f26e30646a187" />
|
||||||
<meta-data
|
<meta-data
|
||||||
android:name="firebase_crashlytics_collection_enabled"
|
android:name="firebase_crashlytics_collection_enabled"
|
||||||
android:value="true" />
|
android:value="true" />
|
||||||
|
|
||||||
|
<activity
|
||||||
|
android:name=".SplashActivity"
|
||||||
|
android:label="@string/app_name"
|
||||||
|
android:theme="@style/SplashTheme">
|
||||||
|
<intent-filter>
|
||||||
|
<action android:name="android.intent.action.MAIN" />
|
||||||
|
|
||||||
|
<category android:name="android.intent.category.LAUNCHER" />
|
||||||
|
</intent-filter>
|
||||||
|
</activity>
|
||||||
</application>
|
</application>
|
||||||
|
|
||||||
</manifest>
|
</manifest>
|
||||||
@ -55,11 +55,6 @@ public class MainActivity extends AppCompatActivity
|
|||||||
|
|
||||||
//ExceptionsHandler.init(this);
|
//ExceptionsHandler.init(this);
|
||||||
|
|
||||||
PermissionsHelper.askPermissions(this);
|
|
||||||
|
|
||||||
if(SettingsManager.i().user.username == null && SettingsManager.i().user.password == null){
|
|
||||||
startLoginActivity();
|
|
||||||
} else {
|
|
||||||
mBinding = DataBindingUtil.inflate(LayoutInflater.from(this), R.layout.activity_main, null, false);
|
mBinding = DataBindingUtil.inflate(LayoutInflater.from(this), R.layout.activity_main, null, false);
|
||||||
setContentView(mBinding.getRoot());
|
setContentView(mBinding.getRoot());
|
||||||
|
|
||||||
@ -82,7 +77,6 @@ public class MainActivity extends AppCompatActivity
|
|||||||
|
|
||||||
init();
|
init();
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
private void startLoginActivity(){
|
private void startLoginActivity(){
|
||||||
|
|||||||
@ -0,0 +1,90 @@
|
|||||||
|
package it.integry.integrywmsnative;
|
||||||
|
|
||||||
|
import android.content.Intent;
|
||||||
|
import android.content.pm.PackageInfo;
|
||||||
|
import android.content.pm.PackageManager;
|
||||||
|
import android.os.Bundle;
|
||||||
|
import android.app.Activity;
|
||||||
|
import android.os.Handler;
|
||||||
|
import android.text.SpannableString;
|
||||||
|
import android.widget.TextView;
|
||||||
|
|
||||||
|
import androidx.appcompat.app.AppCompatActivity;
|
||||||
|
import butterknife.BindView;
|
||||||
|
import butterknife.ButterKnife;
|
||||||
|
import it.integry.integrywmsnative.core.settings.SettingsManager;
|
||||||
|
import it.integry.integrywmsnative.core.utility.PermissionsHelper;
|
||||||
|
import it.integry.integrywmsnative.gest.login.LoginActivity;
|
||||||
|
import it.integry.integrywmsnative.view.dialogs.DialogSimpleMessageHelper;
|
||||||
|
|
||||||
|
public class SplashActivity extends AppCompatActivity {
|
||||||
|
|
||||||
|
@BindView(R.id.app_version_textview)
|
||||||
|
TextView appVersionTextView;
|
||||||
|
|
||||||
|
@Override
|
||||||
|
protected void onCreate(Bundle savedInstanceState) {
|
||||||
|
super.onCreate(savedInstanceState);
|
||||||
|
setContentView(R.layout.activity_splash);
|
||||||
|
|
||||||
|
ButterKnife.bind(this);
|
||||||
|
|
||||||
|
initAppVersion();
|
||||||
|
|
||||||
|
|
||||||
|
PermissionsHelper.askPermissions(this, () -> {
|
||||||
|
init();
|
||||||
|
}, permanentlyDenied -> {
|
||||||
|
if(permanentlyDenied) {
|
||||||
|
DialogSimpleMessageHelper.makeErrorDialog(this,
|
||||||
|
new SpannableString(getText(R.string.permissions_permanrntly_denied)), null, () -> {
|
||||||
|
this.finish();
|
||||||
|
}).show();
|
||||||
|
}
|
||||||
|
});
|
||||||
|
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
private void initAppVersion() {
|
||||||
|
try {
|
||||||
|
PackageInfo pInfo = getPackageManager().getPackageInfo(getPackageName(), 0);
|
||||||
|
String version = pInfo.versionName;
|
||||||
|
appVersionTextView.setText("v" + version);
|
||||||
|
} catch (PackageManager.NameNotFoundException e) {
|
||||||
|
e.printStackTrace();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
private void init() {
|
||||||
|
if(SettingsManager.i().user.username == null && SettingsManager.i().user.password == null){
|
||||||
|
startLoginActivity();
|
||||||
|
} else {
|
||||||
|
startMainActivity();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
private void startLoginActivity(){
|
||||||
|
Intent myIntent = new Intent(this, LoginActivity.class);
|
||||||
|
startActivity(myIntent);
|
||||||
|
this.finish();
|
||||||
|
}
|
||||||
|
|
||||||
|
private void startMainActivity(){
|
||||||
|
new Handler().postDelayed(() -> {
|
||||||
|
Intent myIntent = new Intent(this, MainActivity.class);
|
||||||
|
startActivity(myIntent);
|
||||||
|
this.finish();
|
||||||
|
}, 3000);
|
||||||
|
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
}
|
||||||
@ -4,6 +4,7 @@ import com.annimon.stream.Stream;
|
|||||||
import com.google.gson.JsonObject;
|
import com.google.gson.JsonObject;
|
||||||
|
|
||||||
import java.text.SimpleDateFormat;
|
import java.text.SimpleDateFormat;
|
||||||
|
import java.util.Calendar;
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
|
||||||
import it.integry.integrywmsnative.core.CommonConst;
|
import it.integry.integrywmsnative.core.CommonConst;
|
||||||
@ -131,6 +132,18 @@ public class ColliMagazzinoRESTConsumer extends _BaseRESTConsumer{
|
|||||||
mtbColtToCreate.setSerCollo(customSerCollo);
|
mtbColtToCreate.setSerCollo(customSerCollo);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Calendar calendar = Calendar.getInstance();
|
||||||
|
int currentYear = calendar.get(Calendar.YEAR);
|
||||||
|
|
||||||
|
|
||||||
|
String fullYear = "20" + UtilityBarcode.getAnnoColloFromULAnonima(barcode);
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
if(!fullYear.equalsIgnoreCase("" + currentYear)){
|
||||||
|
onFailed.run(new Exception("Per continuare scansiona un'etichetta dell'anno corrente"));
|
||||||
|
}
|
||||||
|
|
||||||
mtbColtToCreate
|
mtbColtToCreate
|
||||||
.setOperation(CommonModelConsts.OPERATION.INSERT);
|
.setOperation(CommonModelConsts.OPERATION.INSERT);
|
||||||
|
|
||||||
|
|||||||
@ -103,7 +103,7 @@ public class Converters {
|
|||||||
|
|
||||||
|
|
||||||
final DecimalFormat decimalFormat = new DecimalFormat();
|
final DecimalFormat decimalFormat = new DecimalFormat();
|
||||||
decimalFormat.setMaximumFractionDigits(2);
|
decimalFormat.setMaximumFractionDigits(3);
|
||||||
decimalFormat.setDecimalFormatSymbols(otherSymbols);
|
decimalFormat.setDecimalFormatSymbols(otherSymbols);
|
||||||
|
|
||||||
Pair<BindableFloat, TextWatcherAdapter> pair = (Pair) view.getTag(R.id.bound_observable);
|
Pair<BindableFloat, TextWatcherAdapter> pair = (Pair) view.getTag(R.id.bound_observable);
|
||||||
|
|||||||
@ -123,7 +123,7 @@ public class MtbColr extends EntityBase implements Parcelable {
|
|||||||
numCnf = new BigDecimal(in.readFloat());
|
numCnf = new BigDecimal(in.readFloat());
|
||||||
}
|
}
|
||||||
|
|
||||||
in.readParcelable(MtbAart.class.getClassLoader());
|
mtbAart = in.readParcelable(MtbAart.class.getClassLoader());
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|||||||
@ -139,7 +139,7 @@ public class MtbColt extends EntityBase implements Parcelable {
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
in.readTypedList(mtbColr, MtbColr.CREATOR);
|
in.readList(mtbColr, MtbColr.class.getClassLoader());
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
@ -228,7 +228,7 @@ public class MtbColt extends EntityBase implements Parcelable {
|
|||||||
dest.writeFloat(altezzaCm.floatValue());
|
dest.writeFloat(altezzaCm.floatValue());
|
||||||
}
|
}
|
||||||
|
|
||||||
dest.writeTypedList(mtbColr);
|
dest.writeList(mtbColr);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|||||||
@ -9,10 +9,11 @@ import com.emreeran.permissionlivedata.Status;
|
|||||||
import java.util.ArrayList;
|
import java.util.ArrayList;
|
||||||
|
|
||||||
import androidx.appcompat.app.AppCompatActivity;
|
import androidx.appcompat.app.AppCompatActivity;
|
||||||
|
import it.integry.integrywmsnative.core.expansion.RunnableArgs;
|
||||||
|
|
||||||
public class PermissionsHelper {
|
public class PermissionsHelper {
|
||||||
|
|
||||||
public static void askPermissions(AppCompatActivity activity) {
|
public static void askPermissions(AppCompatActivity activity, Runnable onPermissionsConfirmed, RunnableArgs<Boolean> onPermissionsDenied) {
|
||||||
|
|
||||||
PermissionLiveData permissionLiveData = PermissionLiveData.create(
|
PermissionLiveData permissionLiveData = PermissionLiveData.create(
|
||||||
activity,
|
activity,
|
||||||
@ -23,14 +24,17 @@ public class PermissionsHelper {
|
|||||||
permissionLiveData.observe(activity, permission -> {
|
permissionLiveData.observe(activity, permission -> {
|
||||||
if (permission.getStatus() == Status.RECEIVED) {
|
if (permission.getStatus() == Status.RECEIVED) {
|
||||||
if (permission.getGranted()) {
|
if (permission.getGranted()) {
|
||||||
|
onPermissionsConfirmed.run();
|
||||||
//UtilityToast.showToast("Permission " + permission.getName() + " was granted.");
|
//UtilityToast.showToast("Permission " + permission.getName() + " was granted.");
|
||||||
} else if (permission.getShouldShowRequestPermissionRationale()) {
|
} else if (permission.getShouldShowRequestPermissionRationale()) {
|
||||||
UtilityToast.showToast("Permission " + permission.getName() + " was denied without ask never again checked.");
|
onPermissionsDenied.run(true);
|
||||||
|
//UtilityToast.showToast("Permission " + permission.getName() + " was denied without ask never again checked.");
|
||||||
} else {
|
} else {
|
||||||
UtilityToast.showToast("Permission " + permission.getName() + " was denied.");
|
onPermissionsDenied.run(false);
|
||||||
|
//UtilityToast.showToast("Permission " + permission.getName() + " was denied.");
|
||||||
}
|
}
|
||||||
} else if (permission.getStatus() == Status.PENDING) {
|
} else if (permission.getStatus() == Status.PENDING) {
|
||||||
UtilityToast.showToast(String.format("Pending request for %s", permission.getName()));
|
//UtilityToast.showToast(String.format("Pending request for %s", permission.getName()));
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|||||||
@ -49,6 +49,15 @@ public class UtilityBarcode {
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
public static Integer getAnnoColloFromULAnonima(String barcode) {
|
||||||
|
if(barcode != null){
|
||||||
|
return Integer.parseInt(barcode.substring(1, 3));
|
||||||
|
} else
|
||||||
|
return null;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
public static String convertITF14toEAN13(String barcodeITF14) {
|
public static String convertITF14toEAN13(String barcodeITF14) {
|
||||||
String barcodeEAN13 = null;
|
String barcodeEAN13 = null;
|
||||||
|
|
||||||
|
|||||||
@ -298,7 +298,9 @@ public class AccettazioneOrdineInevasoHelper {
|
|||||||
if(mtbColrs != null) {
|
if(mtbColrs != null) {
|
||||||
SimpleDateFormat sdf = new SimpleDateFormat("dd/MM/yyyy HH:mm:ss");
|
SimpleDateFormat sdf = new SimpleDateFormat("dd/MM/yyyy HH:mm:ss");
|
||||||
|
|
||||||
List<MtbColr> filteredMtbColrs = Stream.of(mtbColrs).filter(
|
List<MtbColr> filteredMtbColrs = Stream.of(mtbColrs)
|
||||||
|
.filter(x -> x.getNumOrd() != null)
|
||||||
|
.filter(
|
||||||
x -> x.getCodMart().equalsIgnoreCase(item.mtbAart.getCodMart()) &&
|
x -> x.getCodMart().equalsIgnoreCase(item.mtbAart.getCodMart()) &&
|
||||||
(x.getCodJcom() != null && x.getCodJcom().equalsIgnoreCase(item.codJcom)) &&
|
(x.getCodJcom() != null && x.getCodJcom().equalsIgnoreCase(item.codJcom)) &&
|
||||||
x.getRigaOrd() == item.rigaOrd &&
|
x.getRigaOrd() == item.rigaOrd &&
|
||||||
|
|||||||
@ -165,9 +165,9 @@ public class MainListOrdineAccettazioneAdapter extends RecyclerView.Adapter<Main
|
|||||||
} else if (rowItem.getQtaRiservata().floatValue() > 0) {
|
} else if (rowItem.getQtaRiservata().floatValue() > 0) {
|
||||||
groupModelView.setBackgroundColor(mContext.getResources().getColor(R.color.orange_600_with_alpha));
|
groupModelView.setBackgroundColor(mContext.getResources().getColor(R.color.orange_600_with_alpha));
|
||||||
} else if (visibleElementsCounter % 2 == 1) {
|
} else if (visibleElementsCounter % 2 == 1) {
|
||||||
groupModelView.setBackgroundColor(mContext.getResources().getColor(R.color.letturaFacilitataBG));
|
|
||||||
} else {
|
|
||||||
groupModelView.setBackgroundColor(Color.WHITE);
|
groupModelView.setBackgroundColor(Color.WHITE);
|
||||||
|
} else {
|
||||||
|
groupModelView.setBackgroundColor(mContext.getResources().getColor(R.color.letturaFacilitataBG));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@ -13,6 +13,7 @@ import java.math.BigDecimal;
|
|||||||
import java.util.ArrayList;
|
import java.util.ArrayList;
|
||||||
import java.util.Date;
|
import java.util.Date;
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
import java.util.Objects;
|
||||||
|
|
||||||
import it.integry.integrywmsnative.BR;
|
import it.integry.integrywmsnative.BR;
|
||||||
import it.integry.integrywmsnative.R;
|
import it.integry.integrywmsnative.R;
|
||||||
@ -170,11 +171,20 @@ public class AccettazioneOnOrdineAccettazioneInevasoViewModel implements IOnColl
|
|||||||
|
|
||||||
MtbColr currentMtbColr = recoveredMtbColt.getMtbColr().get(i);
|
MtbColr currentMtbColr = recoveredMtbColt.getMtbColr().get(i);
|
||||||
|
|
||||||
|
/*
|
||||||
List<OrdineAccettazioneDTO.Riga> foundRows = Stream.of(groupedOrdini)
|
List<OrdineAccettazioneDTO.Riga> foundRows = Stream.of(groupedOrdini)
|
||||||
.filter(x -> x.getNumOrd() == currentMtbColr.getNumOrd() &&
|
.filter(x -> x.getNumOrd() == currentMtbColr.getNumOrd() &&
|
||||||
x.getRigaOrd() == currentMtbColr.getRigaOrd()&&
|
x.getRigaOrd() == currentMtbColr.getRigaOrd()&&
|
||||||
x.getDataOrd().equals(currentMtbColr.getDataOrdD()))
|
x.getDataOrd().equals(currentMtbColr.getDataOrdD()))
|
||||||
.toList();
|
.toList();
|
||||||
|
*/
|
||||||
|
|
||||||
|
List<OrdineAccettazioneDTO.Riga> foundRows = Stream.of(groupedOrdini)
|
||||||
|
.filter(x -> Objects.equals(x.mtbAart.getCodMart(), currentMtbColr.getCodMart()) &&
|
||||||
|
Objects.equals(x.getPartitaMag(), currentMtbColr.getPartitaMag()) &&
|
||||||
|
Objects.equals(x.getCodJcom(), currentMtbColr.getCodJcom()))
|
||||||
|
.toList();
|
||||||
|
|
||||||
|
|
||||||
if(foundRows != null && foundRows.size() > 0){
|
if(foundRows != null && foundRows.size() > 0){
|
||||||
OrdineAccettazioneDTO.Riga currentRow = foundRows.get(0);
|
OrdineAccettazioneDTO.Riga currentRow = foundRows.get(0);
|
||||||
|
|||||||
@ -290,6 +290,7 @@ public class RettificaGiacenzeViewModel implements IRecyclerItemClicked<MtbColr>
|
|||||||
qtaDto.setQtaTot(mtbAart.getQtaCnf());
|
qtaDto.setQtaTot(mtbAart.getQtaCnf());
|
||||||
|
|
||||||
qtaDto.setQtaDaEvadere(new BigDecimal(-1));
|
qtaDto.setQtaDaEvadere(new BigDecimal(-1));
|
||||||
|
qtaDto.setQtaDisponibile(new BigDecimal(-1));
|
||||||
|
|
||||||
qtaDto.setCanPartitaMagBeChanged(true);
|
qtaDto.setCanPartitaMagBeChanged(true);
|
||||||
qtaDto.setCanDataScadBeChanged(true);
|
qtaDto.setCanDataScadBeChanged(true);
|
||||||
|
|||||||
@ -157,9 +157,9 @@ public class MainListOrdineVenditaInevasoAdapter extends RecyclerView.Adapter<Ma
|
|||||||
} else if (rowItem.getQtaRiservata().floatValue() > 0) {
|
} else if (rowItem.getQtaRiservata().floatValue() > 0) {
|
||||||
groupModelView.setBackgroundColor(mContext.getResources().getColor(R.color.orange_600_with_alpha));
|
groupModelView.setBackgroundColor(mContext.getResources().getColor(R.color.orange_600_with_alpha));
|
||||||
} else if (visibleElementsCounter % 2 == 1) {
|
} else if (visibleElementsCounter % 2 == 1) {
|
||||||
groupModelView.setBackgroundColor(mContext.getResources().getColor(R.color.letturaFacilitataBG));
|
|
||||||
} else {
|
|
||||||
groupModelView.setBackgroundColor(Color.WHITE);
|
groupModelView.setBackgroundColor(Color.WHITE);
|
||||||
|
} else {
|
||||||
|
groupModelView.setBackgroundColor(mContext.getResources().getColor(R.color.letturaFacilitataBG));
|
||||||
}
|
}
|
||||||
|
|
||||||
final TextView badge1 = groupModelView.findViewById(R.id.vendita_ordine_inevaso_main_list_group_item_badge1);
|
final TextView badge1 = groupModelView.findViewById(R.id.vendita_ordine_inevaso_main_list_group_item_badge1);
|
||||||
|
|||||||
@ -459,7 +459,7 @@ public class DialogInputQuantity {
|
|||||||
if (!quantityDTO.blockedQtaTot.get()) {
|
if (!quantityDTO.blockedQtaTot.get()) {
|
||||||
|
|
||||||
quantityDTO.qtaTotNotificationEnabled = false;
|
quantityDTO.qtaTotNotificationEnabled = false;
|
||||||
quantityDTO.qtaTot.set((float) Math.round(quantityDTO.qtaCnf.get(true) * quantityDTO.numCnf.get(true) * 100) / 100);
|
quantityDTO.qtaTot.set((float) Math.round(quantityDTO.qtaCnf.get(true) * quantityDTO.numCnf.get(true) * 1000) / 1000);
|
||||||
quantityDTO.qtaTotNotificationEnabled = true;
|
quantityDTO.qtaTotNotificationEnabled = true;
|
||||||
|
|
||||||
|
|
||||||
@ -467,9 +467,9 @@ public class DialogInputQuantity {
|
|||||||
|
|
||||||
quantityDTO.qtaCnfNotificationEnabled = false;
|
quantityDTO.qtaCnfNotificationEnabled = false;
|
||||||
if(quantityDTO.numCnf.get(true) != 0) {
|
if(quantityDTO.numCnf.get(true) != 0) {
|
||||||
quantityDTO.qtaCnf.set((float) Math.round(quantityDTO.qtaTot.get(true) / quantityDTO.numCnf.get(true) * 100) / 100);
|
quantityDTO.qtaCnf.set((float) Math.round(quantityDTO.qtaTot.get(true) / quantityDTO.numCnf.get(true) * 1000) / 1000);
|
||||||
} else {
|
} else {
|
||||||
quantityDTO.qtaCnf.set((float) Math.round(quantityDTO.qtaTot.get(true) / 1 * 100) / 100);
|
quantityDTO.qtaCnf.set((float) Math.round(quantityDTO.qtaTot.get(true) / 1 * 1000) / 1000);
|
||||||
}
|
}
|
||||||
quantityDTO.qtaCnfNotificationEnabled = true;
|
quantityDTO.qtaCnfNotificationEnabled = true;
|
||||||
|
|
||||||
@ -494,7 +494,7 @@ public class DialogInputQuantity {
|
|||||||
if (!quantityDTO.blockedQtaTot.get()) {
|
if (!quantityDTO.blockedQtaTot.get()) {
|
||||||
|
|
||||||
quantityDTO.qtaTotNotificationEnabled = false;
|
quantityDTO.qtaTotNotificationEnabled = false;
|
||||||
quantityDTO.qtaTot.set((float) Math.round(quantityDTO.qtaCnf.get(true) * quantityDTO.numCnf.get(true) * 100) / 100);
|
quantityDTO.qtaTot.set((float) Math.round(quantityDTO.qtaCnf.get(true) * quantityDTO.numCnf.get(true) * 1000) / 1000);
|
||||||
quantityDTO.qtaTotNotificationEnabled = true;
|
quantityDTO.qtaTotNotificationEnabled = true;
|
||||||
|
|
||||||
} else if (!quantityDTO.blockedNumDiCnf.get()) {
|
} else if (!quantityDTO.blockedNumDiCnf.get()) {
|
||||||
@ -529,7 +529,7 @@ public class DialogInputQuantity {
|
|||||||
if(!quantityDTO.blockedQtaPerCnf.get()){
|
if(!quantityDTO.blockedQtaPerCnf.get()){
|
||||||
|
|
||||||
quantityDTO.qtaCnfNotificationEnabled = false;
|
quantityDTO.qtaCnfNotificationEnabled = false;
|
||||||
quantityDTO.qtaCnf.set((float) Math.round(quantityDTO.qtaTot.get(true) / quantityDTO.numCnf.get(true) *100)/100);
|
quantityDTO.qtaCnf.set((float) Math.round(quantityDTO.qtaTot.get(true) / quantityDTO.numCnf.get(true) *1000)/1000);
|
||||||
quantityDTO.qtaCnfNotificationEnabled = true;
|
quantityDTO.qtaCnfNotificationEnabled = true;
|
||||||
|
|
||||||
} else if(!quantityDTO.blockedNumDiCnf.get()) {
|
} else if(!quantityDTO.blockedNumDiCnf.get()) {
|
||||||
|
|||||||
BIN
app/src/main/res/drawable/logo_integry_completo_1024w.png
Normal file
BIN
app/src/main/res/drawable/logo_integry_completo_1024w.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 13 KiB |
7
app/src/main/res/drawable/splash_background.xml
Normal file
7
app/src/main/res/drawable/splash_background.xml
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<layer-list xmlns:android="http://schemas.android.com/apk/res/android">
|
||||||
|
|
||||||
|
<item android:drawable="@color/colorPrimary"/>
|
||||||
|
|
||||||
|
|
||||||
|
</layer-list>
|
||||||
@ -49,13 +49,13 @@
|
|||||||
android:orientation="horizontal"
|
android:orientation="horizontal"
|
||||||
android:gravity="right">
|
android:gravity="right">
|
||||||
|
|
||||||
<TextView
|
<!--<TextView-->
|
||||||
android:layout_width="wrap_content"
|
<!--android:layout_width="wrap_content"-->
|
||||||
android:layout_height="wrap_content"
|
<!--android:layout_height="wrap_content"-->
|
||||||
android:textStyle="bold"
|
<!--android:textStyle="bold"-->
|
||||||
android:textColor="@color/green_700"
|
<!--android:textColor="@color/green_700"-->
|
||||||
style="@android:style/TextAppearance.Medium"
|
<!--style="@android:style/TextAppearance.Medium"-->
|
||||||
android:text="@string/dispatched"/>
|
<!--android:text="@string/dispatched"/>-->
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:id="@+id/accettazione_ordine_inevaso_main_list_group_item_qta_evasa"
|
android:id="@+id/accettazione_ordine_inevaso_main_list_group_item_qta_evasa"
|
||||||
|
|||||||
@ -14,6 +14,7 @@
|
|||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="match_parent"
|
android:layout_height="match_parent"
|
||||||
android:fitsSystemWindows="false"
|
android:fitsSystemWindows="false"
|
||||||
|
android:background="@color/full_white"
|
||||||
xmlns:fab="http://schemas.android.com/apk/res-auto"
|
xmlns:fab="http://schemas.android.com/apk/res-auto"
|
||||||
android:layout_gravity="top">
|
android:layout_gravity="top">
|
||||||
|
|
||||||
|
|||||||
73
app/src/main/res/layout/activity_splash.xml
Normal file
73
app/src/main/res/layout/activity_splash.xml
Normal file
@ -0,0 +1,73 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<androidx.constraintlayout.widget.ConstraintLayout 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"
|
||||||
|
android:background="@color/colorPrimary"
|
||||||
|
tools:context=".SplashActivity">
|
||||||
|
|
||||||
|
<ImageView
|
||||||
|
android:id="@+id/imageView"
|
||||||
|
android:layout_width="0dp"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:src="@drawable/logo_integry_completo_1024w"
|
||||||
|
android:adjustViewBounds="true"
|
||||||
|
app:layout_constraintTop_toTopOf="parent"
|
||||||
|
app:layout_constraintBottom_toBottomOf="parent"
|
||||||
|
app:layout_constraintLeft_toRightOf="@+id/guideline_left"
|
||||||
|
app:layout_constraintRight_toLeftOf="@+id/guideline_right" />
|
||||||
|
|
||||||
|
|
||||||
|
<androidx.constraintlayout.widget.Guideline
|
||||||
|
android:id="@+id/guideline_left"
|
||||||
|
android:layout_width="wrap_content"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:orientation="vertical"
|
||||||
|
app:layout_constraintGuide_percent="0.25" />
|
||||||
|
|
||||||
|
<androidx.constraintlayout.widget.Guideline
|
||||||
|
android:id="@+id/guideline_right"
|
||||||
|
android:layout_width="wrap_content"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:orientation="vertical"
|
||||||
|
app:layout_constraintGuide_percent="0.75" />
|
||||||
|
|
||||||
|
|
||||||
|
<androidx.constraintlayout.widget.Guideline
|
||||||
|
android:id="@+id/guideline_left_progress"
|
||||||
|
android:layout_width="wrap_content"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:orientation="vertical"
|
||||||
|
app:layout_constraintGuide_percent="0.3" />
|
||||||
|
|
||||||
|
<androidx.constraintlayout.widget.Guideline
|
||||||
|
android:id="@+id/guideline_right_progress"
|
||||||
|
android:layout_width="wrap_content"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:orientation="vertical"
|
||||||
|
app:layout_constraintGuide_percent="0.7" />
|
||||||
|
|
||||||
|
<ProgressBar
|
||||||
|
android:id="@+id/progressBar2"
|
||||||
|
style="?android:attr/progressBarStyleHorizontal"
|
||||||
|
android:layout_width="0dp"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:layout_marginTop="24dp"
|
||||||
|
android:indeterminate="true"
|
||||||
|
android:indeterminateTint="@android:color/white"
|
||||||
|
app:layout_constraintLeft_toRightOf="@+id/guideline_left_progress"
|
||||||
|
app:layout_constraintRight_toLeftOf="@+id/guideline_right_progress"
|
||||||
|
app:layout_constraintTop_toBottomOf="@id/imageView" />
|
||||||
|
|
||||||
|
<TextView
|
||||||
|
android:id="@+id/app_version_textview"
|
||||||
|
android:layout_width="wrap_content"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
tools:text="v 1.0.0"
|
||||||
|
app:layout_constraintBottom_toBottomOf="parent"
|
||||||
|
app:layout_constraintStart_toStartOf="parent"
|
||||||
|
app:layout_constraintEnd_toEndOf="parent"
|
||||||
|
android:textColor="@android:color/white"
|
||||||
|
android:layout_marginBottom="24dp"/>
|
||||||
|
</androidx.constraintlayout.widget.ConstraintLayout>
|
||||||
@ -12,22 +12,28 @@
|
|||||||
type="it.integry.integrywmsnative.core.model.MtbAart"/>
|
type="it.integry.integrywmsnative.core.model.MtbAart"/>
|
||||||
</data>
|
</data>
|
||||||
|
|
||||||
<androidx.constraintlayout.widget.ConstraintLayout
|
<LinearLayout
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
|
android:orientation="vertical"
|
||||||
android:paddingTop="8dp"
|
android:paddingTop="8dp"
|
||||||
android:paddingBottom="8dp">
|
android:paddingBottom="8dp">
|
||||||
|
|
||||||
|
|
||||||
<LinearLayout
|
<LinearLayout
|
||||||
android:id="@+id/linearLayout"
|
android:id="@+id/linearLayout"
|
||||||
android:layout_width="0dp"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:orientation="vertical"
|
android:orientation="vertical"
|
||||||
app:layout_constraintEnd_toEndOf="parent"
|
app:layout_constraintEnd_toEndOf="parent"
|
||||||
app:layout_constraintStart_toStartOf="parent">
|
app:layout_constraintStart_toStartOf="parent">
|
||||||
|
|
||||||
|
|
||||||
|
<RelativeLayout
|
||||||
|
android:layout_width="match_parent"
|
||||||
|
android:layout_height="wrap_content">
|
||||||
|
|
||||||
|
|
||||||
<androidx.appcompat.widget.AppCompatTextView
|
<androidx.appcompat.widget.AppCompatTextView
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
@ -37,12 +43,24 @@
|
|||||||
android:textStyle="bold"
|
android:textStyle="bold"
|
||||||
tools:text="COD MART" />
|
tools:text="COD MART" />
|
||||||
|
|
||||||
|
<androidx.appcompat.widget.AppCompatTextView
|
||||||
|
android:layout_width="wrap_content"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:text="@{mtbAart.diacod}"
|
||||||
|
android:textColor="@color/red_600"
|
||||||
|
android:textSize="14sp"
|
||||||
|
android:textStyle="bold"
|
||||||
|
android:visibility="@{UtilityString.isNullOrEmpty(mtbAart.diacod) ? View.INVISIBLE : View.VISIBLE}"
|
||||||
|
android:layout_alignParentEnd="true"
|
||||||
|
tools:text="DIACOD"/>
|
||||||
|
</RelativeLayout>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:ellipsize="end"
|
android:ellipsize="end"
|
||||||
android:maxLines="2"
|
|
||||||
android:text="@{mtbAart.descrizioneEstesa}"
|
android:text="@{mtbAart.descrizioneEstesa}"
|
||||||
android:textColor="@android:color/black"
|
android:textColor="@android:color/black"
|
||||||
android:textSize="16sp"
|
android:textSize="16sp"
|
||||||
@ -87,5 +105,5 @@
|
|||||||
|
|
||||||
</RelativeLayout>-->
|
</RelativeLayout>-->
|
||||||
|
|
||||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
</LinearLayout>
|
||||||
</layout>
|
</layout>
|
||||||
@ -96,7 +96,7 @@
|
|||||||
android:paddingTop="2dp"
|
android:paddingTop="2dp"
|
||||||
android:paddingRight="6dp"
|
android:paddingRight="6dp"
|
||||||
android:paddingBottom="2dp"
|
android:paddingBottom="2dp"
|
||||||
android:text="@{UtilityNumber.decimalToString(checkableMtbColr.mtbColr.getQtaCol()) + `\n` + checkableMtbColr.mtbColr.getUntMis()}"
|
android:text="@{UtilityNumber.decimalToString(checkableMtbColr.mtbColr.getQtaCol()) + (checkableMtbColr.mtbColr.mtbAart != null && !UtilityString.isNullOrEmpty(checkableMtbColr.mtbColr.mtbAart.untMis) ? `\n` + checkableMtbColr.mtbColr.mtbAart.untMis : ``)}"
|
||||||
android:textSize="16sp"
|
android:textSize="16sp"
|
||||||
android:textColor="@android:color/white"
|
android:textColor="@android:color/white"
|
||||||
android:textStyle="bold"
|
android:textStyle="bold"
|
||||||
|
|||||||
@ -22,6 +22,8 @@
|
|||||||
|
|
||||||
<import type="android.graphics.Color" />
|
<import type="android.graphics.Color" />
|
||||||
|
|
||||||
|
<import type="it.integry.integrywmsnative.core.utility.UtilityString" />
|
||||||
|
|
||||||
</data>
|
</data>
|
||||||
|
|
||||||
<androidx.cardview.widget.CardView xmlns:android="http://schemas.android.com/apk/res/android"
|
<androidx.cardview.widget.CardView xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
@ -39,15 +41,28 @@
|
|||||||
android:layout_height="wrap_content">
|
android:layout_height="wrap_content">
|
||||||
|
|
||||||
<androidx.appcompat.widget.AppCompatTextView
|
<androidx.appcompat.widget.AppCompatTextView
|
||||||
|
android:id="@+id/dialog_title_text"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:ellipsize="end"
|
android:ellipsize="end"
|
||||||
android:text='@{(viewmodel.codArtFor != null ? viewmodel.codArtFor : viewmodel.mtbAart.codMart) + (viewmodel.batchLot != null ? " (" + viewmodel.batchLot + ")" : "") }'
|
android:text='@{viewmodel.mtbAart.codMart + (!UtilityString.isNullOrEmpty(viewmodel.batchLot) ? " (" + viewmodel.batchLot + ")" : "") }'
|
||||||
android:textColor="#000"
|
android:textColor="@color/colorPrimary"
|
||||||
android:textSize="18sp"
|
android:textSize="18sp"
|
||||||
android:textStyle="bold"
|
android:textStyle="bold"
|
||||||
tools:text="AV25D200010B"/>
|
tools:text="AV25D200010B"/>
|
||||||
|
|
||||||
|
<androidx.appcompat.widget.AppCompatTextView
|
||||||
|
android:layout_below="@id/dialog_title_text"
|
||||||
|
android:layout_width="match_parent"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:ellipsize="end"
|
||||||
|
android:text='@{!UtilityString.isNullOrEmpty(viewmodel.mtbAart.diacod) ? viewmodel.mtbAart.diacod : ""}'
|
||||||
|
android:textColor="@color/red_600"
|
||||||
|
android:textSize="16sp"
|
||||||
|
android:textStyle="bold"
|
||||||
|
android:visibility="@{UtilityString.isNullOrEmpty(viewmodel.mtbAart.diacod) ? View.GONE : View.VISIBLE}"
|
||||||
|
tools:text="DIACOD HERE"/>
|
||||||
|
|
||||||
<androidx.appcompat.widget.AppCompatTextView
|
<androidx.appcompat.widget.AppCompatTextView
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
@ -74,12 +89,12 @@
|
|||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:orientation="vertical">
|
android:orientation="vertical">
|
||||||
|
|
||||||
<androidx.appcompat.widget.AppCompatTextView
|
<!--<androidx.appcompat.widget.AppCompatTextView-->
|
||||||
android:layout_width="wrap_content"
|
<!--android:layout_width="wrap_content"-->
|
||||||
android:layout_height="wrap_content"
|
<!--android:layout_height="wrap_content"-->
|
||||||
android:text="@string/description"
|
<!--android:text="@string/description"-->
|
||||||
android:textSize="16sp"
|
<!--android:textSize="16sp"-->
|
||||||
tools:text="Descrizione" />
|
<!--tools:text="Descrizione" />-->
|
||||||
|
|
||||||
<androidx.appcompat.widget.AppCompatTextView
|
<androidx.appcompat.widget.AppCompatTextView
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
|
|||||||
@ -80,7 +80,7 @@
|
|||||||
android:paddingTop="2dp"
|
android:paddingTop="2dp"
|
||||||
android:paddingRight="6dp"
|
android:paddingRight="6dp"
|
||||||
android:paddingBottom="2dp"
|
android:paddingBottom="2dp"
|
||||||
android:text="@{UtilityNumber.decimalToString(mtbColr.getQtaCol()) + `\n` + mtbColr.getUntMis()}"
|
android:text="@{UtilityNumber.decimalToString(mtbColr.getQtaCol()) + (mtbColr.mtbAart != null && !UtilityString.isNullOrEmpty(mtbColr.mtbAart.untMis) ? `\n` + mtbColr.mtbAart.untMis : ``)}"
|
||||||
android:textSize="16sp"
|
android:textSize="16sp"
|
||||||
android:textColor="@android:color/white"
|
android:textColor="@android:color/white"
|
||||||
android:textStyle="bold"
|
android:textStyle="bold"
|
||||||
|
|||||||
@ -80,7 +80,7 @@
|
|||||||
android:paddingTop="2dp"
|
android:paddingTop="2dp"
|
||||||
android:paddingRight="6dp"
|
android:paddingRight="6dp"
|
||||||
android:paddingBottom="2dp"
|
android:paddingBottom="2dp"
|
||||||
android:text="@{UtilityNumber.decimalToString(mtbColr.getQtaCol()) + `\n` + mtbColr.getUntMis()}"
|
android:text="@{UtilityNumber.decimalToString(mtbColr.getQtaCol()) + (mtbColr.mtbAart != null && !UtilityString.isNullOrEmpty(mtbColr.mtbAart.untMis) ? `\n` + mtbColr.mtbAart.untMis : ``)}"
|
||||||
android:textSize="16sp"
|
android:textSize="16sp"
|
||||||
android:textColor="@android:color/white"
|
android:textColor="@android:color/white"
|
||||||
android:textStyle="bold"
|
android:textStyle="bold"
|
||||||
|
|||||||
@ -49,13 +49,13 @@
|
|||||||
android:orientation="horizontal"
|
android:orientation="horizontal"
|
||||||
android:gravity="right">
|
android:gravity="right">
|
||||||
|
|
||||||
<TextView
|
<!--<TextView-->
|
||||||
android:layout_width="wrap_content"
|
<!--android:layout_width="wrap_content"-->
|
||||||
android:layout_height="wrap_content"
|
<!--android:layout_height="wrap_content"-->
|
||||||
android:textStyle="bold"
|
<!--android:textStyle="bold"-->
|
||||||
android:textColor="@color/green_700"
|
<!--android:textColor="@color/green_700"-->
|
||||||
style="@android:style/TextAppearance.Medium"
|
<!--style="@android:style/TextAppearance.Medium"-->
|
||||||
android:text="@string/dispatched"/>
|
<!--android:text="@string/dispatched"/>-->
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:id="@+id/vendita_ordine_inevaso_main_list_group_item_qta_evasa"
|
android:id="@+id/vendita_ordine_inevaso_main_list_group_item_qta_evasa"
|
||||||
|
|||||||
@ -163,5 +163,6 @@
|
|||||||
|
|
||||||
<string name="level">Livello</string>
|
<string name="level">Livello</string>
|
||||||
<string name="not_valid">Non valido</string>
|
<string name="not_valid">Non valido</string>
|
||||||
|
<string name="permissions_permanrntly_denied"><![CDATA[Sono stati negati tutti i permessi necessari al funzionamento dell\'applicazione. L\'applicazione verrà adesso chiusa.]]></string>
|
||||||
|
|
||||||
</resources>
|
</resources>
|
||||||
@ -171,5 +171,6 @@
|
|||||||
<string name="too_much_lu_found_message">Multiple LU found</string>
|
<string name="too_much_lu_found_message">Multiple LU found</string>
|
||||||
<string name="ask_print_message">Do you want print the label?</string>
|
<string name="ask_print_message">Do you want print the label?</string>
|
||||||
<string name="ask_position_of_lu_message">Please scan a <b>Position</b> barcode</string>
|
<string name="ask_position_of_lu_message">Please scan a <b>Position</b> barcode</string>
|
||||||
|
<string name="permissions_permanrntly_denied">Please note that all permissions are required. Application will close now.</string>
|
||||||
|
|
||||||
</resources>
|
</resources>
|
||||||
|
|||||||
@ -17,6 +17,10 @@
|
|||||||
<item name="windowNoTitle">true</item>
|
<item name="windowNoTitle">true</item>
|
||||||
</style>
|
</style>
|
||||||
|
|
||||||
|
<style name="SplashTheme" parent="AppTheme.NoActionBar">
|
||||||
|
<item name="android:windowBackground">@drawable/splash_background</item>
|
||||||
|
</style>
|
||||||
|
|
||||||
<style name="Light" parent="Theme.MaterialComponents.Light.NoActionBar.Bridge">
|
<style name="Light" parent="Theme.MaterialComponents.Light.NoActionBar.Bridge">
|
||||||
<item name="colorPrimary">@color/colorPrimary</item>
|
<item name="colorPrimary">@color/colorPrimary</item>
|
||||||
<item name="colorPrimaryDark">@color/colorPrimaryDark</item>
|
<item name="colorPrimaryDark">@color/colorPrimaryDark</item>
|
||||||
|
|||||||
@ -29,7 +29,7 @@ dependencies {
|
|||||||
implementation fileTree(include: ['*.jar'], dir: 'libs')
|
implementation fileTree(include: ['*.jar'], dir: 'libs')
|
||||||
// google
|
// google
|
||||||
implementation 'androidx.cardview:cardview:1.0.0'
|
implementation 'androidx.cardview:cardview:1.0.0'
|
||||||
implementation 'com.google.android.material:material:1.1.0-alpha01'
|
implementation 'com.google.android.material:material:1.1.0-alpha02'
|
||||||
implementation 'androidx.appcompat:appcompat:1.1.0-alpha01'
|
implementation 'androidx.appcompat:appcompat:1.1.0-alpha01'
|
||||||
testImplementation 'junit:junit:4.12'
|
testImplementation 'junit:junit:4.12'
|
||||||
androidTestImplementation 'androidx.test:runner:1.1.1'
|
androidTestImplementation 'androidx.test:runner:1.1.1'
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user