taler-android

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

nav_header_main.xml (2287B)


      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 <LinearLayout 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="@dimen/nav_header_height"
     22     android:background="@drawable/side_nav_bar"
     23     android:gravity="bottom"
     24     android:orientation="vertical"
     25     android:paddingLeft="@dimen/activity_horizontal_margin"
     26     android:paddingTop="@dimen/activity_vertical_margin"
     27     android:paddingRight="@dimen/activity_horizontal_margin"
     28     android:paddingBottom="@dimen/activity_vertical_margin"
     29     android:theme="@style/AppTheme">
     30 
     31     <ImageView
     32         android:id="@+id/imageView"
     33         android:layout_width="wrap_content"
     34         android:layout_height="wrap_content"
     35         android:paddingTop="@dimen/nav_header_vertical_spacing"
     36         app:srcCompat="@mipmap/ic_taler_logo_round"
     37         tools:ignore="ContentDescription" />
     38 
     39     <TextView
     40         android:layout_width="match_parent"
     41         android:layout_height="wrap_content"
     42         android:paddingTop="@dimen/nav_header_vertical_spacing"
     43         android:text="@string/project_name"
     44         android:textAppearance="@style/TextAppearance.AppCompat.Body1"
     45         android:textColor="#FFF" />
     46 
     47     <TextView
     48         android:id="@+id/textView"
     49         android:layout_width="wrap_content"
     50         android:layout_height="wrap_content"
     51         android:text="@string/app_name_short"
     52         android:textColor="#FFF" />
     53 
     54 </LinearLayout>