taler-android

Android apps for GNU Taler (wallet, PoS, cashier)
Log | Files | Refs | README | LICENSE

fragment_order_state.xml (2268B)


      1 <?xml version="1.0" encoding="utf-8"?><!--
      2   ~ This file is part of GNU Taler
      3   ~ (C) 2020 Taler Systems S.A.
      4   ~
      5   ~ GNU Taler is free software; you can redistribute it and/or modify it under the
      6   ~ terms of the GNU General Public License as published by the Free Software
      7   ~ Foundation; either version 3, or (at your option) any later version.
      8   ~
      9   ~ GNU Taler is distributed in the hope that it will be useful, but WITHOUT ANY
     10   ~ WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
     11   ~ A PARTICULAR PURPOSE.  See the GNU General Public License for more details.
     12   ~
     13   ~ You should have received a copy of the GNU General Public License along with
     14   ~ GNU Taler; see the file COPYING.  If not, see <http://www.gnu.org/licenses/>
     15   -->
     16 
     17 <androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
     18     xmlns:app="http://schemas.android.com/apk/res-auto"
     19     xmlns:tools="http://schemas.android.com/tools"
     20     android:layout_width="match_parent"
     21     android:layout_height="match_parent">
     22 
     23     <androidx.recyclerview.widget.RecyclerView
     24         android:id="@+id/orderList"
     25         android:layout_width="0dp"
     26         android:layout_height="0dp"
     27         app:layout_constraintBottom_toTopOf="@+id/totalView"
     28         app:layout_constraintEnd_toEndOf="parent"
     29         app:layout_constraintStart_toStartOf="parent"
     30         app:layout_constraintTop_toTopOf="parent"
     31         tools:listitem="@layout/list_item_order" />
     32 
     33     <TextView
     34         android:id="@+id/totalView"
     35         android:layout_width="0dp"
     36         android:layout_height="wrap_content"
     37         android:background="@color/highlightedBackground"
     38         android:elevation="2dp"
     39         android:gravity="center_vertical|end"
     40         android:padding="8dp"
     41         android:textColor="?android:textColorPrimary"
     42         android:textSize="16sp"
     43         android:visibility="invisible"
     44         app:layout_constraintBottom_toBottomOf="parent"
     45         app:layout_constraintEnd_toEndOf="parent"
     46         app:layout_constraintStart_toStartOf="parent"
     47         app:layout_constraintTop_toBottomOf="@+id/orderList"
     48         tools:text="Total: 23.75 TESTKUDOS"
     49         tools:visibility="visible" />
     50 
     51 </androidx.constraintlayout.widget.ConstraintLayout>