- <FrameLayout 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:background="@color/colorWhite"
- tools:context="com.quoviscr.apppv.BlankFragment">
- <!-- TODO: Update blank fragment layout -->
- <ScrollView
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- tools:layout_editor_absoluteX="8dp"
- tools:layout_editor_absoluteY="8dp">
- <android.support.constraint.ConstraintLayout
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:background="@color/colorWhite">
- <android.support.constraint.ConstraintLayout
- android:id="@+id/layout_items_order"
- android:layout_width="0dp"
- android:layout_height="wrap_content"
- android:layout_marginEnd="8dp"
- android:layout_marginLeft="8dp"
- android:layout_marginRight="8dp"
- android:layout_marginStart="8dp"
- android:background="@drawable/myrect"
- android:elevation="2dp"
- android:paddingBottom="10dp"
- android:paddingTop="10dp"
- app:layout_constraintHorizontal_bias="0.0"
- app:layout_constraintLeft_toLeftOf="parent"
- app:layout_constraintRight_toRightOf="parent"
- android:layout_marginTop="7dp"
- app:layout_constraintTop_toBottomOf="@+id/constraintLayout3">
- <TextView
- android:id="@+id/count_all_items"
- android:layout_width="wrap_content"
- android:layout_height="18dp"
- android:layout_marginEnd="16dp"
- android:layout_marginRight="8dp"
- android:layout_marginLeft="8dp"
- android:text="0"
- app:layout_constraintBaseline_toBaselineOf="@+id/textView3"
- app:layout_constraintRight_toRightOf="parent"/>
- <TextView
- android:id="@+id/textView3"
- android:layout_width="wrap_content"
- android:layout_height="18dp"
- android:layout_marginLeft="16dp"
- android:layout_marginStart="16dp"
- android:text="Cantidad total"
- app:layout_constraintBottom_toBottomOf="parent"
- app:layout_constraintLeft_toLeftOf="parent"
- app:layout_constraintTop_toTopOf="parent"
- app:layout_constraintVertical_bias="0.0" />
- </android.support.constraint.ConstraintLayout>
- <android.support.constraint.ConstraintLayout
- android:id="@+id/constraintLayout3"
- android:layout_width="0dp"
- android:layout_height="wrap_content"
- android:layout_marginEnd="8dp"
- android:layout_marginStart="8dp"
- android:background="@drawable/myrect"
- android:elevation="2dp"
- android:layout_marginRight="8dp"
- app:layout_constraintRight_toRightOf="parent"
- android:layout_marginLeft="8dp"
- app:layout_constraintLeft_toLeftOf="parent"
- app:layout_constraintHorizontal_bias="0.0"
- android:layout_marginTop="65dp"
- app:layout_constraintTop_toBottomOf="@+id/layout_order_company">
- <EditText
- android:id="@+id/input_code"
- android:layout_width="77dp"
- android:layout_height="44dp"
- android:layout_marginLeft="8dp"
- android:layout_marginStart="8dp"
- android:layout_marginTop="5dp"
- android:textSize="14dp"
- android:hint="Código"
- android:inputType="text"
- app:layout_constraintLeft_toLeftOf="parent"
- app:layout_constraintTop_toTopOf="parent" />
- <Button
- android:id="@+id/button3"
- android:layout_width="68dp"
- android:layout_height="35dp"
- android:layout_marginEnd="8dp"
- android:layout_marginLeft="8dp"
- android:layout_marginStart="8dp"
- android:layout_marginTop="9dp"
- android:background="@android:color/transparent"
- android:drawableTop="@android:drawable/ic_menu_search"
- app:layout_constraintLeft_toRightOf="@+id/add_item"
- app:layout_constraintTop_toTopOf="parent"
- app:layout_constraintBottom_toBottomOf="parent"
- android:layout_marginBottom="8dp"
- android:layout_marginRight="8dp"
- app:layout_constraintRight_toRightOf="parent"
- app:layout_constraintHorizontal_bias="0.09" />
- <Button
- android:id="@+id/add_item"
- android:layout_width="68dp"
- android:layout_height="45dp"
- android:layout_marginLeft="10dp"
- android:layout_marginStart="10dp"
- android:text="+"
- app:layout_constraintLeft_toRightOf="@+id/input_count"
- app:layout_constraintBaseline_toBaselineOf="@+id/input_code" />
- <EditText
- android:id="@+id/input_count"
- android:layout_width="68dp"
- android:layout_height="40dp"
- android:layout_marginLeft="8dp"
- android:hint="Cantidad"
- android:textSize="14dp"
- android:inputType="number"
- app:layout_constraintBaseline_toBaselineOf="@+id/input_code"
- app:layout_constraintLeft_toRightOf="@+id/input_code"
- android:layout_marginStart="8dp" />
- </android.support.constraint.ConstraintLayout>
- <android.support.constraint.ConstraintLayout
- android:id="@+id/constraintLayout"
- android:layout_width="0dp"
- android:layout_height="wrap_content"
- android:layout_marginEnd="8dp"
- android:layout_marginLeft="8dp"
- android:layout_marginRight="8dp"
- android:layout_marginStart="8dp"
- android:layout_marginTop="12dp"
- android:background="@drawable/myrect"
- android:elevation="2dp"
- android:paddingBottom="10dp"
- app:layout_constraintHorizontal_bias="0.0"
- app:layout_constraintLeft_toLeftOf="parent"
- app:layout_constraintRight_toRightOf="parent"
- app:layout_constraintTop_toBottomOf="@+id/layout_items_order">
- <TextView
- android:id="@+id/textView6"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_marginLeft="16dp"
- android:layout_marginStart="16dp"
- android:layout_marginTop="9dp"
- android:text="Descuento"
- app:layout_constraintLeft_toLeftOf="parent"
- app:layout_constraintTop_toBottomOf="@+id/textView5" />
- <TextView
- android:id="@+id/textView5"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_marginLeft="16dp"
- android:layout_marginStart="16dp"
- android:layout_marginTop="8dp"
- android:text="Sub-Total"
- app:layout_constraintLeft_toLeftOf="parent"
- app:layout_constraintTop_toTopOf="parent" />
- <TextView
- android:id="@+id/textView7"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_marginLeft="16dp"
- android:layout_marginStart="16dp"
- android:layout_marginTop="7dp"
- android:text="Impuesto"
- app:layout_constraintLeft_toLeftOf="parent"
- app:layout_constraintTop_toBottomOf="@+id/textView6" />
- <TextView
- android:id="@+id/lbl_taxes"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_marginEnd="16dp"
- android:layout_marginRight="16dp"
- android:layout_marginTop="7dp"
- android:text="0"
- app:layout_constraintRight_toRightOf="parent"
- app:layout_constraintTop_toBottomOf="@+id/textView14" />
- <TextView
- android:id="@+id/textView14"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_marginEnd="16dp"
- android:layout_marginRight="16dp"
- android:layout_marginTop="8dp"
- android:text="0"
- app:layout_constraintRight_toRightOf="parent"
- app:layout_constraintTop_toBottomOf="@+id/lbl_subtotal" />
- <TextView
- android:id="@+id/lbl_subtotal"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_marginEnd="16dp"
- android:layout_marginRight="16dp"
- android:layout_marginTop="8dp"
- android:text="0"
- app:layout_constraintRight_toRightOf="parent"
- app:layout_constraintTop_toTopOf="parent" />
- </android.support.constraint.ConstraintLayout>
- <Button
- android:id="@+id/btn_add_invoice"
- android:layout_width="149dp"
- android:layout_height="48dp"
- android:layout_marginTop="9dp"
- android:background="@drawable/btn_guardar"
- android:text=""
- app:layout_constraintLeft_toLeftOf="parent"
- app:layout_constraintRight_toRightOf="parent"
- app:layout_constraintTop_toBottomOf="@+id/constraintLayout2" />
- <android.support.constraint.ConstraintLayout
- android:id="@+id/constraintLayout2"
- android:layout_width="0dp"
- android:layout_height="wrap_content"
- android:layout_marginEnd="8dp"
- android:layout_marginLeft="8dp"
- android:layout_marginRight="8dp"
- android:layout_marginStart="8dp"
- android:layout_marginTop="20dp"
- android:background="@drawable/bg_yellow"
- android:elevation="2dp"
- android:paddingBottom="10dp"
- app:layout_constraintHorizontal_bias="0.0"
- app:layout_constraintLeft_toLeftOf="parent"
- app:layout_constraintRight_toRightOf="parent"
- app:layout_constraintTop_toBottomOf="@+id/constraintLayout">
- <TextView
- android:id="@+id/lbl_total"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_marginEnd="16dp"
- android:layout_marginRight="16dp"
- android:layout_marginTop="8dp"
- android:text="0"
- app:layout_constraintRight_toRightOf="parent"
- app:layout_constraintTop_toTopOf="parent" />
- <TextView
- android:id="@+id/textView8"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_marginLeft="16dp"
- android:layout_marginStart="16dp"
- android:layout_marginTop="8dp"
- android:text="Total"
- app:layout_constraintLeft_toLeftOf="parent"
- app:layout_constraintTop_toTopOf="parent" />
- </android.support.constraint.ConstraintLayout>
- <android.support.constraint.ConstraintLayout
- android:layout_width="0dp"
- android:layout_height="wrap_content"
- android:layout_marginEnd="8dp"
- android:layout_marginStart="8dp"
- android:layout_marginBottom="8dp"
- android:paddingBottom="10dp"
- android:background="@drawable/myrect"
- android:elevation="2dp"
- app:layout_constraintBottom_toTopOf="@+id/constraintLayout3"
- android:layout_marginRight="8dp"
- app:layout_constraintRight_toRightOf="parent"
- android:layout_marginLeft="8dp"
- app:layout_constraintLeft_toLeftOf="parent"
- app:layout_constraintHorizontal_bias="0.0"
- android:layout_marginTop="8dp"
- app:layout_constraintTop_toBottomOf="@+id/layout_order_company"
- app:layout_constraintVertical_bias="0.166"
- android:id="@+id/layout_client">
- <TextView
- android:id="@+id/lbl_name_client"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:text="Cliente"
- app:layout_constraintTop_toTopOf="parent"
- app:layout_constraintBottom_toBottomOf="parent"
- app:layout_constraintLeft_toRightOf="@+id/textView13"
- android:layout_marginLeft="8dp"
- android:layout_marginStart="8dp" />
- <TextView
- android:id="@+id/textView13"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:text="Para: "
- app:layout_constraintTop_toTopOf="parent"
- android:layout_marginTop="8dp"
- android:layout_marginLeft="8dp"
- app:layout_constraintLeft_toLeftOf="parent"
- app:layout_constraintBottom_toBottomOf="parent"
- android:layout_marginBottom="8dp"
- android:layout_marginStart="8dp" />
- </android.support.constraint.ConstraintLayout>
- <android.support.constraint.ConstraintLayout
- android:layout_width="0dp"
- android:layout_height="wrap_content"
- android:layout_marginEnd="8dp"
- android:layout_marginStart="8dp"
- android:paddingBottom="10dp"
- android:focusableInTouchMode="true"
- android:background="@drawable/myrect"
- android:elevation="2dp"
- app:layout_constraintLeft_toLeftOf="parent"
- app:layout_constraintRight_toRightOf="parent"
- android:id="@+id/layout_order_company"
- app:layout_constraintHorizontal_bias="0.0"
- app:layout_constraintTop_toTopOf="parent"
- android:layout_marginTop="16dp"
- android:layout_marginLeft="8dp"
- android:layout_marginRight="8dp">
- <TextView
- android:id="@+id/textView19"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:text="Compañia 1"
- android:textColor="@color/colorPrimary"
- android:layout_marginLeft="8dp"
- app:layout_constraintLeft_toLeftOf="parent"
- android:layout_marginTop="8dp"
- app:layout_constraintTop_toBottomOf="@+id/lbl_number" />
- <TextView
- android:id="@+id/lbl_number"
- android:layout_width="wrap_content"
- android:textSize="20dp"
- android:layout_height="wrap_content"
- android:text="FAC0001"
- tools:layout_editor_absoluteY="0dp"
- android:layout_marginLeft="8dp"
- app:layout_constraintLeft_toLeftOf="parent"
- app:layout_constraintTop_toTopOf="parent"
- android:layout_marginTop="8dp" />
- <TextView
- android:id="@+id/lbl_date_invoice"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:text="17-05-2017"
- app:layout_constraintTop_toTopOf="parent"
- app:layout_constraintBottom_toBottomOf="parent"
- app:layout_constraintVertical_bias="0.511"
- android:layout_marginRight="8dp"
- app:layout_constraintRight_toRightOf="parent"
- android:layout_marginTop="8dp" />
- </android.support.constraint.ConstraintLayout>
- </android.support.constraint.ConstraintLayout>
- </ScrollView>
- </FrameLayout>