Facebook
From Diminutive Hog, 6 Years ago, written in Plain Text.
Embed
Download Paste or View Raw
Hits: 320
  1. <FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
  2.     xmlns:app="http://schemas.android.com/apk/res-auto"
  3.     xmlns:tools="http://schemas.android.com/tools"
  4.     android:layout_width="match_parent"
  5.     android:layout_height="match_parent"
  6.     android:background="@color/colorWhite"
  7.     tools:context="com.quoviscr.apppv.BlankFragment">
  8.  
  9.     <!-- TODO: Update blank fragment layout -->
  10.  
  11.     <ScrollView
  12.         android:layout_width="match_parent"
  13.         android:layout_height="wrap_content"
  14.         tools:layout_editor_absoluteX="8dp"
  15.         tools:layout_editor_absoluteY="8dp">
  16.  
  17.         <android.support.constraint.ConstraintLayout
  18.             android:layout_width="match_parent"
  19.             android:layout_height="wrap_content"
  20.             android:background="@color/colorWhite">
  21.  
  22.             <android.support.constraint.ConstraintLayout
  23.                 android:id="@+id/layout_items_order"
  24.                 android:layout_width="0dp"
  25.                 android:layout_height="wrap_content"
  26.                 android:layout_marginEnd="8dp"
  27.                 android:layout_marginLeft="8dp"
  28.                 android:layout_marginRight="8dp"
  29.                 android:layout_marginStart="8dp"
  30.                 android:background="@drawable/myrect"
  31.                 android:elevation="2dp"
  32.                 android:paddingBottom="10dp"
  33.                 android:paddingTop="10dp"
  34.                 app:layout_constraintHorizontal_bias="0.0"
  35.                 app:layout_constraintLeft_toLeftOf="parent"
  36.                 app:layout_constraintRight_toRightOf="parent"
  37.                 android:layout_marginTop="7dp"
  38.                 app:layout_constraintTop_toBottomOf="@+id/constraintLayout3">
  39.  
  40.                 <TextView
  41.                     android:id="@+id/count_all_items"
  42.                     android:layout_width="wrap_content"
  43.                     android:layout_height="18dp"
  44.                     android:layout_marginEnd="16dp"
  45.                     android:layout_marginRight="8dp"
  46.                     android:layout_marginLeft="8dp"
  47.                     android:text="0"
  48.                     app:layout_constraintBaseline_toBaselineOf="@+id/textView3"
  49.                     app:layout_constraintRight_toRightOf="parent"/>
  50.  
  51.                 <TextView
  52.                     android:id="@+id/textView3"
  53.                     android:layout_width="wrap_content"
  54.                     android:layout_height="18dp"
  55.                     android:layout_marginLeft="16dp"
  56.                     android:layout_marginStart="16dp"
  57.                     android:text="Cantidad total"
  58.                     app:layout_constraintBottom_toBottomOf="parent"
  59.                     app:layout_constraintLeft_toLeftOf="parent"
  60.                     app:layout_constraintTop_toTopOf="parent"
  61.                     app:layout_constraintVertical_bias="0.0" />
  62.             </android.support.constraint.ConstraintLayout>
  63.  
  64.             <android.support.constraint.ConstraintLayout
  65.                 android:id="@+id/constraintLayout3"
  66.                 android:layout_width="0dp"
  67.                 android:layout_height="wrap_content"
  68.                 android:layout_marginEnd="8dp"
  69.                 android:layout_marginStart="8dp"
  70.                 android:background="@drawable/myrect"
  71.                 android:elevation="2dp"
  72.                 android:layout_marginRight="8dp"
  73.                 app:layout_constraintRight_toRightOf="parent"
  74.                 android:layout_marginLeft="8dp"
  75.                 app:layout_constraintLeft_toLeftOf="parent"
  76.                 app:layout_constraintHorizontal_bias="0.0"
  77.                 android:layout_marginTop="65dp"
  78.                 app:layout_constraintTop_toBottomOf="@+id/layout_order_company">
  79.  
  80.                 <EditText
  81.                     android:id="@+id/input_code"
  82.                     android:layout_width="77dp"
  83.                     android:layout_height="44dp"
  84.                     android:layout_marginLeft="8dp"
  85.                     android:layout_marginStart="8dp"
  86.                     android:layout_marginTop="5dp"
  87.                     android:textSize="14dp"
  88.                     android:hint="Código"
  89.                     android:inputType="text"
  90.                     app:layout_constraintLeft_toLeftOf="parent"
  91.                     app:layout_constraintTop_toTopOf="parent" />
  92.  
  93.                 <Button
  94.                     android:id="@+id/button3"
  95.                     android:layout_width="68dp"
  96.                     android:layout_height="35dp"
  97.                     android:layout_marginEnd="8dp"
  98.                     android:layout_marginLeft="8dp"
  99.                     android:layout_marginStart="8dp"
  100.                     android:layout_marginTop="9dp"
  101.                     android:background="@android:color/transparent"
  102.                     android:drawableTop="@android:drawable/ic_menu_search"
  103.                     app:layout_constraintLeft_toRightOf="@+id/add_item"
  104.                     app:layout_constraintTop_toTopOf="parent"
  105.                     app:layout_constraintBottom_toBottomOf="parent"
  106.                     android:layout_marginBottom="8dp"
  107.                     android:layout_marginRight="8dp"
  108.                     app:layout_constraintRight_toRightOf="parent"
  109.                     app:layout_constraintHorizontal_bias="0.09" />
  110.  
  111.                 <Button
  112.                     android:id="@+id/add_item"
  113.                     android:layout_width="68dp"
  114.                     android:layout_height="45dp"
  115.                     android:layout_marginLeft="10dp"
  116.                     android:layout_marginStart="10dp"
  117.                     android:text="+"
  118.                     app:layout_constraintLeft_toRightOf="@+id/input_count"
  119.                     app:layout_constraintBaseline_toBaselineOf="@+id/input_code" />
  120.  
  121.                 <EditText
  122.                     android:id="@+id/input_count"
  123.                     android:layout_width="68dp"
  124.                     android:layout_height="40dp"
  125.                     android:layout_marginLeft="8dp"
  126.                     android:hint="Cantidad"
  127.                     android:textSize="14dp"
  128.                     android:inputType="number"
  129.                     app:layout_constraintBaseline_toBaselineOf="@+id/input_code"
  130.                     app:layout_constraintLeft_toRightOf="@+id/input_code"
  131.                     android:layout_marginStart="8dp" />
  132.             </android.support.constraint.ConstraintLayout>
  133.  
  134.  
  135.             <android.support.constraint.ConstraintLayout
  136.                 android:id="@+id/constraintLayout"
  137.                 android:layout_width="0dp"
  138.                 android:layout_height="wrap_content"
  139.                 android:layout_marginEnd="8dp"
  140.                 android:layout_marginLeft="8dp"
  141.                 android:layout_marginRight="8dp"
  142.                 android:layout_marginStart="8dp"
  143.                 android:layout_marginTop="12dp"
  144.                 android:background="@drawable/myrect"
  145.                 android:elevation="2dp"
  146.                 android:paddingBottom="10dp"
  147.                 app:layout_constraintHorizontal_bias="0.0"
  148.                 app:layout_constraintLeft_toLeftOf="parent"
  149.                 app:layout_constraintRight_toRightOf="parent"
  150.                 app:layout_constraintTop_toBottomOf="@+id/layout_items_order">
  151.  
  152.  
  153.                 <TextView
  154.                     android:id="@+id/textView6"
  155.                     android:layout_width="wrap_content"
  156.                     android:layout_height="wrap_content"
  157.                     android:layout_marginLeft="16dp"
  158.                     android:layout_marginStart="16dp"
  159.                     android:layout_marginTop="9dp"
  160.                     android:text="Descuento"
  161.                     app:layout_constraintLeft_toLeftOf="parent"
  162.                     app:layout_constraintTop_toBottomOf="@+id/textView5" />
  163.  
  164.                 <TextView
  165.                     android:id="@+id/textView5"
  166.                     android:layout_width="wrap_content"
  167.                     android:layout_height="wrap_content"
  168.                     android:layout_marginLeft="16dp"
  169.                     android:layout_marginStart="16dp"
  170.                     android:layout_marginTop="8dp"
  171.                     android:text="Sub-Total"
  172.                     app:layout_constraintLeft_toLeftOf="parent"
  173.                     app:layout_constraintTop_toTopOf="parent" />
  174.  
  175.                 <TextView
  176.                     android:id="@+id/textView7"
  177.                     android:layout_width="wrap_content"
  178.                     android:layout_height="wrap_content"
  179.                     android:layout_marginLeft="16dp"
  180.                     android:layout_marginStart="16dp"
  181.                     android:layout_marginTop="7dp"
  182.                     android:text="Impuesto"
  183.                     app:layout_constraintLeft_toLeftOf="parent"
  184.                     app:layout_constraintTop_toBottomOf="@+id/textView6" />
  185.  
  186.                 <TextView
  187.                     android:id="@+id/lbl_taxes"
  188.                     android:layout_width="wrap_content"
  189.                     android:layout_height="wrap_content"
  190.                     android:layout_marginEnd="16dp"
  191.                     android:layout_marginRight="16dp"
  192.                     android:layout_marginTop="7dp"
  193.                     android:text="0"
  194.                     app:layout_constraintRight_toRightOf="parent"
  195.                     app:layout_constraintTop_toBottomOf="@+id/textView14" />
  196.  
  197.                 <TextView
  198.                     android:id="@+id/textView14"
  199.                     android:layout_width="wrap_content"
  200.                     android:layout_height="wrap_content"
  201.                     android:layout_marginEnd="16dp"
  202.                     android:layout_marginRight="16dp"
  203.                     android:layout_marginTop="8dp"
  204.                     android:text="0"
  205.                     app:layout_constraintRight_toRightOf="parent"
  206.                     app:layout_constraintTop_toBottomOf="@+id/lbl_subtotal" />
  207.  
  208.                 <TextView
  209.                     android:id="@+id/lbl_subtotal"
  210.                     android:layout_width="wrap_content"
  211.                     android:layout_height="wrap_content"
  212.                     android:layout_marginEnd="16dp"
  213.                     android:layout_marginRight="16dp"
  214.                     android:layout_marginTop="8dp"
  215.                     android:text="0"
  216.                     app:layout_constraintRight_toRightOf="parent"
  217.                     app:layout_constraintTop_toTopOf="parent" />
  218.  
  219.             </android.support.constraint.ConstraintLayout>
  220.  
  221.             <Button
  222.                 android:id="@+id/btn_add_invoice"
  223.                 android:layout_width="149dp"
  224.                 android:layout_height="48dp"
  225.                 android:layout_marginTop="9dp"
  226.                 android:background="@drawable/btn_guardar"
  227.                 android:text=""
  228.                 app:layout_constraintLeft_toLeftOf="parent"
  229.                 app:layout_constraintRight_toRightOf="parent"
  230.                 app:layout_constraintTop_toBottomOf="@+id/constraintLayout2" />
  231.  
  232.             <android.support.constraint.ConstraintLayout
  233.                 android:id="@+id/constraintLayout2"
  234.                 android:layout_width="0dp"
  235.                 android:layout_height="wrap_content"
  236.                 android:layout_marginEnd="8dp"
  237.                 android:layout_marginLeft="8dp"
  238.                 android:layout_marginRight="8dp"
  239.                 android:layout_marginStart="8dp"
  240.                 android:layout_marginTop="20dp"
  241.  
  242.                 android:background="@drawable/bg_yellow"
  243.                 android:elevation="2dp"
  244.                 android:paddingBottom="10dp"
  245.                 app:layout_constraintHorizontal_bias="0.0"
  246.                 app:layout_constraintLeft_toLeftOf="parent"
  247.                 app:layout_constraintRight_toRightOf="parent"
  248.                 app:layout_constraintTop_toBottomOf="@+id/constraintLayout">
  249.  
  250.                 <TextView
  251.                     android:id="@+id/lbl_total"
  252.                     android:layout_width="wrap_content"
  253.                     android:layout_height="wrap_content"
  254.                     android:layout_marginEnd="16dp"
  255.                     android:layout_marginRight="16dp"
  256.                     android:layout_marginTop="8dp"
  257.                     android:text="0"
  258.                     app:layout_constraintRight_toRightOf="parent"
  259.                     app:layout_constraintTop_toTopOf="parent" />
  260.  
  261.                 <TextView
  262.                     android:id="@+id/textView8"
  263.                     android:layout_width="wrap_content"
  264.                     android:layout_height="wrap_content"
  265.                     android:layout_marginLeft="16dp"
  266.                     android:layout_marginStart="16dp"
  267.                     android:layout_marginTop="8dp"
  268.                     android:text="Total"
  269.                     app:layout_constraintLeft_toLeftOf="parent"
  270.                     app:layout_constraintTop_toTopOf="parent" />
  271.             </android.support.constraint.ConstraintLayout>
  272.  
  273.             <android.support.constraint.ConstraintLayout
  274.                 android:layout_width="0dp"
  275.                 android:layout_height="wrap_content"
  276.                 android:layout_marginEnd="8dp"
  277.                 android:layout_marginStart="8dp"
  278.                 android:layout_marginBottom="8dp"
  279.                 android:paddingBottom="10dp"
  280.                 android:background="@drawable/myrect"
  281.                 android:elevation="2dp"
  282.                 app:layout_constraintBottom_toTopOf="@+id/constraintLayout3"
  283.                 android:layout_marginRight="8dp"
  284.                 app:layout_constraintRight_toRightOf="parent"
  285.                 android:layout_marginLeft="8dp"
  286.                 app:layout_constraintLeft_toLeftOf="parent"
  287.                 app:layout_constraintHorizontal_bias="0.0"
  288.                 android:layout_marginTop="8dp"
  289.                 app:layout_constraintTop_toBottomOf="@+id/layout_order_company"
  290.                 app:layout_constraintVertical_bias="0.166"
  291.                 android:id="@+id/layout_client">
  292.  
  293.                 <TextView
  294.                     android:id="@+id/lbl_name_client"
  295.                     android:layout_width="wrap_content"
  296.                     android:layout_height="wrap_content"
  297.                     android:text="Cliente"
  298.                     app:layout_constraintTop_toTopOf="parent"
  299.                     app:layout_constraintBottom_toBottomOf="parent"
  300.                     app:layout_constraintLeft_toRightOf="@+id/textView13"
  301.                     android:layout_marginLeft="8dp"
  302.                     android:layout_marginStart="8dp" />
  303.  
  304.                 <TextView
  305.                     android:id="@+id/textView13"
  306.                     android:layout_width="wrap_content"
  307.                     android:layout_height="wrap_content"
  308.                     android:text="Para: "
  309.                     app:layout_constraintTop_toTopOf="parent"
  310.                     android:layout_marginTop="8dp"
  311.                     android:layout_marginLeft="8dp"
  312.                     app:layout_constraintLeft_toLeftOf="parent"
  313.                     app:layout_constraintBottom_toBottomOf="parent"
  314.                     android:layout_marginBottom="8dp"
  315.                     android:layout_marginStart="8dp" />
  316.             </android.support.constraint.ConstraintLayout>
  317.  
  318.             <android.support.constraint.ConstraintLayout
  319.                 android:layout_width="0dp"
  320.                 android:layout_height="wrap_content"
  321.                 android:layout_marginEnd="8dp"
  322.                 android:layout_marginStart="8dp"
  323.                 android:paddingBottom="10dp"
  324.                 android:focusableInTouchMode="true"
  325.                 android:background="@drawable/myrect"
  326.                 android:elevation="2dp"
  327.                 app:layout_constraintLeft_toLeftOf="parent"
  328.                 app:layout_constraintRight_toRightOf="parent"
  329.                 android:id="@+id/layout_order_company"
  330.                 app:layout_constraintHorizontal_bias="0.0"
  331.                 app:layout_constraintTop_toTopOf="parent"
  332.                 android:layout_marginTop="16dp"
  333.                 android:layout_marginLeft="8dp"
  334.                 android:layout_marginRight="8dp">
  335.  
  336.                 <TextView
  337.                     android:id="@+id/textView19"
  338.                     android:layout_width="wrap_content"
  339.                     android:layout_height="wrap_content"
  340.                     android:text="Compañia 1"
  341.                     android:textColor="@color/colorPrimary"
  342.                     android:layout_marginLeft="8dp"
  343.                     app:layout_constraintLeft_toLeftOf="parent"
  344.                     android:layout_marginTop="8dp"
  345.                     app:layout_constraintTop_toBottomOf="@+id/lbl_number" />
  346.  
  347.                 <TextView
  348.                     android:id="@+id/lbl_number"
  349.                     android:layout_width="wrap_content"
  350.                     android:textSize="20dp"
  351.                     android:layout_height="wrap_content"
  352.                     android:text="FAC0001"
  353.                     tools:layout_editor_absoluteY="0dp"
  354.                     android:layout_marginLeft="8dp"
  355.                     app:layout_constraintLeft_toLeftOf="parent"
  356.                     app:layout_constraintTop_toTopOf="parent"
  357.                     android:layout_marginTop="8dp" />
  358.  
  359.                 <TextView
  360.                     android:id="@+id/lbl_date_invoice"
  361.                     android:layout_width="wrap_content"
  362.                     android:layout_height="wrap_content"
  363.                     android:text="17-05-2017"
  364.                     app:layout_constraintTop_toTopOf="parent"
  365.                     app:layout_constraintBottom_toBottomOf="parent"
  366.                     app:layout_constraintVertical_bias="0.511"
  367.                     android:layout_marginRight="8dp"
  368.                     app:layout_constraintRight_toRightOf="parent"
  369.                     android:layout_marginTop="8dp" />
  370.             </android.support.constraint.ConstraintLayout>
  371.  
  372.         </android.support.constraint.ConstraintLayout>
  373.     </ScrollView>
  374.  
  375. </FrameLayout>
  376.