Aplicacion de abdroid para realizar inventarios de almacen de jumapa
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 

93 lines
3.5 KiB

<?xml version="1.0" encoding="utf-8"?>
<androidx.cardview.widget.CardView xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:layout_width="match_parent"
android:layout_height="wrap_content"
xmlns:tools="http://schemas.android.com/tools"
>
<!--app:cardCornerRadius="4dp" app:cardElevation="4dp" android:layout_margin="5dp"-->
<LinearLayout
android:layout_width="match_parent"
android:layout_height="100dp"
android:orientation="vertical">
<RelativeLayout
android:layout_width="match_parent"
android:layout_height="98dp"
android:background="?android:attr/selectableItemBackground"
android:padding="5dp">
<TextView
android:id="@+id/item_number"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentTop="true"
android:textAppearance="?attr/textAppearanceListItem"
android:textSize="28sp"
tools:text="10001" />
<TextView
android:id="@+id/item_clave"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentTop="true"
android:layout_alignParentEnd="true"
android:textAppearance="?attr/textAppearanceListItem"
android:textSize="28sp"
tools:text="VF001" />
<LinearLayout
android:id="@+id/layer_cantidad"
android:layout_width="146dp"
android:layout_height="29dp"
android:layout_below="@+id/item_clave"
android:layout_alignParentEnd="true"
android:layout_marginTop="3dp"
android:orientation="horizontal">
<TextView
android:layout_width="wrap_content"
android:layout_height="match_parent"
android:gravity="center"
android:text="Cantidad" />
<TextView
android:id="@+id/item_cantidad"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_below="@+id/item_clave"
android:layout_alignParentEnd="true"
android:layout_marginStart="10dp"
android:hint="Cantidad"
android:textAppearance="?attr/textAppearanceListItem"
android:textSize="18sp"
tools:text="25" />
</LinearLayout>
<TextView
android:id="@+id/content"
android:layout_width="252dp"
android:layout_height="44dp"
android:layout_below="@+id/item_number"
android:layout_alignParentStart="true"
android:layout_marginTop="1dp"
android:layout_marginEnd="4dp"
android:layout_toStartOf="@+id/layer_cantidad"
android:textAlignment="viewStart"
android:textSize="18sp"
tools:text="Almabre de Cobre 1/2'" />
</RelativeLayout>
<View
android:id="@+id/border"
android:layout_width="wrap_content"
android:layout_height="1dp"
android:background="#2196F3" />
</LinearLayout>
</androidx.cardview.widget.CardView>