Fix su UI
This commit is contained in:
parent
509869b44f
commit
b509f696a0
@ -22,8 +22,8 @@ public class UltimeConsegneClienteRESTConsumer {
|
|||||||
|
|
||||||
public static void getUltimeConsegneClienti(String codMdep, String codAnag, String codMart, RunnableArgs<ArrayList<DocumentoResoDTO>> onComplete, RunnableArgs<Exception> onFailed) {
|
public static void getUltimeConsegneClienti(String codMdep, String codAnag, String codMart, RunnableArgs<ArrayList<DocumentoResoDTO>> onComplete, RunnableArgs<Exception> onFailed) {
|
||||||
|
|
||||||
int numberOfConsegnePerCli = 10;
|
int numberOfConsegnePerCli = 100;
|
||||||
int numberOfDayToAnalyze = 90;
|
int numberOfDayToAnalyze = 365;
|
||||||
|
|
||||||
String sql = "SELECT consegne.*, " +
|
String sql = "SELECT consegne.*, " +
|
||||||
" rag_soc," +
|
" rag_soc," +
|
||||||
|
|||||||
@ -15,8 +15,8 @@ public class UltimiArriviFornitoreRESTConsumer {
|
|||||||
|
|
||||||
public static void getUltimeConsegneFornitori(String codMdep, String codAnag, String codMart, RunnableArgs<ArrayList<DocumentoResoDTO>> onComplete, RunnableArgs<Exception> onFailed) {
|
public static void getUltimeConsegneFornitori(String codMdep, String codAnag, String codMart, RunnableArgs<ArrayList<DocumentoResoDTO>> onComplete, RunnableArgs<Exception> onFailed) {
|
||||||
|
|
||||||
int numberOfConsegnePerForn = 20;
|
int numberOfConsegnePerForn = 100;
|
||||||
int numberOfDayToAnalyze = 90;
|
int numberOfDayToAnalyze = 365;
|
||||||
|
|
||||||
String sql = "SELECT consegne.*, " +
|
String sql = "SELECT consegne.*, " +
|
||||||
" rag_soc " +
|
" rag_soc " +
|
||||||
|
|||||||
@ -68,7 +68,7 @@
|
|||||||
style="@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox"
|
style="@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:hint="@string/ship_date">
|
android:hint="@string/document_date">
|
||||||
|
|
||||||
|
|
||||||
<com.google.android.material.textfield.TextInputEditText
|
<com.google.android.material.textfield.TextInputEditText
|
||||||
|
|||||||
@ -68,7 +68,7 @@
|
|||||||
style="@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox"
|
style="@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:hint="@string/ship_date">
|
android:hint="@string/document_date">
|
||||||
|
|
||||||
|
|
||||||
<com.google.android.material.textfield.TextInputEditText
|
<com.google.android.material.textfield.TextInputEditText
|
||||||
|
|||||||
@ -3,29 +3,40 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
<LinearLayout
|
|
||||||
|
<androidx.cardview.widget.CardView
|
||||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
xmlns:tools="http://schemas.android.com/tools"
|
xmlns:tools="http://schemas.android.com/tools"
|
||||||
android:orientation="vertical" android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content">
|
android:layout_height="wrap_content"
|
||||||
|
android:layout_marginStart="2dp"
|
||||||
|
android:layout_marginEnd="2dp"
|
||||||
|
android:layout_marginTop="12dp"
|
||||||
|
android:layout_marginBottom="8dp"
|
||||||
|
app:cardElevation="0dp"
|
||||||
|
app:cardCornerRadius="4dp">
|
||||||
|
|
||||||
|
<RelativeLayout
|
||||||
<TextView
|
android:layout_width="match_parent"
|
||||||
android:id="@+id/title"
|
|
||||||
android:layout_width="wrap_content"
|
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
style="@style/AppTheme.NewMaterial.Text.ListDivider"
|
android:paddingStart="8dp"
|
||||||
android:layout_marginStart="14dp"
|
android:paddingEnd="8dp"
|
||||||
android:layout_marginEnd="14dp"
|
android:paddingTop="8dp"
|
||||||
android:layout_marginTop="14dp"
|
android:paddingBottom="8dp"
|
||||||
android:textAllCaps="true"
|
android:background="@color/gray_200">
|
||||||
android:ellipsize="end"
|
|
||||||
android:singleLine="true"
|
|
||||||
android:textStyle="bold"
|
|
||||||
android:textColor="@color/colorAccent"
|
|
||||||
tools:text="Title here"/>
|
|
||||||
|
|
||||||
|
<TextView
|
||||||
</LinearLayout>
|
android:id="@+id/title"
|
||||||
|
android:layout_width="wrap_content"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
style="@style/AppTheme.NewMaterial.Text.ListDivider"
|
||||||
|
android:textAllCaps="true"
|
||||||
|
android:ellipsize="end"
|
||||||
|
android:singleLine="true"
|
||||||
|
android:textStyle="bold"
|
||||||
|
android:textColor="@android:color/black"
|
||||||
|
tools:text="Title here"/>
|
||||||
|
</RelativeLayout>
|
||||||
|
</androidx.cardview.widget.CardView>
|
||||||
|
|
||||||
</layout>
|
</layout>
|
||||||
@ -3,28 +3,38 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
<LinearLayout
|
<androidx.cardview.widget.CardView
|
||||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
xmlns:tools="http://schemas.android.com/tools"
|
xmlns:tools="http://schemas.android.com/tools"
|
||||||
android:orientation="vertical" android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content">
|
android:layout_height="wrap_content"
|
||||||
|
android:layout_marginStart="2dp"
|
||||||
|
android:layout_marginEnd="2dp"
|
||||||
|
android:layout_marginTop="12dp"
|
||||||
|
android:layout_marginBottom="8dp"
|
||||||
|
app:cardElevation="0dp"
|
||||||
|
app:cardCornerRadius="4dp">
|
||||||
|
|
||||||
|
<RelativeLayout
|
||||||
<TextView
|
android:layout_width="match_parent"
|
||||||
android:id="@+id/title"
|
|
||||||
android:layout_width="wrap_content"
|
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
style="@style/AppTheme.NewMaterial.Text.ListDivider"
|
android:paddingStart="8dp"
|
||||||
android:layout_marginStart="14dp"
|
android:paddingEnd="8dp"
|
||||||
android:layout_marginEnd="14dp"
|
android:paddingTop="8dp"
|
||||||
android:layout_marginTop="14dp"
|
android:paddingBottom="8dp"
|
||||||
android:textAllCaps="true"
|
android:background="@color/gray_200">
|
||||||
android:ellipsize="end"
|
|
||||||
android:singleLine="true"
|
|
||||||
android:textStyle="bold"
|
|
||||||
android:textColor="@color/colorAccent"
|
|
||||||
tools:text="Title here"/>
|
|
||||||
|
|
||||||
</LinearLayout>
|
|
||||||
|
|
||||||
|
<TextView
|
||||||
|
android:id="@+id/title"
|
||||||
|
android:layout_width="wrap_content"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
style="@style/AppTheme.NewMaterial.Text.ListDivider"
|
||||||
|
android:textAllCaps="true"
|
||||||
|
android:ellipsize="end"
|
||||||
|
android:singleLine="true"
|
||||||
|
android:textStyle="bold"
|
||||||
|
android:textColor="@android:color/black"
|
||||||
|
tools:text="Title here"/>
|
||||||
|
</RelativeLayout>
|
||||||
|
</androidx.cardview.widget.CardView>
|
||||||
</layout>
|
</layout>
|
||||||
@ -181,6 +181,7 @@
|
|||||||
<string name="customer">Cliente</string>
|
<string name="customer">Cliente</string>
|
||||||
<string name="recipient">Destinatario</string>
|
<string name="recipient">Destinatario</string>
|
||||||
<string name="ship_date">Data consegna</string>
|
<string name="ship_date">Data consegna</string>
|
||||||
|
<string name="document_date">Data documento</string>
|
||||||
<string name="terms_of_delivery">Termini di consegna</string>
|
<string name="terms_of_delivery">Termini di consegna</string>
|
||||||
<string name="vehicle">Automezzo</string>
|
<string name="vehicle">Automezzo</string>
|
||||||
<string name="deposit">Deposito</string>
|
<string name="deposit">Deposito</string>
|
||||||
|
|||||||
@ -184,6 +184,7 @@
|
|||||||
<string name="customer">Customer</string>
|
<string name="customer">Customer</string>
|
||||||
<string name="recipient">Recipient</string>
|
<string name="recipient">Recipient</string>
|
||||||
<string name="ship_date">Ship date</string>
|
<string name="ship_date">Ship date</string>
|
||||||
|
<string name="document_date">Document date</string>
|
||||||
<string name="terms_of_delivery">Terms of delivery</string>
|
<string name="terms_of_delivery">Terms of delivery</string>
|
||||||
<string name="vehicle">Vehicle</string>
|
<string name="vehicle">Vehicle</string>
|
||||||
<string name="deposit">Deposit</string>
|
<string name="deposit">Deposit</string>
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user