YSY commit

This commit is contained in:
yadavendras
2019-03-08 21:12:55 +05:30
parent 97d30b2f5b
commit 5b7dd648b7
24 changed files with 443 additions and 115 deletions
@@ -3,7 +3,7 @@
android:layout_width="match_parent"
android:layout_height="wrap_content"
xmlns:card_view="http://schemas.android.com/apk/res-auto"
android:background="@color/grey_background"
android:orientation="vertical">
<android.support.v7.widget.CardView
@@ -11,7 +11,7 @@
android:layout_margin="5dp"
android:layout_width="match_parent"
android:layout_height="wrap_content"
card_view:cardCornerRadius="10dp"
card_view:cardCornerRadius="5dp"
android:elevation="5dp"
card_view:cardBackgroundColor="@color/white">
@@ -90,7 +90,9 @@
<ListView
android:id="@+id/listview"
android:layout_width="match_parent"
android:layout_height="match_parent">
android:layout_height="match_parent"
android:divider="@null"
android:dividerHeight="0dp">
</ListView>
@@ -6,7 +6,34 @@
android:layout_height="match_parent"
app:layout_behavior="@string/appbar_scrolling_view_behavior"
tools:context=".dailyentry.POGQuestionsActivity"
tools:showIn="@layout/activity_pogquestions">
tools:showIn="@layout/activity_pogquestions"
android:orientation="vertical"
android:background="@color/white">
<LinearLayout
android:id="@+id/lin_planogram_type"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="horizontal"
android:layout_margin="5dp"
android:visibility="gone"
>
<TextView
android:layout_width="0dp"
android:layout_height="wrap_content"
android:text="@string/store_planogram_type"
android:textSize="@dimen/store_entry_text_size"
android:padding="5dp"
android:layout_weight="3"/>
<Spinner
android:id="@+id/spinner_planogram_type"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_weight="2"></Spinner>
</LinearLayout>
<ExpandableListView
android:id="@+id/expandableListView"
@@ -63,7 +63,8 @@
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_margin="5dp"
card_view:cardCornerRadius="10dp">
card_view:cardCornerRadius="5dp"
android:elevation="5dp">
<LinearLayout
android:layout_width="match_parent"
@@ -289,11 +290,11 @@
</android.support.v7.widget.CardView>
<!--Additional List-->
<View
<!--<View
android:id="@+id/view_additional_promo"
android:layout_width="match_parent"
android:layout_height="1dp"
android:background="@color/colorPrimaryDark" />
android:background="@color/colorPrimaryDark" />-->
<LinearLayout
android:id="@+id/lin_addtional_promo"
@@ -4,7 +4,7 @@
xmlns:card_view="http://schemas.android.com/apk/res-auto"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="@color/grey_background"
android:orientation="vertical"
android:weightSum="100">
@@ -27,7 +27,7 @@
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="@color/grey_background"
card_view:cardCornerRadius="10dp"
card_view:cardCornerRadius="5dp"
android:elevation="5dp"
android:layout_margin="5dp"
>
@@ -8,7 +8,7 @@
<android.support.v7.widget.CardView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_height="match_parent"
card_view:cardBackgroundColor="@android:color/white"
card_view:cardUseCompatPadding="true">
@@ -6,19 +6,13 @@
android:background="@color/white"
android:orientation="vertical">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginLeft="5dp"
android:layout_marginRight="5dp"
android:layout_marginTop="5dp"
android:orientation="vertical">
<android.support.v7.widget.CardView
android:id="@+id/card_view"
android:layout_width="match_parent"
android:layout_height="match_parent"
card_view:cardCornerRadius="10dp">
android:layout_height="wrap_content"
android:layout_margin="5dp"
card_view:cardCornerRadius="5dp"
android:elevation="4dp">
<LinearLayout
android:id="@+id/lin_category"
@@ -151,5 +145,5 @@
</LinearLayout>
</android.support.v7.widget.CardView>
</LinearLayout>
</LinearLayout>
@@ -11,7 +11,8 @@
android:layout_height="match_parent"
android:layout_margin="5dp"
card_view:cardBackgroundColor="@color/grey_background"
card_view:cardCornerRadius="10dp">
card_view:cardCornerRadius="5dp"
android:elevation="4dp">
<RelativeLayout
android:id="@+id/rel_categoryHeader"
@@ -0,0 +1,44 @@
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:background="@color/white"
android:orientation="vertical">
<android.support.v7.widget.CardView xmlns:card_view="http://schemas.android.com/apk/res-auto"
android:id="@+id/card_view"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_margin="5dp"
card_view:cardBackgroundColor="@color/colorOrange"
card_view:cardCornerRadius="5dp"
android:elevation="4dp">
<RelativeLayout
android:id="@+id/rel_categoryHeader"
android:layout_width="match_parent"
android:layout_height="wrap_content">
<TextView
android:id="@+id/txt_categoryHeader"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_centerVertical="true"
android:layout_marginLeft="25dp"
android:text="Brand Name "
android:padding="7dp"
android:textAppearance="?android:attr/textAppearanceSmall"
android:textColor="#222" />
<ImageView
android:id="@+id/img_camera"
android:layout_width="30dp"
android:layout_height="30dp"
android:layout_alignParentRight="true"
android:layout_centerVertical="true"
android:layout_marginRight="30dp"
android:src="@drawable/ic_menu_camera"
android:visibility="gone" />
</RelativeLayout>
</android.support.v7.widget.CardView>
</LinearLayout>
@@ -2,16 +2,18 @@
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="horizontal">
android:orientation="horizontal"
android:background="@color/white">
<android.support.v7.widget.CardView xmlns:card_view="http://schemas.android.com/apk/res-auto"
android:id="@+id/card_view"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_marginBottom="5dp"
android:layout_marginTop="5dp"
android:layout_margin="5dp"
card_view:cardBackgroundColor="#ffffff"
card_view:cardCornerRadius="5dp">
card_view:cardCornerRadius="5dp"
android:elevation="5dp"
>
<LinearLayout
android:layout_width="match_parent"
@@ -294,4 +294,31 @@
<string name="outtime_image">صورة الخروج</string>
<string name="select_coach">أختار مدرب</string>
<string name="title_activity_change_password">إعادة تعيين كلمة السر</string>
<string name="want_to_download">هل تريد أن تحمل البيانات</string>
<string name="want_to_upload">هل تريد أن ترفع البيانات</string>
<string name="want_to_exit">هل تريد الخروج</string>
<!-- Change Password-->
<string name="submit">إرسال البيانات</string>
<string name="old_password">كلمة المرور القديمة</string>
<string name="new_password">كلمة المرور الجديدة</string>
<string name="confirm_password">تأكيد كلمة المرور</string>
<string name="password_rules">قواعد كلمة المرور</string>
<string name="pw_rules">1. يجب أن يكون مجموع الرموز من 6 إلى 8 \n\n 2. يجب أن تحتوى على الإشتراطات التالية \n\n (A-Z) أحرف كبيرة \n (a-z) أحرف صغيرة \n (0-9) أرقام \n (@#$%) رموز خاصة</string>
<string name="invalid_password">كلمة مرور غير صحيحة</string>
<string name="password_and_confirm_password_not_match">كلمة المرور وتأكيد كلمة المرور غير متطابقين</string>
<string name="space_not_allowed_in_password">المسافة غير مسموح بها في كلمة المرور</string>
<string name="new_password_not_equal_to_old_password">كلمة المرور يجب أن لا تكون متطابقة مع كلمة المرور القديمة</string>
<string name="password_updated_successfully">تم تحديث كلمة المرور بنجاح</string>
<string name="title_activity_mpin">الرقم السري للجوال</string>
<string name="error_incorrect_pin">الرقم السري غير صحيح</string>
<string name="add_sku">ضافة صنف</string>
<string name="is_there_promo_compliance">هل يوجد أي عرض جاري</string>
<string name="first_click_compulsory_image">أولا أضغط على الصورة اللإزامية</string>
<string name="store_planogram_type">ما هو نوع صورة الرف</string>
<string name="incorrect_mpin_limit_reached">الرقم السري غير صحيح, تم بلوغ الحد لإدخال الرقم السري</string>
<string name="need_to_reset_mpin">تحتاج إلى إعادة تعيين الرقم السري</string>
</resources>
@@ -419,6 +419,9 @@
<string name="add_sku">Add SKU</string>
<string name="is_there_promo_compliance">Is there any Promo running</string>
<string name="first_click_compulsory_image">First click compulsory image</string>
<string name="store_planogram_type">What is the store planogram type?</string>
<string name="incorrect_mpin_limit_reached">Incorrect MPin limit reached</string>
<string name="need_to_reset_mpin">Need to reset MPin</string>
</resources>