Egypt PD Added IR Visibility kpi

This commit is contained in:
ravik
2025-07-30 13:01:20 +05:30
parent d52ce68cf5
commit 42c1685176
37 changed files with 1983 additions and 461 deletions
@@ -15,131 +15,130 @@
android:elevation="5dp"
card_view:cardBackgroundColor="@color/white">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical"
android:paddingLeft="5dp"
android:paddingRight="5dp"
>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginBottom="2dp"
android:layout_marginTop="10dp"
android:layout_weight="10"
android:orientation="horizontal"
android:visibility="gone"
android:weightSum="25">
<TextView
android:layout_width="0dp"
android:layout_height="match_parent"
android:layout_weight="10"
android:text="@string/brandname"
android:textStyle="bold" />
<TextView
android:id="@+id/brand_name"
android:layout_width="0dp"
android:layout_height="match_parent"
android:layout_weight="15"
android:inputType="text" />
</LinearLayout>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginBottom="2dp"
android:orientation="horizontal"
android:weightSum="2">
<TextView
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_weight="1"
android:padding="10dp"
android:text="@string/displayname"
android:textAppearance="?android:attr/textAppearanceListItem"
android:textStyle="bold" />
<TextView
android:id="@+id/display_name"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_weight="1"
android:padding="10dp"
android:textAppearance="?android:attr/textAppearanceListItem" />
</LinearLayout>
<LinearLayout
android:id="@+id/third"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginBottom="2dp"
android:layout_weight="10"
android:orientation="horizontal"
android:visibility="gone"
android:weightSum="25">
<TextView
android:id="@+id/facing"
android:layout_width="0dp"
android:layout_height="match_parent"
android:layout_weight="10"
android:text="Quantity"
android:textStyle="bold" />
<TextView
android:id="@+id/qty_bought"
android:layout_width="0dp"
android:layout_height="match_parent"
android:layout_weight="15"
android:inputType="number" />
</LinearLayout>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="horizontal"
android:weightSum="2">
android:orientation="vertical"
android:paddingLeft="5dp"
android:paddingRight="5dp"
>
<LinearLayout
android:layout_width="0dp"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_weight="1"
android:visibility="invisible"
android:gravity="center_vertical"
android:layout_marginBottom="2dp"
android:layout_marginTop="10dp"
android:layout_weight="10"
android:orientation="horizontal"
android:paddingLeft="15dp">
android:visibility="gone"
android:weightSum="25">
<ImageView
android:layout_width="40dp"
android:layout_height="40dp"
android:src="@mipmap/camera_green" />
<TextView
android:layout_width="0dp"
android:layout_height="match_parent"
android:layout_weight="10"
android:text="@string/brandname"
android:textStyle="bold" />
<TextView
android:id="@+id/brand_name"
android:layout_width="0dp"
android:layout_height="match_parent"
android:layout_weight="15"
android:inputType="text" />
</LinearLayout>
<LinearLayout
android:layout_width="0dp"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_weight="1"
android:gravity="center"
android:layout_marginBottom="2dp"
android:orientation="horizontal"
android:layout_marginBottom="5dp">
android:weightSum="2">
<Button
android:id="@+id/delete_btn"
android:layout_width="wrap_content"
<TextView
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_gravity="right"
android:layout_marginRight="30dp"
android:background="@color/grey_background"
android:text="@string/delete" />
</LinearLayout>
</LinearLayout>
android:layout_weight="1"
android:padding="10dp"
android:text="@string/displayname"
android:textAppearance="?android:attr/textAppearanceListItem"
android:textStyle="bold" />
</LinearLayout>
<TextView
android:id="@+id/display_name"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_weight="1"
android:padding="10dp"
android:textAppearance="?android:attr/textAppearanceListItem" />
</LinearLayout>
<LinearLayout
android:id="@+id/third"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginBottom="2dp"
android:layout_weight="10"
android:orientation="horizontal"
android:visibility="gone"
android:weightSum="25">
<TextView
android:id="@+id/facing"
android:layout_width="0dp"
android:layout_height="match_parent"
android:layout_weight="10"
android:text="Quantity"
android:textStyle="bold" />
<TextView
android:id="@+id/qty_bought"
android:layout_width="0dp"
android:layout_height="match_parent"
android:layout_weight="15"
android:inputType="number" />
</LinearLayout>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="horizontal"
android:weightSum="2">
<LinearLayout
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_weight="1"
android:gravity="center_vertical"
android:orientation="horizontal"
android:paddingLeft="15dp">
<ImageView
android:layout_width="40dp"
android:layout_height="40dp"
android:src="@mipmap/camera_green" />
</LinearLayout>
<LinearLayout
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_weight="1"
android:gravity="center"
android:orientation="horizontal"
android:layout_marginBottom="5dp">
<Button
android:id="@+id/delete_btn"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="right"
android:layout_marginRight="30dp"
android:background="@color/grey_background"
android:text="@string/delete" />
</LinearLayout>
</LinearLayout>
</LinearLayout>
</androidx.cardview.widget.CardView>
</LinearLayout>