Audit and Bulk image upload
This commit is contained in:
@@ -0,0 +1,34 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<android.support.design.widget.CoordinatorLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:fitsSystemWindows="true"
|
||||
tools:context="cpm.com.gskmtorange.dailyentry.AuditActivity">
|
||||
|
||||
<android.support.design.widget.AppBarLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:theme="@style/AppTheme.AppBarOverlay">
|
||||
|
||||
<android.support.v7.widget.Toolbar
|
||||
android:id="@+id/toolbar"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="?attr/actionBarSize"
|
||||
android:background="?attr/colorPrimary"
|
||||
app:popupTheme="@style/AppTheme.PopupOverlay" />
|
||||
|
||||
</android.support.design.widget.AppBarLayout>
|
||||
|
||||
<include layout="@layout/content_audit" />
|
||||
|
||||
<android.support.design.widget.FloatingActionButton
|
||||
android:id="@+id/fab"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="bottom|end"
|
||||
android:layout_margin="@dimen/fab_margin"
|
||||
app:srcCompat="@drawable/save_icon" />
|
||||
|
||||
</android.support.design.widget.CoordinatorLayout>
|
||||
@@ -1,5 +1,6 @@
|
||||
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:card_view="http://schemas.android.com/apk/res-auto"
|
||||
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
@@ -84,7 +85,8 @@
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:paddingLeft="5dp"
|
||||
android:paddingRight="5dp">
|
||||
android:paddingRight="5dp"
|
||||
app:passwordToggleEnabled="true">
|
||||
|
||||
<EditText
|
||||
android:id="@+id/password"
|
||||
|
||||
@@ -0,0 +1,81 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="horizontal">
|
||||
|
||||
<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"
|
||||
card_view:cardBackgroundColor="#ffffff"
|
||||
card_view:cardCornerRadius="5dp">
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:orientation="vertical">
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginBottom="5dp"
|
||||
android:orientation="horizontal">
|
||||
|
||||
<TextView
|
||||
android:id="@+id/txt_question"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:gravity="center_vertical"
|
||||
android:paddingBottom="5dp"
|
||||
android:paddingLeft="10dp"
|
||||
android:paddingRight="20dp"
|
||||
android:paddingTop="5dp"
|
||||
android:text="Question"
|
||||
android:textColor="@color/black"
|
||||
android:textSize="16dip" />
|
||||
</LinearLayout>
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/editTextlayout"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginBottom="10dp"
|
||||
android:orientation="horizontal"
|
||||
android:weightSum="10">
|
||||
|
||||
<Spinner
|
||||
android:id="@+id/sp_auditAnswer"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:visibility="gone" />
|
||||
|
||||
<EditText
|
||||
android:id="@+id/edt_answer"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:focusable="true"
|
||||
android:visibility="gone"
|
||||
/>
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
<RelativeLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:id="@+id/parent_cam_layout">
|
||||
<ImageView
|
||||
android:id="@+id/img_cam"
|
||||
android:layout_width="50dp"
|
||||
android:layout_height="50dp"
|
||||
android:background="@mipmap/camera_orange"
|
||||
android:layout_alignParentRight="true"
|
||||
android:layout_marginRight="10dp"/>
|
||||
</RelativeLayout>
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
</android.support.v7.widget.CardView>
|
||||
</LinearLayout>
|
||||
@@ -3,18 +3,20 @@
|
||||
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||
android:orientation="vertical"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_height="match_parent"
|
||||
android:id="@+id/linear_parent"
|
||||
android:layout_marginBottom="10dp"
|
||||
android:layout_marginBottom="2dp"
|
||||
>
|
||||
|
||||
<android.support.v7.widget.CardView
|
||||
android:id="@+id/parent_card"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_height="match_parent"
|
||||
app:cardBackgroundColor="@color/white"
|
||||
android:layout_margin="2dp">
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/lin_child"
|
||||
android:layout_width="80dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="vertical">
|
||||
@@ -44,6 +46,7 @@
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_margin="2dp"
|
||||
android:textSize="14sp"
|
||||
android:text="kdfkdfjk"
|
||||
android:gravity="center"
|
||||
/>
|
||||
|
||||
|
||||
@@ -0,0 +1,36 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<android.support.constraint.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
app:layout_behavior="@string/appbar_scrolling_view_behavior"
|
||||
tools:context="cpm.com.gskmtorange.dailyentry.AuditActivity"
|
||||
tools:showIn="@layout/activity_audit">
|
||||
|
||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
android:id="@+id/ll_recycler"
|
||||
android:name="com.cpm.fragment.QuizFragment"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:background="@color/grey_background"
|
||||
android:orientation="vertical"
|
||||
tools:context="fragment.QuizFragment">
|
||||
|
||||
<android.support.v7.widget.RecyclerView xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
android:id="@+id/list"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginLeft="5dp"
|
||||
android:layout_marginRight="5dp"
|
||||
/>
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
|
||||
|
||||
</android.support.constraint.ConstraintLayout>
|
||||
@@ -53,6 +53,7 @@
|
||||
<string name="update_message">تم تحديث البيانات</string>
|
||||
<string name="datanotfound">لم يتم العثور على البيانات</string>
|
||||
<string name="data_exported_successfully">تم تصدير قاعدة البيانات بنجاح</string>
|
||||
<string name="data_uploaded_successfully">تم تحميل البيانات بنجاح</string>
|
||||
<string name="delete">حذف</string>
|
||||
<string name="display">عرض</string>
|
||||
<string name="Display">عرض</string>
|
||||
@@ -236,4 +237,5 @@
|
||||
<string name="select_date">اختيار التاريخ</string>
|
||||
<string name="no_route_plan_for_day">لا يوجد خط سير لليوم</string>
|
||||
<string name="check_faceup_not_zero">لا يمكن ان يكون عدد أوجه الأصناف صفر علي الرف اذا كانت الأصناف متوفره</string>
|
||||
<string name="audit">التقارير</string>
|
||||
</resources>
|
||||
|
||||
@@ -203,6 +203,7 @@
|
||||
<string name="DELETE_ALERT_MESSAGE">Kaydedilen veriler kaybolacak - Devam etmek istiyor musunuz?</string>
|
||||
<string name="NodataAvailable">Veri yok</string>
|
||||
<string name="Pleasedownaloaddata">Lütfen verileri indirin</string>
|
||||
<string name="data_uploaded_successfully">Veriler Başarıyla Yüklendi</string>
|
||||
|
||||
<!--Gagan start code 3-->
|
||||
<string name="cancel">İptal etmek</string>
|
||||
@@ -273,6 +274,8 @@
|
||||
<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>
|
||||
<string name="audit">Kontrol</string>
|
||||
|
||||
</resources>
|
||||
|
||||
|
||||
|
||||
@@ -15,6 +15,7 @@
|
||||
<color name="grey_textview">#cccccc</color>
|
||||
|
||||
<color name="colorOrange">#FFE0B2</color>
|
||||
<color name="red">#ff0000</color>
|
||||
|
||||
|
||||
</resources>
|
||||
|
||||
@@ -57,7 +57,7 @@
|
||||
|
||||
<string name="menu_daily_route_plan">Daily Route Plan</string>
|
||||
<string name="menu_daily_download">Daily Data Download</string>
|
||||
<string name="menu_upload_data">Data Uploaded Successfully</string>
|
||||
<string name="menu_upload_data">Upload Data</string>
|
||||
<string name="menu_geotag">Geo Tag</string>
|
||||
<string name="menu_export">Data Export</string>
|
||||
|
||||
@@ -227,6 +227,7 @@
|
||||
|
||||
<string name="databasexported">Database Exported And Uploaded Successfully</string>
|
||||
|
||||
<string name="data_uploaded_successfully">Data Uploaded Successfully</string>
|
||||
|
||||
<string name="uploadeddata">Uploaded Data</string>
|
||||
|
||||
@@ -332,4 +333,18 @@
|
||||
<string name="Download_pdf_Error">File not downloaded</string>
|
||||
<string name="title_activity_stock_data">Stock</string>
|
||||
|
||||
<string name="no_app_found_for_pdf">No App found for opening PDF</string>
|
||||
<string name="title_activity_audit">AuditActivity</string>
|
||||
<string name="please_add_subgroup_for_empty">Please add a Sub Group to empty spaces</string>
|
||||
<string name="audit">Audit</string>
|
||||
<string name="pls_answer_all_qns">"Please answer all questions"</string>
|
||||
|
||||
//notification
|
||||
<string name="default_notification_channel_id" translatable="false">fcm_default_channel</string>
|
||||
<!--
|
||||
This is the name that users will see when interacting with this channel.
|
||||
It should describe the category of notifications that will be sent through this channel
|
||||
-->
|
||||
<string name="default_notification_channel_name" translatable="true">News</string>
|
||||
|
||||
</resources>
|
||||
|
||||
Reference in New Issue
Block a user