Finish v1_0_25(28)
8
.idea/assetWizardSettings.xml
generated
@ -28,8 +28,12 @@
|
|||||||
</option>
|
</option>
|
||||||
<option name="values">
|
<option name="values">
|
||||||
<map>
|
<map>
|
||||||
<entry key="outputName" value="ic_upload_black_24dp" />
|
<entry key="assetSourceType" value="FILE" />
|
||||||
<entry key="sourceFile" value="C:\Users\GiuseppeS" />
|
<entry key="height" value="48" />
|
||||||
|
<entry key="outputName" value="ic_outline_account_circle_48px" />
|
||||||
|
<entry key="overrideSize" value="true" />
|
||||||
|
<entry key="sourceFile" value="C:\Users\GiuseppeS\Desktop\outline-account_circle-24px.svg" />
|
||||||
|
<entry key="width" value="48" />
|
||||||
</map>
|
</map>
|
||||||
</option>
|
</option>
|
||||||
</PersistentState>
|
</PersistentState>
|
||||||
|
|||||||
BIN
.idea/caches/build_file_checksums.ser
generated
@ -17,8 +17,8 @@ apply plugin: 'com.google.gms.google-services'
|
|||||||
|
|
||||||
android {
|
android {
|
||||||
|
|
||||||
def appVersionCode = 27
|
def appVersionCode = 28
|
||||||
def appVersionName = '1.0.24'
|
def appVersionName = '1.0.25'
|
||||||
|
|
||||||
signingConfigs {
|
signingConfigs {
|
||||||
release {
|
release {
|
||||||
|
|||||||
@ -22,6 +22,14 @@
|
|||||||
"certificate_hash": "864b69dcc40196befa65638a868cec1c61245fa6"
|
"certificate_hash": "864b69dcc40196befa65638a868cec1c61245fa6"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"client_id": "963231271247-59qdc1vobbnjfp135ce4hv12c53s9hse.apps.googleusercontent.com",
|
||||||
|
"client_type": 1,
|
||||||
|
"android_info": {
|
||||||
|
"package_name": "it.integry.integrywmsnative",
|
||||||
|
"certificate_hash": "3b6d97a981f446f5011049d781aeb9960f9352af"
|
||||||
|
}
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"client_id": "963231271247-6jof105pci1g0g7m2e7kjbtrtk2443g4.apps.googleusercontent.com",
|
"client_id": "963231271247-6jof105pci1g0g7m2e7kjbtrtk2443g4.apps.googleusercontent.com",
|
||||||
"client_type": 3
|
"client_type": 3
|
||||||
|
|||||||
@ -19,7 +19,6 @@
|
|||||||
android:theme="@style/AppTheme">
|
android:theme="@style/AppTheme">
|
||||||
<activity
|
<activity
|
||||||
android:name=".MainActivity"
|
android:name=".MainActivity"
|
||||||
android:label="@string/app_name"
|
|
||||||
android:screenOrientation="portrait"
|
android:screenOrientation="portrait"
|
||||||
android:theme="@style/Light"
|
android:theme="@style/Light"
|
||||||
android:windowSoftInputMode="adjustPan"></activity>
|
android:windowSoftInputMode="adjustPan"></activity>
|
||||||
|
|||||||
@ -28,6 +28,7 @@ import it.integry.integrywmsnative.core.REST.watcher.ServerStatusChecker;
|
|||||||
import it.integry.integrywmsnative.core.interfaces.IFilterableFragment;
|
import it.integry.integrywmsnative.core.interfaces.IFilterableFragment;
|
||||||
import it.integry.integrywmsnative.core.interfaces.IPoppableActivity;
|
import it.integry.integrywmsnative.core.interfaces.IPoppableActivity;
|
||||||
import it.integry.integrywmsnative.core.interfaces.IRecyclerFragment;
|
import it.integry.integrywmsnative.core.interfaces.IRecyclerFragment;
|
||||||
|
import it.integry.integrywmsnative.core.interfaces.ISearcableFragment;
|
||||||
import it.integry.integrywmsnative.core.interfaces.ISelectAllFragment;
|
import it.integry.integrywmsnative.core.interfaces.ISelectAllFragment;
|
||||||
import it.integry.integrywmsnative.core.settings.SettingsManager;
|
import it.integry.integrywmsnative.core.settings.SettingsManager;
|
||||||
import it.integry.integrywmsnative.core.update.UpdatesManager;
|
import it.integry.integrywmsnative.core.update.UpdatesManager;
|
||||||
@ -62,12 +63,12 @@ public class MainActivity extends AppCompatActivity
|
|||||||
|
|
||||||
UpdatesManager.init(this);
|
UpdatesManager.init(this);
|
||||||
|
|
||||||
Toolbar toolbar = findViewById(R.id.toolbar);
|
setSupportActionBar(mBinding.appBarMain.toolbar);
|
||||||
setSupportActionBar(toolbar);
|
getSupportActionBar().setDisplayShowTitleEnabled(false);
|
||||||
|
|
||||||
|
|
||||||
ActionBarDrawerToggle toggle = new ActionBarDrawerToggle(
|
ActionBarDrawerToggle toggle = new ActionBarDrawerToggle(
|
||||||
this, mBinding.drawerLayout, toolbar, R.string.navigation_drawer_open, R.string.navigation_drawer_close);
|
this, mBinding.drawerLayout, mBinding.appBarMain.toolbar, R.string.navigation_drawer_open, R.string.navigation_drawer_close);
|
||||||
mBinding.drawerLayout.setDrawerListener(toggle);
|
mBinding.drawerLayout.setDrawerListener(toggle);
|
||||||
toggle.syncState();
|
toggle.syncState();
|
||||||
|
|
||||||
@ -178,19 +179,32 @@ public class MainActivity extends AppCompatActivity
|
|||||||
}
|
}
|
||||||
|
|
||||||
private void adaptViewToFragment(Fragment fragment){
|
private void adaptViewToFragment(Fragment fragment){
|
||||||
if(fragment instanceof SearchView.OnQueryTextListener) {
|
if(fragment instanceof ISearcableFragment) {
|
||||||
mBinding.appBarMain.mainSearch.setOnQueryTextListener((SearchView.OnQueryTextListener) fragment);
|
mBinding.appBarMain.mainSearch.setOnQueryTextListener((SearchView.OnQueryTextListener) fragment);
|
||||||
mBinding.appBarMain.mainSearch.setVisibility(View.VISIBLE);
|
mBinding.appBarMain.mainSearch.setVisibility(View.VISIBLE);
|
||||||
|
mBinding.appBarMain.mainSearch.setOnSearchClickListener(v -> {
|
||||||
|
((ISearcableFragment) fragment).onSearchEnabled();
|
||||||
|
});
|
||||||
|
|
||||||
|
mBinding.appBarMain.mainSearch.setOnCloseListener(() -> {
|
||||||
|
((ISearcableFragment) fragment).onSearchDisabled();
|
||||||
|
return false;
|
||||||
|
});
|
||||||
} else {
|
} else {
|
||||||
mBinding.appBarMain.mainSearch.setOnQueryTextListener(null);
|
mBinding.appBarMain.mainSearch.setOnQueryTextListener(null);
|
||||||
mBinding.appBarMain.mainSearch.setVisibility(View.GONE);
|
mBinding.appBarMain.mainSearch.setVisibility(View.GONE);
|
||||||
|
mBinding.appBarMain.mainSearch.setOnSearchClickListener(null);
|
||||||
|
mBinding.appBarMain.mainSearch.setOnCloseListener(null);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
if(fragment instanceof ITitledFragment) {
|
if(fragment instanceof ITitledFragment && !(fragment instanceof MainFragment)) {
|
||||||
((ITitledFragment) fragment).onCreateActionBar(getSupportActionBar(), this);
|
mBinding.appBarMain.toolbarTitleCenteredLayout.setVisibility(View.GONE);
|
||||||
|
mBinding.appBarMain.toolbarTitleLeft.setVisibility(View.VISIBLE);
|
||||||
|
((ITitledFragment) fragment).onCreateActionBar(mBinding.appBarMain.toolbarTitleLeft, this);
|
||||||
} else {
|
} else {
|
||||||
getSupportActionBar().setTitle(R.string.app_name);
|
mBinding.appBarMain.toolbarTitleCenteredLayout.setVisibility(View.VISIBLE);
|
||||||
|
mBinding.appBarMain.toolbarTitleLeft.setVisibility(View.GONE);
|
||||||
}
|
}
|
||||||
|
|
||||||
if(fragment instanceof IRecyclerFragment) {
|
if(fragment instanceof IRecyclerFragment) {
|
||||||
@ -235,8 +249,6 @@ public class MainActivity extends AppCompatActivity
|
|||||||
|
|
||||||
private void init(){
|
private void init(){
|
||||||
|
|
||||||
initSessionData();
|
|
||||||
|
|
||||||
ServerStatusChecker.getIstance().addCallback(value -> {
|
ServerStatusChecker.getIstance().addCallback(value -> {
|
||||||
if(value && (!mIsOnline || firstCheckExecution)){
|
if(value && (!mIsOnline || firstCheckExecution)){
|
||||||
|
|
||||||
@ -257,20 +269,4 @@ public class MainActivity extends AppCompatActivity
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
private void initSessionData() {
|
|
||||||
LinearLayout headerLayout = (LinearLayout) mBinding.navView.getHeaderView(0);
|
|
||||||
|
|
||||||
TextView textViewUsername = headerLayout.findViewById(R.id.drawer_username);
|
|
||||||
textViewUsername.setText(SettingsManager.i().user.fullname);
|
|
||||||
|
|
||||||
TextView textViewDeposito = headerLayout.findViewById(R.id.drawer_deposito);
|
|
||||||
textViewDeposito.setText(String.format("%s - %s", SettingsManager.i().userSession.depo.getCodMdep(), SettingsManager.i().userSession.depo.getDescrizione()));
|
|
||||||
|
|
||||||
if(SettingsManager.iDB().getDatiAzienda() != null && SettingsManager.iDB().getDatiAzienda().isLogoAvailable()) {
|
|
||||||
ImageView imageViewLogoAzienda = headerLayout.findViewById(R.id.drawer_logoAzienda);
|
|
||||||
imageViewLogoAzienda.setImageBitmap(SettingsManager.iDB().getDatiAzienda().getLogo());
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
@ -5,9 +5,6 @@ public class CommonConst {
|
|||||||
public static class Login {
|
public static class Login {
|
||||||
|
|
||||||
public static class Azienda {
|
public static class Azienda {
|
||||||
// public static String host = "192.168.2.13";
|
|
||||||
// public static int port = 8080;
|
|
||||||
|
|
||||||
public static String host = "www2.studioml.it";
|
public static String host = "www2.studioml.it";
|
||||||
public static int port = 80;
|
public static int port = 80;
|
||||||
}
|
}
|
||||||
@ -20,6 +17,9 @@ public class CommonConst {
|
|||||||
public static String DEFAULT_ANONYMOUS_UL_SERIE = "UL";
|
public static String DEFAULT_ANONYMOUS_UL_SERIE = "UL";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public static class Files {
|
||||||
|
public static String RECOVER_COLLO_FILE = "recover_ul.json";
|
||||||
|
}
|
||||||
|
|
||||||
public static class Mail {
|
public static class Mail {
|
||||||
|
|
||||||
|
|||||||
@ -10,6 +10,8 @@ import io.fabric.sdk.android.Fabric;
|
|||||||
import it.integry.integrywmsnative.BuildConfig;
|
import it.integry.integrywmsnative.BuildConfig;
|
||||||
import it.integry.integrywmsnative.core.REST.watcher.ServerStatusChecker;
|
import it.integry.integrywmsnative.core.REST.watcher.ServerStatusChecker;
|
||||||
import it.integry.integrywmsnative.core.barcode_reader.BarcodeManager;
|
import it.integry.integrywmsnative.core.barcode_reader.BarcodeManager;
|
||||||
|
import it.integry.integrywmsnative.core.data_recover.ColliDataRecover;
|
||||||
|
import it.integry.integrywmsnative.core.model.MtbColt;
|
||||||
import it.integry.integrywmsnative.core.settings.SettingsManager;
|
import it.integry.integrywmsnative.core.settings.SettingsManager;
|
||||||
import it.integry.integrywmsnative.core.settings.Stash;
|
import it.integry.integrywmsnative.core.settings.Stash;
|
||||||
import it.integry.integrywmsnative.core.utility.UtilityResources;
|
import it.integry.integrywmsnative.core.utility.UtilityResources;
|
||||||
@ -30,7 +32,7 @@ public class AppContext {
|
|||||||
public void init() {
|
public void init() {
|
||||||
this.initSettings();
|
this.initSettings();
|
||||||
|
|
||||||
//this.initCrashlytics();
|
this.initCrashlytics();
|
||||||
|
|
||||||
this.initServerStatusChecker();
|
this.initServerStatusChecker();
|
||||||
|
|
||||||
@ -39,6 +41,8 @@ public class AppContext {
|
|||||||
this.initUtilities();
|
this.initUtilities();
|
||||||
|
|
||||||
this.initLogger();
|
this.initLogger();
|
||||||
|
|
||||||
|
this.initRecoverColli();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@ -78,5 +82,14 @@ public class AppContext {
|
|||||||
Logger.addLogAdapter(new AndroidLogAdapter());
|
Logger.addLogAdapter(new AndroidLogAdapter());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
private void initRecoverColli() {
|
||||||
|
ColliDataRecover.init(mContext);
|
||||||
|
|
||||||
|
if(ColliDataRecover.thereIsAnExistantSession()){
|
||||||
|
MtbColt recoveredMtbColt = ColliDataRecover.getFirstSession();
|
||||||
|
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
@ -0,0 +1,125 @@
|
|||||||
|
package it.integry.integrywmsnative.core.data_recover;
|
||||||
|
|
||||||
|
import android.content.Context;
|
||||||
|
|
||||||
|
import com.google.gson.Gson;
|
||||||
|
|
||||||
|
import java.io.FileOutputStream;
|
||||||
|
import java.util.ArrayList;
|
||||||
|
import java.util.List;
|
||||||
|
|
||||||
|
import it.integry.integrywmsnative.core.CommonConst;
|
||||||
|
import it.integry.integrywmsnative.core.model.MtbColt;
|
||||||
|
import it.integry.integrywmsnative.core.utility.UtilityExceptions;
|
||||||
|
|
||||||
|
public class ColliDataRecover {
|
||||||
|
|
||||||
|
private static class RecoverDTO {
|
||||||
|
private int numCollo;
|
||||||
|
private String serCollo;
|
||||||
|
private String dataCollo;
|
||||||
|
private String gestioneCollo;
|
||||||
|
|
||||||
|
public int getNumCollo() {
|
||||||
|
return numCollo;
|
||||||
|
}
|
||||||
|
|
||||||
|
public RecoverDTO setNumCollo(int numCollo) {
|
||||||
|
this.numCollo = numCollo;
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getSerCollo() {
|
||||||
|
return serCollo;
|
||||||
|
}
|
||||||
|
|
||||||
|
public RecoverDTO setSerCollo(String serCollo) {
|
||||||
|
this.serCollo = serCollo;
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getDataCollo() {
|
||||||
|
return dataCollo;
|
||||||
|
}
|
||||||
|
|
||||||
|
public RecoverDTO setDataCollo(String dataCollo) {
|
||||||
|
this.dataCollo = dataCollo;
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getGestioneCollo() {
|
||||||
|
return gestioneCollo;
|
||||||
|
}
|
||||||
|
|
||||||
|
public RecoverDTO setGestioneCollo(String gestioneCollo) {
|
||||||
|
this.gestioneCollo = gestioneCollo;
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
private static Context mContext;
|
||||||
|
|
||||||
|
private static List<RecoverDTO> mtbColtsSessions = new ArrayList<>();
|
||||||
|
|
||||||
|
public static void init(Context context) {
|
||||||
|
mContext = context;
|
||||||
|
}
|
||||||
|
|
||||||
|
public static boolean thereIsAnExistantSession() {
|
||||||
|
return mtbColtsSessions.size() > 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
public static MtbColt getFirstSession() {
|
||||||
|
|
||||||
|
if(thereIsAnExistantSession()){
|
||||||
|
RecoverDTO dto = mtbColtsSessions.get(0);
|
||||||
|
mtbColtsSessions.remove(dto);
|
||||||
|
|
||||||
|
return new MtbColt()
|
||||||
|
.setNumCollo(dto.getNumCollo())
|
||||||
|
.setSerCollo(dto.getSerCollo())
|
||||||
|
.setGestione(dto.getGestioneCollo())
|
||||||
|
.setDataCollo(dto.getDataCollo());
|
||||||
|
|
||||||
|
|
||||||
|
} else return null;
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
public static int startNewSession(MtbColt mtbColtSession) {
|
||||||
|
|
||||||
|
RecoverDTO recoverDTO = new RecoverDTO()
|
||||||
|
.setDataCollo(mtbColtSession.getDataColloS())
|
||||||
|
.setNumCollo(mtbColtSession.getNumCollo())
|
||||||
|
.setSerCollo(mtbColtSession.getSerCollo())
|
||||||
|
.setGestioneCollo(mtbColtSession.getGestione());
|
||||||
|
|
||||||
|
mtbColtsSessions.add(recoverDTO);
|
||||||
|
updateLocalFile();
|
||||||
|
return mtbColtsSessions.indexOf(recoverDTO);
|
||||||
|
}
|
||||||
|
|
||||||
|
public static void closeSession(int ID) {
|
||||||
|
mtbColtsSessions.remove(ID);
|
||||||
|
updateLocalFile();
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
private static void updateLocalFile() {
|
||||||
|
FileOutputStream outputStream;
|
||||||
|
|
||||||
|
Gson gson = new Gson();
|
||||||
|
String jsonText = gson.toJson(mtbColtsSessions);
|
||||||
|
|
||||||
|
try {
|
||||||
|
outputStream = mContext.openFileOutput(CommonConst.Files.RECOVER_COLLO_FILE, Context.MODE_PRIVATE);
|
||||||
|
outputStream.write(jsonText.getBytes());
|
||||||
|
outputStream.close();
|
||||||
|
} catch (Exception e) {
|
||||||
|
e.printStackTrace();
|
||||||
|
UtilityExceptions.defaultException(mContext, e);
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
@ -0,0 +1,11 @@
|
|||||||
|
package it.integry.integrywmsnative.core.interfaces;
|
||||||
|
|
||||||
|
import androidx.appcompat.widget.SearchView;
|
||||||
|
|
||||||
|
public interface ISearcableFragment extends SearchView.OnQueryTextListener {
|
||||||
|
|
||||||
|
void onSearchEnabled();
|
||||||
|
|
||||||
|
void onSearchDisabled();
|
||||||
|
|
||||||
|
}
|
||||||
@ -3,6 +3,7 @@ package it.integry.integrywmsnative.core.interfaces;
|
|||||||
import android.content.Context;
|
import android.content.Context;
|
||||||
|
|
||||||
import androidx.appcompat.app.ActionBar;
|
import androidx.appcompat.app.ActionBar;
|
||||||
|
import androidx.appcompat.widget.AppCompatTextView;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Created by GiuseppeS on 07/03/2018.
|
* Created by GiuseppeS on 07/03/2018.
|
||||||
@ -10,6 +11,6 @@ import androidx.appcompat.app.ActionBar;
|
|||||||
|
|
||||||
public interface ITitledFragment {
|
public interface ITitledFragment {
|
||||||
|
|
||||||
void onCreateActionBar(ActionBar actionBar, Context context);
|
void onCreateActionBar(AppCompatTextView titleText, Context context);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
@ -6,6 +6,7 @@ import android.content.Context;
|
|||||||
import android.content.Intent;
|
import android.content.Intent;
|
||||||
|
|
||||||
import androidx.appcompat.app.ActionBar;
|
import androidx.appcompat.app.ActionBar;
|
||||||
|
import androidx.appcompat.widget.AppCompatTextView;
|
||||||
import androidx.databinding.DataBindingUtil;
|
import androidx.databinding.DataBindingUtil;
|
||||||
import android.os.Bundle;
|
import android.os.Bundle;
|
||||||
import androidx.fragment.app.Fragment;
|
import androidx.fragment.app.Fragment;
|
||||||
@ -31,6 +32,7 @@ import it.integry.integrywmsnative.core.CommonConst;
|
|||||||
import it.integry.integrywmsnative.core.REST.CommonRESTException;
|
import it.integry.integrywmsnative.core.REST.CommonRESTException;
|
||||||
import it.integry.integrywmsnative.core.coollection.Coollection;
|
import it.integry.integrywmsnative.core.coollection.Coollection;
|
||||||
import it.integry.integrywmsnative.core.expansion.RunnableArgs;
|
import it.integry.integrywmsnative.core.expansion.RunnableArgs;
|
||||||
|
import it.integry.integrywmsnative.core.interfaces.ISearcableFragment;
|
||||||
import it.integry.integrywmsnative.core.utility.UtilityString;
|
import it.integry.integrywmsnative.core.utility.UtilityString;
|
||||||
import it.integry.integrywmsnative.databinding.FragmentMainAccettazioneBinding;
|
import it.integry.integrywmsnative.databinding.FragmentMainAccettazioneBinding;
|
||||||
import it.integry.integrywmsnative.gest.accettazione.core.AccettazioneHelper;
|
import it.integry.integrywmsnative.gest.accettazione.core.AccettazioneHelper;
|
||||||
@ -46,7 +48,7 @@ import it.integry.integrywmsnative.gest.accettazione_ordine_inevaso.Accettazione
|
|||||||
import it.integry.integrywmsnative.view.dialogs.DialogSimpleMessageHelper;
|
import it.integry.integrywmsnative.view.dialogs.DialogSimpleMessageHelper;
|
||||||
import it.integry.plugins.waterfalltoolbar.WaterfallToolbar;
|
import it.integry.plugins.waterfalltoolbar.WaterfallToolbar;
|
||||||
|
|
||||||
public class MainAccettazioneFragment extends Fragment implements SearchView.OnQueryTextListener, ITitledFragment, IRecyclerFragment {
|
public class MainAccettazioneFragment extends Fragment implements ISearcableFragment, ITitledFragment, IRecyclerFragment {
|
||||||
|
|
||||||
private static WaterfallToolbar mWaterfallToolbar;
|
private static WaterfallToolbar mWaterfallToolbar;
|
||||||
|
|
||||||
@ -57,6 +59,8 @@ public class MainAccettazioneFragment extends Fragment implements SearchView.OnQ
|
|||||||
private List<OrdineAccettazioneGroupedInevasoDTO> groupedOrdiniInevasi;
|
private List<OrdineAccettazioneGroupedInevasoDTO> groupedOrdiniInevasi;
|
||||||
private MainListAccettazioneAdapter mAdapter;
|
private MainListAccettazioneAdapter mAdapter;
|
||||||
|
|
||||||
|
private AppCompatTextView mAppBarTitle;
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@ -75,8 +79,9 @@ public class MainAccettazioneFragment extends Fragment implements SearchView.OnQ
|
|||||||
|
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void onCreateActionBar(ActionBar actionBar, Context context) {
|
public void onCreateActionBar(AppCompatTextView titleText, Context context) {
|
||||||
actionBar.setTitle(context.getText(R.string.accettazione_title_fragment).toString());
|
mAppBarTitle = titleText;
|
||||||
|
mAppBarTitle.setText(context.getText(R.string.accettazione_title_fragment).toString());
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
@ -321,6 +326,15 @@ public class MainAccettazioneFragment extends Fragment implements SearchView.OnQ
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public void onSearchEnabled() {
|
||||||
|
mAppBarTitle.setVisibility(View.GONE);
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public void onSearchDisabled() {
|
||||||
|
mAppBarTitle.setVisibility(View.VISIBLE);
|
||||||
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public boolean onQueryTextSubmit(String query) {
|
public boolean onQueryTextSubmit(String query) {
|
||||||
|
|||||||
@ -5,10 +5,13 @@ import android.content.Context;
|
|||||||
import android.os.Bundle;
|
import android.os.Bundle;
|
||||||
|
|
||||||
import androidx.appcompat.app.ActionBar;
|
import androidx.appcompat.app.ActionBar;
|
||||||
|
import androidx.appcompat.widget.AppCompatTextView;
|
||||||
import androidx.fragment.app.Fragment;
|
import androidx.fragment.app.Fragment;
|
||||||
import android.view.LayoutInflater;
|
import android.view.LayoutInflater;
|
||||||
import android.view.View;
|
import android.view.View;
|
||||||
import android.view.ViewGroup;
|
import android.view.ViewGroup;
|
||||||
|
import android.widget.ImageView;
|
||||||
|
import android.widget.LinearLayout;
|
||||||
import android.widget.TextView;
|
import android.widget.TextView;
|
||||||
|
|
||||||
import net.cachapa.expandablelayout.ExpandableLayout;
|
import net.cachapa.expandablelayout.ExpandableLayout;
|
||||||
@ -16,6 +19,7 @@ import net.cachapa.expandablelayout.ExpandableLayout;
|
|||||||
import butterknife.BindView;
|
import butterknife.BindView;
|
||||||
import butterknife.ButterKnife;
|
import butterknife.ButterKnife;
|
||||||
import butterknife.OnClick;
|
import butterknife.OnClick;
|
||||||
|
import de.hdodenhof.circleimageview.CircleImageView;
|
||||||
import it.integry.integrywmsnative.MainActivity;
|
import it.integry.integrywmsnative.MainActivity;
|
||||||
import it.integry.integrywmsnative.R;
|
import it.integry.integrywmsnative.R;
|
||||||
import it.integry.integrywmsnative.core.REST.watcher.ServerStatusChecker;
|
import it.integry.integrywmsnative.core.REST.watcher.ServerStatusChecker;
|
||||||
@ -33,12 +37,12 @@ public class MainFragment extends Fragment implements ITitledFragment {
|
|||||||
|
|
||||||
@BindView(R.id.no_connection_top_layout) ExpandableLayout mNoConnectionLayout;
|
@BindView(R.id.no_connection_top_layout) ExpandableLayout mNoConnectionLayout;
|
||||||
@BindView(R.id.current_user_name) TextView currentUsername;
|
@BindView(R.id.current_user_name) TextView currentUsername;
|
||||||
//@BindView(R.id.drawer_username) TextView drawerUsername;
|
@BindView(R.id.current_deposito) TextView currentDeposito;
|
||||||
|
// @BindView(R.id.drawer_logoAzienda) CircleImageView currentLogoAzienda;
|
||||||
|
|
||||||
private View mView;
|
private View mView;
|
||||||
|
|
||||||
public MainFragment() {
|
public MainFragment() {
|
||||||
// Required empty public constructor
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public static MainFragment newInstance() {
|
public static MainFragment newInstance() {
|
||||||
@ -79,13 +83,20 @@ public class MainFragment extends Fragment implements ITitledFragment {
|
|||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
WiFiCheckerViewHolder wiFiCheckerViewHolder = new WiFiCheckerViewHolder(getActivity(), mView, R.id.wifi_power);
|
// WiFiCheckerViewHolder wiFiCheckerViewHolder = new WiFiCheckerViewHolder(getActivity(), mView, R.id.wifi_power);
|
||||||
wiFiCheckerViewHolder.startMonitoring();
|
// wiFiCheckerViewHolder.startMonitoring();
|
||||||
|
|
||||||
|
initSessionData();
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
private void initSessionData() {
|
||||||
currentUsername.setText(SettingsManager.i().user.fullname);
|
currentUsername.setText(SettingsManager.i().user.fullname);
|
||||||
//drawerUsername.setText(SettingsManager.i().user.fullname);
|
currentDeposito.setText(String.format("%s - %s", SettingsManager.i().userSession.depo.getCodMdep(), SettingsManager.i().userSession.depo.getDescrizione()));
|
||||||
|
|
||||||
|
if(SettingsManager.iDB().getDatiAzienda() != null && SettingsManager.iDB().getDatiAzienda().isLogoAvailable()) {
|
||||||
|
// currentLogoAzienda.setImageBitmap(SettingsManager.iDB().getDatiAzienda().getLogo());
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
private void collapseNoConnectionLayout(){
|
private void collapseNoConnectionLayout(){
|
||||||
@ -99,8 +110,8 @@ public class MainFragment extends Fragment implements ITitledFragment {
|
|||||||
|
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void onCreateActionBar(ActionBar actionBar, Context context) {
|
public void onCreateActionBar(AppCompatTextView titleText, Context context) {
|
||||||
actionBar.setTitle(context.getText(R.string.app_name).toString());
|
titleText.setText(context.getText(R.string.app_name).toString());
|
||||||
}
|
}
|
||||||
|
|
||||||
@OnClick(R.id.fast_button_accettazione)
|
@OnClick(R.id.fast_button_accettazione)
|
||||||
|
|||||||
@ -3,6 +3,8 @@ package it.integry.integrywmsnative.gest.picking_libero;
|
|||||||
|
|
||||||
import android.content.Context;
|
import android.content.Context;
|
||||||
import android.os.Bundle;
|
import android.os.Bundle;
|
||||||
|
|
||||||
|
import androidx.appcompat.widget.AppCompatTextView;
|
||||||
import androidx.fragment.app.Fragment;
|
import androidx.fragment.app.Fragment;
|
||||||
import android.view.LayoutInflater;
|
import android.view.LayoutInflater;
|
||||||
import android.view.View;
|
import android.view.View;
|
||||||
@ -28,8 +30,7 @@ public class PickingLiberoFragment extends Fragment implements ITitledFragment {
|
|||||||
|
|
||||||
private PickingLiberoHelper mHelper;
|
private PickingLiberoHelper mHelper;
|
||||||
private PickingLiberoViewModel mViewModel;
|
private PickingLiberoViewModel mViewModel;
|
||||||
|
private AppCompatTextView mAppCompatActionBar;
|
||||||
private ActionBar mAppCompatActionBar;
|
|
||||||
|
|
||||||
private int barcodeScannerIstanceID = -1;
|
private int barcodeScannerIstanceID = -1;
|
||||||
|
|
||||||
@ -45,9 +46,9 @@ public class PickingLiberoFragment extends Fragment implements ITitledFragment {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void onCreateActionBar(ActionBar actionBar, Context context) {
|
public void onCreateActionBar(AppCompatTextView titleText, Context context) {
|
||||||
mAppCompatActionBar = actionBar;
|
mAppCompatActionBar = titleText;
|
||||||
mAppCompatActionBar.setTitle(context.getText(R.string.free_picking_title_fragment).toString());
|
titleText.setText(context.getText(R.string.free_picking_title_fragment).toString());
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|||||||
@ -17,6 +17,7 @@ import java.util.List;
|
|||||||
|
|
||||||
import androidx.annotation.NonNull;
|
import androidx.annotation.NonNull;
|
||||||
import androidx.appcompat.app.ActionBar;
|
import androidx.appcompat.app.ActionBar;
|
||||||
|
import androidx.appcompat.widget.AppCompatTextView;
|
||||||
import androidx.core.content.ContextCompat;
|
import androidx.core.content.ContextCompat;
|
||||||
import androidx.databinding.Observable;
|
import androidx.databinding.Observable;
|
||||||
import androidx.databinding.ObservableArrayList;
|
import androidx.databinding.ObservableArrayList;
|
||||||
@ -65,15 +66,15 @@ public class PickingLiberoViewModel implements IRecyclerItemClicked<MtbColr> {
|
|||||||
private FragmentPickingLiberoBinding mBinding;
|
private FragmentPickingLiberoBinding mBinding;
|
||||||
private PickingLiberoHelper mHelper;
|
private PickingLiberoHelper mHelper;
|
||||||
|
|
||||||
private ActionBar mAppCompatActionBar;
|
private AppCompatTextView mAppBarTitle;
|
||||||
|
|
||||||
private PickingLiberoListAdapter mAdapter;
|
private PickingLiberoListAdapter mAdapter;
|
||||||
|
|
||||||
public void init(Activity context, FragmentPickingLiberoBinding binding, PickingLiberoHelper helper, ActionBar appCompatActionBar) {
|
public void init(Activity context, FragmentPickingLiberoBinding binding, PickingLiberoHelper helper, AppCompatTextView titleText) {
|
||||||
mContext = context;
|
mContext = context;
|
||||||
mBinding = binding;
|
mBinding = binding;
|
||||||
mHelper = helper;
|
mHelper = helper;
|
||||||
mAppCompatActionBar = appCompatActionBar;
|
mAppBarTitle = titleText;
|
||||||
|
|
||||||
initObservable();
|
initObservable();
|
||||||
|
|
||||||
@ -98,14 +99,14 @@ public class PickingLiberoViewModel implements IRecyclerItemClicked<MtbColr> {
|
|||||||
if(mtbColt.get() != null) {
|
if(mtbColt.get() != null) {
|
||||||
initAdapter();
|
initAdapter();
|
||||||
|
|
||||||
mAppCompatActionBar.setTitle(String.format(mContext.getText(R.string.lu_number_text).toString(), mtbColt.get().getNumCollo()));
|
mAppBarTitle.setText(String.format(mContext.getText(R.string.lu_number_text).toString(), mtbColt.get().getNumCollo()));
|
||||||
|
|
||||||
initObservableMtbColr();
|
initObservableMtbColr();
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
destroyAdapter();
|
destroyAdapter();
|
||||||
|
|
||||||
mAppCompatActionBar.setTitle(mContext.getText(R.string.free_picking).toString());
|
mAppBarTitle.setText(mContext.getText(R.string.free_picking).toString());
|
||||||
}
|
}
|
||||||
|
|
||||||
thereIsAnOpenedUL.set(mtbColt.get() != null);
|
thereIsAnOpenedUL.set(mtbColt.get() != null);
|
||||||
|
|||||||
@ -4,6 +4,7 @@ import android.content.Context;
|
|||||||
import android.content.res.ColorStateList;
|
import android.content.res.ColorStateList;
|
||||||
|
|
||||||
import androidx.appcompat.app.ActionBar;
|
import androidx.appcompat.app.ActionBar;
|
||||||
|
import androidx.appcompat.widget.AppCompatTextView;
|
||||||
import androidx.databinding.DataBindingUtil;
|
import androidx.databinding.DataBindingUtil;
|
||||||
import android.os.Bundle;
|
import android.os.Bundle;
|
||||||
import androidx.fragment.app.Fragment;
|
import androidx.fragment.app.Fragment;
|
||||||
@ -102,8 +103,8 @@ public class RettificaGiacenzeFragment extends Fragment implements ITitledFragme
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void onCreateActionBar(ActionBar actionBar, Context context) {
|
public void onCreateActionBar(AppCompatTextView titleText, Context context) {
|
||||||
actionBar.setTitle(context.getText(R.string.rettifica_giacenze_fragment_title).toString());
|
titleText.setText(context.getText(R.string.rettifica_giacenze_fragment_title).toString());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@ -113,7 +113,9 @@ public class RettificaGiacenzeViewModel implements IRecyclerItemClicked<MtbColr>
|
|||||||
isMtbColtLoaded.set(false);
|
isMtbColtLoaded.set(false);
|
||||||
mBinding.rettificaGiacenzeMainList.setAdapter(null);
|
mBinding.rettificaGiacenzeMainList.setAdapter(null);
|
||||||
|
|
||||||
if(openNew) openLU();
|
((IPoppableActivity) mContext).pop();
|
||||||
|
|
||||||
|
//if(openNew) openLU();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@ -3,6 +3,7 @@ package it.integry.integrywmsnative.gest.settings;
|
|||||||
import android.content.Context;
|
import android.content.Context;
|
||||||
|
|
||||||
import androidx.appcompat.app.ActionBar;
|
import androidx.appcompat.app.ActionBar;
|
||||||
|
import androidx.appcompat.widget.AppCompatTextView;
|
||||||
import androidx.databinding.DataBindingUtil;
|
import androidx.databinding.DataBindingUtil;
|
||||||
import android.os.Bundle;
|
import android.os.Bundle;
|
||||||
import androidx.fragment.app.Fragment;
|
import androidx.fragment.app.Fragment;
|
||||||
@ -31,15 +32,13 @@ public class MainSettingsFragment extends Fragment implements ITitledFragment {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void onCreateActionBar(ActionBar actionBar, Context context) {
|
public void onCreateActionBar(AppCompatTextView titleText, Context context) {
|
||||||
actionBar.setTitle(context.getText(R.string.settings_category).toString());
|
titleText.setText(context.getText(R.string.settings_category).toString());
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void onCreate(Bundle savedInstanceState) {
|
public void onCreate(Bundle savedInstanceState) {
|
||||||
super.onCreate(savedInstanceState);
|
super.onCreate(savedInstanceState);
|
||||||
|
|
||||||
//init();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|||||||
@ -4,6 +4,7 @@ import android.content.Context;
|
|||||||
import android.os.Bundle;
|
import android.os.Bundle;
|
||||||
|
|
||||||
import androidx.appcompat.app.ActionBar;
|
import androidx.appcompat.app.ActionBar;
|
||||||
|
import androidx.appcompat.widget.AppCompatTextView;
|
||||||
import androidx.preference.CheckBoxPreference;
|
import androidx.preference.CheckBoxPreference;
|
||||||
import androidx.preference.EditTextPreference;
|
import androidx.preference.EditTextPreference;
|
||||||
import androidx.preference.ListPreference;
|
import androidx.preference.ListPreference;
|
||||||
@ -46,8 +47,8 @@ public class SettingsPreferenceFragment extends PreferenceFragmentCompat impleme
|
|||||||
|
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void onCreateActionBar(ActionBar actionBar, Context context) {
|
public void onCreateActionBar(AppCompatTextView titleText, Context context) {
|
||||||
actionBar.setTitle(context.getText(R.string.settings_category).toString());
|
titleText.setText(context.getText(R.string.settings_category).toString());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@ -5,6 +5,7 @@ import android.content.Context;
|
|||||||
import android.content.Intent;
|
import android.content.Intent;
|
||||||
|
|
||||||
import androidx.appcompat.app.ActionBar;
|
import androidx.appcompat.app.ActionBar;
|
||||||
|
import androidx.appcompat.widget.AppCompatTextView;
|
||||||
import androidx.databinding.DataBindingUtil;
|
import androidx.databinding.DataBindingUtil;
|
||||||
import android.os.Bundle;
|
import android.os.Bundle;
|
||||||
import androidx.fragment.app.Fragment;
|
import androidx.fragment.app.Fragment;
|
||||||
@ -82,8 +83,8 @@ public class MainVenditaFragment extends Fragment implements ITitledFragment, IR
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void onCreateActionBar(ActionBar actionBar, Context context) {
|
public void onCreateActionBar(AppCompatTextView titleText, Context context) {
|
||||||
actionBar.setTitle(context.getText(R.string.vendita_title_fragment).toString());
|
titleText.setText(context.getText(R.string.vendita_title_fragment).toString());
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|||||||
@ -23,6 +23,7 @@ import it.integry.integrywmsnative.core.REST.consumers.ISimpleOperationCallback;
|
|||||||
import it.integry.integrywmsnative.core.REST.consumers.PrinterRESTConsumer;
|
import it.integry.integrywmsnative.core.REST.consumers.PrinterRESTConsumer;
|
||||||
import it.integry.integrywmsnative.core.REST.model.DistribuzioneColloDTO;
|
import it.integry.integrywmsnative.core.REST.model.DistribuzioneColloDTO;
|
||||||
import it.integry.integrywmsnative.core.barcode_reader.BarcodeManager;
|
import it.integry.integrywmsnative.core.barcode_reader.BarcodeManager;
|
||||||
|
import it.integry.integrywmsnative.core.data_recover.ColliDataRecover;
|
||||||
import it.integry.integrywmsnative.core.expansion.RunnableArgs;
|
import it.integry.integrywmsnative.core.expansion.RunnableArgs;
|
||||||
import it.integry.integrywmsnative.core.model.CommonModelConsts;
|
import it.integry.integrywmsnative.core.model.CommonModelConsts;
|
||||||
import it.integry.integrywmsnative.core.model.FiltroOrdineDTO;
|
import it.integry.integrywmsnative.core.model.FiltroOrdineDTO;
|
||||||
@ -74,6 +75,8 @@ public class VenditaOrdineInevasoViewModel implements IOnColloClosedCallback, IO
|
|||||||
private Integer defaultNumOrdOfUL = null;
|
private Integer defaultNumOrdOfUL = null;
|
||||||
private Date defaultDataOrdOfUL = null;
|
private Date defaultDataOrdOfUL = null;
|
||||||
|
|
||||||
|
private Integer mtbColtSessionID = null;
|
||||||
|
|
||||||
public VenditaOrdineInevasoViewModel(VenditaOrdineInevasoActivity activity, ArticoliInColloBottomSheetViewModel articoliInColloBottomSheetViewModel, List<PickingObjectDTO> pickingList, List<OrdineVenditaGroupedInevasoDTO> orders, List<MtbColt> colliRegistrati) {
|
public VenditaOrdineInevasoViewModel(VenditaOrdineInevasoActivity activity, ArticoliInColloBottomSheetViewModel articoliInColloBottomSheetViewModel, List<PickingObjectDTO> pickingList, List<OrdineVenditaGroupedInevasoDTO> orders, List<MtbColt> colliRegistrati) {
|
||||||
this.mActivity = activity;
|
this.mActivity = activity;
|
||||||
this.mArticoliInColloBottomSheetViewModel = articoliInColloBottomSheetViewModel;
|
this.mArticoliInColloBottomSheetViewModel = articoliInColloBottomSheetViewModel;
|
||||||
@ -654,6 +657,8 @@ public class VenditaOrdineInevasoViewModel implements IOnColloClosedCallback, IO
|
|||||||
@Override
|
@Override
|
||||||
public void onSuccess(MtbColt value) {
|
public void onSuccess(MtbColt value) {
|
||||||
|
|
||||||
|
mtbColtSessionID = ColliDataRecover.startNewSession(value);
|
||||||
|
|
||||||
value
|
value
|
||||||
.setDisablePrint(disablePrint)
|
.setDisablePrint(disablePrint)
|
||||||
.setMtbColr(new ObservableArrayList<>());
|
.setMtbColr(new ObservableArrayList<>());
|
||||||
@ -704,7 +709,9 @@ public class VenditaOrdineInevasoViewModel implements IOnColloClosedCallback, IO
|
|||||||
if(thereIsAnyRowInUL()) {
|
if(thereIsAnyRowInUL()) {
|
||||||
updateDataFine(progress, () -> distribuisciCollo(progress, (generatedMtbColts) -> printCollo(progress)));
|
updateDataFine(progress, () -> distribuisciCollo(progress, (generatedMtbColts) -> printCollo(progress)));
|
||||||
} else {
|
} else {
|
||||||
|
ColliDataRecover.closeSession(mtbColtSessionID);
|
||||||
deleteCollo(progress);
|
deleteCollo(progress);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
@ -735,7 +742,11 @@ public class VenditaOrdineInevasoViewModel implements IOnColloClosedCallback, IO
|
|||||||
|
|
||||||
MtbColt cloneMtbColt = (MtbColt) mArticoliInColloBottomSheetViewModel.mtbColt.get().clone();
|
MtbColt cloneMtbColt = (MtbColt) mArticoliInColloBottomSheetViewModel.mtbColt.get().clone();
|
||||||
|
|
||||||
ColliMagazzinoRESTConsumer.distribuisciCollo(cloneMtbColt, DistribuzioneColloDTO.CriterioDistribuzione.UPDATE, onComplete,
|
ColliMagazzinoRESTConsumer.distribuisciCollo(cloneMtbColt, DistribuzioneColloDTO.CriterioDistribuzione.UPDATE,
|
||||||
|
mtbColts -> {
|
||||||
|
ColliDataRecover.closeSession(mtbColtSessionID);
|
||||||
|
onComplete.run(mtbColts);
|
||||||
|
},
|
||||||
ex -> UtilityExceptions.defaultException(mActivity, ex, progress));
|
ex -> UtilityExceptions.defaultException(mActivity, ex, progress));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@ -3,6 +3,7 @@ package it.integry.integrywmsnative.gest.versamento_merce;
|
|||||||
import android.content.Context;
|
import android.content.Context;
|
||||||
|
|
||||||
import androidx.appcompat.app.ActionBar;
|
import androidx.appcompat.app.ActionBar;
|
||||||
|
import androidx.appcompat.widget.AppCompatTextView;
|
||||||
import androidx.databinding.DataBindingUtil;
|
import androidx.databinding.DataBindingUtil;
|
||||||
import android.os.Bundle;
|
import android.os.Bundle;
|
||||||
import androidx.fragment.app.Fragment;
|
import androidx.fragment.app.Fragment;
|
||||||
@ -75,9 +76,6 @@ public class VersamentoMerceFragment extends Fragment implements ITitledFragment
|
|||||||
((IPoppableActivity) getActivity()).pop();
|
((IPoppableActivity) getActivity()).pop();
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
mVersamentoMerceViewModel.openLU();
|
mVersamentoMerceViewModel.openLU();
|
||||||
|
|
||||||
}
|
}
|
||||||
@ -89,7 +87,7 @@ public class VersamentoMerceFragment extends Fragment implements ITitledFragment
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void onCreateActionBar(ActionBar actionBar, Context context) {
|
public void onCreateActionBar(AppCompatTextView titleText, Context context) {
|
||||||
actionBar.setTitle(context.getText(R.string.versamento_merce_fragment_title).toString());
|
titleText.setText(context.getText(R.string.versamento_merce_fragment_title).toString());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
13
app/src/main/res/drawable/circular_background_alpha_7.xml
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<shape xmlns:android="http://schemas.android.com/apk/res/android" >
|
||||||
|
|
||||||
|
<solid
|
||||||
|
android:color="@color/white_bg_alpha" />
|
||||||
|
|
||||||
|
<padding
|
||||||
|
android:left="1dp"
|
||||||
|
android:right="1dp"
|
||||||
|
android:top="1dp" />
|
||||||
|
|
||||||
|
<corners android:radius="500dp" />
|
||||||
|
</shape>
|
||||||
12
app/src/main/res/drawable/dashboard_header_bg.xml
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<shape xmlns:android="http://schemas.android.com/apk/res/android" >
|
||||||
|
|
||||||
|
<solid android:color="@color/colorPrimaryDark" />
|
||||||
|
|
||||||
|
<padding
|
||||||
|
android:left="1dp"
|
||||||
|
android:right="1dp"
|
||||||
|
android:top="1dp" />
|
||||||
|
|
||||||
|
<corners android:radius="@dimen/standard_rounc" />
|
||||||
|
</shape>
|
||||||
BIN
app/src/main/res/drawable/ic_accettazione_96.png
Normal file
|
After Width: | Height: | Size: 1.4 KiB |
@ -0,0 +1,9 @@
|
|||||||
|
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
|
android:width="24dp"
|
||||||
|
android:height="24dp"
|
||||||
|
android:viewportWidth="24"
|
||||||
|
android:viewportHeight="24">
|
||||||
|
<path
|
||||||
|
android:fillColor="#FF000000"
|
||||||
|
android:pathData="M12,2C6.48,2 2,6.48 2,12s4.48,10 10,10 10,-4.48 10,-10S17.52,2 12,2zM7.07,18.28c0.43,-0.9 3.05,-1.78 4.93,-1.78s4.51,0.88 4.93,1.78C15.57,19.36 13.86,20 12,20s-3.57,-0.64 -4.93,-1.72zM18.36,16.83c-1.43,-1.74 -4.9,-2.33 -6.36,-2.33s-4.93,0.59 -6.36,2.33C4.62,15.49 4,13.82 4,12c0,-4.41 3.59,-8 8,-8s8,3.59 8,8c0,1.82 -0.62,3.49 -1.64,4.83zM12,6c-1.94,0 -3.5,1.56 -3.5,3.5S10.06,13 12,13s3.5,-1.56 3.5,-3.5S13.94,6 12,6zM12,11c-0.83,0 -1.5,-0.67 -1.5,-1.5S11.17,8 12,8s1.5,0.67 1.5,1.5S12.83,11 12,11z"/>
|
||||||
|
</vector>
|
||||||
@ -0,0 +1,4 @@
|
|||||||
|
<vector android:height="48dp" android:viewportHeight="24"
|
||||||
|
android:viewportWidth="24" android:width="48dp" xmlns:android="http://schemas.android.com/apk/res/android">
|
||||||
|
<path android:fillColor="#FF000000" android:pathData="M12,2C6.48,2 2,6.48 2,12s4.48,10 10,10 10,-4.48 10,-10S17.52,2 12,2zM7.07,18.28c0.43,-0.9 3.05,-1.78 4.93,-1.78s4.51,0.88 4.93,1.78C15.57,19.36 13.86,20 12,20s-3.57,-0.64 -4.93,-1.72zM18.36,16.83c-1.43,-1.74 -4.9,-2.33 -6.36,-2.33s-4.93,0.59 -6.36,2.33C4.62,15.49 4,13.82 4,12c0,-4.41 3.59,-8 8,-8s8,3.59 8,8c0,1.82 -0.62,3.49 -1.64,4.83zM12,6c-1.94,0 -3.5,1.56 -3.5,3.5S10.06,13 12,13s3.5,-1.56 3.5,-3.5S13.94,6 12,6zM12,11c-0.83,0 -1.5,-0.67 -1.5,-1.5S11.17,8 12,8s1.5,0.67 1.5,1.5S12.83,11 12,11z"/>
|
||||||
|
</vector>
|
||||||
BIN
app/src/main/res/drawable/ic_picking_libero_96.png
Normal file
|
After Width: | Height: | Size: 1.6 KiB |
BIN
app/src/main/res/drawable/ic_rettifica_giacenze_96.png
Normal file
|
After Width: | Height: | Size: 1.1 KiB |
BIN
app/src/main/res/drawable/ic_spedizione_96.png
Normal file
|
After Width: | Height: | Size: 1.8 KiB |
BIN
app/src/main/res/drawable/ic_versamento_merce_96.png
Normal file
|
After Width: | Height: | Size: 1.5 KiB |
@ -21,6 +21,7 @@
|
|||||||
android:layout_height="match_parent"
|
android:layout_height="match_parent"
|
||||||
android:layout_gravity="start"
|
android:layout_gravity="start"
|
||||||
android:fitsSystemWindows="true"
|
android:fitsSystemWindows="true"
|
||||||
|
android:background="@android:color/white"
|
||||||
app:headerLayout="@layout/nav_header_main"
|
app:headerLayout="@layout/nav_header_main"
|
||||||
app:menu="@menu/activity_main_drawer" />
|
app:menu="@menu/activity_main_drawer" />
|
||||||
|
|
||||||
|
|||||||
@ -8,8 +8,6 @@
|
|||||||
android:orientation="vertical"
|
android:orientation="vertical"
|
||||||
tools:context="it.integry.integrywmsnative.MainActivity">
|
tools:context="it.integry.integrywmsnative.MainActivity">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<it.integry.plugins.waterfalltoolbar.WaterfallToolbar
|
<it.integry.plugins.waterfalltoolbar.WaterfallToolbar
|
||||||
android:id="@+id/waterfall_toolbar"
|
android:id="@+id/waterfall_toolbar"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
@ -18,7 +16,46 @@
|
|||||||
<androidx.appcompat.widget.Toolbar
|
<androidx.appcompat.widget.Toolbar
|
||||||
android:id="@+id/toolbar"
|
android:id="@+id/toolbar"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="?attr/actionBarSize">
|
android:layout_height="?actionBarSize"
|
||||||
|
android:gravity="center_horizontal"
|
||||||
|
app:popupTheme="@style/AppTheme.PopupOverlay">
|
||||||
|
|
||||||
|
<LinearLayout
|
||||||
|
android:id="@+id/toolbar_title_centered_layout"
|
||||||
|
android:layout_width="wrap_content"
|
||||||
|
android:layout_height="match_parent"
|
||||||
|
android:orientation="horizontal"
|
||||||
|
android:layout_gravity="center">
|
||||||
|
|
||||||
|
<androidx.appcompat.widget.AppCompatImageView
|
||||||
|
android:layout_width="wrap_content"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:src="@mipmap/ic_launcher"
|
||||||
|
android:paddingTop="12dp"
|
||||||
|
android:paddingBottom="12dp"
|
||||||
|
android:layout_gravity="center"/>
|
||||||
|
|
||||||
|
<androidx.appcompat.widget.AppCompatTextView
|
||||||
|
android:id="@+id/toolbar_title"
|
||||||
|
android:layout_width="wrap_content"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:text="@string/app_name"
|
||||||
|
android:letterSpacing="-0.05"
|
||||||
|
style="@style/AppTheme.NewMaterial.Text.ToolbarTitle"
|
||||||
|
android:layout_gravity="center"/>
|
||||||
|
|
||||||
|
</LinearLayout>
|
||||||
|
|
||||||
|
|
||||||
|
<androidx.appcompat.widget.AppCompatTextView
|
||||||
|
android:id="@+id/toolbar_title_left"
|
||||||
|
android:layout_width="wrap_content"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:text="@string/app_name"
|
||||||
|
android:letterSpacing="-0.05"
|
||||||
|
android:visibility="gone"
|
||||||
|
style="@style/AppTheme.NewMaterial.Text.ToolbarTitle"/>
|
||||||
|
|
||||||
|
|
||||||
<androidx.appcompat.widget.SearchView
|
<androidx.appcompat.widget.SearchView
|
||||||
android:id="@+id/main_search"
|
android:id="@+id/main_search"
|
||||||
@ -53,10 +90,8 @@
|
|||||||
|
|
||||||
</androidx.appcompat.widget.Toolbar>
|
</androidx.appcompat.widget.Toolbar>
|
||||||
|
|
||||||
|
|
||||||
</it.integry.plugins.waterfalltoolbar.WaterfallToolbar>
|
</it.integry.plugins.waterfalltoolbar.WaterfallToolbar>
|
||||||
|
|
||||||
|
|
||||||
<include layout="@layout/content_main" />
|
<include layout="@layout/content_main" />
|
||||||
|
|
||||||
</LinearLayout>
|
</LinearLayout>
|
||||||
|
|||||||
@ -40,284 +40,606 @@
|
|||||||
</net.cachapa.expandablelayout.ExpandableLayout>
|
</net.cachapa.expandablelayout.ExpandableLayout>
|
||||||
|
|
||||||
|
|
||||||
<androidx.cardview.widget.CardView
|
<RelativeLayout
|
||||||
app:cardBackgroundColor="@android:color/white"
|
|
||||||
app:cardCornerRadius="4dp"
|
|
||||||
android:layout_marginLeft="10dp"
|
|
||||||
android:layout_marginRight="10dp"
|
|
||||||
android:layout_marginBottom="10dp"
|
|
||||||
android:layout_marginTop="10dp"
|
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content">
|
android:layout_height="wrap_content"
|
||||||
|
android:layout_gravity="center_horizontal"
|
||||||
|
android:gravity="center_horizontal">
|
||||||
|
|
||||||
<LinearLayout
|
|
||||||
android:orientation="vertical"
|
<RelativeLayout
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content">
|
android:layout_height="wrap_content"
|
||||||
|
android:padding="16dp"
|
||||||
|
android:background="@color/colorPrimary">
|
||||||
|
|
||||||
<TextView
|
|
||||||
android:textColor="@android:color/black"
|
|
||||||
android:layout_marginTop="10dp"
|
|
||||||
android:layout_marginLeft="10dp"
|
|
||||||
android:layout_width="wrap_content"
|
|
||||||
android:layout_height="wrap_content"
|
|
||||||
android:text="Informazioni generali"
|
|
||||||
android:textAllCaps="true"
|
|
||||||
android:textStyle="bold"/>
|
|
||||||
|
|
||||||
<LinearLayout
|
<LinearLayout
|
||||||
android:padding="15dp"
|
|
||||||
android:orientation="vertical"
|
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content">
|
|
||||||
|
|
||||||
<androidx.constraintlayout.widget.ConstraintLayout
|
|
||||||
android:layout_width="match_parent"
|
|
||||||
android:layout_height="wrap_content">
|
|
||||||
|
|
||||||
<androidx.constraintlayout.widget.Guideline
|
|
||||||
android:id="@+id/guideline_username"
|
|
||||||
android:layout_width="wrap_content"
|
|
||||||
android:layout_height="wrap_content"
|
|
||||||
android:orientation="vertical"
|
|
||||||
app:layout_constraintGuide_percent="0.40"/>
|
|
||||||
|
|
||||||
<TextView
|
|
||||||
android:layout_width="wrap_content"
|
|
||||||
android:layout_height="wrap_content"
|
|
||||||
android:layout_marginStart="8dp"
|
|
||||||
android:text="Utente corrente"
|
|
||||||
android:textColor="@android:color/black"
|
|
||||||
app:layout_constraintEnd_toStartOf="@+id/guideline"
|
|
||||||
app:layout_constraintStart_toStartOf="parent" />
|
|
||||||
|
|
||||||
<TextView
|
|
||||||
android:id="@+id/current_user_name"
|
|
||||||
android:layout_width="0dp"
|
|
||||||
android:layout_height="wrap_content"
|
|
||||||
android:layout_marginEnd="0dp"
|
|
||||||
android:layout_marginStart="0dp"
|
|
||||||
android:text="N/A"
|
|
||||||
android:textSize="16sp"
|
|
||||||
app:layout_constraintStart_toStartOf="@+id/guideline_username"
|
|
||||||
app:layout_constraintEnd_toEndOf="parent" />
|
|
||||||
|
|
||||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
|
||||||
|
|
||||||
<androidx.constraintlayout.widget.ConstraintLayout
|
|
||||||
android:layout_width="match_parent"
|
|
||||||
android:layout_height="wrap_content">
|
|
||||||
|
|
||||||
<androidx.constraintlayout.widget.Guideline
|
|
||||||
android:id="@+id/guideline1"
|
|
||||||
android:layout_width="wrap_content"
|
|
||||||
android:layout_height="wrap_content"
|
|
||||||
android:orientation="vertical"
|
|
||||||
app:layout_constraintGuide_percent="0.40"/>
|
|
||||||
|
|
||||||
<TextView
|
|
||||||
android:layout_width="wrap_content"
|
|
||||||
android:layout_height="wrap_content"
|
|
||||||
android:layout_marginStart="8dp"
|
|
||||||
android:text="Segnale WI-FI"
|
|
||||||
android:textColor="@android:color/black"
|
|
||||||
app:layout_constraintEnd_toStartOf="@+id/guideline"
|
|
||||||
app:layout_constraintStart_toStartOf="parent" />
|
|
||||||
|
|
||||||
<TextView
|
|
||||||
android:id="@+id/wifi_power"
|
|
||||||
android:layout_width="0dp"
|
|
||||||
android:layout_height="wrap_content"
|
|
||||||
android:layout_marginEnd="0dp"
|
|
||||||
android:layout_marginStart="0dp"
|
|
||||||
android:text="N/A"
|
|
||||||
android:textSize="16sp"
|
|
||||||
app:layout_constraintStart_toStartOf="@+id/guideline1"
|
|
||||||
app:layout_constraintEnd_toEndOf="parent" />
|
|
||||||
|
|
||||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
|
||||||
|
|
||||||
</LinearLayout>
|
|
||||||
|
|
||||||
</LinearLayout>
|
|
||||||
</androidx.cardview.widget.CardView>
|
|
||||||
|
|
||||||
<androidx.cardview.widget.CardView
|
|
||||||
app:cardBackgroundColor="@android:color/white"
|
|
||||||
app:cardCornerRadius="4dp"
|
|
||||||
android:layout_marginLeft="10dp"
|
|
||||||
android:layout_marginRight="10dp"
|
|
||||||
android:layout_marginBottom="10dp"
|
|
||||||
android:layout_marginTop="10dp"
|
|
||||||
android:layout_width="match_parent"
|
|
||||||
android:layout_height="wrap_content">
|
|
||||||
|
|
||||||
<LinearLayout
|
|
||||||
android:orientation="vertical"
|
|
||||||
android:layout_width="match_parent"
|
|
||||||
android:layout_height="wrap_content">
|
|
||||||
|
|
||||||
<TextView
|
|
||||||
android:textColor="@android:color/black"
|
|
||||||
android:layout_marginTop="10dp"
|
|
||||||
android:layout_marginLeft="10dp"
|
|
||||||
android:layout_width="wrap_content"
|
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:text="Azioni rapide"
|
android:orientation="vertical">
|
||||||
android:textAllCaps="true"
|
|
||||||
android:textStyle="bold"/>
|
|
||||||
|
|
||||||
<LinearLayout
|
|
||||||
android:layout_margin="15dp"
|
|
||||||
android:orientation="vertical"
|
|
||||||
android:layout_width="match_parent"
|
|
||||||
android:layout_height="wrap_content">
|
|
||||||
|
|
||||||
<LinearLayout
|
<LinearLayout
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:orientation="horizontal"
|
android:orientation="horizontal"
|
||||||
android:weightSum="1">
|
android:gravity="center_vertical">
|
||||||
|
|
||||||
|
|
||||||
|
<androidx.appcompat.widget.AppCompatImageView
|
||||||
|
android:layout_width="36dp"
|
||||||
|
android:layout_height="36dp"
|
||||||
|
android:adjustViewBounds="true"
|
||||||
|
android:src="@drawable/ic_outline_account_circle_48px"
|
||||||
|
android:tint="@android:color/white"
|
||||||
|
android:layout_marginEnd="16dp"/>
|
||||||
|
|
||||||
<LinearLayout
|
<LinearLayout
|
||||||
android:id="@+id/fast_button_accettazione"
|
android:layout_width="match_parent"
|
||||||
android:layout_width="0dp"
|
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:orientation="vertical"
|
android:orientation="vertical">
|
||||||
android:layout_weight="0.5"
|
|
||||||
android:gravity="center">
|
|
||||||
|
|
||||||
<androidx.appcompat.widget.AppCompatImageView
|
<TextView
|
||||||
android:layout_width="36dp"
|
android:id="@+id/current_user_name"
|
||||||
android:layout_height="36dp"
|
android:layout_width="match_parent"
|
||||||
android:layout_margin="8dp"
|
android:layout_height="wrap_content"
|
||||||
android:background="@android:color/white"
|
android:textColor="@android:color/white"
|
||||||
android:src="@drawable/ic_download_black_24dp"
|
tools:text="Android Studio"
|
||||||
android:tint="@color/mainGreen" />
|
style="@style/AppTheme.NewMaterial.Text.TextBoxDashboard" />
|
||||||
|
|
||||||
<androidx.appcompat.widget.AppCompatTextView
|
<TextView
|
||||||
|
android:id="@+id/current_deposito"
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:text="Accettazione"
|
android:layout_marginTop="2dp"
|
||||||
android:gravity="center_horizontal"/>
|
style="@style/AppTheme.NewMaterial.Text.TextBoxLittleDashboard"
|
||||||
|
tools:text="android.studio@android.com" />
|
||||||
|
|
||||||
</LinearLayout>
|
</LinearLayout>
|
||||||
|
|
||||||
<LinearLayout
|
|
||||||
android:id="@+id/fast_button_spedizione"
|
|
||||||
android:layout_width="0dp"
|
|
||||||
android:layout_height="wrap_content"
|
|
||||||
android:orientation="vertical"
|
|
||||||
android:layout_weight="0.5"
|
|
||||||
android:gravity="center">
|
|
||||||
|
|
||||||
<androidx.appcompat.widget.AppCompatImageView
|
|
||||||
android:layout_width="36dp"
|
|
||||||
android:layout_height="36dp"
|
|
||||||
android:layout_margin="8dp"
|
|
||||||
android:background="@android:color/white"
|
|
||||||
android:src="@drawable/ic_upload_black_24dp"
|
|
||||||
android:tint="@color/mainOrange" />
|
|
||||||
|
|
||||||
<androidx.appcompat.widget.AppCompatTextView
|
|
||||||
android:layout_width="wrap_content"
|
|
||||||
android:layout_height="wrap_content"
|
|
||||||
android:text="Spedizione"
|
|
||||||
android:gravity="center_horizontal"/>
|
|
||||||
|
|
||||||
</LinearLayout>
|
|
||||||
|
|
||||||
|
|
||||||
</LinearLayout>
|
</LinearLayout>
|
||||||
|
|
||||||
<LinearLayout
|
|
||||||
android:layout_width="match_parent"
|
|
||||||
android:layout_height="wrap_content"
|
|
||||||
android:orientation="horizontal"
|
|
||||||
android:layout_marginTop="16dp"
|
|
||||||
android:weightSum="0.9">
|
|
||||||
|
|
||||||
<LinearLayout
|
|
||||||
android:id="@+id/fast_button_rettifica_giacenze"
|
|
||||||
android:layout_width="0dp"
|
|
||||||
android:layout_height="wrap_content"
|
|
||||||
android:orientation="vertical"
|
|
||||||
android:layout_weight="0.3"
|
|
||||||
android:gravity="center">
|
|
||||||
|
|
||||||
<androidx.appcompat.widget.AppCompatImageView
|
|
||||||
android:layout_width="36dp"
|
|
||||||
android:layout_height="36dp"
|
|
||||||
android:layout_margin="8dp"
|
|
||||||
android:background="@android:color/white"
|
|
||||||
android:src="@drawable/ic_empty_box_96"
|
|
||||||
android:tint="@color/brown_500" />
|
|
||||||
|
|
||||||
<androidx.appcompat.widget.AppCompatTextView
|
|
||||||
android:layout_width="wrap_content"
|
|
||||||
android:layout_height="wrap_content"
|
|
||||||
android:text="Rettifica Giacenze"
|
|
||||||
android:gravity="center_horizontal"/>
|
|
||||||
|
|
||||||
</LinearLayout>
|
|
||||||
|
|
||||||
<LinearLayout
|
|
||||||
android:id="@+id/fast_button_versamento"
|
|
||||||
android:layout_width="0dp"
|
|
||||||
android:layout_height="wrap_content"
|
|
||||||
android:orientation="vertical"
|
|
||||||
android:layout_weight="0.3"
|
|
||||||
android:gravity="center">
|
|
||||||
|
|
||||||
<androidx.appcompat.widget.AppCompatImageView
|
|
||||||
android:layout_width="36dp"
|
|
||||||
android:layout_height="36dp"
|
|
||||||
android:layout_margin="8dp"
|
|
||||||
android:background="@android:color/white"
|
|
||||||
android:src="@drawable/ic_load_shelf_96"
|
|
||||||
android:tint="@color/teal_500" />
|
|
||||||
|
|
||||||
<androidx.appcompat.widget.AppCompatTextView
|
|
||||||
android:layout_width="wrap_content"
|
|
||||||
android:layout_height="wrap_content"
|
|
||||||
android:gravity="center_horizontal"
|
|
||||||
android:text="Versamento Merce"/>
|
|
||||||
|
|
||||||
</LinearLayout>
|
|
||||||
|
|
||||||
<LinearLayout
|
|
||||||
android:id="@+id/fast_button_picking_libero"
|
|
||||||
android:layout_width="0dp"
|
|
||||||
android:layout_height="wrap_content"
|
|
||||||
android:orientation="vertical"
|
|
||||||
android:layout_weight="0.3"
|
|
||||||
android:gravity="center">
|
|
||||||
|
|
||||||
<androidx.appcompat.widget.AppCompatImageView
|
|
||||||
android:layout_width="36dp"
|
|
||||||
android:layout_height="36dp"
|
|
||||||
android:layout_margin="8dp"
|
|
||||||
android:adjustViewBounds="true"
|
|
||||||
android:scaleType="centerInside"
|
|
||||||
android:background="@android:color/white"
|
|
||||||
android:src="@drawable/ic_barcode_96"
|
|
||||||
android:tint="@color/colorPrimary" />
|
|
||||||
|
|
||||||
<androidx.appcompat.widget.AppCompatTextView
|
|
||||||
android:layout_width="wrap_content"
|
|
||||||
android:layout_height="wrap_content"
|
|
||||||
android:text="@string/free_picking"
|
|
||||||
android:gravity="center_horizontal"/>
|
|
||||||
|
|
||||||
</LinearLayout>
|
|
||||||
|
|
||||||
|
|
||||||
</LinearLayout>
|
|
||||||
|
|
||||||
</LinearLayout>
|
</LinearLayout>
|
||||||
|
|
||||||
</LinearLayout>
|
</RelativeLayout>
|
||||||
</androidx.cardview.widget.CardView>
|
|
||||||
|
<!--<RelativeLayout-->
|
||||||
|
<!--android:id="@+id/layout_logo_azienda"-->
|
||||||
|
<!--android:layout_width="100dp"-->
|
||||||
|
<!--android:layout_height="100dp"-->
|
||||||
|
<!--android:background="@drawable/circular_background_alpha_7"-->
|
||||||
|
<!--android:layout_gravity="center_horizontal"-->
|
||||||
|
<!--android:gravity="center_horizontal"-->
|
||||||
|
<!--android:layout_centerHorizontal="true"-->
|
||||||
|
<!--android:padding="8dp">-->
|
||||||
|
|
||||||
|
<!--<RelativeLayout-->
|
||||||
|
<!--android:layout_width="match_parent"-->
|
||||||
|
<!--android:layout_height="match_parent"-->
|
||||||
|
<!--android:background="@drawable/circular_background">-->
|
||||||
|
|
||||||
|
<!--<de.hdodenhof.circleimageview.CircleImageView-->
|
||||||
|
<!--android:id="@+id/drawer_logoAzienda"-->
|
||||||
|
<!--android:layout_width="match_parent"-->
|
||||||
|
<!--android:layout_height="match_parent" />-->
|
||||||
|
|
||||||
|
<!--</RelativeLayout>-->
|
||||||
|
|
||||||
|
<!--</RelativeLayout>-->
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</RelativeLayout>
|
||||||
|
|
||||||
|
<androidx.constraintlayout.widget.ConstraintLayout
|
||||||
|
android:layout_width="match_parent"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:clipToPadding="false"
|
||||||
|
android:padding="8dp">
|
||||||
|
|
||||||
|
<androidx.constraintlayout.widget.Guideline
|
||||||
|
android:id="@+id/central_guideline_dashboard"
|
||||||
|
android:layout_width="wrap_content"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:orientation="vertical"
|
||||||
|
app:layout_constraintGuide_percent="0.5" />
|
||||||
|
|
||||||
|
<com.google.android.material.card.MaterialCardView
|
||||||
|
style="@style/Widget.MaterialComponents.CardView"
|
||||||
|
android:id="@+id/fast_button_accettazione"
|
||||||
|
android:layout_width="0dp"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:layout_marginLeft="8dp"
|
||||||
|
android:layout_marginRight="8dp"
|
||||||
|
app:cardBackgroundColor="@android:color/white"
|
||||||
|
app:cardCornerRadius="4dp"
|
||||||
|
app:layout_constraintStart_toStartOf="parent"
|
||||||
|
app:layout_constraintTop_toTopOf="parent"
|
||||||
|
app:layout_constraintEnd_toStartOf="@id/central_guideline_dashboard">
|
||||||
|
|
||||||
|
|
||||||
|
<LinearLayout
|
||||||
|
android:orientation="vertical"
|
||||||
|
android:layout_width="match_parent"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:gravity="center_horizontal"
|
||||||
|
android:padding="8dp">
|
||||||
|
|
||||||
|
<ImageView
|
||||||
|
android:layout_width="64sp"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:adjustViewBounds="true"
|
||||||
|
android:src="@drawable/ic_accettazione_96"/>
|
||||||
|
|
||||||
|
<androidx.appcompat.widget.AppCompatTextView
|
||||||
|
android:layout_width="wrap_content"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:textAllCaps="true"
|
||||||
|
android:textColor="@color/grey_700"
|
||||||
|
android:textStyle="bold"
|
||||||
|
android:text="@string/accettazione_title_fragment"
|
||||||
|
android:layout_marginTop="16dp"/>
|
||||||
|
|
||||||
|
</LinearLayout>
|
||||||
|
</com.google.android.material.card.MaterialCardView>
|
||||||
|
|
||||||
|
<androidx.cardview.widget.CardView
|
||||||
|
style="@style/Widget.MaterialComponents.CardView"
|
||||||
|
android:id="@+id/fast_button_spedizione"
|
||||||
|
android:layout_width="0dp"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:layout_marginLeft="8dp"
|
||||||
|
android:layout_marginRight="8dp"
|
||||||
|
app:cardBackgroundColor="@android:color/white"
|
||||||
|
app:cardCornerRadius="4dp"
|
||||||
|
app:layout_constraintStart_toStartOf="@id/central_guideline_dashboard"
|
||||||
|
app:layout_constraintTop_toTopOf="parent"
|
||||||
|
app:layout_constraintEnd_toEndOf="parent">
|
||||||
|
|
||||||
|
|
||||||
|
<LinearLayout
|
||||||
|
android:orientation="vertical"
|
||||||
|
android:layout_width="match_parent"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:gravity="center_horizontal"
|
||||||
|
android:padding="8dp">
|
||||||
|
|
||||||
|
<ImageView
|
||||||
|
android:layout_width="64sp"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:adjustViewBounds="true"
|
||||||
|
android:src="@drawable/ic_spedizione_96"/>
|
||||||
|
|
||||||
|
<androidx.appcompat.widget.AppCompatTextView
|
||||||
|
android:layout_width="wrap_content"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:textAllCaps="true"
|
||||||
|
android:textColor="@color/grey_700"
|
||||||
|
android:textStyle="bold"
|
||||||
|
android:text="@string/vendita_title_fragment"
|
||||||
|
android:layout_marginTop="16dp"/>
|
||||||
|
|
||||||
|
</LinearLayout>
|
||||||
|
</androidx.cardview.widget.CardView>
|
||||||
|
|
||||||
|
</androidx.constraintlayout.widget.ConstraintLayout>
|
||||||
|
|
||||||
|
<androidx.constraintlayout.widget.ConstraintLayout
|
||||||
|
android:layout_width="match_parent"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:clipToPadding="false"
|
||||||
|
android:padding="8dp">
|
||||||
|
|
||||||
|
<androidx.constraintlayout.widget.Guideline
|
||||||
|
android:id="@+id/central_guideline_dashboard__line2"
|
||||||
|
android:layout_width="wrap_content"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:orientation="vertical"
|
||||||
|
app:layout_constraintGuide_percent="0.5" />
|
||||||
|
|
||||||
|
<com.google.android.material.card.MaterialCardView
|
||||||
|
style="@style/Widget.MaterialComponents.CardView"
|
||||||
|
android:id="@+id/fast_button_rettifica_giacenze"
|
||||||
|
android:layout_width="0dp"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:layout_marginLeft="8dp"
|
||||||
|
android:layout_marginRight="8dp"
|
||||||
|
app:cardBackgroundColor="@android:color/white"
|
||||||
|
app:cardCornerRadius="4dp"
|
||||||
|
app:layout_constraintStart_toStartOf="parent"
|
||||||
|
app:layout_constraintTop_toTopOf="parent"
|
||||||
|
app:layout_constraintEnd_toStartOf="@id/central_guideline_dashboard__line2">
|
||||||
|
|
||||||
|
|
||||||
|
<LinearLayout
|
||||||
|
android:orientation="vertical"
|
||||||
|
android:layout_width="match_parent"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:gravity="center_horizontal"
|
||||||
|
android:padding="8dp">
|
||||||
|
|
||||||
|
<ImageView
|
||||||
|
android:layout_width="64sp"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:adjustViewBounds="true"
|
||||||
|
android:src="@drawable/ic_rettifica_giacenze_96"/>
|
||||||
|
|
||||||
|
<androidx.appcompat.widget.AppCompatTextView
|
||||||
|
android:layout_width="wrap_content"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:textAllCaps="true"
|
||||||
|
android:textColor="@color/grey_700"
|
||||||
|
android:textStyle="bold"
|
||||||
|
android:text="@string/rettifica_giacenze_fragment_title"
|
||||||
|
android:gravity="center_horizontal"
|
||||||
|
android:layout_marginTop="16dp"/>
|
||||||
|
|
||||||
|
</LinearLayout>
|
||||||
|
</com.google.android.material.card.MaterialCardView>
|
||||||
|
|
||||||
|
<androidx.cardview.widget.CardView
|
||||||
|
style="@style/Widget.MaterialComponents.CardView"
|
||||||
|
android:id="@+id/fast_button_versamento"
|
||||||
|
android:layout_width="0dp"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:layout_marginLeft="8dp"
|
||||||
|
android:layout_marginRight="8dp"
|
||||||
|
app:cardBackgroundColor="@android:color/white"
|
||||||
|
app:cardCornerRadius="4dp"
|
||||||
|
app:layout_constraintStart_toStartOf="@id/central_guideline_dashboard__line2"
|
||||||
|
app:layout_constraintTop_toTopOf="parent"
|
||||||
|
app:layout_constraintEnd_toEndOf="parent">
|
||||||
|
|
||||||
|
|
||||||
|
<LinearLayout
|
||||||
|
android:orientation="vertical"
|
||||||
|
android:layout_width="match_parent"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:gravity="center_horizontal"
|
||||||
|
android:padding="8dp">
|
||||||
|
|
||||||
|
<ImageView
|
||||||
|
android:layout_width="64sp"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:adjustViewBounds="true"
|
||||||
|
android:src="@drawable/ic_versamento_merce_96"/>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<androidx.appcompat.widget.AppCompatTextView
|
||||||
|
android:layout_width="wrap_content"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:textAllCaps="true"
|
||||||
|
android:textColor="@color/grey_700"
|
||||||
|
android:textStyle="bold"
|
||||||
|
android:text="@string/versamento_merce_fragment_title"
|
||||||
|
android:gravity="center_horizontal"
|
||||||
|
android:layout_marginTop="16dp"/>
|
||||||
|
|
||||||
|
</LinearLayout>
|
||||||
|
</androidx.cardview.widget.CardView>
|
||||||
|
</androidx.constraintlayout.widget.ConstraintLayout>
|
||||||
|
|
||||||
|
|
||||||
|
<androidx.constraintlayout.widget.ConstraintLayout
|
||||||
|
android:layout_width="match_parent"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:clipToPadding="false"
|
||||||
|
android:padding="8dp">
|
||||||
|
|
||||||
|
<androidx.constraintlayout.widget.Guideline
|
||||||
|
android:id="@+id/central_guideline_dashboard__line3"
|
||||||
|
android:layout_width="wrap_content"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:orientation="vertical"
|
||||||
|
app:layout_constraintGuide_percent="0.5" />
|
||||||
|
|
||||||
|
<androidx.cardview.widget.CardView
|
||||||
|
style="@style/Widget.MaterialComponents.CardView"
|
||||||
|
android:id="@+id/fast_button_picking_libero"
|
||||||
|
android:layout_width="0dp"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:layout_marginLeft="8dp"
|
||||||
|
android:layout_marginRight="8dp"
|
||||||
|
app:cardBackgroundColor="@android:color/white"
|
||||||
|
app:cardCornerRadius="4dp"
|
||||||
|
app:layout_constraintStart_toStartOf="parent"
|
||||||
|
app:layout_constraintTop_toTopOf="parent"
|
||||||
|
app:layout_constraintEnd_toStartOf="@id/central_guideline_dashboard__line3">
|
||||||
|
|
||||||
|
|
||||||
|
<LinearLayout
|
||||||
|
android:orientation="vertical"
|
||||||
|
android:layout_width="match_parent"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:gravity="center_horizontal"
|
||||||
|
android:padding="8dp">
|
||||||
|
|
||||||
|
<ImageView
|
||||||
|
android:layout_width="64sp"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:adjustViewBounds="true"
|
||||||
|
android:src="@drawable/ic_picking_libero_96"/>
|
||||||
|
|
||||||
|
|
||||||
|
<androidx.appcompat.widget.AppCompatTextView
|
||||||
|
android:layout_width="wrap_content"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:textAllCaps="true"
|
||||||
|
android:textColor="@color/grey_700"
|
||||||
|
android:textStyle="bold"
|
||||||
|
android:text="@string/free_picking"
|
||||||
|
android:gravity="center_horizontal"
|
||||||
|
android:layout_marginTop="16dp"/>
|
||||||
|
|
||||||
|
</LinearLayout>
|
||||||
|
</androidx.cardview.widget.CardView>
|
||||||
|
|
||||||
|
</androidx.constraintlayout.widget.ConstraintLayout>
|
||||||
|
|
||||||
|
|
||||||
|
<!---->
|
||||||
|
<!--<androidx.cardview.widget.CardView-->
|
||||||
|
<!--app:cardBackgroundColor="@android:color/white"-->
|
||||||
|
<!--app:cardCornerRadius="4dp"-->
|
||||||
|
<!--android:layout_marginLeft="10dp"-->
|
||||||
|
<!--android:layout_marginRight="10dp"-->
|
||||||
|
<!--android:layout_marginBottom="10dp"-->
|
||||||
|
<!--android:layout_marginTop="10dp"-->
|
||||||
|
<!--android:layout_width="match_parent"-->
|
||||||
|
<!--android:layout_height="wrap_content">-->
|
||||||
|
|
||||||
|
<!--<LinearLayout-->
|
||||||
|
<!--android:orientation="vertical"-->
|
||||||
|
<!--android:layout_width="match_parent"-->
|
||||||
|
<!--android:layout_height="wrap_content">-->
|
||||||
|
|
||||||
|
<!--<TextView-->
|
||||||
|
<!--android:textColor="@android:color/black"-->
|
||||||
|
<!--android:layout_marginTop="10dp"-->
|
||||||
|
<!--android:layout_marginLeft="10dp"-->
|
||||||
|
<!--android:layout_width="wrap_content"-->
|
||||||
|
<!--android:layout_height="wrap_content"-->
|
||||||
|
<!--android:text="Informazioni generali"-->
|
||||||
|
<!--android:textAllCaps="true"-->
|
||||||
|
<!--android:textStyle="bold"/>-->
|
||||||
|
|
||||||
|
<!--<LinearLayout-->
|
||||||
|
<!--android:padding="15dp"-->
|
||||||
|
<!--android:orientation="vertical"-->
|
||||||
|
<!--android:layout_width="match_parent"-->
|
||||||
|
<!--android:layout_height="wrap_content">-->
|
||||||
|
|
||||||
|
<!--<androidx.constraintlayout.widget.ConstraintLayout-->
|
||||||
|
<!--android:layout_width="match_parent"-->
|
||||||
|
<!--android:layout_height="wrap_content">-->
|
||||||
|
|
||||||
|
<!--<androidx.constraintlayout.widget.Guideline-->
|
||||||
|
<!--android:id="@+id/guideline_username"-->
|
||||||
|
<!--android:layout_width="wrap_content"-->
|
||||||
|
<!--android:layout_height="wrap_content"-->
|
||||||
|
<!--android:orientation="vertical"-->
|
||||||
|
<!--app:layout_constraintGuide_percent="0.40"/>-->
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<!--</androidx.constraintlayout.widget.ConstraintLayout>-->
|
||||||
|
|
||||||
|
<!--<androidx.constraintlayout.widget.ConstraintLayout-->
|
||||||
|
<!--android:layout_width="match_parent"-->
|
||||||
|
<!--android:layout_height="wrap_content">-->
|
||||||
|
|
||||||
|
<!--<androidx.constraintlayout.widget.Guideline-->
|
||||||
|
<!--android:id="@+id/guideline1"-->
|
||||||
|
<!--android:layout_width="wrap_content"-->
|
||||||
|
<!--android:layout_height="wrap_content"-->
|
||||||
|
<!--android:orientation="vertical"-->
|
||||||
|
<!--app:layout_constraintGuide_percent="0.40"/>-->
|
||||||
|
|
||||||
|
<!--<TextView-->
|
||||||
|
<!--android:layout_width="wrap_content"-->
|
||||||
|
<!--android:layout_height="wrap_content"-->
|
||||||
|
<!--android:layout_marginStart="8dp"-->
|
||||||
|
<!--android:text="Segnale WI-FI"-->
|
||||||
|
<!--android:textColor="@android:color/black"-->
|
||||||
|
<!--app:layout_constraintEnd_toStartOf="@+id/guideline"-->
|
||||||
|
<!--app:layout_constraintStart_toStartOf="parent" />-->
|
||||||
|
|
||||||
|
<!--<TextView-->
|
||||||
|
<!--android:id="@+id/wifi_power"-->
|
||||||
|
<!--android:layout_width="0dp"-->
|
||||||
|
<!--android:layout_height="wrap_content"-->
|
||||||
|
<!--android:layout_marginEnd="0dp"-->
|
||||||
|
<!--android:layout_marginStart="0dp"-->
|
||||||
|
<!--android:text="N/A"-->
|
||||||
|
<!--android:textSize="16sp"-->
|
||||||
|
<!--app:layout_constraintStart_toStartOf="@+id/guideline1"-->
|
||||||
|
<!--app:layout_constraintEnd_toEndOf="parent" />-->
|
||||||
|
|
||||||
|
<!--</androidx.constraintlayout.widget.ConstraintLayout>-->
|
||||||
|
|
||||||
|
<!--</LinearLayout>-->
|
||||||
|
|
||||||
|
<!--</LinearLayout>-->
|
||||||
|
<!--</androidx.cardview.widget.CardView>-->
|
||||||
|
|
||||||
|
<!--<androidx.cardview.widget.CardView-->
|
||||||
|
<!--app:cardBackgroundColor="@android:color/white"-->
|
||||||
|
<!--app:cardCornerRadius="4dp"-->
|
||||||
|
<!--android:layout_marginLeft="10dp"-->
|
||||||
|
<!--android:layout_marginRight="10dp"-->
|
||||||
|
<!--android:layout_marginBottom="10dp"-->
|
||||||
|
<!--android:layout_marginTop="10dp"-->
|
||||||
|
<!--android:layout_width="match_parent"-->
|
||||||
|
<!--android:layout_height="wrap_content">-->
|
||||||
|
|
||||||
|
<!--<LinearLayout-->
|
||||||
|
<!--android:orientation="vertical"-->
|
||||||
|
<!--android:layout_width="match_parent"-->
|
||||||
|
<!--android:layout_height="wrap_content">-->
|
||||||
|
|
||||||
|
<!--<TextView-->
|
||||||
|
<!--android:textColor="@android:color/black"-->
|
||||||
|
<!--android:layout_marginTop="10dp"-->
|
||||||
|
<!--android:layout_marginLeft="10dp"-->
|
||||||
|
<!--android:layout_width="wrap_content"-->
|
||||||
|
<!--android:layout_height="wrap_content"-->
|
||||||
|
<!--android:text="Azioni rapide"-->
|
||||||
|
<!--android:textAllCaps="true"-->
|
||||||
|
<!--android:textStyle="bold"/>-->
|
||||||
|
|
||||||
|
<!--<LinearLayout-->
|
||||||
|
<!--android:layout_margin="15dp"-->
|
||||||
|
<!--android:orientation="vertical"-->
|
||||||
|
<!--android:layout_width="match_parent"-->
|
||||||
|
<!--android:layout_height="wrap_content">-->
|
||||||
|
|
||||||
|
<!--<LinearLayout-->
|
||||||
|
<!--android:layout_width="match_parent"-->
|
||||||
|
<!--android:layout_height="wrap_content"-->
|
||||||
|
<!--android:orientation="horizontal"-->
|
||||||
|
<!--android:weightSum="1">-->
|
||||||
|
|
||||||
|
<!--<LinearLayout-->
|
||||||
|
<!--android:id="@+id/fast_button_accettazione"-->
|
||||||
|
<!--android:layout_width="0dp"-->
|
||||||
|
<!--android:layout_height="wrap_content"-->
|
||||||
|
<!--android:orientation="vertical"-->
|
||||||
|
<!--android:layout_weight="0.5"-->
|
||||||
|
<!--android:gravity="center">-->
|
||||||
|
|
||||||
|
<!--<androidx.appcompat.widget.AppCompatImageView-->
|
||||||
|
<!--android:layout_width="36dp"-->
|
||||||
|
<!--android:layout_height="36dp"-->
|
||||||
|
<!--android:layout_margin="8dp"-->
|
||||||
|
<!--android:background="@android:color/white"-->
|
||||||
|
<!--android:src="@drawable/ic_download_black_24dp"-->
|
||||||
|
<!--android:tint="@color/mainGreen" />-->
|
||||||
|
|
||||||
|
<!--<androidx.appcompat.widget.AppCompatTextView-->
|
||||||
|
<!--android:layout_width="wrap_content"-->
|
||||||
|
<!--android:layout_height="wrap_content"-->
|
||||||
|
<!--android:text="Accettazione"-->
|
||||||
|
<!--android:gravity="center_horizontal"/>-->
|
||||||
|
|
||||||
|
<!--</LinearLayout>-->
|
||||||
|
|
||||||
|
<!--<LinearLayout-->
|
||||||
|
<!--android:id="@+id/fast_button_spedizione"-->
|
||||||
|
<!--android:layout_width="0dp"-->
|
||||||
|
<!--android:layout_height="wrap_content"-->
|
||||||
|
<!--android:orientation="vertical"-->
|
||||||
|
<!--android:layout_weight="0.5"-->
|
||||||
|
<!--android:gravity="center">-->
|
||||||
|
|
||||||
|
<!--<androidx.appcompat.widget.AppCompatImageView-->
|
||||||
|
<!--android:layout_width="36dp"-->
|
||||||
|
<!--android:layout_height="36dp"-->
|
||||||
|
<!--android:layout_margin="8dp"-->
|
||||||
|
<!--android:background="@android:color/white"-->
|
||||||
|
<!--android:src="@drawable/ic_upload_black_24dp"-->
|
||||||
|
<!--android:tint="@color/mainOrange" />-->
|
||||||
|
|
||||||
|
<!--<androidx.appcompat.widget.AppCompatTextView-->
|
||||||
|
<!--android:layout_width="wrap_content"-->
|
||||||
|
<!--android:layout_height="wrap_content"-->
|
||||||
|
<!--android:text="Spedizione"-->
|
||||||
|
<!--android:gravity="center_horizontal"/>-->
|
||||||
|
|
||||||
|
<!--</LinearLayout>-->
|
||||||
|
|
||||||
|
|
||||||
|
<!--</LinearLayout>-->
|
||||||
|
|
||||||
|
<!--<LinearLayout-->
|
||||||
|
<!--android:layout_width="match_parent"-->
|
||||||
|
<!--android:layout_height="wrap_content"-->
|
||||||
|
<!--android:orientation="horizontal"-->
|
||||||
|
<!--android:layout_marginTop="16dp"-->
|
||||||
|
<!--android:weightSum="0.9">-->
|
||||||
|
|
||||||
|
<!--<LinearLayout-->
|
||||||
|
<!--android:id="@+id/fast_button_rettifica_giacenze"-->
|
||||||
|
<!--android:layout_width="0dp"-->
|
||||||
|
<!--android:layout_height="wrap_content"-->
|
||||||
|
<!--android:orientation="vertical"-->
|
||||||
|
<!--android:layout_weight="0.3"-->
|
||||||
|
<!--android:gravity="center">-->
|
||||||
|
|
||||||
|
<!--<androidx.appcompat.widget.AppCompatImageView-->
|
||||||
|
<!--android:layout_width="36dp"-->
|
||||||
|
<!--android:layout_height="36dp"-->
|
||||||
|
<!--android:layout_margin="8dp"-->
|
||||||
|
<!--android:background="@android:color/white"-->
|
||||||
|
<!--android:src="@drawable/ic_empty_box_96"-->
|
||||||
|
<!--android:tint="@color/brown_500" />-->
|
||||||
|
|
||||||
|
<!--<androidx.appcompat.widget.AppCompatTextView-->
|
||||||
|
<!--android:layout_width="wrap_content"-->
|
||||||
|
<!--android:layout_height="wrap_content"-->
|
||||||
|
<!--android:text="Rettifica Giacenze"-->
|
||||||
|
<!--android:gravity="center_horizontal"/>-->
|
||||||
|
|
||||||
|
<!--</LinearLayout>-->
|
||||||
|
|
||||||
|
<!--<LinearLayout-->
|
||||||
|
<!--android:id="@+id/fast_button_versamento"-->
|
||||||
|
<!--android:layout_width="0dp"-->
|
||||||
|
<!--android:layout_height="wrap_content"-->
|
||||||
|
<!--android:orientation="vertical"-->
|
||||||
|
<!--android:layout_weight="0.3"-->
|
||||||
|
<!--android:gravity="center">-->
|
||||||
|
|
||||||
|
<!--<androidx.appcompat.widget.AppCompatImageView-->
|
||||||
|
<!--android:layout_width="36dp"-->
|
||||||
|
<!--android:layout_height="36dp"-->
|
||||||
|
<!--android:layout_margin="8dp"-->
|
||||||
|
<!--android:background="@android:color/white"-->
|
||||||
|
<!--android:src="@drawable/ic_load_shelf_96"-->
|
||||||
|
<!--android:tint="@color/teal_500" />-->
|
||||||
|
|
||||||
|
<!--<androidx.appcompat.widget.AppCompatTextView-->
|
||||||
|
<!--android:layout_width="wrap_content"-->
|
||||||
|
<!--android:layout_height="wrap_content"-->
|
||||||
|
<!--android:gravity="center_horizontal"-->
|
||||||
|
<!--android:text="Versamento Merce"/>-->
|
||||||
|
|
||||||
|
<!--</LinearLayout>-->
|
||||||
|
|
||||||
|
<!--<LinearLayout-->
|
||||||
|
<!--android:id="@+id/fast_button_picking_libero"-->
|
||||||
|
<!--android:layout_width="0dp"-->
|
||||||
|
<!--android:layout_height="wrap_content"-->
|
||||||
|
<!--android:orientation="vertical"-->
|
||||||
|
<!--android:layout_weight="0.3"-->
|
||||||
|
<!--android:gravity="center">-->
|
||||||
|
|
||||||
|
<!--<androidx.appcompat.widget.AppCompatImageView-->
|
||||||
|
<!--android:layout_width="36dp"-->
|
||||||
|
<!--android:layout_height="36dp"-->
|
||||||
|
<!--android:layout_margin="8dp"-->
|
||||||
|
<!--android:adjustViewBounds="true"-->
|
||||||
|
<!--android:scaleType="centerInside"-->
|
||||||
|
<!--android:background="@android:color/white"-->
|
||||||
|
<!--android:src="@drawable/ic_barcode_96"-->
|
||||||
|
<!--android:tint="@color/colorPrimary" />-->
|
||||||
|
|
||||||
|
<!--<androidx.appcompat.widget.AppCompatTextView-->
|
||||||
|
<!--android:layout_width="wrap_content"-->
|
||||||
|
<!--android:layout_height="wrap_content"-->
|
||||||
|
<!--android:text="@string/free_picking"-->
|
||||||
|
<!--android:gravity="center_horizontal"/>-->
|
||||||
|
|
||||||
|
<!--</LinearLayout>-->
|
||||||
|
|
||||||
|
|
||||||
|
<!--</LinearLayout>-->
|
||||||
|
|
||||||
|
<!--</LinearLayout>-->
|
||||||
|
|
||||||
|
<!--</LinearLayout>-->
|
||||||
|
<!--</androidx.cardview.widget.CardView>-->
|
||||||
|
|
||||||
</LinearLayout>
|
</LinearLayout>
|
||||||
</FrameLayout>
|
</FrameLayout>
|
||||||
@ -1,39 +1,34 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<layout>
|
<layout>
|
||||||
<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_width="match_parent"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
xmlns:tools="http://schemas.android.com/tools"
|
|
||||||
android:background="@drawable/side_nav_bar"
|
|
||||||
android:gravity="bottom"
|
android:gravity="bottom"
|
||||||
android:orientation="vertical"
|
android:orientation="vertical"
|
||||||
android:paddingBottom="@dimen/activity_vertical_margin"
|
android:paddingBottom="@dimen/activity_vertical_margin"
|
||||||
android:paddingLeft="@dimen/activity_horizontal_margin"
|
android:paddingLeft="@dimen/activity_horizontal_margin"
|
||||||
android:paddingRight="@dimen/activity_horizontal_margin"
|
android:paddingRight="@dimen/activity_horizontal_margin"
|
||||||
android:paddingTop="@dimen/activity_vertical_margin"
|
>
|
||||||
android:theme="@style/ThemeOverlay.AppCompat.Dark">
|
|
||||||
|
|
||||||
<de.hdodenhof.circleimageview.CircleImageView
|
<!--<de.hdodenhof.circleimageview.CircleImageView-->
|
||||||
android:id="@+id/drawer_logoAzienda"
|
<!--android:layout_width="wrap_content"-->
|
||||||
android:layout_width="wrap_content"
|
<!--android:layout_height="wrap_content"-->
|
||||||
android:layout_height="wrap_content"
|
<!--android:paddingTop="@dimen/nav_header_vertical_spacing"-->
|
||||||
android:paddingTop="@dimen/nav_header_vertical_spacing"
|
<!--android:src="@android:drawable/sym_def_app_icon" />-->
|
||||||
android:src="@android:drawable/sym_def_app_icon" />
|
|
||||||
|
|
||||||
<TextView
|
<!--<TextView-->
|
||||||
android:id="@+id/drawer_username"
|
<!--android:id="@+id/drawer_username"-->
|
||||||
android:layout_width="match_parent"
|
<!--android:layout_width="match_parent"-->
|
||||||
android:layout_height="wrap_content"
|
<!--android:layout_height="wrap_content"-->
|
||||||
android:paddingTop="@dimen/nav_header_vertical_spacing"
|
<!--android:paddingTop="@dimen/nav_header_vertical_spacing"-->
|
||||||
tools:text="Android Studio"
|
<!--tools:text="Android Studio"-->
|
||||||
android:textAppearance="@style/TextAppearance.AppCompat.Body1" />
|
<!--android:textAppearance="@style/TextAppearance.AppCompat.Body1" />-->
|
||||||
|
|
||||||
<TextView
|
<!--<TextView-->
|
||||||
android:id="@+id/drawer_deposito"
|
<!--android:id="@+id/drawer_deposito"-->
|
||||||
android:layout_width="wrap_content"
|
<!--android:layout_width="wrap_content"-->
|
||||||
android:layout_height="wrap_content"
|
<!--android:layout_height="wrap_content"-->
|
||||||
tools:text="android.studio@android.com" />
|
<!--tools:text="android.studio@android.com" />-->
|
||||||
|
|
||||||
</LinearLayout>
|
</LinearLayout>
|
||||||
</layout>
|
</layout>
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<resources>
|
<resources>
|
||||||
<string name="app_name">Integry WMS Native</string>
|
<string name="app_name">Integry WMS</string>
|
||||||
|
|
||||||
<string name="navigation_drawer_open">Apri menu</string>
|
<string name="navigation_drawer_open">Apri menu</string>
|
||||||
<string name="navigation_drawer_close">Chiudi menu</string>
|
<string name="navigation_drawer_close">Chiudi menu</string>
|
||||||
|
|||||||
@ -1,7 +1,7 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<resources>
|
<resources>
|
||||||
<color name="colorPrimary">#1A73E7</color>
|
<color name="colorPrimary">#1A73E8</color>
|
||||||
<color name="colorPrimaryDark">@color/indigo_700</color>
|
<color name="colorPrimaryDark">#0049b4</color>
|
||||||
<color name="colorAccent">#387ef5</color>
|
<color name="colorAccent">#387ef5</color>
|
||||||
<color name="colorRipple">#3f3f51b5</color>
|
<color name="colorRipple">#3f3f51b5</color>
|
||||||
<color name="colorPrimaryGray">#757575</color>
|
<color name="colorPrimaryGray">#757575</color>
|
||||||
@ -36,6 +36,10 @@
|
|||||||
<color name="green_600">#43A047</color>
|
<color name="green_600">#43A047</color>
|
||||||
<color name="green_700">#388E3C</color>
|
<color name="green_700">#388E3C</color>
|
||||||
|
|
||||||
|
|
||||||
|
<color name="grey_700">#616161</color>
|
||||||
|
<color name="grey_800">#424242</color>
|
||||||
|
|
||||||
<color name="alpha_indigo_500">#813f51b5</color>
|
<color name="alpha_indigo_500">#813f51b5</color>
|
||||||
|
|
||||||
<color name="indigo_400">#5C6BC0</color>
|
<color name="indigo_400">#5C6BC0</color>
|
||||||
|
|||||||
@ -6,4 +6,6 @@
|
|||||||
<dimen name="nav_header_height">160dp</dimen>
|
<dimen name="nav_header_height">160dp</dimen>
|
||||||
<dimen name="fab_margin">16dp</dimen>
|
<dimen name="fab_margin">16dp</dimen>
|
||||||
<dimen name="bottom_sheet_round16">16dp</dimen>
|
<dimen name="bottom_sheet_round16">16dp</dimen>
|
||||||
|
|
||||||
|
<dimen name="standard_rounc">16dp</dimen>
|
||||||
</resources>
|
</resources>
|
||||||
|
|||||||
@ -1,5 +1,5 @@
|
|||||||
<resources>
|
<resources>
|
||||||
<string name="app_name" translatable="false">Integry WMS Native</string>
|
<string name="app_name" translatable="false">Integry WMS</string>
|
||||||
|
|
||||||
<string name="navigation_drawer_open">Open navigation drawer</string>
|
<string name="navigation_drawer_open">Open navigation drawer</string>
|
||||||
<string name="navigation_drawer_close">Close navigation drawer</string>
|
<string name="navigation_drawer_close">Close navigation drawer</string>
|
||||||
|
|||||||
@ -1,7 +1,7 @@
|
|||||||
<resources>
|
<resources xmlns:tools="http://schemas.android.com/tools">
|
||||||
|
|
||||||
<!-- Base application theme. -->
|
<!-- Base application theme. -->
|
||||||
<style name="AppTheme" parent="Theme.MaterialComponents.Light.DarkActionBar">
|
<style name="AppTheme" parent="Theme.MaterialComponents.Light.NoActionBar.Bridge">
|
||||||
|
|
||||||
<!-- Customize your theme here. -->
|
<!-- Customize your theme here. -->
|
||||||
<item name="colorPrimary">@color/colorPrimary</item>
|
<item name="colorPrimary">@color/colorPrimary</item>
|
||||||
@ -17,6 +17,32 @@
|
|||||||
<item name="windowNoTitle">true</item>
|
<item name="windowNoTitle">true</item>
|
||||||
</style>
|
</style>
|
||||||
|
|
||||||
|
<style name="AppTheme.NewMaterial">
|
||||||
|
<item name="android:fontFamily">@font/open_sans_regular</item>
|
||||||
|
</style>
|
||||||
|
<style name="AppTheme.NewMaterial.Text" parent = "AppTheme.NewMaterial">
|
||||||
|
</style>
|
||||||
|
|
||||||
|
<style name="AppTheme.NewMaterial.Text.ToolbarTitle" parent="AppTheme.NewMaterial.Text">
|
||||||
|
<item name="android:textColor">#5F6368</item>
|
||||||
|
<item name="android:textStyle">normal</item>
|
||||||
|
<item name="android:textSize">20sp</item>
|
||||||
|
</style>
|
||||||
|
|
||||||
|
|
||||||
|
<style name="AppTheme.NewMaterial.Text.TextBoxDashboard" parent="TextAppearance.AppCompat.Widget.ActionBar.Title">
|
||||||
|
<item name="android:textColor">@android:color/white</item>
|
||||||
|
<item name="android:textStyle">normal</item>
|
||||||
|
<item name="android:textSize">20sp</item>
|
||||||
|
</style>
|
||||||
|
|
||||||
|
<style name="AppTheme.NewMaterial.Text.TextBoxLittleDashboard" parent="TextAppearance.AppCompat.Widget.ActionBar.Title">
|
||||||
|
<item name="android:textColor">@android:color/white</item>
|
||||||
|
<item name="android:fontFamily">@font/open_sans_regular</item>
|
||||||
|
<item name="android:textStyle">normal</item>
|
||||||
|
<item name="android:textSize">16sp</item>
|
||||||
|
</style>
|
||||||
|
|
||||||
<style name="SplashTheme" parent="AppTheme.NoActionBar">
|
<style name="SplashTheme" parent="AppTheme.NoActionBar">
|
||||||
<item name="android:windowBackground">@drawable/splash_background</item>
|
<item name="android:windowBackground">@drawable/splash_background</item>
|
||||||
</style>
|
</style>
|
||||||
@ -25,6 +51,8 @@
|
|||||||
<item name="colorPrimary">@color/colorPrimary</item>
|
<item name="colorPrimary">@color/colorPrimary</item>
|
||||||
<item name="colorPrimaryDark">@color/colorPrimaryDark</item>
|
<item name="colorPrimaryDark">@color/colorPrimaryDark</item>
|
||||||
<item name="colorAccent">@color/colorAccent</item>
|
<item name="colorAccent">@color/colorAccent</item>
|
||||||
|
<item name="android:windowLightStatusBar" tools:targetApi="23">true</item>
|
||||||
|
<item name="android:statusBarColor">@android:color/white</item>
|
||||||
</style>
|
</style>
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
BIN
device-2019-01-21-111733.png
Normal file
|
After Width: | Height: | Size: 572 KiB |
BIN
device-2019-01-21-125259.png
Normal file
|
After Width: | Height: | Size: 1.5 MiB |