Files
Haleon-Egypt-PD/GSKMTOrange/src/main/res/layout/content_stock_entry.xml
T
Jeevan Prasad 883cbf0756 Inital commit
2025-03-10 13:26:35 +05:30

244 lines
9.5 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout 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/content_msl__availability"
android:layout_width="match_parent"
android:layout_height="match_parent"
app:layout_behavior="@string/appbar_scrolling_view_behavior"
tools:showIn="@layout/activity_msl_availability_stock_entry">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="@color/white"
android:orientation="vertical"
android:layout_alignParentTop="true"
android:layout_alignParentLeft="true"
android:layout_alignParentStart="true">
<TextView
android:id="@+id/txt_mslAvailabilityName"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="#FFF1710F"
android:paddingBottom="10dp"
android:paddingLeft="20dp"
android:paddingTop="10dp"
android:text="Must Have Availability"
android:textAppearance="?android:attr/textAppearanceMedium"
android:textColor="@android:color/black"
android:visibility="gone" />
<!--Camera Layout-->
<LinearLayout
android:id="@+id/lin_camera"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="horizontal"
android:weightSum="4">
<!--camera 1-->
<LinearLayout
android:id="@+id/lin_camera1"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_weight="1"
android:background="@drawable/layout_click_background_effect"
android:gravity="center_horizontal"
android:padding="5dp">
<ImageView
android:id="@+id/img_camera1"
android:layout_width="30dp"
android:layout_height="30dp"
android:layout_marginRight="10dp" />
<!--android:src="@mipmap/camera_orange"-->
</LinearLayout>
<View
android:layout_width="1dp"
android:layout_height="match_parent"
android:background="@color/grey_dark_background" />
<!--camera 2-->
<LinearLayout
android:id="@+id/lin_camera2"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_weight="1"
android:background="@drawable/layout_click_background_effect"
android:gravity="center_horizontal"
android:padding="5dp">
<ImageView
android:id="@+id/img_camera2"
android:layout_width="30dp"
android:layout_height="30dp"
android:layout_marginRight="10dp" />
</LinearLayout>
<View
android:id="@+id/view_camera2"
android:layout_width="1dp"
android:layout_height="match_parent"
android:background="@color/grey_dark_background" />
<!--camera 3-->
<LinearLayout
android:id="@+id/lin_camera3"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_weight="1"
android:background="@drawable/layout_click_background_effect"
android:gravity="center_horizontal"
android:padding="5dp">
<ImageView
android:id="@+id/img_camera3"
android:layout_width="30dp"
android:layout_height="30dp"
android:layout_marginRight="10dp" />
</LinearLayout>
<View
android:id="@+id/view_camera3"
android:layout_width="1dp"
android:layout_height="match_parent"
android:background="@color/grey_dark_background" />
<!--camera 4-->
<LinearLayout
android:id="@+id/lin_camera4"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_weight="1"
android:background="@drawable/layout_click_background_effect"
android:gravity="center_horizontal"
android:padding="5dp">
<ImageView
android:id="@+id/img_camera4"
android:layout_width="30dp"
android:layout_height="30dp"
android:layout_marginRight="10dp" />
</LinearLayout>
</LinearLayout>
<View
android:layout_width="match_parent"
android:layout_height="1dp"
android:background="@color/grey_dark_background" />
<LinearLayout
android:id="@+id/lin_category"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="horizontal"
android:padding="5dp"
android:weightSum="1">
<LinearLayout
android:layout_width="0dp"
android:layout_height="match_parent"
android:layout_weight=".5"
android:orientation="vertical">
<TextView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:gravity="center"
android:paddingBottom="5dp"
android:paddingTop="5dp"
android:text="@string/posm_stock"
android:textAppearance="?android:attr/textAppearanceSmall"
android:textColor="#222" />
</LinearLayout>
<LinearLayout
android:layout_width="0dp"
android:layout_height="match_parent"
android:layout_weight=".5"
android:orientation="vertical">
<TextView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:gravity="center"
android:layout_marginLeft="10dp"
android:layout_marginRight="20dp"
android:paddingBottom="5dp"
android:paddingTop="5dp"
android:text="@string/warehouse_stock"
android:textAppearance="?android:attr/textAppearanceSmall"
android:textColor="#222" />
</LinearLayout>
<!--<LinearLayout
android:layout_width="0dp"
android:layout_height="match_parent"
android:visibility="gone"
android:layout_weight=".20"
android:orientation="vertical">
<TextView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:gravity="center"
android:paddingBottom="5dp"
android:paddingTop="5dp"
android:text="@string/stock_facing_faceup"
android:textAppearance="?android:attr/textAppearanceSmall"
android:textColor="#222" />
</LinearLayout>-->
<!-- <LinearLayout
android:layout_width="0dp"
android:layout_height="match_parent"
android:layout_weight=".20"
android:visibility="gone"
android:orientation="vertical">
<TextView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:gravity="center"
android:paddingBottom="5dp"
android:paddingTop="5dp"
android:text="@string/stock_facing_stock"
android:textAppearance="?android:attr/textAppearanceSmall"
android:textColor="#222" />
</LinearLayout>-->
<!-- <LinearLayout
android:id="@+id/pricingLL"
android:layout_width="0dp"
android:visibility="gone"
android:layout_height="match_parent"
android:layout_weight=".20"
android:orientation="vertical">
<TextView
android:layout_width="match_parent"
android:layout_height="match_parent"
android:gravity="center"
android:paddingTop="5dp"
android:paddingBottom="5dp"
android:text="@string/pricing"
android:textAppearance="?android:attr/textAppearanceSmall"
android:textColor="#222" />
</LinearLayout>-->
</LinearLayout>
<ExpandableListView
android:id="@+id/expandableListView"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:cacheColorHint="#00000000"
android:divider="@null"
android:dividerHeight="0dp"
android:scrollingCache="false" />
</LinearLayout>
</RelativeLayout>