msl_availability and additional

This commit is contained in:
Gagan290
2017-03-27 17:47:44 +05:30
parent 87f9dac4c8
commit bcc2fee32b
9 changed files with 138 additions and 56 deletions
@@ -103,8 +103,8 @@
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_weight="2"
android:inputType="number" />
android:inputType="number"
android:maxLength="5" />
</LinearLayout>
<RelativeLayout
@@ -122,26 +122,27 @@
<Button
android:id="@+id/btn_add"
android:layout_width="wrap_content"
android:layout_weight="1"
android:layout_height="wrap_content"
android:text="@string/add"/>
android:layout_weight="1"
android:text="@string/add" />
<Button
android:id="@+id/btn_cancel"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_weight="1"
android:text="@string/closed"/>
android:text="@string/closed" />
</LinearLayout>
</RelativeLayout>
<!-- <android.support.v7.widget.RecyclerView
android:background="@color/grey_background"
android:id="@+id/rec_sku"
android:layout_width="match_parent"
android:layout_height="wrap_content"></android.support.v7.widget.RecyclerView>-->
<!-- <android.support.v7.widget.RecyclerView
android:background="@color/grey_background"
android:id="@+id/rec_sku"
android:layout_width="match_parent"
android:layout_height="wrap_content"></android.support.v7.widget.RecyclerView>-->
</LinearLayout>
@@ -153,18 +154,18 @@
android:layout_height="wrap_content"
android:layout_marginTop="10dp"
android:padding="10dp"
android:visibility="gone"
card_view:cardBackgroundColor="@color/colorOrange"
card_view:cardCornerRadius="20dp"
android:visibility="gone"
>
<LinearLayout
android:id="@+id/list_layout"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_weight="95"
android:visibility="gone"
>
android:visibility="gone">
<ListView
android:id="@+id/lv"
@@ -1,10 +1,9 @@
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:card_view="http://schemas.android.com/apk/res-auto"
android:layout_width="match_parent"
android:layout_height="wrap_content"
xmlns:card_view="http://schemas.android.com/apk/res-auto"
android:orientation="horizontal"
>
android:orientation="horizontal">
<android.support.v7.widget.CardView
android:layout_width="match_parent"
@@ -13,47 +12,44 @@
android:layout_marginRight="@dimen/custom_margin"
android:layout_marginTop="@dimen/custom_margin"
card_view:cardBackgroundColor="@color/white"
card_view:cardCornerRadius="10dp"
>
card_view:cardCornerRadius="10dp">
<LinearLayout
android:id="@+id/parent_layout"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="horizontal"
android:layout_weight="2"
>
android:orientation="horizontal">
<TextView
android:id="@+id/tv_checklist"
android:layout_width="0dp"
android:layout_height="match_parent"
android:layout_weight="1"
android:gravity="center_vertical"
android:paddingLeft="@dimen/custom_margin"
android:text="Checklist"
android:textColor="@color/black"
android:textStyle="bold"
android:gravity="center_vertical"
android:paddingLeft="@dimen/custom_margin"/>
android:textStyle="bold" />
<RelativeLayout
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_weight="1"
android:padding="5dp"
>
android:padding="5dp">
<ToggleButton
android:id="@+id/btn_is_present"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:textOn="@string/yes"
android:textOff="@string/no"
android:layout_centerInParent="true"
android:background="@drawable/toggle_selector_background"
android:layout_centerInParent="true"/>
android:textOff="@string/no"
android:textOn="@string/yes" />
</RelativeLayout>
</LinearLayout>
</LinearLayout>
</android.support.v7.widget.CardView>
@@ -103,7 +103,8 @@
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_weight="2"
android:inputType="number" />
android:inputType="number"
android:maxLength="5" />
</LinearLayout>
@@ -122,15 +123,16 @@
<Button
android:id="@+id/btn_add"
android:layout_width="wrap_content"
android:layout_weight="1"
android:layout_height="wrap_content"
android:text="@string/add"/>
android:layout_weight="1"
android:text="@string/add" />
<Button
android:id="@+id/btn_cancel"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_weight="1"
android:text="@string/closed"/>
android:text="@string/closed" />
</LinearLayout>
@@ -138,10 +140,10 @@
</RelativeLayout>
<android.support.v7.widget.RecyclerView
android:background="@color/grey_background"
android:id="@+id/rec_sku"
android:layout_width="match_parent"
android:layout_height="wrap_content"></android.support.v7.widget.RecyclerView>
android:layout_height="wrap_content"
android:background="@color/grey_background"></android.support.v7.widget.RecyclerView>
</LinearLayout>
@@ -230,4 +230,5 @@
<string name="msl_availability_new_stock_value">أول تعبئة لقيمة المخزون</string>
<string name="check_stock"> المخزون لا يمكن ان يكون مساوي او اكثر من الكميات التي يجب توافرها من الصنف MBQ</string>
<string name="check_faceing">المواجهه لا يمكن ان تكون اكثر من او مساويه للكميه الواجب توافرها MBQ</string>
</resources>
@@ -272,6 +272,7 @@
<string name="check_stock"> Stok miktarı minimum stok miktarından daha fazla veya eşit olamaz</string>
<string name="msl_availability_new_stock_value"> Lütfen önce stok değerini giriniz</string>
<string name="check_faceing">Önyüz miktarı minimum stok miktarından daha fazla veya eşit olamaz</string>
</resources>
@@ -301,4 +301,6 @@
<string name="stock_value">Please fill stock value or fill 0 </string>
<string name="check_stock">Stock can not be greater equal than MBQ value</string>
<string name="msl_availability_new_stock_value">Please first fill the stock value </string>
<string name="check_faceing">Faceup can not be greater than or equal to MBQ value</string>
</resources>