Updated on 2026-08-14

This commit is contained in:
Tangem 2018-05-28 14:43:40 +03:00
parent 1d2b869b46
commit 0374157cad
128 changed files with 22317 additions and 22317 deletions

View file

@ -1,34 +1,34 @@
<vector xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:aapt="http://schemas.android.com/aapt"
android:width="108dp"
android:height="108dp"
android:viewportHeight="108"
android:viewportWidth="108">
<path
android:fillType="evenOdd"
android:pathData="M32,64C32,64 38.39,52.99 44.13,50.95C51.37,48.37 70.14,49.57 70.14,49.57L108.26,87.69L108,109.01L75.97,107.97L32,64Z"
android:strokeColor="#00000000"
android:strokeWidth="1">
<aapt:attr name="android:fillColor">
<gradient
android:endX="78.5885"
android:endY="90.9159"
android:startX="48.7653"
android:startY="61.0927"
android:type="linear">
<item
android:color="#44000000"
android:offset="0.0" />
<item
android:color="#00000000"
android:offset="1.0" />
</gradient>
</aapt:attr>
</path>
<path
android:fillColor="#FFFFFF"
android:fillType="nonZero"
android:pathData="M66.94,46.02L66.94,46.02C72.44,50.07 76,56.61 76,64L32,64C32,56.61 35.56,50.11 40.98,46.06L36.18,41.19C35.45,40.45 35.45,39.3 36.18,38.56C36.91,37.81 38.05,37.81 38.78,38.56L44.25,44.05C47.18,42.57 50.48,41.71 54,41.71C57.48,41.71 60.78,42.57 63.68,44.05L69.11,38.56C69.84,37.81 70.98,37.81 71.71,38.56C72.44,39.3 72.44,40.45 71.71,41.19L66.94,46.02ZM62.94,56.92C64.08,56.92 65,56.01 65,54.88C65,53.76 64.08,52.85 62.94,52.85C61.8,52.85 60.88,53.76 60.88,54.88C60.88,56.01 61.8,56.92 62.94,56.92ZM45.06,56.92C46.2,56.92 47.13,56.01 47.13,54.88C47.13,53.76 46.2,52.85 45.06,52.85C43.92,52.85 43,53.76 43,54.88C43,56.01 43.92,56.92 45.06,56.92Z"
android:strokeColor="#00000000"
android:strokeWidth="1" />
</vector>
<vector xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:aapt="http://schemas.android.com/aapt"
android:width="108dp"
android:height="108dp"
android:viewportHeight="108"
android:viewportWidth="108">
<path
android:fillType="evenOdd"
android:pathData="M32,64C32,64 38.39,52.99 44.13,50.95C51.37,48.37 70.14,49.57 70.14,49.57L108.26,87.69L108,109.01L75.97,107.97L32,64Z"
android:strokeColor="#00000000"
android:strokeWidth="1">
<aapt:attr name="android:fillColor">
<gradient
android:endX="78.5885"
android:endY="90.9159"
android:startX="48.7653"
android:startY="61.0927"
android:type="linear">
<item
android:color="#44000000"
android:offset="0.0" />
<item
android:color="#00000000"
android:offset="1.0" />
</gradient>
</aapt:attr>
</path>
<path
android:fillColor="#FFFFFF"
android:fillType="nonZero"
android:pathData="M66.94,46.02L66.94,46.02C72.44,50.07 76,56.61 76,64L32,64C32,56.61 35.56,50.11 40.98,46.06L36.18,41.19C35.45,40.45 35.45,39.3 36.18,38.56C36.91,37.81 38.05,37.81 38.78,38.56L44.25,44.05C47.18,42.57 50.48,41.71 54,41.71C57.48,41.71 60.78,42.57 63.68,44.05L69.11,38.56C69.84,37.81 70.98,37.81 71.71,38.56C72.44,39.3 72.44,40.45 71.71,41.19L66.94,46.02ZM62.94,56.92C64.08,56.92 65,56.01 65,54.88C65,53.76 64.08,52.85 62.94,52.85C61.8,52.85 60.88,53.76 60.88,54.88C60.88,56.01 61.8,56.92 62.94,56.92ZM45.06,56.92C46.2,56.92 47.13,56.01 47.13,54.88C47.13,53.76 46.2,52.85 45.06,52.85C43.92,52.85 43,53.76 43,54.88C43,56.01 43.92,56.92 45.06,56.92Z"
android:strokeColor="#00000000"
android:strokeWidth="1" />
</vector>

View file

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<shape xmlns:android="http://schemas.android.com/apk/res/android" android:shape="rectangle" >
<solid android:color="@android:color/transparent" />
<stroke android:width="1dip" android:color="#4fa5d5"/>
</shape>
<?xml version="1.0" encoding="utf-8"?>
<shape xmlns:android="http://schemas.android.com/apk/res/android" android:shape="rectangle" >
<solid android:color="@android:color/transparent" />
<stroke android:width="1dip" android:color="#4fa5d5"/>
</shape>

View file

@ -1,170 +1,170 @@
<?xml version="1.0" encoding="utf-8"?>
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="108dp"
android:height="108dp"
android:viewportHeight="108"
android:viewportWidth="108">
<path
android:fillColor="#26A69A"
android:pathData="M0,0h108v108h-108z" />
<path
android:fillColor="#00000000"
android:pathData="M9,0L9,108"
android:strokeColor="#33FFFFFF"
android:strokeWidth="0.8" />
<path
android:fillColor="#00000000"
android:pathData="M19,0L19,108"
android:strokeColor="#33FFFFFF"
android:strokeWidth="0.8" />
<path
android:fillColor="#00000000"
android:pathData="M29,0L29,108"
android:strokeColor="#33FFFFFF"
android:strokeWidth="0.8" />
<path
android:fillColor="#00000000"
android:pathData="M39,0L39,108"
android:strokeColor="#33FFFFFF"
android:strokeWidth="0.8" />
<path
android:fillColor="#00000000"
android:pathData="M49,0L49,108"
android:strokeColor="#33FFFFFF"
android:strokeWidth="0.8" />
<path
android:fillColor="#00000000"
android:pathData="M59,0L59,108"
android:strokeColor="#33FFFFFF"
android:strokeWidth="0.8" />
<path
android:fillColor="#00000000"
android:pathData="M69,0L69,108"
android:strokeColor="#33FFFFFF"
android:strokeWidth="0.8" />
<path
android:fillColor="#00000000"
android:pathData="M79,0L79,108"
android:strokeColor="#33FFFFFF"
android:strokeWidth="0.8" />
<path
android:fillColor="#00000000"
android:pathData="M89,0L89,108"
android:strokeColor="#33FFFFFF"
android:strokeWidth="0.8" />
<path
android:fillColor="#00000000"
android:pathData="M99,0L99,108"
android:strokeColor="#33FFFFFF"
android:strokeWidth="0.8" />
<path
android:fillColor="#00000000"
android:pathData="M0,9L108,9"
android:strokeColor="#33FFFFFF"
android:strokeWidth="0.8" />
<path
android:fillColor="#00000000"
android:pathData="M0,19L108,19"
android:strokeColor="#33FFFFFF"
android:strokeWidth="0.8" />
<path
android:fillColor="#00000000"
android:pathData="M0,29L108,29"
android:strokeColor="#33FFFFFF"
android:strokeWidth="0.8" />
<path
android:fillColor="#00000000"
android:pathData="M0,39L108,39"
android:strokeColor="#33FFFFFF"
android:strokeWidth="0.8" />
<path
android:fillColor="#00000000"
android:pathData="M0,49L108,49"
android:strokeColor="#33FFFFFF"
android:strokeWidth="0.8" />
<path
android:fillColor="#00000000"
android:pathData="M0,59L108,59"
android:strokeColor="#33FFFFFF"
android:strokeWidth="0.8" />
<path
android:fillColor="#00000000"
android:pathData="M0,69L108,69"
android:strokeColor="#33FFFFFF"
android:strokeWidth="0.8" />
<path
android:fillColor="#00000000"
android:pathData="M0,79L108,79"
android:strokeColor="#33FFFFFF"
android:strokeWidth="0.8" />
<path
android:fillColor="#00000000"
android:pathData="M0,89L108,89"
android:strokeColor="#33FFFFFF"
android:strokeWidth="0.8" />
<path
android:fillColor="#00000000"
android:pathData="M0,99L108,99"
android:strokeColor="#33FFFFFF"
android:strokeWidth="0.8" />
<path
android:fillColor="#00000000"
android:pathData="M19,29L89,29"
android:strokeColor="#33FFFFFF"
android:strokeWidth="0.8" />
<path
android:fillColor="#00000000"
android:pathData="M19,39L89,39"
android:strokeColor="#33FFFFFF"
android:strokeWidth="0.8" />
<path
android:fillColor="#00000000"
android:pathData="M19,49L89,49"
android:strokeColor="#33FFFFFF"
android:strokeWidth="0.8" />
<path
android:fillColor="#00000000"
android:pathData="M19,59L89,59"
android:strokeColor="#33FFFFFF"
android:strokeWidth="0.8" />
<path
android:fillColor="#00000000"
android:pathData="M19,69L89,69"
android:strokeColor="#33FFFFFF"
android:strokeWidth="0.8" />
<path
android:fillColor="#00000000"
android:pathData="M19,79L89,79"
android:strokeColor="#33FFFFFF"
android:strokeWidth="0.8" />
<path
android:fillColor="#00000000"
android:pathData="M29,19L29,89"
android:strokeColor="#33FFFFFF"
android:strokeWidth="0.8" />
<path
android:fillColor="#00000000"
android:pathData="M39,19L39,89"
android:strokeColor="#33FFFFFF"
android:strokeWidth="0.8" />
<path
android:fillColor="#00000000"
android:pathData="M49,19L49,89"
android:strokeColor="#33FFFFFF"
android:strokeWidth="0.8" />
<path
android:fillColor="#00000000"
android:pathData="M59,19L59,89"
android:strokeColor="#33FFFFFF"
android:strokeWidth="0.8" />
<path
android:fillColor="#00000000"
android:pathData="M69,19L69,89"
android:strokeColor="#33FFFFFF"
android:strokeWidth="0.8" />
<path
android:fillColor="#00000000"
android:pathData="M79,19L79,89"
android:strokeColor="#33FFFFFF"
android:strokeWidth="0.8" />
</vector>
<?xml version="1.0" encoding="utf-8"?>
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="108dp"
android:height="108dp"
android:viewportHeight="108"
android:viewportWidth="108">
<path
android:fillColor="#26A69A"
android:pathData="M0,0h108v108h-108z" />
<path
android:fillColor="#00000000"
android:pathData="M9,0L9,108"
android:strokeColor="#33FFFFFF"
android:strokeWidth="0.8" />
<path
android:fillColor="#00000000"
android:pathData="M19,0L19,108"
android:strokeColor="#33FFFFFF"
android:strokeWidth="0.8" />
<path
android:fillColor="#00000000"
android:pathData="M29,0L29,108"
android:strokeColor="#33FFFFFF"
android:strokeWidth="0.8" />
<path
android:fillColor="#00000000"
android:pathData="M39,0L39,108"
android:strokeColor="#33FFFFFF"
android:strokeWidth="0.8" />
<path
android:fillColor="#00000000"
android:pathData="M49,0L49,108"
android:strokeColor="#33FFFFFF"
android:strokeWidth="0.8" />
<path
android:fillColor="#00000000"
android:pathData="M59,0L59,108"
android:strokeColor="#33FFFFFF"
android:strokeWidth="0.8" />
<path
android:fillColor="#00000000"
android:pathData="M69,0L69,108"
android:strokeColor="#33FFFFFF"
android:strokeWidth="0.8" />
<path
android:fillColor="#00000000"
android:pathData="M79,0L79,108"
android:strokeColor="#33FFFFFF"
android:strokeWidth="0.8" />
<path
android:fillColor="#00000000"
android:pathData="M89,0L89,108"
android:strokeColor="#33FFFFFF"
android:strokeWidth="0.8" />
<path
android:fillColor="#00000000"
android:pathData="M99,0L99,108"
android:strokeColor="#33FFFFFF"
android:strokeWidth="0.8" />
<path
android:fillColor="#00000000"
android:pathData="M0,9L108,9"
android:strokeColor="#33FFFFFF"
android:strokeWidth="0.8" />
<path
android:fillColor="#00000000"
android:pathData="M0,19L108,19"
android:strokeColor="#33FFFFFF"
android:strokeWidth="0.8" />
<path
android:fillColor="#00000000"
android:pathData="M0,29L108,29"
android:strokeColor="#33FFFFFF"
android:strokeWidth="0.8" />
<path
android:fillColor="#00000000"
android:pathData="M0,39L108,39"
android:strokeColor="#33FFFFFF"
android:strokeWidth="0.8" />
<path
android:fillColor="#00000000"
android:pathData="M0,49L108,49"
android:strokeColor="#33FFFFFF"
android:strokeWidth="0.8" />
<path
android:fillColor="#00000000"
android:pathData="M0,59L108,59"
android:strokeColor="#33FFFFFF"
android:strokeWidth="0.8" />
<path
android:fillColor="#00000000"
android:pathData="M0,69L108,69"
android:strokeColor="#33FFFFFF"
android:strokeWidth="0.8" />
<path
android:fillColor="#00000000"
android:pathData="M0,79L108,79"
android:strokeColor="#33FFFFFF"
android:strokeWidth="0.8" />
<path
android:fillColor="#00000000"
android:pathData="M0,89L108,89"
android:strokeColor="#33FFFFFF"
android:strokeWidth="0.8" />
<path
android:fillColor="#00000000"
android:pathData="M0,99L108,99"
android:strokeColor="#33FFFFFF"
android:strokeWidth="0.8" />
<path
android:fillColor="#00000000"
android:pathData="M19,29L89,29"
android:strokeColor="#33FFFFFF"
android:strokeWidth="0.8" />
<path
android:fillColor="#00000000"
android:pathData="M19,39L89,39"
android:strokeColor="#33FFFFFF"
android:strokeWidth="0.8" />
<path
android:fillColor="#00000000"
android:pathData="M19,49L89,49"
android:strokeColor="#33FFFFFF"
android:strokeWidth="0.8" />
<path
android:fillColor="#00000000"
android:pathData="M19,59L89,59"
android:strokeColor="#33FFFFFF"
android:strokeWidth="0.8" />
<path
android:fillColor="#00000000"
android:pathData="M19,69L89,69"
android:strokeColor="#33FFFFFF"
android:strokeWidth="0.8" />
<path
android:fillColor="#00000000"
android:pathData="M19,79L89,79"
android:strokeColor="#33FFFFFF"
android:strokeWidth="0.8" />
<path
android:fillColor="#00000000"
android:pathData="M29,19L29,89"
android:strokeColor="#33FFFFFF"
android:strokeWidth="0.8" />
<path
android:fillColor="#00000000"
android:pathData="M39,19L39,89"
android:strokeColor="#33FFFFFF"
android:strokeWidth="0.8" />
<path
android:fillColor="#00000000"
android:pathData="M49,19L49,89"
android:strokeColor="#33FFFFFF"
android:strokeWidth="0.8" />
<path
android:fillColor="#00000000"
android:pathData="M59,19L59,89"
android:strokeColor="#33FFFFFF"
android:strokeWidth="0.8" />
<path
android:fillColor="#00000000"
android:pathData="M69,19L69,89"
android:strokeColor="#33FFFFFF"
android:strokeWidth="0.8" />
<path
android:fillColor="#00000000"
android:pathData="M79,19L79,89"
android:strokeColor="#33FFFFFF"
android:strokeWidth="0.8" />
</vector>

View file

@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<shape xmlns:android="http://schemas.android.com/apk/res/android"
android:shape="rectangle">
<solid android:color="@color/btn_dark" />
<corners android:radius="7dp" />
</shape>
<?xml version="1.0" encoding="utf-8"?>
<shape xmlns:android="http://schemas.android.com/apk/res/android"
android:shape="rectangle">
<solid android:color="@color/btn_dark" />
<corners android:radius="7dp" />
</shape>

View file

@ -1,8 +1,8 @@
<?xml version="1.0" encoding="utf-8"?>
<selector xmlns:android="http://schemas.android.com/apk/res/android">
<item android:drawable="@drawable/parsed_msg_bg_pressed"
android:state_pressed="true" />
<item android:drawable="@drawable/parsed_msg_bg_pressed"
android:state_focused="true" />
<item android:drawable="@drawable/parsed_msg_bg" />
</selector>
<?xml version="1.0" encoding="utf-8"?>
<selector xmlns:android="http://schemas.android.com/apk/res/android">
<item android:drawable="@drawable/parsed_msg_bg_pressed"
android:state_pressed="true" />
<item android:drawable="@drawable/parsed_msg_bg_pressed"
android:state_focused="true" />
<item android:drawable="@drawable/parsed_msg_bg" />
</selector>

View file

@ -1,49 +1,49 @@
<?xml version="1.0" encoding="utf-8"?>
<android.support.design.widget.CoordinatorLayout 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:id="@+id/main_content"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:fitsSystemWindows="true"
tools:context="com.tangem.wallet.CardInfoActivity">
<android.support.design.widget.AppBarLayout
android:id="@+id/appbar"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:paddingTop="@dimen/appbar_padding_top"
android:theme="@style/AppTheme.AppBarOverlay">
<!--<android.support.v7.widget.Toolbar-->
<!--android:id="@+id/toolbar"-->
<!--android:layout_width="match_parent"-->
<!--android:layout_height="?attr/actionBarSize"-->
<!--android:background="?attr/colorPrimary"-->
<!--app:layout_scrollFlags="scroll|enterAlways"-->
<!--app:popupTheme="@style/AppTheme.PopupOverlay">-->
<!--</android.support.v7.widget.Toolbar>-->
<android.support.design.widget.TabLayout
android:id="@+id/tabs"
android:layout_width="match_parent"
android:layout_height="wrap_content" />
</android.support.design.widget.AppBarLayout>
<android.support.v4.view.ViewPager
android:id="@+id/container"
android:layout_width="match_parent"
android:layout_height="match_parent"
app:layout_behavior="@string/appbar_scrolling_view_behavior" />
<!--<android.support.design.widget.FloatingActionButton-->
<!--android:id="@+id/fab"-->
<!--android:layout_width="wrap_content"-->
<!--android:layout_height="wrap_content"-->
<!--android:layout_gravity="end|bottom"-->
<!--android:layout_margin="@dimen/fab_margin"-->
<!--app:srcCompat="@android:drawable/ic_dialog_email" />-->
</android.support.design.widget.CoordinatorLayout>
<?xml version="1.0" encoding="utf-8"?>
<android.support.design.widget.CoordinatorLayout 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:id="@+id/main_content"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:fitsSystemWindows="true"
tools:context="com.tangem.wallet.CardInfoActivity">
<android.support.design.widget.AppBarLayout
android:id="@+id/appbar"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:paddingTop="@dimen/appbar_padding_top"
android:theme="@style/AppTheme.AppBarOverlay">
<!--<android.support.v7.widget.Toolbar-->
<!--android:id="@+id/toolbar"-->
<!--android:layout_width="match_parent"-->
<!--android:layout_height="?attr/actionBarSize"-->
<!--android:background="?attr/colorPrimary"-->
<!--app:layout_scrollFlags="scroll|enterAlways"-->
<!--app:popupTheme="@style/AppTheme.PopupOverlay">-->
<!--</android.support.v7.widget.Toolbar>-->
<android.support.design.widget.TabLayout
android:id="@+id/tabs"
android:layout_width="match_parent"
android:layout_height="wrap_content" />
</android.support.design.widget.AppBarLayout>
<android.support.v4.view.ViewPager
android:id="@+id/container"
android:layout_width="match_parent"
android:layout_height="match_parent"
app:layout_behavior="@string/appbar_scrolling_view_behavior" />
<!--<android.support.design.widget.FloatingActionButton-->
<!--android:id="@+id/fab"-->
<!--android:layout_width="wrap_content"-->
<!--android:layout_height="wrap_content"-->
<!--android:layout_gravity="end|bottom"-->
<!--android:layout_margin="@dimen/fab_margin"-->
<!--app:srcCompat="@android:drawable/ic_dialog_email" />-->
</android.support.design.widget.CoordinatorLayout>

View file

@ -1,423 +1,423 @@
<?xml version="1.0" encoding="utf-8"?>
<android.support.constraint.ConstraintLayout 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"
tools:context="com.tangem.wallet.ConfirmPaymentActivity">
<TextView
android:id="@+id/textView"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:fontFamily="@font/raleway_r"
android:paddingBottom="4dp"
android:paddingTop="8dp"
android:text="Send payment"
android:textAlignment="center"
android:textColor="@color/primary"
android:textSize="@dimen/font_large"
app:layout_constraintLeft_toLeftOf="parent"
app:layout_constraintRight_toRightOf="parent"
app:layout_constraintTop_toTopOf="parent" />
<LinearLayout
android:id="@+id/llPayment"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="@color/btn_light"
android:orientation="vertical"
android:paddingBottom="8dp"
android:paddingTop="8dp"
app:layout_constraintHorizontal_bias="0.0"
app:layout_constraintLeft_toLeftOf="parent"
app:layout_constraintRight_toRightOf="parent"
app:layout_constraintTop_toBottomOf="@+id/textView">
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginLeft="7dp"
android:fontFamily="@font/raleway_r"
android:text="From banknote"
android:textColor="@color/primary"
android:textSize="@dimen/font_normal" />
<TextView
android:id="@+id/tvCardID"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginLeft="16dp"
android:layout_marginTop="4dp"
android:fontFamily="@font/montserrat_light"
android:text=" "
android:textColor="@color/black"
android:textSize="@dimen/font_normal"
android:textStyle="bold" />
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginLeft="7dp"
android:layout_marginTop="6dp"
android:fontFamily="@font/raleway_r"
android:text="with balance"
android:textColor="@color/primary"
android:textSize="@dimen/font_normal" />
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginLeft="16dp"
android:orientation="horizontal">
<TextView
android:id="@+id/tvBalance"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginLeft="16dp"
android:layout_marginTop="4dp"
android:fontFamily="@font/montserrat_light"
android:text=" "
android:textColor="@color/black"
android:textSize="@dimen/font_normal"
android:textStyle="bold" />
<TextView
android:id="@+id/tvBalanceEquivalent"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginLeft="8dp"
android:layout_marginTop="4dp"
android:fontFamily="@font/montserrat_light"
android:text=" "
android:textColor="@android:color/darker_gray"
android:textSize="14dp" />
</LinearLayout>
<android.support.constraint.ConstraintLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="16dp"
android:orientation="horizontal">
<TextView
android:id="@+id/textView2"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginLeft="7dp"
android:layout_marginTop="8dp"
android:fontFamily="@font/raleway_r"
android:text="Send to wallet"
android:textColor="@color/primary"
android:textSize="@dimen/font_normal"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintLeft_toLeftOf="parent"
app:layout_constraintTop_toTopOf="parent" />
</android.support.constraint.ConstraintLayout>
<EditText
android:id="@+id/etWallet"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginLeft="8dp"
android:layout_marginRight="8dp"
android:enabled="false"
android:fontFamily="@font/montserrat_light"
android:hint="target wallet address"
android:inputType="text"
android:padding="12dp"
android:textColor="@color/black"
android:textSize="14dp"
android:textStyle="bold" />
<android.support.constraint.ConstraintLayout
android:layout_width="match_parent"
android:layout_height="match_parent">
<TextView
android:id="@+id/textView3"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginLeft="7dp"
android:layout_marginTop="16dp"
android:fontFamily="@font/raleway_r"
android:text="Amount"
android:textColor="@color/primary"
android:textSize="@dimen/font_normal"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintLeft_toLeftOf="parent"
app:layout_constraintTop_toTopOf="parent" />
<TextView
android:id="@+id/textView12"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginBottom="1dp"
android:layout_marginLeft="4dp"
android:fontFamily="@font/raleway_r"
android:text="(including fee)"
android:textColor="@color/primary"
android:textSize="14sp"
app:layout_constraintBottom_toBottomOf="@+id/textView3"
app:layout_constraintLeft_toRightOf="@+id/textView3" />
</android.support.constraint.ConstraintLayout>
<android.support.constraint.ConstraintLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginLeft="16dp">
<EditText
android:id="@+id/etAmount"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginEnd="8dp"
android:layout_marginLeft="16dp"
android:editable="false"
android:enabled="false"
android:fontFamily="@font/montserrat_light"
android:hint="payment amount"
android:inputType="numberDecimal"
android:padding="12dp"
android:textColor="@color/black"
android:textColorLink="@color/colorPrimary"
android:textSize="@dimen/font_large"
android:textStyle="bold"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toStartOf="@+id/tvCurrency"
app:layout_constraintHorizontal_bias="0.0"
app:layout_constraintLeft_toLeftOf="parent"
app:layout_constraintRight_toLeftOf="@+id/tvCurrency"
app:layout_constraintTop_toTopOf="parent" />
<TextView
android:id="@+id/tvCurrency"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginEnd="8dp"
android:layout_marginTop="12dp"
android:fontFamily="@font/montserrat_light"
android:text="mBTC"
android:textSize="24dp"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toStartOf="@+id/tvAmountEquivalent"
app:layout_constraintTop_toTopOf="parent" />
<TextView
android:id="@+id/tvAmountEquivalent"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginEnd="12dp"
android:layout_marginTop="12dp"
android:fontFamily="@font/montserrat_light"
android:text=" "
android:textColor="@android:color/darker_gray"
android:textSize="14dp"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintTop_toTopOf="parent" />
</android.support.constraint.ConstraintLayout>
</LinearLayout>
<LinearLayout
android:id="@+id/llFee"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical"
app:layout_constraintTop_toBottomOf="@+id/llPayment">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical">
<TextView
android:id="@+id/textView4"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginBottom="4dp"
android:layout_marginLeft="7dp"
android:layout_marginTop="16dp"
android:fontFamily="@font/raleway_r"
android:text="Fee"
android:textColor="@color/primary"
android:textSize="@dimen/font_normal"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintLeft_toLeftOf="parent"
app:layout_constraintTop_toTopOf="parent" />
<!--<RadioGroup-->
<!--android:id="@+id/rgFee"-->
<!--android:layout_width="fill_parent"-->
<!--android:layout_height="wrap_content"-->
<!--android:orientation="horizontal"-->
<!--android:checkedButton="@id/rbNormalFee"-->
<!--&gt;-->
<!--<RadioButton android:id="@+id/rbMinimalFee"-->
<!--android:layout_width="0dp"-->
<!--android:layout_height="wrap_content"-->
<!--android:text="Minimal"-->
<!--android:layout_weight="1"-->
<!--android:fontFamily="@font/raleway_r"-->
<!--android:textColor="@color/black"-->
<!--android:textSize="@dimen/font_normal"-->
<!--/>-->
<!--<RadioButton android:id="@+id/rbNormalFee"-->
<!--android:layout_width="0dp"-->
<!--android:layout_height="wrap_content"-->
<!--android:text="Normal"-->
<!--android:layout_weight="1"-->
<!--android:fontFamily="@font/raleway_r"-->
<!--android:textColor="@color/black"-->
<!--android:textSize="@dimen/font_normal"-->
<!--/>-->
<!--<RadioButton android:id="@+id/rbMaximumFee"-->
<!--android:layout_width="0dp"-->
<!--android:layout_height="wrap_content"-->
<!--android:text="Maximum"-->
<!--android:layout_weight="1"-->
<!--android:fontFamily="@font/raleway_r"-->
<!--android:textColor="@color/black"-->
<!--android:textSize="@dimen/font_normal"-->
<!--/>-->
<!--</RadioGroup>-->
<info.hoang8f.android.segmented.SegmentedGroup xmlns:app="http://schemas.android.com/apk/res-auto"
android:id="@+id/rgFee"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_margin="10dp"
android:checkedButton="@+id/rbNormalFee"
android:gravity="center"
android:orientation="horizontal"
app:sc_border_width="2dp"
app:sc_corner_radius="10dp"
app:sc_tint_color="@color/colorPrimary">
<RadioButton
android:id="@+id/rbMinimalFee"
style="@style/RadioButton"
android:layout_width="100dp"
android:layout_height="wrap_content"
android:fontFamily="@font/raleway_r"
android:text="Minimal"
android:textSize="18dp" />
<RadioButton
android:id="@+id/rbNormalFee"
style="@style/RadioButton"
android:layout_width="100dp"
android:layout_height="wrap_content"
android:fontFamily="@font/raleway_r"
android:text="Normal"
android:textSize="18dp" />
<RadioButton
android:id="@+id/rbMaximumFee"
style="@style/RadioButton"
android:layout_width="100dp"
android:layout_height="wrap_content"
android:fontFamily="@font/raleway_r"
android:text="Priority"
android:textSize="18dp" />
</info.hoang8f.android.segmented.SegmentedGroup>
</LinearLayout>
<android.support.constraint.ConstraintLayout
android:layout_width="match_parent"
android:layout_height="match_parent">
<EditText
android:id="@+id/etFee"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_marginBottom="4dp"
android:layout_marginLeft="8dp"
android:enabled="false"
android:fontFamily="@font/raleway_r"
android:hint="fee"
android:inputType="numberDecimal"
android:padding="12dp"
android:textColor="@color/black"
android:textColorLink="@android:color/holo_blue_dark"
android:textSize="18dp"
android:textStyle="bold"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintLeft_toLeftOf="parent"
app:layout_constraintTop_toTopOf="parent"
app:layout_constraintWidth_min="150dp" />
<TextView
android:id="@+id/tvCurrency2"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginBottom="8dp"
android:layout_marginLeft="8dp"
android:layout_marginTop="8dp"
android:fontFamily="@font/montserrat_light"
android:text="mBTC"
android:textSize="18dp"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintLeft_toRightOf="@+id/etFee"
app:layout_constraintTop_toTopOf="parent" />
<TextView
android:id="@+id/tvFeeEquivalent"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginLeft="8dp"
android:fontFamily="@font/montserrat_light"
android:text=" "
android:textColor="@android:color/darker_gray"
android:textSize="14dp"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintLeft_toRightOf="@+id/tvCurrency2"
app:layout_constraintTop_toTopOf="parent" />
</android.support.constraint.ConstraintLayout>
</LinearLayout>
<Button
android:id="@+id/btnSend"
style="@style/Widget.AppCompat.Button.Borderless.Colored"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="@color/colorPrimary"
android:backgroundTint="@color/colorPrimary"
android:fontFamily="@font/raleway_r"
android:includeFontPadding="false"
android:text="Send"
android:textColor="@color/white"
android:textSize="@dimen/font_large"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintLeft_toLeftOf="parent"
app:layout_constraintRight_toRightOf="parent" />
<ProgressBar
android:id="@+id/progressBar"
style="@android:style/Widget.Holo.Light.ProgressBar"
android:layout_width="wrap_content"
android:layout_height="30dp"
android:layout_marginTop="4dp"
android:elevation="1dp"
android:indeterminate="true"
android:indeterminateTint="@color/colorPrimary"
android:visibility="invisible"
app:layout_constraintLeft_toLeftOf="parent"
app:layout_constraintRight_toRightOf="parent"
app:layout_constraintTop_toTopOf="@+id/llFee" />
</android.support.constraint.ConstraintLayout>
<?xml version="1.0" encoding="utf-8"?>
<android.support.constraint.ConstraintLayout 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"
tools:context="com.tangem.wallet.ConfirmPaymentActivity">
<TextView
android:id="@+id/textView"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:fontFamily="@font/raleway_r"
android:paddingBottom="4dp"
android:paddingTop="8dp"
android:text="Send payment"
android:textAlignment="center"
android:textColor="@color/primary"
android:textSize="@dimen/font_large"
app:layout_constraintLeft_toLeftOf="parent"
app:layout_constraintRight_toRightOf="parent"
app:layout_constraintTop_toTopOf="parent" />
<LinearLayout
android:id="@+id/llPayment"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="@color/btn_light"
android:orientation="vertical"
android:paddingBottom="8dp"
android:paddingTop="8dp"
app:layout_constraintHorizontal_bias="0.0"
app:layout_constraintLeft_toLeftOf="parent"
app:layout_constraintRight_toRightOf="parent"
app:layout_constraintTop_toBottomOf="@+id/textView">
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginLeft="7dp"
android:fontFamily="@font/raleway_r"
android:text="From banknote"
android:textColor="@color/primary"
android:textSize="@dimen/font_normal" />
<TextView
android:id="@+id/tvCardID"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginLeft="16dp"
android:layout_marginTop="4dp"
android:fontFamily="@font/montserrat_light"
android:text=" "
android:textColor="@color/black"
android:textSize="@dimen/font_normal"
android:textStyle="bold" />
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginLeft="7dp"
android:layout_marginTop="6dp"
android:fontFamily="@font/raleway_r"
android:text="with balance"
android:textColor="@color/primary"
android:textSize="@dimen/font_normal" />
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginLeft="16dp"
android:orientation="horizontal">
<TextView
android:id="@+id/tvBalance"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginLeft="16dp"
android:layout_marginTop="4dp"
android:fontFamily="@font/montserrat_light"
android:text=" "
android:textColor="@color/black"
android:textSize="@dimen/font_normal"
android:textStyle="bold" />
<TextView
android:id="@+id/tvBalanceEquivalent"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginLeft="8dp"
android:layout_marginTop="4dp"
android:fontFamily="@font/montserrat_light"
android:text=" "
android:textColor="@android:color/darker_gray"
android:textSize="14dp" />
</LinearLayout>
<android.support.constraint.ConstraintLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="16dp"
android:orientation="horizontal">
<TextView
android:id="@+id/textView2"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginLeft="7dp"
android:layout_marginTop="8dp"
android:fontFamily="@font/raleway_r"
android:text="Send to wallet"
android:textColor="@color/primary"
android:textSize="@dimen/font_normal"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintLeft_toLeftOf="parent"
app:layout_constraintTop_toTopOf="parent" />
</android.support.constraint.ConstraintLayout>
<EditText
android:id="@+id/etWallet"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginLeft="8dp"
android:layout_marginRight="8dp"
android:enabled="false"
android:fontFamily="@font/montserrat_light"
android:hint="target wallet address"
android:inputType="text"
android:padding="12dp"
android:textColor="@color/black"
android:textSize="14dp"
android:textStyle="bold" />
<android.support.constraint.ConstraintLayout
android:layout_width="match_parent"
android:layout_height="match_parent">
<TextView
android:id="@+id/textView3"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginLeft="7dp"
android:layout_marginTop="16dp"
android:fontFamily="@font/raleway_r"
android:text="Amount"
android:textColor="@color/primary"
android:textSize="@dimen/font_normal"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintLeft_toLeftOf="parent"
app:layout_constraintTop_toTopOf="parent" />
<TextView
android:id="@+id/textView12"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginBottom="1dp"
android:layout_marginLeft="4dp"
android:fontFamily="@font/raleway_r"
android:text="(including fee)"
android:textColor="@color/primary"
android:textSize="14sp"
app:layout_constraintBottom_toBottomOf="@+id/textView3"
app:layout_constraintLeft_toRightOf="@+id/textView3" />
</android.support.constraint.ConstraintLayout>
<android.support.constraint.ConstraintLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginLeft="16dp">
<EditText
android:id="@+id/etAmount"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginEnd="8dp"
android:layout_marginLeft="16dp"
android:editable="false"
android:enabled="false"
android:fontFamily="@font/montserrat_light"
android:hint="payment amount"
android:inputType="numberDecimal"
android:padding="12dp"
android:textColor="@color/black"
android:textColorLink="@color/colorPrimary"
android:textSize="@dimen/font_large"
android:textStyle="bold"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toStartOf="@+id/tvCurrency"
app:layout_constraintHorizontal_bias="0.0"
app:layout_constraintLeft_toLeftOf="parent"
app:layout_constraintRight_toLeftOf="@+id/tvCurrency"
app:layout_constraintTop_toTopOf="parent" />
<TextView
android:id="@+id/tvCurrency"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginEnd="8dp"
android:layout_marginTop="12dp"
android:fontFamily="@font/montserrat_light"
android:text="mBTC"
android:textSize="24dp"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toStartOf="@+id/tvAmountEquivalent"
app:layout_constraintTop_toTopOf="parent" />
<TextView
android:id="@+id/tvAmountEquivalent"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginEnd="12dp"
android:layout_marginTop="12dp"
android:fontFamily="@font/montserrat_light"
android:text=" "
android:textColor="@android:color/darker_gray"
android:textSize="14dp"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintTop_toTopOf="parent" />
</android.support.constraint.ConstraintLayout>
</LinearLayout>
<LinearLayout
android:id="@+id/llFee"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical"
app:layout_constraintTop_toBottomOf="@+id/llPayment">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical">
<TextView
android:id="@+id/textView4"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginBottom="4dp"
android:layout_marginLeft="7dp"
android:layout_marginTop="16dp"
android:fontFamily="@font/raleway_r"
android:text="Fee"
android:textColor="@color/primary"
android:textSize="@dimen/font_normal"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintLeft_toLeftOf="parent"
app:layout_constraintTop_toTopOf="parent" />
<!--<RadioGroup-->
<!--android:id="@+id/rgFee"-->
<!--android:layout_width="fill_parent"-->
<!--android:layout_height="wrap_content"-->
<!--android:orientation="horizontal"-->
<!--android:checkedButton="@id/rbNormalFee"-->
<!--&gt;-->
<!--<RadioButton android:id="@+id/rbMinimalFee"-->
<!--android:layout_width="0dp"-->
<!--android:layout_height="wrap_content"-->
<!--android:text="Minimal"-->
<!--android:layout_weight="1"-->
<!--android:fontFamily="@font/raleway_r"-->
<!--android:textColor="@color/black"-->
<!--android:textSize="@dimen/font_normal"-->
<!--/>-->
<!--<RadioButton android:id="@+id/rbNormalFee"-->
<!--android:layout_width="0dp"-->
<!--android:layout_height="wrap_content"-->
<!--android:text="Normal"-->
<!--android:layout_weight="1"-->
<!--android:fontFamily="@font/raleway_r"-->
<!--android:textColor="@color/black"-->
<!--android:textSize="@dimen/font_normal"-->
<!--/>-->
<!--<RadioButton android:id="@+id/rbMaximumFee"-->
<!--android:layout_width="0dp"-->
<!--android:layout_height="wrap_content"-->
<!--android:text="Maximum"-->
<!--android:layout_weight="1"-->
<!--android:fontFamily="@font/raleway_r"-->
<!--android:textColor="@color/black"-->
<!--android:textSize="@dimen/font_normal"-->
<!--/>-->
<!--</RadioGroup>-->
<info.hoang8f.android.segmented.SegmentedGroup xmlns:app="http://schemas.android.com/apk/res-auto"
android:id="@+id/rgFee"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_margin="10dp"
android:checkedButton="@+id/rbNormalFee"
android:gravity="center"
android:orientation="horizontal"
app:sc_border_width="2dp"
app:sc_corner_radius="10dp"
app:sc_tint_color="@color/colorPrimary">
<RadioButton
android:id="@+id/rbMinimalFee"
style="@style/RadioButton"
android:layout_width="100dp"
android:layout_height="wrap_content"
android:fontFamily="@font/raleway_r"
android:text="Minimal"
android:textSize="18dp" />
<RadioButton
android:id="@+id/rbNormalFee"
style="@style/RadioButton"
android:layout_width="100dp"
android:layout_height="wrap_content"
android:fontFamily="@font/raleway_r"
android:text="Normal"
android:textSize="18dp" />
<RadioButton
android:id="@+id/rbMaximumFee"
style="@style/RadioButton"
android:layout_width="100dp"
android:layout_height="wrap_content"
android:fontFamily="@font/raleway_r"
android:text="Priority"
android:textSize="18dp" />
</info.hoang8f.android.segmented.SegmentedGroup>
</LinearLayout>
<android.support.constraint.ConstraintLayout
android:layout_width="match_parent"
android:layout_height="match_parent">
<EditText
android:id="@+id/etFee"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_marginBottom="4dp"
android:layout_marginLeft="8dp"
android:enabled="false"
android:fontFamily="@font/raleway_r"
android:hint="fee"
android:inputType="numberDecimal"
android:padding="12dp"
android:textColor="@color/black"
android:textColorLink="@android:color/holo_blue_dark"
android:textSize="18dp"
android:textStyle="bold"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintLeft_toLeftOf="parent"
app:layout_constraintTop_toTopOf="parent"
app:layout_constraintWidth_min="150dp" />
<TextView
android:id="@+id/tvCurrency2"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginBottom="8dp"
android:layout_marginLeft="8dp"
android:layout_marginTop="8dp"
android:fontFamily="@font/montserrat_light"
android:text="mBTC"
android:textSize="18dp"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintLeft_toRightOf="@+id/etFee"
app:layout_constraintTop_toTopOf="parent" />
<TextView
android:id="@+id/tvFeeEquivalent"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginLeft="8dp"
android:fontFamily="@font/montserrat_light"
android:text=" "
android:textColor="@android:color/darker_gray"
android:textSize="14dp"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintLeft_toRightOf="@+id/tvCurrency2"
app:layout_constraintTop_toTopOf="parent" />
</android.support.constraint.ConstraintLayout>
</LinearLayout>
<Button
android:id="@+id/btnSend"
style="@style/Widget.AppCompat.Button.Borderless.Colored"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="@color/colorPrimary"
android:backgroundTint="@color/colorPrimary"
android:fontFamily="@font/raleway_r"
android:includeFontPadding="false"
android:text="Send"
android:textColor="@color/white"
android:textSize="@dimen/font_large"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintLeft_toLeftOf="parent"
app:layout_constraintRight_toRightOf="parent" />
<ProgressBar
android:id="@+id/progressBar"
style="@android:style/Widget.Holo.Light.ProgressBar"
android:layout_width="wrap_content"
android:layout_height="30dp"
android:layout_marginTop="4dp"
android:elevation="1dp"
android:indeterminate="true"
android:indeterminateTint="@color/colorPrimary"
android:visibility="invisible"
app:layout_constraintLeft_toLeftOf="parent"
app:layout_constraintRight_toRightOf="parent"
app:layout_constraintTop_toTopOf="@+id/llFee" />
</android.support.constraint.ConstraintLayout>

View file

@ -1,56 +1,56 @@
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout 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"
tools:context="com.tangem.wallet.CreateNewWalletActivity">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical"
android:layout_centerVertical="true"
>
<TextView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:fontFamily="@font/raleway_r"
android:text="Now touch the banknote with ID"
android:textAlignment="center"
android:textSize="@dimen/font_normal" />
<TextView
android:id="@+id/tvCardID"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginBottom="10dp"
android:layout_marginTop="10dp"
android:fontFamily="@font/montserrat_light"
android:text=" "
android:textAlignment="center"
android:textColor="@color/black"
android:textSize="@dimen/font_large" />
<TextView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:fontFamily="@font/raleway_r"
android:text="to create the wallet"
android:textAlignment="center"
android:textSize="@dimen/font_normal" />
</LinearLayout>
<ProgressBar
android:id="@+id/progressBar"
style="@style/Widget.AppCompat.ProgressBar.Horizontal"
android:layout_width="match_parent"
android:layout_height="16dp"
android:layout_alignParentBottom="true"
android:layout_marginBottom="6dp"
android:layout_marginLeft="8dp"
android:layout_marginRight="8dp"
app:layout_constraintBottom_toBottomOf="parent" />
</RelativeLayout>
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout 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"
tools:context="com.tangem.wallet.CreateNewWalletActivity">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical"
android:layout_centerVertical="true"
>
<TextView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:fontFamily="@font/raleway_r"
android:text="Now touch the banknote with ID"
android:textAlignment="center"
android:textSize="@dimen/font_normal" />
<TextView
android:id="@+id/tvCardID"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginBottom="10dp"
android:layout_marginTop="10dp"
android:fontFamily="@font/montserrat_light"
android:text=" "
android:textAlignment="center"
android:textColor="@color/black"
android:textSize="@dimen/font_large" />
<TextView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:fontFamily="@font/raleway_r"
android:text="to create the wallet"
android:textAlignment="center"
android:textSize="@dimen/font_normal" />
</LinearLayout>
<ProgressBar
android:id="@+id/progressBar"
style="@style/Widget.AppCompat.ProgressBar.Horizontal"
android:layout_width="match_parent"
android:layout_height="16dp"
android:layout_alignParentBottom="true"
android:layout_marginBottom="6dp"
android:layout_marginLeft="8dp"
android:layout_marginRight="8dp"
app:layout_constraintBottom_toBottomOf="parent" />
</RelativeLayout>

View file

@ -1,335 +1,335 @@
<?xml version="1.0" encoding="utf-8"?>
<android.support.constraint.ConstraintLayout 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/white"
android:orientation="vertical"
android:padding="0dp"
tools:context="com.tangem.wallet.EmptyWalletActivity">
<RelativeLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_marginTop="20dp"
android:layout_marginBottom="20dp">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="@color/white"
android:gravity="center_vertical"
android:orientation="vertical"
android:layout_centerInParent="true"
android:padding="8dp">
<TextView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="8dp"
android:fontFamily="@font/raleway_r"
android:gravity="center_vertical"
android:text="Wallet hasnt been yet created"
android:textSize="@dimen/empty_wallet_font_normal"
android:textAlignment="center" />
<Button
android:id="@+id/btnNewWallet"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_margin="32dp"
android:backgroundTint="@color/colorPrimary"
android:fontFamily="@font/raleway_r"
android:padding="16dp"
android:text="Create Wallet"
android:textColor="@color/white"
android:textSize="18dp"
android:textStyle="bold" />
<!--<LinearLayout-->
<!--android:layout_width="match_parent"-->
<!--android:layout_height="wrap_content"-->
<!--android:gravity="center_vertical"-->
<!--android:orientation="horizontal">-->
<!--<TextView-->
<!--android:layout_width="110dp"-->
<!--android:layout_height="wrap_content"-->
<!--android:layout_marginLeft="15dp"-->
<!--android:fontFamily="@font/raleway_r"-->
<!--android:text="This card is" />-->
<!--<TextView-->
<!--android:id="@+id/tvReusable"-->
<!--android:layout_width="wrap_content"-->
<!--android:layout_height="wrap_content"-->
<!--android:fontFamily="@font/montserrat_light"-->
<!--android:text="Reusable" />-->
<!--</LinearLayout>-->
<!--<LinearLayout-->
<!--android:layout_width="match_parent"-->
<!--android:layout_height="wrap_content"-->
<!--android:gravity="center_vertical"-->
<!--android:orientation="horizontal">-->
<!--<TextView-->
<!--android:layout_width="110dp"-->
<!--android:layout_height="wrap_content"-->
<!--android:layout_marginLeft="15dp"-->
<!--android:fontFamily="@font/raleway_r"-->
<!--android:text="Card identity" />-->
<!--<TextView-->
<!--android:id="@+id/tvIdentity"-->
<!--android:layout_width="wrap_content"-->
<!--android:layout_height="wrap_content"-->
<!--android:fontFamily="@font/montserrat_light"-->
<!--android:text="Attested" />-->
<!--</LinearLayout>-->
<!--<LinearLayout-->
<!--android:layout_width="match_parent"-->
<!--android:layout_height="wrap_content"-->
<!--android:gravity="center_vertical">-->
<!--<TextView-->
<!--android:layout_width="110dp"-->
<!--android:layout_height="wrap_content"-->
<!--android:layout_marginLeft="15dp"-->
<!--android:fontFamily="@font/raleway_r"-->
<!--android:text="Manufacturer" />-->
<!--<TextView-->
<!--android:id="@+id/tvManufacturerInfo"-->
<!--android:layout_width="wrap_content"-->
<!--android:layout_height="wrap_content"-->
<!--android:fontFamily="@font/montserrat_light"-->
<!--android:text="Smart Cash AG" />-->
<!--<ImageView-->
<!--android:id="@+id/imageView"-->
<!--android:layout_width="22dp"-->
<!--android:layout_height="match_parent"-->
<!--android:layout_gravity="right"-->
<!--android:layout_marginLeft="0dp"-->
<!--android:layout_marginRight="60dp"-->
<!--android:layout_weight="1"-->
<!--android:elevation="1dp"-->
<!--app:srcCompat="@drawable/tangem_logo_small_new" />-->
<!--</LinearLayout>-->
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="horizontal">
<TextView
android:layout_width="@dimen/empty_wallet_left_col_width"
android:layout_height="wrap_content"
android:fontFamily="@font/raleway_r"
android:text="Blockchain"
android:textSize="@dimen/empty_wallet_font_normal"
android:layout_marginLeft="@dimen/empty_wallet_left_col_margin"
android:textColor="@color/primary_dark" />
<TextView
android:id="@+id/tvBlockchain"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:fontFamily="@font/montserrat_light"
android:text=" "
android:textSize="@dimen/empty_wallet_font_normal"
android:textColor="@color/primary_dark"
android:textStyle="normal|bold" />
</LinearLayout>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="horizontal">
<TextView
android:layout_width="@dimen/empty_wallet_left_col_width"
android:layout_height="wrap_content"
android:fontFamily="@font/raleway_r"
android:text="Issuer"
android:layout_marginLeft="@dimen/empty_wallet_left_col_margin"
android:textSize="@dimen/empty_wallet_font_normal"
android:textColor="@color/primary_dark" />
<TextView
android:id="@+id/tvIssuer"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:fontFamily="@font/montserrat_light"
android:text=" "
android:textSize="@dimen/empty_wallet_font_normal"
android:textColor="@color/primary_dark"
android:textStyle="normal|bold" />
</LinearLayout>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="horizontal">
<TextView
android:layout_width="@dimen/empty_wallet_left_col_width"
android:layout_height="wrap_content"
android:fontFamily="@font/raleway_r"
android:layout_marginLeft="@dimen/empty_wallet_left_col_margin"
android:text="" />
<TextView
android:id="@+id/tvIssuerData"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:fontFamily="@font/montserrat_light"
android:text=" "
android:textSize="@dimen/empty_wallet_font_normal"
android:textStyle="normal|bold" />
</LinearLayout>
<!--<LinearLayout-->
<!--android:layout_width="match_parent"-->
<!--android:layout_height="wrap_content"-->
<!--android:gravity="center_vertical"-->
<!--android:orientation="horizontal">-->
<!--<TextView-->
<!--android:layout_width="110dp"-->
<!--android:layout_height="wrap_content"-->
<!--android:layout_marginLeft="15dp"-->
<!--android:fontFamily="@font/raleway_r"-->
<!--android:text="Card ID" />-->
<!--<TextView-->
<!--android:id="@+id/tvCardID"-->
<!--android:layout_width="wrap_content"-->
<!--android:layout_height="wrap_content"-->
<!--android:layout_alignParentBottom="true"-->
<!--android:layout_weight="1"-->
<!--android:elevation="1dp"-->
<!--android:fontFamily="@font/montserrat_light"-->
<!--android:text="XXXX XXXX XXXX XXXX"-->
<!--android:textAlignment="textStart" />-->
<!--</LinearLayout>-->
<!--<LinearLayout-->
<!--android:layout_width="match_parent"-->
<!--android:layout_height="wrap_content"-->
<!--android:gravity="center_vertical">-->
<!--<TextView-->
<!--android:layout_width="110dp"-->
<!--android:layout_height="wrap_content"-->
<!--android:layout_marginLeft="15dp"-->
<!--android:fontFamily="@font/raleway_r"-->
<!--android:text="Card registered" />-->
<!--<TextView-->
<!--android:id="@+id/tvCardRegistredDate"-->
<!--android:layout_width="wrap_content"-->
<!--android:layout_height="wrap_content"-->
<!--android:fontFamily="@font/montserrat_light"-->
<!--android:text="29/09/2017" />-->
<!--</LinearLayout>-->
</LinearLayout>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_alignParentBottom="true"
android:layout_alignParentEnd="true"
android:orientation="vertical">
<TextView
android:id="@+id/tvCardID"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_above="@+id/textView5"
android:layout_alignParentStart="true"
android:layout_alignWithParentIfMissing="false"
android:fontFamily="@font/montserrat_light"
android:text="---- ---- ---- ----"
android:textAlignment="center"
android:textColor="@color/primary_dark"
android:textSize="@dimen/empty_wallet_font_normal"
android:textStyle="normal|bold" />
<TextView
android:id="@+id/textView5"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_alignParentBottom="true"
android:layout_alignParentStart="true"
android:fontFamily="@font/raleway_r"
android:text="Scan again to verify the card"
android:textAlignment="center"
android:textColor="@android:color/darker_gray"
android:textSize="@dimen/empty_wallet_font_small" />
</LinearLayout>
<ImageView
android:id="@+id/imgBlockchain"
android:layout_width="32dp"
android:layout_height="32dp"
android:layout_alignParentEnd="true"
android:layout_alignParentTop="true"
android:layout_marginRight="8dp"
android:layout_marginTop="8dp"
android:src="@drawable/tangem_logo_small_new" />
<ImageView
android:id="@+id/imgPIN"
android:layout_width="24dp"
android:layout_height="24dp"
android:layout_alignParentBottom="true"
android:layout_alignParentStart="false"
android:layout_margin="8dp"
android:layout_marginRight="4dp"
android:layout_toLeftOf="@+id/imgPIN2orSecurityDelay"
android:src="@drawable/unlock_pin1" />
<ImageView
android:id="@+id/imgPIN2orSecurityDelay"
android:layout_width="24dp"
android:layout_height="24dp"
android:layout_alignParentBottom="true"
android:layout_alignParentEnd="true"
android:layout_alignParentStart="false"
android:layout_marginBottom="8dp"
android:layout_marginRight="8dp"
android:src="@drawable/unlock_pin2" />
<ImageView
android:id="@+id/imgDeveloperVersion"
android:layout_width="24dp"
android:layout_height="24dp"
android:layout_alignParentBottom="true"
android:layout_alignParentStart="true"
android:layout_marginBottom="8dp"
android:layout_marginLeft="8dp"
android:src="@drawable/ic_developer_version" />
</RelativeLayout>
<ProgressBar
android:id="@+id/progressBar"
style="@style/Widget.AppCompat.ProgressBar.Horizontal"
android:layout_width="0dp"
android:layout_height="17dp"
android:alpha="0.5"
android:elevation="1dp"
android:visibility="invisible"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintLeft_toLeftOf="parent"
app:layout_constraintRight_toRightOf="parent" />
</android.support.constraint.ConstraintLayout>
<?xml version="1.0" encoding="utf-8"?>
<android.support.constraint.ConstraintLayout 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/white"
android:orientation="vertical"
android:padding="0dp"
tools:context="com.tangem.wallet.EmptyWalletActivity">
<RelativeLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_marginTop="20dp"
android:layout_marginBottom="20dp">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="@color/white"
android:gravity="center_vertical"
android:orientation="vertical"
android:layout_centerInParent="true"
android:padding="8dp">
<TextView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="8dp"
android:fontFamily="@font/raleway_r"
android:gravity="center_vertical"
android:text="Wallet hasnt been yet created"
android:textSize="@dimen/empty_wallet_font_normal"
android:textAlignment="center" />
<Button
android:id="@+id/btnNewWallet"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_margin="32dp"
android:backgroundTint="@color/colorPrimary"
android:fontFamily="@font/raleway_r"
android:padding="16dp"
android:text="Create Wallet"
android:textColor="@color/white"
android:textSize="18dp"
android:textStyle="bold" />
<!--<LinearLayout-->
<!--android:layout_width="match_parent"-->
<!--android:layout_height="wrap_content"-->
<!--android:gravity="center_vertical"-->
<!--android:orientation="horizontal">-->
<!--<TextView-->
<!--android:layout_width="110dp"-->
<!--android:layout_height="wrap_content"-->
<!--android:layout_marginLeft="15dp"-->
<!--android:fontFamily="@font/raleway_r"-->
<!--android:text="This card is" />-->
<!--<TextView-->
<!--android:id="@+id/tvReusable"-->
<!--android:layout_width="wrap_content"-->
<!--android:layout_height="wrap_content"-->
<!--android:fontFamily="@font/montserrat_light"-->
<!--android:text="Reusable" />-->
<!--</LinearLayout>-->
<!--<LinearLayout-->
<!--android:layout_width="match_parent"-->
<!--android:layout_height="wrap_content"-->
<!--android:gravity="center_vertical"-->
<!--android:orientation="horizontal">-->
<!--<TextView-->
<!--android:layout_width="110dp"-->
<!--android:layout_height="wrap_content"-->
<!--android:layout_marginLeft="15dp"-->
<!--android:fontFamily="@font/raleway_r"-->
<!--android:text="Card identity" />-->
<!--<TextView-->
<!--android:id="@+id/tvIdentity"-->
<!--android:layout_width="wrap_content"-->
<!--android:layout_height="wrap_content"-->
<!--android:fontFamily="@font/montserrat_light"-->
<!--android:text="Attested" />-->
<!--</LinearLayout>-->
<!--<LinearLayout-->
<!--android:layout_width="match_parent"-->
<!--android:layout_height="wrap_content"-->
<!--android:gravity="center_vertical">-->
<!--<TextView-->
<!--android:layout_width="110dp"-->
<!--android:layout_height="wrap_content"-->
<!--android:layout_marginLeft="15dp"-->
<!--android:fontFamily="@font/raleway_r"-->
<!--android:text="Manufacturer" />-->
<!--<TextView-->
<!--android:id="@+id/tvManufacturerInfo"-->
<!--android:layout_width="wrap_content"-->
<!--android:layout_height="wrap_content"-->
<!--android:fontFamily="@font/montserrat_light"-->
<!--android:text="Smart Cash AG" />-->
<!--<ImageView-->
<!--android:id="@+id/imageView"-->
<!--android:layout_width="22dp"-->
<!--android:layout_height="match_parent"-->
<!--android:layout_gravity="right"-->
<!--android:layout_marginLeft="0dp"-->
<!--android:layout_marginRight="60dp"-->
<!--android:layout_weight="1"-->
<!--android:elevation="1dp"-->
<!--app:srcCompat="@drawable/tangem_logo_small_new" />-->
<!--</LinearLayout>-->
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="horizontal">
<TextView
android:layout_width="@dimen/empty_wallet_left_col_width"
android:layout_height="wrap_content"
android:fontFamily="@font/raleway_r"
android:text="Blockchain"
android:textSize="@dimen/empty_wallet_font_normal"
android:layout_marginLeft="@dimen/empty_wallet_left_col_margin"
android:textColor="@color/primary_dark" />
<TextView
android:id="@+id/tvBlockchain"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:fontFamily="@font/montserrat_light"
android:text=" "
android:textSize="@dimen/empty_wallet_font_normal"
android:textColor="@color/primary_dark"
android:textStyle="normal|bold" />
</LinearLayout>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="horizontal">
<TextView
android:layout_width="@dimen/empty_wallet_left_col_width"
android:layout_height="wrap_content"
android:fontFamily="@font/raleway_r"
android:text="Issuer"
android:layout_marginLeft="@dimen/empty_wallet_left_col_margin"
android:textSize="@dimen/empty_wallet_font_normal"
android:textColor="@color/primary_dark" />
<TextView
android:id="@+id/tvIssuer"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:fontFamily="@font/montserrat_light"
android:text=" "
android:textSize="@dimen/empty_wallet_font_normal"
android:textColor="@color/primary_dark"
android:textStyle="normal|bold" />
</LinearLayout>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="horizontal">
<TextView
android:layout_width="@dimen/empty_wallet_left_col_width"
android:layout_height="wrap_content"
android:fontFamily="@font/raleway_r"
android:layout_marginLeft="@dimen/empty_wallet_left_col_margin"
android:text="" />
<TextView
android:id="@+id/tvIssuerData"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:fontFamily="@font/montserrat_light"
android:text=" "
android:textSize="@dimen/empty_wallet_font_normal"
android:textStyle="normal|bold" />
</LinearLayout>
<!--<LinearLayout-->
<!--android:layout_width="match_parent"-->
<!--android:layout_height="wrap_content"-->
<!--android:gravity="center_vertical"-->
<!--android:orientation="horizontal">-->
<!--<TextView-->
<!--android:layout_width="110dp"-->
<!--android:layout_height="wrap_content"-->
<!--android:layout_marginLeft="15dp"-->
<!--android:fontFamily="@font/raleway_r"-->
<!--android:text="Card ID" />-->
<!--<TextView-->
<!--android:id="@+id/tvCardID"-->
<!--android:layout_width="wrap_content"-->
<!--android:layout_height="wrap_content"-->
<!--android:layout_alignParentBottom="true"-->
<!--android:layout_weight="1"-->
<!--android:elevation="1dp"-->
<!--android:fontFamily="@font/montserrat_light"-->
<!--android:text="XXXX XXXX XXXX XXXX"-->
<!--android:textAlignment="textStart" />-->
<!--</LinearLayout>-->
<!--<LinearLayout-->
<!--android:layout_width="match_parent"-->
<!--android:layout_height="wrap_content"-->
<!--android:gravity="center_vertical">-->
<!--<TextView-->
<!--android:layout_width="110dp"-->
<!--android:layout_height="wrap_content"-->
<!--android:layout_marginLeft="15dp"-->
<!--android:fontFamily="@font/raleway_r"-->
<!--android:text="Card registered" />-->
<!--<TextView-->
<!--android:id="@+id/tvCardRegistredDate"-->
<!--android:layout_width="wrap_content"-->
<!--android:layout_height="wrap_content"-->
<!--android:fontFamily="@font/montserrat_light"-->
<!--android:text="29/09/2017" />-->
<!--</LinearLayout>-->
</LinearLayout>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_alignParentBottom="true"
android:layout_alignParentEnd="true"
android:orientation="vertical">
<TextView
android:id="@+id/tvCardID"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_above="@+id/textView5"
android:layout_alignParentStart="true"
android:layout_alignWithParentIfMissing="false"
android:fontFamily="@font/montserrat_light"
android:text="---- ---- ---- ----"
android:textAlignment="center"
android:textColor="@color/primary_dark"
android:textSize="@dimen/empty_wallet_font_normal"
android:textStyle="normal|bold" />
<TextView
android:id="@+id/textView5"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_alignParentBottom="true"
android:layout_alignParentStart="true"
android:fontFamily="@font/raleway_r"
android:text="Scan again to verify the card"
android:textAlignment="center"
android:textColor="@android:color/darker_gray"
android:textSize="@dimen/empty_wallet_font_small" />
</LinearLayout>
<ImageView
android:id="@+id/imgBlockchain"
android:layout_width="32dp"
android:layout_height="32dp"
android:layout_alignParentEnd="true"
android:layout_alignParentTop="true"
android:layout_marginRight="8dp"
android:layout_marginTop="8dp"
android:src="@drawable/tangem_logo_small_new" />
<ImageView
android:id="@+id/imgPIN"
android:layout_width="24dp"
android:layout_height="24dp"
android:layout_alignParentBottom="true"
android:layout_alignParentStart="false"
android:layout_margin="8dp"
android:layout_marginRight="4dp"
android:layout_toLeftOf="@+id/imgPIN2orSecurityDelay"
android:src="@drawable/unlock_pin1" />
<ImageView
android:id="@+id/imgPIN2orSecurityDelay"
android:layout_width="24dp"
android:layout_height="24dp"
android:layout_alignParentBottom="true"
android:layout_alignParentEnd="true"
android:layout_alignParentStart="false"
android:layout_marginBottom="8dp"
android:layout_marginRight="8dp"
android:src="@drawable/unlock_pin2" />
<ImageView
android:id="@+id/imgDeveloperVersion"
android:layout_width="24dp"
android:layout_height="24dp"
android:layout_alignParentBottom="true"
android:layout_alignParentStart="true"
android:layout_marginBottom="8dp"
android:layout_marginLeft="8dp"
android:src="@drawable/ic_developer_version" />
</RelativeLayout>
<ProgressBar
android:id="@+id/progressBar"
style="@style/Widget.AppCompat.ProgressBar.Horizontal"
android:layout_width="0dp"
android:layout_height="17dp"
android:alpha="0.5"
android:elevation="1dp"
android:visibility="invisible"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintLeft_toLeftOf="parent"
app:layout_constraintRight_toRightOf="parent" />
</android.support.constraint.ConstraintLayout>

View file

@ -1,35 +1,35 @@
<?xml version="1.0" encoding="utf-8"?>
<android.support.design.widget.CoordinatorLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
tools:context="com.tangem.wallet.LoadedWalletActivity">
<!--<android.support.design.widget.AppBarLayout-->
<!--android:layout_width="match_parent"-->
<!--android:layout_height="wrap_content"-->
<!--android:theme="@style/AppTheme.AppBarOverlay">-->
<!--<android.support.v7.widget.Toolbar-->
<!--android:id="@+id/toolbar"-->
<!--android:layout_width="match_parent"-->
<!--android:layout_height="?attr/actionBarSize"-->
<!--android:background="?attr/colorPrimary"-->
<!--app:popupTheme="@style/AppTheme.PopupOverlay" />-->
<!--</android.support.design.widget.AppBarLayout>-->
<include
layout="@layout/content_loaded_wallet"
android:layout_height="566dp"
tools:layout_editor_absoluteY="1dp" />
<!--<android.support.design.widget.FloatingActionButton-->
<!--android:id="@+id/fab"-->
<!--android:layout_width="wrap_content"-->
<!--android:layout_height="wrap_content"-->
<!--android:layout_gravity="bottom|end"-->
<!--android:layout_margin="@dimen/fab_margin"-->
<!--app:srcCompat="@android:drawable/ic_dialog_email" />-->
</android.support.design.widget.CoordinatorLayout>
<?xml version="1.0" encoding="utf-8"?>
<android.support.design.widget.CoordinatorLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
tools:context="com.tangem.wallet.LoadedWalletActivity">
<!--<android.support.design.widget.AppBarLayout-->
<!--android:layout_width="match_parent"-->
<!--android:layout_height="wrap_content"-->
<!--android:theme="@style/AppTheme.AppBarOverlay">-->
<!--<android.support.v7.widget.Toolbar-->
<!--android:id="@+id/toolbar"-->
<!--android:layout_width="match_parent"-->
<!--android:layout_height="?attr/actionBarSize"-->
<!--android:background="?attr/colorPrimary"-->
<!--app:popupTheme="@style/AppTheme.PopupOverlay" />-->
<!--</android.support.design.widget.AppBarLayout>-->
<include
layout="@layout/content_loaded_wallet"
android:layout_height="566dp"
tools:layout_editor_absoluteY="1dp" />
<!--<android.support.design.widget.FloatingActionButton-->
<!--android:id="@+id/fab"-->
<!--android:layout_width="wrap_content"-->
<!--android:layout_height="wrap_content"-->
<!--android:layout_gravity="bottom|end"-->
<!--android:layout_margin="@dimen/fab_margin"-->
<!--app:srcCompat="@android:drawable/ic_dialog_email" />-->
</android.support.design.widget.CoordinatorLayout>

View file

@ -1,45 +1,45 @@
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="#FFFFFF"
android:gravity="bottom"
android:orientation="vertical"
tools:context="com.tangem.wallet.LogoActivity">
<ImageView
android:id="@+id/imgLogo"
android:layout_width="match_parent"
android:layout_height="70dp"
android:layout_gravity="center_vertical"
android:baselineAligned="false"
android:src="@drawable/tangem_logo_full_new" />
<TextView
android:id="@+id/AppVersion"
android:layout_width="match_parent"
android:layout_height="200dp"
android:layout_gravity="bottom"
android:fontFamily="@font/raleway_r"
android:gravity="center_horizontal"
android:text="BETA"
android:textAlignment="center"
android:textAppearance="@style/TextAppearance.AppCompat.Medium"
android:textColor="@android:color/holo_red_light"
android:textSize="12dp" />
<TextView
android:id="@+id/textView9"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_gravity="bottom"
android:layout_marginBottom="8dp"
android:layout_marginTop="24dp"
android:fontFamily="@font/raleway_el"
android:gravity="bottom"
android:text="Smart Cash AG"
android:textAlignment="center"
android:textAppearance="@style/TextAppearance.AppCompat.Medium"
android:textSize="12dp" />
</LinearLayout>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="#FFFFFF"
android:gravity="bottom"
android:orientation="vertical"
tools:context="com.tangem.wallet.LogoActivity">
<ImageView
android:id="@+id/imgLogo"
android:layout_width="match_parent"
android:layout_height="70dp"
android:layout_gravity="center_vertical"
android:baselineAligned="false"
android:src="@drawable/tangem_logo_full_new" />
<TextView
android:id="@+id/AppVersion"
android:layout_width="match_parent"
android:layout_height="200dp"
android:layout_gravity="bottom"
android:fontFamily="@font/raleway_r"
android:gravity="center_horizontal"
android:text="BETA"
android:textAlignment="center"
android:textAppearance="@style/TextAppearance.AppCompat.Medium"
android:textColor="@android:color/holo_red_light"
android:textSize="12dp" />
<TextView
android:id="@+id/textView9"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_gravity="bottom"
android:layout_marginBottom="8dp"
android:layout_marginTop="24dp"
android:fontFamily="@font/raleway_el"
android:gravity="bottom"
android:text="Smart Cash AG"
android:textAlignment="center"
android:textAppearance="@style/TextAppearance.AppCompat.Medium"
android:textSize="12dp" />
</LinearLayout>

View file

@ -1,152 +1,152 @@
<?xml version="1.0" encoding="utf-8"?>
<android.support.design.widget.CoordinatorLayout 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"
tools:context="com.tangem.wallet.MainActivity">
<!--<ImageView-->
<!--android:id="@+id/ivTap"-->
<!--android:layout_width="match_parent"-->
<!--android:layout_height="match_parent"-->
<!--app:srcCompat="@drawable/tap" />-->
<LinearLayout
android:id="@+id/tvTapPrompt"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="@color/actionbar_text"
android:gravity="center_vertical|center_horizontal"
android:orientation="vertical">
<RelativeLayout
android:layout_width="400dp"
android:layout_height="250dp"
android:gravity="center_vertical|center_horizontal">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_marginLeft="100dp"
android:elevation="2dp"
android:gravity="center"
android:orientation="vertical">
<ImageView
android:id="@+id/imSmartphone"
android:layout_width="75dp"
android:layout_height="150dp"
app:srcCompat="@drawable/smartphone" />
</LinearLayout>
<LinearLayout
android:id="@+id/llNFC"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_marginLeft="100dp"
android:elevation="1dp"
android:gravity="center"
android:orientation="vertical">
<com.skyfishjy.library.RippleBackground
android:id="@+id/imNFC"
android:layout_width="150dp"
android:layout_height="150dp"
android:layout_alignParentStart="false"
android:layout_alignParentTop="false"
android:layout_centerHorizontal="false"
android:layout_centerInParent="false"
app:rb_color="@color/fab"
app:rb_duration="3000"
app:rb_radius="16dp"
app:rb_rippleAmount="4"
app:rb_scale="4"
app:rb_strokeWidth="8dp"
app:rb_type="strokeRipple">
</com.skyfishjy.library.RippleBackground>
</LinearLayout>
<LinearLayout
android:id="@+id/llHand"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_marginTop="25dp"
android:elevation="0dp"
android:gravity="center_vertical"
android:orientation="vertical">
<ImageView
android:id="@+id/imHand"
android:layout_width="190dp"
android:layout_height="wrap_content"
app:srcCompat="@drawable/hand_card" />
</LinearLayout>
</RelativeLayout>
<TextView
android:id="@+id/tvNFCHint"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginLeft="24dp"
android:layout_marginRight="24dp"
android:layout_marginTop="24dp"
android:autoText="false"
android:fontFamily="@font/raleway_el"
android:gravity="top"
android:text="Tap Tangem card with your smartphone"
android:textAlignment="center"
android:textAllCaps="false"
android:textAppearance="@style/TextAppearance.AppCompat.Medium"
android:textColor="@color/primary_dark"
android:textSize="18dp" />
</LinearLayout>
<include
android:id="@+id/include2"
layout="@layout/content_main"
android:layout_width="match_parent"
android:layout_height="match_parent" />
<FrameLayout
android:id="@+id/frameFAB"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="bottom|start"
android:layout_margin="@dimen/fab_margin"
android:elevation="3dp"
android:visibility="visible">
<!--<android.support.design.widget.FloatingActionButton-->
<!--android:id="@+id/fab"-->
<!--android:layout_width="64dp"-->
<!--android:layout_height="64dp"-->
<!--android:layout_margin="8dp"-->
<!--android:src="@android:color/transparent"-->
<!--app:backgroundTint="@color/colorPrimary" />-->
<android.support.design.widget.FloatingActionButton
android:id="@+id/fab"
android:layout_width="64dp"
android:layout_height="64dp"
android:layout_margin="10dp"
android:src="@drawable/ic_show_menu"
app:backgroundTint="@color/colorPrimary" />
<!--<TextView-->
<!--android:layout_width="wrap_content"-->
<!--android:layout_height="wrap_content"-->
<!--android:layout_gravity="center"-->
<!--android:elevation="16dp"-->
<!--android:fontFamily="@font/raleway_r"-->
<!--android:text="CLEAN"-->
<!--android:textAppearance="?android:attr/textAppearanceSmall"-->
<!--android:textColor="@android:color/white" />-->
</FrameLayout>
</android.support.design.widget.CoordinatorLayout>
<?xml version="1.0" encoding="utf-8"?>
<android.support.design.widget.CoordinatorLayout 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"
tools:context="com.tangem.wallet.MainActivity">
<!--<ImageView-->
<!--android:id="@+id/ivTap"-->
<!--android:layout_width="match_parent"-->
<!--android:layout_height="match_parent"-->
<!--app:srcCompat="@drawable/tap" />-->
<LinearLayout
android:id="@+id/tvTapPrompt"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="@color/actionbar_text"
android:gravity="center_vertical|center_horizontal"
android:orientation="vertical">
<RelativeLayout
android:layout_width="400dp"
android:layout_height="250dp"
android:gravity="center_vertical|center_horizontal">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_marginLeft="100dp"
android:elevation="2dp"
android:gravity="center"
android:orientation="vertical">
<ImageView
android:id="@+id/imSmartphone"
android:layout_width="75dp"
android:layout_height="150dp"
app:srcCompat="@drawable/smartphone" />
</LinearLayout>
<LinearLayout
android:id="@+id/llNFC"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_marginLeft="100dp"
android:elevation="1dp"
android:gravity="center"
android:orientation="vertical">
<com.skyfishjy.library.RippleBackground
android:id="@+id/imNFC"
android:layout_width="150dp"
android:layout_height="150dp"
android:layout_alignParentStart="false"
android:layout_alignParentTop="false"
android:layout_centerHorizontal="false"
android:layout_centerInParent="false"
app:rb_color="@color/fab"
app:rb_duration="3000"
app:rb_radius="16dp"
app:rb_rippleAmount="4"
app:rb_scale="4"
app:rb_strokeWidth="8dp"
app:rb_type="strokeRipple">
</com.skyfishjy.library.RippleBackground>
</LinearLayout>
<LinearLayout
android:id="@+id/llHand"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_marginTop="25dp"
android:elevation="0dp"
android:gravity="center_vertical"
android:orientation="vertical">
<ImageView
android:id="@+id/imHand"
android:layout_width="190dp"
android:layout_height="wrap_content"
app:srcCompat="@drawable/hand_card" />
</LinearLayout>
</RelativeLayout>
<TextView
android:id="@+id/tvNFCHint"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginLeft="24dp"
android:layout_marginRight="24dp"
android:layout_marginTop="24dp"
android:autoText="false"
android:fontFamily="@font/raleway_el"
android:gravity="top"
android:text="Tap Tangem card with your smartphone"
android:textAlignment="center"
android:textAllCaps="false"
android:textAppearance="@style/TextAppearance.AppCompat.Medium"
android:textColor="@color/primary_dark"
android:textSize="18dp" />
</LinearLayout>
<include
android:id="@+id/include2"
layout="@layout/content_main"
android:layout_width="match_parent"
android:layout_height="match_parent" />
<FrameLayout
android:id="@+id/frameFAB"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="bottom|start"
android:layout_margin="@dimen/fab_margin"
android:elevation="3dp"
android:visibility="visible">
<!--<android.support.design.widget.FloatingActionButton-->
<!--android:id="@+id/fab"-->
<!--android:layout_width="64dp"-->
<!--android:layout_height="64dp"-->
<!--android:layout_margin="8dp"-->
<!--android:src="@android:color/transparent"-->
<!--app:backgroundTint="@color/colorPrimary" />-->
<android.support.design.widget.FloatingActionButton
android:id="@+id/fab"
android:layout_width="64dp"
android:layout_height="64dp"
android:layout_margin="10dp"
android:src="@drawable/ic_show_menu"
app:backgroundTint="@color/colorPrimary" />
<!--<TextView-->
<!--android:layout_width="wrap_content"-->
<!--android:layout_height="wrap_content"-->
<!--android:layout_gravity="center"-->
<!--android:elevation="16dp"-->
<!--android:fontFamily="@font/raleway_r"-->
<!--android:text="CLEAN"-->
<!--android:textAppearance="?android:attr/textAppearanceSmall"-->
<!--android:textColor="@android:color/white" />-->
</FrameLayout>
</android.support.design.widget.CoordinatorLayout>

View file

@ -1,264 +1,264 @@
<?xml version="1.0" encoding="utf-8"?>
<android.support.constraint.ConstraintLayout 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"
tools:context="com.tangem.wallet.PreparePaymentActivity">
<TextView
android:id="@+id/textView"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:fontFamily="@font/raleway_r"
android:paddingBottom="8dp"
android:paddingTop="8dp"
android:text="Send payment"
android:textAlignment="center"
android:textColor="@color/primary"
android:textSize="@dimen/font_large"
app:layout_constraintLeft_toLeftOf="parent"
app:layout_constraintRight_toRightOf="parent"
app:layout_constraintTop_toTopOf="parent" />
<LinearLayout
android:id="@+id/llFrom"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:background="@color/btn_light"
android:orientation="vertical"
android:paddingBottom="24dp"
android:paddingLeft="8dp"
android:paddingTop="24dp"
app:layout_constraintHorizontal_bias="0.0"
app:layout_constraintLeft_toLeftOf="parent"
app:layout_constraintRight_toRightOf="parent"
app:layout_constraintTop_toBottomOf="@+id/textView">
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginLeft="7dp"
android:layout_marginTop="8dp"
android:fontFamily="@font/raleway_r"
android:text="From banknote"
android:textColor="@color/primary"
android:textSize="@dimen/font_normal" />
<TextView
android:id="@+id/tvCardID"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginLeft="16dp"
android:layout_marginTop="4dp"
android:fontFamily="@font/montserrat_light"
android:text=" "
android:textColor="@color/black"
android:textSize="@dimen/font_normal"
android:textStyle="bold" />
/>
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginLeft="7dp"
android:layout_marginTop="12dp"
android:fontFamily="@font/raleway_r"
android:text="with balance"
android:textColor="@color/primary"
android:textSize="@dimen/font_normal" />
<LinearLayout
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:orientation="horizontal">
<TextView
android:id="@+id/tvBalance"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginBottom="2dp"
android:layout_marginLeft="16dp"
android:layout_marginTop="4dp"
android:fontFamily="@font/montserrat_light"
android:text=" "
android:textColor="@color/black"
android:textSize="@dimen/font_normal"
android:textStyle="bold" />
/>
<TextView
android:id="@+id/tvBalanceEquivalent"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginLeft="12dp"
android:layout_marginTop="4dp"
android:fontFamily="@font/montserrat_light"
android:text=" "
android:textColor="@android:color/darker_gray"
android:textSize="14dp" />
/>
</LinearLayout>
</LinearLayout>
<LinearLayout
android:id="@+id/llTo"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:backgroundTint="@color/card_state_loaded_with_zero"
android:orientation="vertical"
android:paddingTop="32dp"
app:layout_constraintLeft_toLeftOf="parent"
app:layout_constraintLeft_toRightOf="parent"
app:layout_constraintTop_toBottomOf="@+id/llFrom">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="horizontal">
<TextView
android:id="@+id/textView2"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginLeft="8dp"
android:layout_marginTop="4dp"
android:fontFamily="@font/raleway_r"
android:text="Send to wallet"
android:textColor="@color/primary"
android:textSize="@dimen/font_normal"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintLeft_toLeftOf="parent"
app:layout_constraintTop_toTopOf="parent" />
<ImageView
android:id="@+id/ivCamera"
android:layout_width="32dp"
android:layout_height="32dp"
android:layout_marginLeft="12dp"
android:src="@drawable/qr_scan"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintRight_toRightOf="parent"
app:layout_constraintTop_toTopOf="parent" />
</LinearLayout>
<EditText
android:id="@+id/etWallet"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginLeft="8dp"
android:fontFamily="@font/montserrat_light"
android:hint="enter wallet address"
android:inputType="text|textMultiLine|textNoSuggestions"
android:padding="12dp"
android:singleLine="false"
android:textColor="@color/colorPrimaryDark"
android:textColorLink="@android:color/holo_blue_dark"
android:textSize="18dp"
app:layout_constraintLeft_toLeftOf="parent"
app:layout_constraintRight_toLeftOf="@+id/ivCamera"
tools:layout_editor_absoluteY="2dp" />
<android.support.constraint.ConstraintLayout
android:layout_width="match_parent"
android:layout_height="match_parent">
<TextView
android:id="@+id/textView3"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginBottom="8dp"
android:layout_marginLeft="7dp"
android:layout_marginTop="24dp"
android:fontFamily="@font/raleway_r"
android:text="Amount"
android:textColor="@color/primary"
android:textSize="@dimen/font_normal"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintLeft_toLeftOf="parent"
app:layout_constraintTop_toTopOf="parent" />
<TextView
android:id="@+id/textView13"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginBottom="1dp"
android:layout_marginLeft="4dp"
android:fontFamily="@font/raleway_r"
android:text="(including fee)"
android:textColor="@color/primary"
android:textSize="14dp"
app:layout_constraintBottom_toBottomOf="@+id/textView3"
app:layout_constraintLeft_toRightOf="@+id/textView3" />
</android.support.constraint.ConstraintLayout>
<android.support.constraint.ConstraintLayout
android:layout_width="match_parent"
android:layout_height="match_parent">
<EditText
android:id="@+id/etAmount"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_marginLeft="8dp"
android:editable="false"
android:fontFamily="@font/montserrat_light"
android:hint="enter amount"
android:inputType="numberDecimal"
android:padding="12dp"
android:textColor="@color/colorPrimaryDark"
android:textSize="24dp"
android:textStyle="bold"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintLeft_toLeftOf="parent"
app:layout_constraintTop_toTopOf="parent"
app:layout_constraintWidth_min="150dp" />
<TextView
android:id="@+id/tvCurrency"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginBottom="8dp"
android:layout_marginLeft="8dp"
android:fontFamily="@font/montserrat_light"
android:text="mBTC"
android:textColor="@color/primary"
android:textSize="24dp"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintLeft_toRightOf="@+id/etAmount" />
<TextView
android:id="@+id/tvAmountEquivalent"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginBottom="4dp"
android:layout_marginLeft="8dp"
android:fontFamily="@font/montserrat_light"
android:text=" "
android:textColor="@android:color/darker_gray"
android:textSize="14dp"
app:layout_constraintBottom_toBottomOf="@+id/tvCurrency"
app:layout_constraintLeft_toRightOf="@+id/tvCurrency" />
</android.support.constraint.ConstraintLayout>
</LinearLayout>
<Button
android:id="@+id/btnVerify"
style="@style/Widget.AppCompat.Button.Borderless.Colored"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:background="@color/colorPrimary"
android:backgroundTint="@color/colorPrimary"
android:fontFamily="@font/raleway_r"
android:includeFontPadding="false"
android:text="Verify"
android:textColor="@color/white"
android:textSize="@dimen/font_large"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintLeft_toLeftOf="parent"
app:layout_constraintRight_toRightOf="parent" />
</android.support.constraint.ConstraintLayout>
<?xml version="1.0" encoding="utf-8"?>
<android.support.constraint.ConstraintLayout 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"
tools:context="com.tangem.wallet.PreparePaymentActivity">
<TextView
android:id="@+id/textView"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:fontFamily="@font/raleway_r"
android:paddingBottom="8dp"
android:paddingTop="8dp"
android:text="Send payment"
android:textAlignment="center"
android:textColor="@color/primary"
android:textSize="@dimen/font_large"
app:layout_constraintLeft_toLeftOf="parent"
app:layout_constraintRight_toRightOf="parent"
app:layout_constraintTop_toTopOf="parent" />
<LinearLayout
android:id="@+id/llFrom"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:background="@color/btn_light"
android:orientation="vertical"
android:paddingBottom="24dp"
android:paddingLeft="8dp"
android:paddingTop="24dp"
app:layout_constraintHorizontal_bias="0.0"
app:layout_constraintLeft_toLeftOf="parent"
app:layout_constraintRight_toRightOf="parent"
app:layout_constraintTop_toBottomOf="@+id/textView">
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginLeft="7dp"
android:layout_marginTop="8dp"
android:fontFamily="@font/raleway_r"
android:text="From banknote"
android:textColor="@color/primary"
android:textSize="@dimen/font_normal" />
<TextView
android:id="@+id/tvCardID"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginLeft="16dp"
android:layout_marginTop="4dp"
android:fontFamily="@font/montserrat_light"
android:text=" "
android:textColor="@color/black"
android:textSize="@dimen/font_normal"
android:textStyle="bold" />
/>
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginLeft="7dp"
android:layout_marginTop="12dp"
android:fontFamily="@font/raleway_r"
android:text="with balance"
android:textColor="@color/primary"
android:textSize="@dimen/font_normal" />
<LinearLayout
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:orientation="horizontal">
<TextView
android:id="@+id/tvBalance"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginBottom="2dp"
android:layout_marginLeft="16dp"
android:layout_marginTop="4dp"
android:fontFamily="@font/montserrat_light"
android:text=" "
android:textColor="@color/black"
android:textSize="@dimen/font_normal"
android:textStyle="bold" />
/>
<TextView
android:id="@+id/tvBalanceEquivalent"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginLeft="12dp"
android:layout_marginTop="4dp"
android:fontFamily="@font/montserrat_light"
android:text=" "
android:textColor="@android:color/darker_gray"
android:textSize="14dp" />
/>
</LinearLayout>
</LinearLayout>
<LinearLayout
android:id="@+id/llTo"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:backgroundTint="@color/card_state_loaded_with_zero"
android:orientation="vertical"
android:paddingTop="32dp"
app:layout_constraintLeft_toLeftOf="parent"
app:layout_constraintLeft_toRightOf="parent"
app:layout_constraintTop_toBottomOf="@+id/llFrom">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="horizontal">
<TextView
android:id="@+id/textView2"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginLeft="8dp"
android:layout_marginTop="4dp"
android:fontFamily="@font/raleway_r"
android:text="Send to wallet"
android:textColor="@color/primary"
android:textSize="@dimen/font_normal"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintLeft_toLeftOf="parent"
app:layout_constraintTop_toTopOf="parent" />
<ImageView
android:id="@+id/ivCamera"
android:layout_width="32dp"
android:layout_height="32dp"
android:layout_marginLeft="12dp"
android:src="@drawable/qr_scan"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintRight_toRightOf="parent"
app:layout_constraintTop_toTopOf="parent" />
</LinearLayout>
<EditText
android:id="@+id/etWallet"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginLeft="8dp"
android:fontFamily="@font/montserrat_light"
android:hint="enter wallet address"
android:inputType="text|textMultiLine|textNoSuggestions"
android:padding="12dp"
android:singleLine="false"
android:textColor="@color/colorPrimaryDark"
android:textColorLink="@android:color/holo_blue_dark"
android:textSize="18dp"
app:layout_constraintLeft_toLeftOf="parent"
app:layout_constraintRight_toLeftOf="@+id/ivCamera"
tools:layout_editor_absoluteY="2dp" />
<android.support.constraint.ConstraintLayout
android:layout_width="match_parent"
android:layout_height="match_parent">
<TextView
android:id="@+id/textView3"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginBottom="8dp"
android:layout_marginLeft="7dp"
android:layout_marginTop="24dp"
android:fontFamily="@font/raleway_r"
android:text="Amount"
android:textColor="@color/primary"
android:textSize="@dimen/font_normal"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintLeft_toLeftOf="parent"
app:layout_constraintTop_toTopOf="parent" />
<TextView
android:id="@+id/textView13"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginBottom="1dp"
android:layout_marginLeft="4dp"
android:fontFamily="@font/raleway_r"
android:text="(including fee)"
android:textColor="@color/primary"
android:textSize="14dp"
app:layout_constraintBottom_toBottomOf="@+id/textView3"
app:layout_constraintLeft_toRightOf="@+id/textView3" />
</android.support.constraint.ConstraintLayout>
<android.support.constraint.ConstraintLayout
android:layout_width="match_parent"
android:layout_height="match_parent">
<EditText
android:id="@+id/etAmount"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_marginLeft="8dp"
android:editable="false"
android:fontFamily="@font/montserrat_light"
android:hint="enter amount"
android:inputType="numberDecimal"
android:padding="12dp"
android:textColor="@color/colorPrimaryDark"
android:textSize="24dp"
android:textStyle="bold"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintLeft_toLeftOf="parent"
app:layout_constraintTop_toTopOf="parent"
app:layout_constraintWidth_min="150dp" />
<TextView
android:id="@+id/tvCurrency"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginBottom="8dp"
android:layout_marginLeft="8dp"
android:fontFamily="@font/montserrat_light"
android:text="mBTC"
android:textColor="@color/primary"
android:textSize="24dp"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintLeft_toRightOf="@+id/etAmount" />
<TextView
android:id="@+id/tvAmountEquivalent"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginBottom="4dp"
android:layout_marginLeft="8dp"
android:fontFamily="@font/montserrat_light"
android:text=" "
android:textColor="@android:color/darker_gray"
android:textSize="14dp"
app:layout_constraintBottom_toBottomOf="@+id/tvCurrency"
app:layout_constraintLeft_toRightOf="@+id/tvCurrency" />
</android.support.constraint.ConstraintLayout>
</LinearLayout>
<Button
android:id="@+id/btnVerify"
style="@style/Widget.AppCompat.Button.Borderless.Colored"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:background="@color/colorPrimary"
android:backgroundTint="@color/colorPrimary"
android:fontFamily="@font/raleway_r"
android:includeFontPadding="false"
android:text="Verify"
android:textColor="@color/white"
android:textSize="@dimen/font_large"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintLeft_toLeftOf="parent"
app:layout_constraintRight_toRightOf="parent" />
</android.support.constraint.ConstraintLayout>

View file

@ -1,59 +1,59 @@
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout 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"
tools:context="com.tangem.wallet.PurgeActivity">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical"
android:layout_centerVertical="true"
>
<TextView
android:id="@+id/textView6"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:fontFamily="@font/raleway_r"
android:text="Now touch the banknote with ID"
android:textAlignment="center"
android:textSize="@dimen/font_normal" />
<TextView
android:id="@+id/tvCardID"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginBottom="10dp"
android:layout_marginTop="10dp"
android:fontFamily="@font/montserrat_light"
android:text=" "
android:textAlignment="center"
android:textColor="@color/black"
android:textSize="@dimen/font_large" />
<TextView
android:id="@+id/textView7"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:fontFamily="@font/raleway_r"
android:text="to erase the wallet"
android:textAlignment="center"
android:textSize="@dimen/font_normal" />
</LinearLayout>
<ProgressBar
android:id="@+id/progressBar"
style="@style/Widget.AppCompat.ProgressBar.Horizontal"
android:layout_width="match_parent"
android:layout_height="16dp"
android:layout_alignParentBottom="true"
android:alpha="0.5"
android:elevation="1dp"
app:layout_constraintBottom_toBottomOf="parent" />
</RelativeLayout>
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout 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"
tools:context="com.tangem.wallet.PurgeActivity">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical"
android:layout_centerVertical="true"
>
<TextView
android:id="@+id/textView6"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:fontFamily="@font/raleway_r"
android:text="Now touch the banknote with ID"
android:textAlignment="center"
android:textSize="@dimen/font_normal" />
<TextView
android:id="@+id/tvCardID"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginBottom="10dp"
android:layout_marginTop="10dp"
android:fontFamily="@font/montserrat_light"
android:text=" "
android:textAlignment="center"
android:textColor="@color/black"
android:textSize="@dimen/font_large" />
<TextView
android:id="@+id/textView7"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:fontFamily="@font/raleway_r"
android:text="to erase the wallet"
android:textAlignment="center"
android:textSize="@dimen/font_normal" />
</LinearLayout>
<ProgressBar
android:id="@+id/progressBar"
style="@style/Widget.AppCompat.ProgressBar.Horizontal"
android:layout_width="match_parent"
android:layout_height="16dp"
android:layout_alignParentBottom="true"
android:alpha="0.5"
android:elevation="1dp"
app:layout_constraintBottom_toBottomOf="parent" />
</RelativeLayout>

View file

@ -1,8 +1,8 @@
<?xml version="1.0" encoding="utf-8"?>
<android.support.constraint.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
tools:context="com.tangem.wallet.QRScanActivity">
</android.support.constraint.ConstraintLayout>
<?xml version="1.0" encoding="utf-8"?>
<android.support.constraint.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
tools:context="com.tangem.wallet.QRScanActivity">
</android.support.constraint.ConstraintLayout>

View file

@ -1,8 +1,8 @@
<LinearLayout android:layout_height="match_parent" android:layout_width="match_parent"
xmlns:android="http://schemas.android.com/apk/res/android" >
<android.support.v7.widget.RecyclerView
android:layout_width="match_parent"
android:layout_height="match_parent"
android:id="@+id/rvBlockchain">
</android.support.v7.widget.RecyclerView>
<LinearLayout android:layout_height="match_parent" android:layout_width="match_parent"
xmlns:android="http://schemas.android.com/apk/res/android" >
<android.support.v7.widget.RecyclerView
android:layout_width="match_parent"
android:layout_height="match_parent"
android:id="@+id/rvBlockchain">
</android.support.v7.widget.RecyclerView>
</LinearLayout>

View file

@ -1,47 +1,47 @@
<?xml version="1.0" encoding="utf-8"?>
<android.support.constraint.ConstraintLayout 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"
tools:context="com.tangem.wallet.SendTransactionActivity">
<ProgressBar
android:id="@+id/progressBar"
style="@android:style/Widget.DeviceDefault.Light.ProgressBar.Large.Inverse"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_gravity="center_vertical"
android:layout_marginBottom="100dp"
android:layout_marginEnd="8dp"
android:layout_marginStart="8dp"
android:layout_marginTop="8dp"
android:indeterminate="true"
android:indeterminateTint="@color/colorPrimary"
android:paddingBottom="20dp"
android:paddingTop="20dp"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@+id/textView8" />
<TextView
android:id="@+id/textView8"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginBottom="8dp"
android:layout_marginEnd="8dp"
android:layout_marginStart="8dp"
android:layout_marginTop="8dp"
android:fontFamily="@font/raleway_r"
android:text="Please wait while the payment is sent..."
android:textAlignment="center"
android:textSize="@dimen/font_normal"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintHorizontal_bias="0.507"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent"
app:layout_constraintVertical_bias="0.378" />
</android.support.constraint.ConstraintLayout>
<?xml version="1.0" encoding="utf-8"?>
<android.support.constraint.ConstraintLayout 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"
tools:context="com.tangem.wallet.SendTransactionActivity">
<ProgressBar
android:id="@+id/progressBar"
style="@android:style/Widget.DeviceDefault.Light.ProgressBar.Large.Inverse"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_gravity="center_vertical"
android:layout_marginBottom="100dp"
android:layout_marginEnd="8dp"
android:layout_marginStart="8dp"
android:layout_marginTop="8dp"
android:indeterminate="true"
android:indeterminateTint="@color/colorPrimary"
android:paddingBottom="20dp"
android:paddingTop="20dp"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@+id/textView8" />
<TextView
android:id="@+id/textView8"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginBottom="8dp"
android:layout_marginEnd="8dp"
android:layout_marginStart="8dp"
android:layout_marginTop="8dp"
android:fontFamily="@font/raleway_r"
android:text="Please wait while the payment is sent..."
android:textAlignment="center"
android:textSize="@dimen/font_normal"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintHorizontal_bias="0.507"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent"
app:layout_constraintVertical_bias="0.378" />
</android.support.constraint.ConstraintLayout>

View file

@ -1,59 +1,59 @@
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout 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"
tools:context="com.tangem.wallet.SignPaymentActivity">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical"
android:layout_centerVertical="true"
>
<TextView
android:id="@+id/textView6"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:fontFamily="@font/raleway_r"
android:text="Now touch the banknote with ID"
android:textAlignment="center"
android:textSize="@dimen/font_normal" />
<TextView
android:id="@+id/tvCardID"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginBottom="10dp"
android:layout_marginTop="10dp"
android:fontFamily="@font/montserrat_light"
android:text=" "
android:textAlignment="center"
android:textColor="@color/black"
android:textSize="@dimen/font_large" />
<TextView
android:id="@+id/textView7"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:fontFamily="@font/raleway_r"
android:text="to sign the payment"
android:textAlignment="center"
android:textSize="@dimen/font_normal" />
</LinearLayout>
<ProgressBar
android:id="@+id/progressBar"
style="@style/Widget.AppCompat.ProgressBar.Horizontal"
android:layout_width="match_parent"
android:layout_height="16dp"
android:layout_alignParentBottom="true"
android:alpha="0.5"
android:elevation="1dp"
app:layout_constraintBottom_toBottomOf="parent" />
</RelativeLayout>
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout 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"
tools:context="com.tangem.wallet.SignPaymentActivity">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical"
android:layout_centerVertical="true"
>
<TextView
android:id="@+id/textView6"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:fontFamily="@font/raleway_r"
android:text="Now touch the banknote with ID"
android:textAlignment="center"
android:textSize="@dimen/font_normal" />
<TextView
android:id="@+id/tvCardID"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginBottom="10dp"
android:layout_marginTop="10dp"
android:fontFamily="@font/montserrat_light"
android:text=" "
android:textAlignment="center"
android:textColor="@color/black"
android:textSize="@dimen/font_large" />
<TextView
android:id="@+id/textView7"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:fontFamily="@font/raleway_r"
android:text="to sign the payment"
android:textAlignment="center"
android:textSize="@dimen/font_normal" />
</LinearLayout>
<ProgressBar
android:id="@+id/progressBar"
style="@style/Widget.AppCompat.ProgressBar.Horizontal"
android:layout_width="match_parent"
android:layout_height="16dp"
android:layout_alignParentBottom="true"
android:alpha="0.5"
android:elevation="1dp"
app:layout_constraintBottom_toBottomOf="parent" />
</RelativeLayout>

View file

@ -1,58 +1,58 @@
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout 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"
tools:context="com.tangem.wallet.PurgeActivity">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical"
android:layout_centerVertical="true"
>
<TextView
android:id="@+id/textView6"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:fontFamily="@font/raleway_r"
android:text="Now touch the banknote with ID"
android:textAlignment="center"
android:textSize="@dimen/font_normal" />
<TextView
android:id="@+id/tvCardID"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginBottom="10dp"
android:layout_marginTop="10dp"
android:fontFamily="@font/montserrat_light"
android:text=" "
android:textAlignment="center"
android:textColor="@color/black"
android:textSize="@dimen/font_large" />
<TextView
android:id="@+id/textView7"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:fontFamily="@font/raleway_r"
android:text="to change PIN/PIN2 codes"
android:textAlignment="center"
android:textSize="@dimen/font_normal" />
</LinearLayout>
<ProgressBar
android:id="@+id/progressBar"
style="@style/Widget.AppCompat.ProgressBar.Horizontal"
android:layout_width="match_parent"
android:layout_height="16dp"
android:layout_alignParentBottom="true"
android:elevation="1dp"
app:layout_constraintBottom_toBottomOf="parent" />
</RelativeLayout>
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout 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"
tools:context="com.tangem.wallet.PurgeActivity">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical"
android:layout_centerVertical="true"
>
<TextView
android:id="@+id/textView6"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:fontFamily="@font/raleway_r"
android:text="Now touch the banknote with ID"
android:textAlignment="center"
android:textSize="@dimen/font_normal" />
<TextView
android:id="@+id/tvCardID"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginBottom="10dp"
android:layout_marginTop="10dp"
android:fontFamily="@font/montserrat_light"
android:text=" "
android:textAlignment="center"
android:textColor="@color/black"
android:textSize="@dimen/font_large" />
<TextView
android:id="@+id/textView7"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:fontFamily="@font/raleway_r"
android:text="to change PIN/PIN2 codes"
android:textAlignment="center"
android:textSize="@dimen/font_normal" />
</LinearLayout>
<ProgressBar
android:id="@+id/progressBar"
style="@style/Widget.AppCompat.ProgressBar.Horizontal"
android:layout_width="match_parent"
android:layout_height="16dp"
android:layout_alignParentBottom="true"
android:elevation="1dp"
app:layout_constraintBottom_toBottomOf="parent" />
</RelativeLayout>

View file

@ -1,15 +1,15 @@
<?xml version="1.0" encoding="utf-8"?>
<android.support.design.widget.CoordinatorLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
tools:context="com.tangem.wallet.VerifyCardActivity">
<include
layout="@layout/content_verify_card"
android:layout_height="match_parent"
android:layout_width="match_parent" />
</android.support.design.widget.CoordinatorLayout>
<?xml version="1.0" encoding="utf-8"?>
<android.support.design.widget.CoordinatorLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
tools:context="com.tangem.wallet.VerifyCardActivity">
<include
layout="@layout/content_verify_card"
android:layout_height="match_parent"
android:layout_width="match_parent" />
</android.support.design.widget.CoordinatorLayout>

View file

@ -1,23 +1,23 @@
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:orientation="horizontal" android:layout_width="match_parent"
android:layout_height="wrap_content">
<ImageView
android:id="@+id/imgBlockchain"
android:layout_width="32dp"
android:layout_height="32dp"
android:src="@drawable/ic_logo_small"
android:layout_marginLeft="10dp"
android:layout_gravity="center"/>
<TextView
android:id="@+id/tvCurrency"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:textSize="@dimen/font_large"
android:fontFamily="@font/raleway_r"
android:layout_margin="8dp"/>
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:orientation="horizontal" android:layout_width="match_parent"
android:layout_height="wrap_content">
<ImageView
android:id="@+id/imgBlockchain"
android:layout_width="32dp"
android:layout_height="32dp"
android:src="@drawable/ic_logo_small"
android:layout_marginLeft="10dp"
android:layout_gravity="center"/>
<TextView
android:id="@+id/tvCurrency"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:textSize="@dimen/font_large"
android:fontFamily="@font/raleway_r"
android:layout_margin="8dp"/>
</LinearLayout>

View file

@ -1,23 +1,23 @@
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout
xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="96dp"
>
<TextView
android:id="@+id/tvItem"
android:layout_width="match_parent"
android:layout_height="match_parent"
style="@style/Base.TextAppearance.AppCompat.Small"
android:text="History"
android:layout_margin="10dp"/>
<View
android:id="@+id/separator"
style="@style/thin_separator" />
</RelativeLayout>
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout
xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="96dp"
>
<TextView
android:id="@+id/tvItem"
android:layout_width="match_parent"
android:layout_height="match_parent"
style="@style/Base.TextAppearance.AppCompat.Small"
android:text="History"
android:layout_margin="10dp"/>
<View
android:id="@+id/separator"
style="@style/thin_separator" />
</RelativeLayout>

View file

@ -1,358 +1,358 @@
<?xml version="1.0" encoding="utf-8"?>
<android.support.v7.widget.CardView xmlns:android="http://schemas.android.com/apk/res/android" xmlns:card_view="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
android:id="@+id/cvCard"
android:layout_width="match_parent"
android:layout_height="@dimen/card_height"
android:layout_gravity="center_vertical"
android:layout_marginBottom="0dp"
android:layout_marginEnd="8dp"
android:layout_marginStart="8dp"
android:layout_marginTop="8dp"
card_view:cardBackgroundColor="@color/btn_light"
card_view:cardCornerRadius="6dp"
card_view:cardElevation="8dp"
card_view:contentPaddingLeft="6dp"
card_view:contentPaddingRight="6dp">
<RelativeLayout
android:id="@+id/card_bg_layout"
android:layout_width="match_parent"
android:layout_height="match_parent">
<ImageView
android:id="@+id/imageView"
android:layout_width="@dimen/card_height"
android:layout_height="@dimen/card_height"
android:layout_alignParentEnd="true"
android:alpha="0.2"
android:padding="10dp"
card_view:srcCompat="@drawable/card_bg" />
<TextView
android:id="@+id/tvVoid"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_marginLeft="20dp"
android:alpha="0.33"
android:fontFamily="@font/raleway_el"
android:gravity="center"
android:rotation="-25"
android:text="VOID"
android:textColor="@color/msg_err"
android:textSize="96dp" />
<FrameLayout
android:layout_width="16dp"
android:layout_height="match_parent"
android:layout_marginLeft="1dp"
android:foregroundGravity="center">
<TextView
android:id="@+id/tvTypeBg"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:alpha="0.5"
android:background="@color/white" />
<com.tangem.wallet.VerticalTextView
android:id="@+id/tvType"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_marginLeft="1dp"
android:alpha="0.6"
android:fontFamily="@font/raleway_el"
android:gravity="bottom"
android:maxLines="1"
android:text=" DEVELOPER KIT "
android:textColor="@color/black"
android:textSize="12dp" />
</FrameLayout>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_marginLeft="20dp"
android:orientation="vertical">
<LinearLayout
android:id="@+id/vsCardState"
android:layout_width="match_parent"
android:layout_height="@dimen/card_info_height"
android:orientation="vertical">
<LinearLayout
android:id="@+id/cardLoaded"
android:layout_width="match_parent"
android:layout_height="200dp"
android:layout_marginLeft="4dp"
android:layout_marginRight="4dp"
android:layout_marginTop="4dp"
android:orientation="vertical"
android:visibility="visible">
<LinearLayout
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_margin="0dp"
android:orientation="horizontal">
<TextView
android:layout_width="100dp"
android:layout_height="wrap_content"
android:layout_margin="0dp"
android:fontFamily="@font/raleway_r"
android:text="Balance "
android:textColor="@color/primary_dark"
android:textSize="@dimen/font_large" />
<TextView
android:id="@+id/tvBalance"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_margin="0dp"
android:fontFamily="@font/montserrat_light"
android:text="0.0 mBTC"
android:textColor="@color/black"
android:textSize="@dimen/font_large"
android:textStyle="bold" />
</LinearLayout>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="-4dp"
android:orientation="horizontal">
<TextView
android:id="@+id/tvOffline"
android:layout_width="90dp"
android:layout_height="wrap_content"
android:layout_marginRight="20dp"
android:background="@color/msg_okay"
android:fontFamily="@font/montserrat_light"
android:text="verified offline"
android:textAlignment="center"
android:textColor="@color/white"
android:textSize="@dimen/font_small"
android:visibility="visible" />
<TextView
android:id="@+id/tvBalanceEquivalent"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginRight="48dp"
android:layout_marginTop="2dp"
android:fontFamily="@font/montserrat_light"
android:text="~ USD 0"
android:textColor="@color/black_overlay"
android:textSize="14dp"
android:textStyle="normal|bold" />
</LinearLayout>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="2dp"
android:orientation="horizontal">
<TextView
android:layout_width="110dp"
android:layout_height="wrap_content"
android:fontFamily="@font/raleway_r"
android:text="Blockchain"
android:textColor="@color/primary_dark"
android:textSize="14dp" />
<TextView
android:id="@+id/tvBlockchain"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_weight="1"
android:fontFamily="@font/montserrat_light"
android:lines="1"
android:maxLines="1"
android:text="Blockchain"
android:textColor="@color/primary_dark"
android:textSize="12dp"
android:textStyle="bold" />
</LinearLayout>
<LinearLayout
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:orientation="horizontal">
<TextView
android:layout_width="110dp"
android:layout_height="wrap_content"
android:fontFamily="@font/raleway_r"
android:text="Wallet "
android:textColor="@color/primary_dark"
android:textSize="14dp" />
<TextView
android:id="@+id/tvWallet"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:fontFamily="@font/montserrat_light"
android:lines="1"
android:maxLines="1"
android:text=" "
android:textColor="@color/primary_dark"
android:textSize="12dp"
android:textStyle="bold" />
</LinearLayout>
<LinearLayout
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:orientation="horizontal">
<TextView
android:id="@+id/lbLastInput"
android:layout_width="110dp"
android:layout_height="wrap_content"
android:fontFamily="@font/raleway_r"
android:text="Last unspent "
android:textColor="@color/primary_dark"
android:textSize="14dp" />
<TextView
android:id="@+id/tvLastInput"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:fontFamily="@font/montserrat_light"
android:text=" "
android:textColor="@color/primary_dark"
android:textSize="12dp"
android:textStyle="normal|bold" />
</LinearLayout>
<LinearLayout
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:orientation="horizontal">
<TextView
android:id="@+id/lbLastOutput"
android:layout_width="110dp"
android:layout_height="wrap_content"
android:fontFamily="@font/raleway_r"
android:text="Last withdrawal"
android:textColor="@color/primary_dark"
android:textSize="14dp" />
<TextView
android:id="@+id/tvLastOutput"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:fontFamily="@font/montserrat_light"
android:text=" "
android:textColor="@color/primary_dark"
android:textSize="12dp"
android:textStyle="normal|bold" />
</LinearLayout>
</LinearLayout>
<LinearLayout
android:id="@+id/cardEmpty"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:visibility="gone">
<TextView
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_gravity="center"
android:fontFamily="@font/raleway_r"
android:gravity="center"
android:text="NO WALLET"
android:textAlignment="center"
android:textSize="@dimen/font_large" />
</LinearLayout>
<LinearLayout
android:id="@+id/cardPurged"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:visibility="gone">
<TextView
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_gravity="center"
android:fontFamily="@font/raleway_r"
android:gravity="center"
android:text="ERASED WALLET"
android:textAlignment="center"
android:textSize="@dimen/font_large" />
</LinearLayout>
<LinearLayout
android:id="@+id/cardError"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:visibility="gone">
<TextView
android:id="@+id/tvError"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_gravity="center"
android:fontFamily="@font/raleway_r"
android:gravity="center"
android:text="INVALID CARD"
android:textAlignment="center"
android:textSize="@dimen/font_large" />
</LinearLayout>
</LinearLayout>
<TextView
android:id="@+id/tvCardID"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginLeft="32dp"
android:layout_marginRight="32dp"
android:layout_marginTop="2dp"
android:clickable="true"
android:focusable="true"
android:focusableInTouchMode="true"
android:fontFamily="@font/montserrat_light"
android:paddingTop="6dp"
android:text=" "
android:textAlignment="center"
android:textColor="@color/primary_dark"
android:textSize="14dp" />
</LinearLayout>
<ImageView
android:id="@+id/imgBlockchain"
android:layout_width="32dp"
android:layout_height="32dp"
android:layout_alignParentEnd="true"
android:layout_alignParentTop="true"
android:layout_marginTop="6dp" />
<ImageView
android:id="@+id/imgSecurityNotification"
android:layout_width="24dp"
android:layout_height="24dp"
android:layout_alignParentBottom="true"
android:layout_alignParentEnd="true"
android:layout_alignParentStart="false"
android:layout_marginBottom="6dp"
android:layout_marginLeft="24dp"
android:background="@drawable/ic_info"
android:visibility="invisible" />
</RelativeLayout>
</android.support.v7.widget.CardView>
<?xml version="1.0" encoding="utf-8"?>
<android.support.v7.widget.CardView xmlns:android="http://schemas.android.com/apk/res/android" xmlns:card_view="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
android:id="@+id/cvCard"
android:layout_width="match_parent"
android:layout_height="@dimen/card_height"
android:layout_gravity="center_vertical"
android:layout_marginBottom="0dp"
android:layout_marginEnd="8dp"
android:layout_marginStart="8dp"
android:layout_marginTop="8dp"
card_view:cardBackgroundColor="@color/btn_light"
card_view:cardCornerRadius="6dp"
card_view:cardElevation="8dp"
card_view:contentPaddingLeft="6dp"
card_view:contentPaddingRight="6dp">
<RelativeLayout
android:id="@+id/card_bg_layout"
android:layout_width="match_parent"
android:layout_height="match_parent">
<ImageView
android:id="@+id/imageView"
android:layout_width="@dimen/card_height"
android:layout_height="@dimen/card_height"
android:layout_alignParentEnd="true"
android:alpha="0.2"
android:padding="10dp"
card_view:srcCompat="@drawable/card_bg" />
<TextView
android:id="@+id/tvVoid"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_marginLeft="20dp"
android:alpha="0.33"
android:fontFamily="@font/raleway_el"
android:gravity="center"
android:rotation="-25"
android:text="VOID"
android:textColor="@color/msg_err"
android:textSize="96dp" />
<FrameLayout
android:layout_width="16dp"
android:layout_height="match_parent"
android:layout_marginLeft="1dp"
android:foregroundGravity="center">
<TextView
android:id="@+id/tvTypeBg"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:alpha="0.5"
android:background="@color/white" />
<com.tangem.wallet.VerticalTextView
android:id="@+id/tvType"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_marginLeft="1dp"
android:alpha="0.6"
android:fontFamily="@font/raleway_el"
android:gravity="bottom"
android:maxLines="1"
android:text=" DEVELOPER KIT "
android:textColor="@color/black"
android:textSize="12dp" />
</FrameLayout>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_marginLeft="20dp"
android:orientation="vertical">
<LinearLayout
android:id="@+id/vsCardState"
android:layout_width="match_parent"
android:layout_height="@dimen/card_info_height"
android:orientation="vertical">
<LinearLayout
android:id="@+id/cardLoaded"
android:layout_width="match_parent"
android:layout_height="200dp"
android:layout_marginLeft="4dp"
android:layout_marginRight="4dp"
android:layout_marginTop="4dp"
android:orientation="vertical"
android:visibility="visible">
<LinearLayout
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_margin="0dp"
android:orientation="horizontal">
<TextView
android:layout_width="100dp"
android:layout_height="wrap_content"
android:layout_margin="0dp"
android:fontFamily="@font/raleway_r"
android:text="Balance "
android:textColor="@color/primary_dark"
android:textSize="@dimen/font_large" />
<TextView
android:id="@+id/tvBalance"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_margin="0dp"
android:fontFamily="@font/montserrat_light"
android:text="0.0 mBTC"
android:textColor="@color/black"
android:textSize="@dimen/font_large"
android:textStyle="bold" />
</LinearLayout>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="-4dp"
android:orientation="horizontal">
<TextView
android:id="@+id/tvOffline"
android:layout_width="90dp"
android:layout_height="wrap_content"
android:layout_marginRight="20dp"
android:background="@color/msg_okay"
android:fontFamily="@font/montserrat_light"
android:text="verified offline"
android:textAlignment="center"
android:textColor="@color/white"
android:textSize="@dimen/font_small"
android:visibility="visible" />
<TextView
android:id="@+id/tvBalanceEquivalent"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginRight="48dp"
android:layout_marginTop="2dp"
android:fontFamily="@font/montserrat_light"
android:text="~ USD 0"
android:textColor="@color/black_overlay"
android:textSize="14dp"
android:textStyle="normal|bold" />
</LinearLayout>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="2dp"
android:orientation="horizontal">
<TextView
android:layout_width="110dp"
android:layout_height="wrap_content"
android:fontFamily="@font/raleway_r"
android:text="Blockchain"
android:textColor="@color/primary_dark"
android:textSize="14dp" />
<TextView
android:id="@+id/tvBlockchain"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_weight="1"
android:fontFamily="@font/montserrat_light"
android:lines="1"
android:maxLines="1"
android:text="Blockchain"
android:textColor="@color/primary_dark"
android:textSize="12dp"
android:textStyle="bold" />
</LinearLayout>
<LinearLayout
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:orientation="horizontal">
<TextView
android:layout_width="110dp"
android:layout_height="wrap_content"
android:fontFamily="@font/raleway_r"
android:text="Wallet "
android:textColor="@color/primary_dark"
android:textSize="14dp" />
<TextView
android:id="@+id/tvWallet"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:fontFamily="@font/montserrat_light"
android:lines="1"
android:maxLines="1"
android:text=" "
android:textColor="@color/primary_dark"
android:textSize="12dp"
android:textStyle="bold" />
</LinearLayout>
<LinearLayout
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:orientation="horizontal">
<TextView
android:id="@+id/lbLastInput"
android:layout_width="110dp"
android:layout_height="wrap_content"
android:fontFamily="@font/raleway_r"
android:text="Last unspent "
android:textColor="@color/primary_dark"
android:textSize="14dp" />
<TextView
android:id="@+id/tvLastInput"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:fontFamily="@font/montserrat_light"
android:text=" "
android:textColor="@color/primary_dark"
android:textSize="12dp"
android:textStyle="normal|bold" />
</LinearLayout>
<LinearLayout
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:orientation="horizontal">
<TextView
android:id="@+id/lbLastOutput"
android:layout_width="110dp"
android:layout_height="wrap_content"
android:fontFamily="@font/raleway_r"
android:text="Last withdrawal"
android:textColor="@color/primary_dark"
android:textSize="14dp" />
<TextView
android:id="@+id/tvLastOutput"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:fontFamily="@font/montserrat_light"
android:text=" "
android:textColor="@color/primary_dark"
android:textSize="12dp"
android:textStyle="normal|bold" />
</LinearLayout>
</LinearLayout>
<LinearLayout
android:id="@+id/cardEmpty"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:visibility="gone">
<TextView
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_gravity="center"
android:fontFamily="@font/raleway_r"
android:gravity="center"
android:text="NO WALLET"
android:textAlignment="center"
android:textSize="@dimen/font_large" />
</LinearLayout>
<LinearLayout
android:id="@+id/cardPurged"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:visibility="gone">
<TextView
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_gravity="center"
android:fontFamily="@font/raleway_r"
android:gravity="center"
android:text="ERASED WALLET"
android:textAlignment="center"
android:textSize="@dimen/font_large" />
</LinearLayout>
<LinearLayout
android:id="@+id/cardError"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:visibility="gone">
<TextView
android:id="@+id/tvError"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_gravity="center"
android:fontFamily="@font/raleway_r"
android:gravity="center"
android:text="INVALID CARD"
android:textAlignment="center"
android:textSize="@dimen/font_large" />
</LinearLayout>
</LinearLayout>
<TextView
android:id="@+id/tvCardID"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginLeft="32dp"
android:layout_marginRight="32dp"
android:layout_marginTop="2dp"
android:clickable="true"
android:focusable="true"
android:focusableInTouchMode="true"
android:fontFamily="@font/montserrat_light"
android:paddingTop="6dp"
android:text=" "
android:textAlignment="center"
android:textColor="@color/primary_dark"
android:textSize="14dp" />
</LinearLayout>
<ImageView
android:id="@+id/imgBlockchain"
android:layout_width="32dp"
android:layout_height="32dp"
android:layout_alignParentEnd="true"
android:layout_alignParentTop="true"
android:layout_marginTop="6dp" />
<ImageView
android:id="@+id/imgSecurityNotification"
android:layout_width="24dp"
android:layout_height="24dp"
android:layout_alignParentBottom="true"
android:layout_alignParentEnd="true"
android:layout_alignParentStart="false"
android:layout_marginBottom="6dp"
android:layout_marginLeft="24dp"
android:background="@drawable/ic_info"
android:visibility="invisible" />
</RelativeLayout>
</android.support.v7.widget.CardView>

View file

@ -1,23 +1,23 @@
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout
xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="96dp"
>
<TextView
android:id="@+id/tvItem"
android:layout_width="match_parent"
android:layout_height="match_parent"
style="@style/Base.TextAppearance.AppCompat.Small"
android:text="Unspent"
android:layout_margin="10dp"/>
<View
android:id="@+id/separator"
style="@style/thin_separator" />
</RelativeLayout>
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout
xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="96dp"
>
<TextView
android:id="@+id/tvItem"
android:layout_width="match_parent"
android:layout_height="match_parent"
style="@style/Base.TextAppearance.AppCompat.Small"
android:text="Unspent"
android:layout_margin="10dp"/>
<View
android:id="@+id/separator"
style="@style/thin_separator" />
</RelativeLayout>

View file

@ -1,9 +1,9 @@
<fragment 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:id="@+id/loaded_wallet_fragment"
android:name="com.tangem.wallet.LoadedWalletActivityFragment"
android:layout_width="match_parent"
android:layout_height="match_parent"
app:layout_behavior="@string/appbar_scrolling_view_behavior"
tools:layout="@layout/fragment_loaded_wallet" />
<fragment 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:id="@+id/loaded_wallet_fragment"
android:name="com.tangem.wallet.LoadedWalletActivityFragment"
android:layout_width="match_parent"
android:layout_height="match_parent"
app:layout_behavior="@string/appbar_scrolling_view_behavior"
tools:layout="@layout/fragment_loaded_wallet" />

View file

@ -1,9 +1,9 @@
<fragment 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:id="@+id/fragmentMain"
android:name="com.tangem.wallet.MainActivityFragment"
android:layout_width="match_parent"
android:layout_height="match_parent"
app:layout_behavior="@string/appbar_scrolling_view_behavior"
tools:layout="@layout/fragment_main" />
<fragment 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:id="@+id/fragmentMain"
android:name="com.tangem.wallet.MainActivityFragment"
android:layout_width="match_parent"
android:layout_height="match_parent"
app:layout_behavior="@string/appbar_scrolling_view_behavior"
tools:layout="@layout/fragment_main" />

View file

@ -1,9 +1,9 @@
<fragment 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:id="@+id/verify_card_fragment"
android:name="com.tangem.wallet.VerifyCardActivityFragment"
android:layout_width="match_parent"
android:layout_height="match_parent"
app:layout_behavior="@string/appbar_scrolling_view_behavior"
tools:layout="@layout/fragment_verify_card" />
<fragment 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:id="@+id/verify_card_fragment"
android:name="com.tangem.wallet.VerifyCardActivityFragment"
android:layout_width="match_parent"
android:layout_height="match_parent"
app:layout_behavior="@string/appbar_scrolling_view_behavior"
tools:layout="@layout/fragment_verify_card" />

View file

@ -1,30 +1,30 @@
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:orientation="vertical" android:layout_width="match_parent"
android:layout_height="wrap_content">
<ImageView
android:layout_width="96dp"
android:layout_height="96dp"
android:src="@mipmap/ic_fp"
android:layout_gravity="center_horizontal"
android:layout_marginTop="16dp"/>
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="Touch fingerprint scanner to confirm"
android:layout_gravity="center_horizontal"
android:textSize="@dimen/font_normal"
android:layout_margin="16dp"
android:textAlignment="center"
/>
<ProgressBar
android:id="@+id/login_progress"
style="?android:attr/progressBarStyleLarge"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginBottom="8dp"
android:visibility="gone" />
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:orientation="vertical" android:layout_width="match_parent"
android:layout_height="wrap_content">
<ImageView
android:layout_width="96dp"
android:layout_height="96dp"
android:src="@mipmap/ic_fp"
android:layout_gravity="center_horizontal"
android:layout_marginTop="16dp"/>
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="Touch fingerprint scanner to confirm"
android:layout_gravity="center_horizontal"
android:textSize="@dimen/font_normal"
android:layout_margin="16dp"
android:textAlignment="center"
/>
<ProgressBar
android:id="@+id/login_progress"
style="?android:attr/progressBarStyleLarge"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginBottom="8dp"
android:visibility="gone" />
</LinearLayout>

View file

@ -1,75 +1,75 @@
<?xml version="1.0" encoding="utf-8"?>
<android.support.constraint.ConstraintLayout 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="wrap_content">
<TextView
android:id="@+id/tvHeader"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginEnd="8dp"
android:layout_marginStart="8dp"
android:layout_marginTop="16dp"
android:fontFamily="@font/raleway_r"
android:text="This banknote has enforced security delay"
android:textAlignment="center"
android:textColor="@color/primary"
android:textSize="14dp"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent" />
<TextView
android:id="@+id/tvHeader2"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginEnd="8dp"
android:layout_marginStart="8dp"
android:layout_marginTop="16dp"
android:fontFamily="@font/raleway_r"
android:text="Please hold the banknote firmly\n until the operation is completed..."
android:textAlignment="center"
android:textColor="@color/black"
android:textSize="@dimen/font_normal"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@+id/tvHeader" />
<ProgressBar
android:id="@+id/progressBar"
style="@android:style/Widget.ProgressBar.Horizontal"
android:layout_width="match_parent"
android:layout_height="12dp"
android:layout_marginEnd="24dp"
android:layout_marginStart="24dp"
android:layout_marginTop="16dp"
android:progressBackgroundTint="@android:color/darker_gray"
android:progressTint="@color/colorPrimary"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintHorizontal_bias="0.166"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@+id/tvHeader2"
app:layout_constraintVertical_bias="0.0" />
<TextView
android:id="@+id/tvMessage"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginBottom="16dp"
android:layout_marginEnd="8dp"
android:layout_marginStart="8dp"
android:layout_marginTop="16dp"
android:fontFamily="@font/raleway_r"
android:text="You may be required to repeat this operation a few times depending on the NFC performance of your smartphone.\n This is made for safety of your funds."
android:textAlignment="center"
android:textColor="@color/primary"
android:textSize="12dp"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@+id/progressBar" />
<?xml version="1.0" encoding="utf-8"?>
<android.support.constraint.ConstraintLayout 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="wrap_content">
<TextView
android:id="@+id/tvHeader"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginEnd="8dp"
android:layout_marginStart="8dp"
android:layout_marginTop="16dp"
android:fontFamily="@font/raleway_r"
android:text="This banknote has enforced security delay"
android:textAlignment="center"
android:textColor="@color/primary"
android:textSize="14dp"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent" />
<TextView
android:id="@+id/tvHeader2"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginEnd="8dp"
android:layout_marginStart="8dp"
android:layout_marginTop="16dp"
android:fontFamily="@font/raleway_r"
android:text="Please hold the banknote firmly\n until the operation is completed..."
android:textAlignment="center"
android:textColor="@color/black"
android:textSize="@dimen/font_normal"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@+id/tvHeader" />
<ProgressBar
android:id="@+id/progressBar"
style="@android:style/Widget.ProgressBar.Horizontal"
android:layout_width="match_parent"
android:layout_height="12dp"
android:layout_marginEnd="24dp"
android:layout_marginStart="24dp"
android:layout_marginTop="16dp"
android:progressBackgroundTint="@android:color/darker_gray"
android:progressTint="@color/colorPrimary"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintHorizontal_bias="0.166"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@+id/tvHeader2"
app:layout_constraintVertical_bias="0.0" />
<TextView
android:id="@+id/tvMessage"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginBottom="16dp"
android:layout_marginEnd="8dp"
android:layout_marginStart="8dp"
android:layout_marginTop="16dp"
android:fontFamily="@font/raleway_r"
android:text="You may be required to repeat this operation a few times depending on the NFC performance of your smartphone.\n This is made for safety of your funds."
android:textAlignment="center"
android:textColor="@color/primary"
android:textSize="12dp"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@+id/progressBar" />
</android.support.constraint.ConstraintLayout>

File diff suppressed because it is too large Load diff

View file

@ -1,34 +1,34 @@
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout 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"
tools:context="com.tangem.wallet.MainActivityFragment"
tools:showIn="@layout/content_main">
<!--<android.support.v4.widget.SwipeRefreshLayout-->
<!--android:id="@+id/swipe_container"-->
<!--android:layout_width="match_parent"-->
<!--android:layout_height="match_parent">-->
<android.support.v7.widget.RecyclerView
android:id="@+id/lvCards"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:foregroundGravity="center_vertical"
android:paddingTop="14dp" />
<!--</android.support.v4.widget.SwipeRefreshLayout>-->
<ProgressBar
android:id="@+id/progressBar"
style="@style/Base.Widget.AppCompat.ProgressBar.Horizontal"
android:layout_width="match_parent"
android:layout_height="12dp"
android:layout_alignParentBottom="true"
android:layout_alignParentEnd="false"
android:alpha="0.5"
android:elevation="1dp"
android:visibility="invisible" />
</RelativeLayout>
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout 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"
tools:context="com.tangem.wallet.MainActivityFragment"
tools:showIn="@layout/content_main">
<!--<android.support.v4.widget.SwipeRefreshLayout-->
<!--android:id="@+id/swipe_container"-->
<!--android:layout_width="match_parent"-->
<!--android:layout_height="match_parent">-->
<android.support.v7.widget.RecyclerView
android:id="@+id/lvCards"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:foregroundGravity="center_vertical"
android:paddingTop="14dp" />
<!--</android.support.v4.widget.SwipeRefreshLayout>-->
<ProgressBar
android:id="@+id/progressBar"
style="@style/Base.Widget.AppCompat.ProgressBar.Horizontal"
android:layout_width="match_parent"
android:layout_height="12dp"
android:layout_alignParentBottom="true"
android:layout_alignParentEnd="false"
android:alpha="0.5"
android:elevation="1dp"
android:visibility="invisible" />
</RelativeLayout>

File diff suppressed because it is too large Load diff

View file

@ -1,24 +1,24 @@
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
xmlns:app="http://schemas.android.com/apk/res-auto"
tools:context="com.tangem.wallet.WalletUnspentFragment">
<!-- TODO: Update blank fragment layout -->
<ListView
android:id="@+id/lvHistory"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_margin="8dp" />
<android.support.design.widget.FloatingActionButton
android:id="@+id/fabRefresh"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="bottom|end"
android:layout_margin="@dimen/fab_margin"
app:srcCompat="@drawable/ic_search_gray" />
</FrameLayout>
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
xmlns:app="http://schemas.android.com/apk/res-auto"
tools:context="com.tangem.wallet.WalletUnspentFragment">
<!-- TODO: Update blank fragment layout -->
<ListView
android:id="@+id/lvHistory"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_margin="8dp" />
<android.support.design.widget.FloatingActionButton
android:id="@+id/fabRefresh"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="bottom|end"
android:layout_margin="@dimen/fab_margin"
app:srcCompat="@drawable/ic_search_gray" />
</FrameLayout>

View file

@ -1,44 +1,44 @@
<?xml version="1.0" encoding="utf-8"?>
<android.support.constraint.ConstraintLayout 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"
tools:context="com.tangem.wallet.WalletInfoFragment">
<ImageView
android:id="@+id/qrWallet"
android:layout_width="256dp"
android:layout_height="256dp"
android:layout_marginLeft="8dp"
android:layout_marginRight="8dp"
android:layout_marginTop="83dp"
app:layout_constraintLeft_toLeftOf="parent"
app:layout_constraintRight_toRightOf="parent"
app:layout_constraintTop_toTopOf="parent"
app:srcCompat="@color/cardview_light_background"
tools:layout_editor_absoluteX="72dp" />
<TextView
android:id="@+id/strWallet"
android:layout_width="347dp"
android:layout_height="39dp"
android:layout_marginBottom="76dp"
android:layout_marginLeft="8dp"
android:layout_marginRight="8dp"
android:layout_marginTop="8dp"
android:ems="10"
android:inputType="none|textPersonName"
android:singleLine="false"
android:text="N/A"
android:textAlignment="center"
android:textSize="12dp"
android:textStyle="bold"
android:typeface="monospace"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintHorizontal_bias="0.509"
app:layout_constraintLeft_toLeftOf="parent"
app:layout_constraintRight_toRightOf="parent"
app:layout_constraintTop_toBottomOf="@+id/qrWallet"
tools:layout_editor_absoluteX="2dp" />
<?xml version="1.0" encoding="utf-8"?>
<android.support.constraint.ConstraintLayout 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"
tools:context="com.tangem.wallet.WalletInfoFragment">
<ImageView
android:id="@+id/qrWallet"
android:layout_width="256dp"
android:layout_height="256dp"
android:layout_marginLeft="8dp"
android:layout_marginRight="8dp"
android:layout_marginTop="83dp"
app:layout_constraintLeft_toLeftOf="parent"
app:layout_constraintRight_toRightOf="parent"
app:layout_constraintTop_toTopOf="parent"
app:srcCompat="@color/cardview_light_background"
tools:layout_editor_absoluteX="72dp" />
<TextView
android:id="@+id/strWallet"
android:layout_width="347dp"
android:layout_height="39dp"
android:layout_marginBottom="76dp"
android:layout_marginLeft="8dp"
android:layout_marginRight="8dp"
android:layout_marginTop="8dp"
android:ems="10"
android:inputType="none|textPersonName"
android:singleLine="false"
android:text="N/A"
android:textAlignment="center"
android:textSize="12dp"
android:textStyle="bold"
android:typeface="monospace"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintHorizontal_bias="0.509"
app:layout_constraintLeft_toLeftOf="parent"
app:layout_constraintRight_toRightOf="parent"
app:layout_constraintTop_toBottomOf="@+id/qrWallet"
tools:layout_editor_absoluteX="2dp" />
</android.support.constraint.ConstraintLayout>

View file

@ -1,24 +1,24 @@
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
xmlns:app="http://schemas.android.com/apk/res-auto"
tools:context="com.tangem.wallet.WalletUnspentFragment">
<!-- TODO: Update blank fragment layout -->
<ListView
android:id="@+id/lvUnspent"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_margin="8dp" />
<android.support.design.widget.FloatingActionButton
android:id="@+id/fabRefresh"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="bottom|end"
android:layout_margin="@dimen/fab_margin"
app:srcCompat="@drawable/ic_search_gray" />
</FrameLayout>
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
xmlns:app="http://schemas.android.com/apk/res-auto"
tools:context="com.tangem.wallet.WalletUnspentFragment">
<!-- TODO: Update blank fragment layout -->
<ListView
android:id="@+id/lvUnspent"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_margin="8dp" />
<android.support.design.widget.FloatingActionButton
android:id="@+id/fabRefresh"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="bottom|end"
android:layout_margin="@dimen/fab_margin"
app:srcCompat="@drawable/ic_search_gray" />
</FrameLayout>

View file

@ -1,20 +1,20 @@
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:padding="16dp">
<Button
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:id="@+id/btnMessage"/>
<ImageView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:src="@mipmap/ic_launcher"
android:id="@+id/imgMessage"/>
</LinearLayout>
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:padding="16dp">
<Button
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:id="@+id/btnMessage"/>
<ImageView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:src="@mipmap/ic_launcher"
android:id="@+id/imgMessage"/>
</LinearLayout>

View file

@ -1,10 +1,10 @@
<menu 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"
tools:context="com.bitex.Wallet.CardInfoActivity">
<item
android:id="@+id/action_settings"
android:orderInCategory="100"
android:title="@string/action_settings"
app:showAsAction="never" />
</menu>
<menu 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"
tools:context="com.bitex.Wallet.CardInfoActivity">
<item
android:id="@+id/action_settings"
android:orderInCategory="100"
android:title="@string/action_settings"
app:showAsAction="never" />
</menu>

View file

@ -1,41 +1,41 @@
<menu 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"
tools:context="com.bitex.Wallet.LoadedWalletActivity">
<item
android:id="@+id/action_set_PIN1"
android:orderInCategory="100"
android:title="Set PIN1"
android:enabled="false"
app:showAsAction="never" />
<item
android:id="@+id/action_set_PIN2"
android:orderInCategory="100"
android:title="Set PIN2"
android:enabled="false"
app:showAsAction="never" />
<item
android:id="@+id/action_reset_PIN1"
android:orderInCategory="100"
android:title="Reset PIN1 to default"
android:enabled="false"
app:showAsAction="never" />
<item
android:id="@+id/action_reset_PIN2"
android:orderInCategory="100"
android:title="Reset PIN2 to default"
android:enabled="false"
app:showAsAction="never" />
<item
android:id="@+id/action_reset_PINs"
android:orderInCategory="100"
android:title="Reset PINs to default"
android:enabled="false"
app:showAsAction="never" />
<item
android:id="@+id/action_purge"
android:orderInCategory="100"
android:title="Erase wallet"
android:enabled="true"
app:showAsAction="never" />
</menu>
<menu 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"
tools:context="com.bitex.Wallet.LoadedWalletActivity">
<item
android:id="@+id/action_set_PIN1"
android:orderInCategory="100"
android:title="Set PIN1"
android:enabled="false"
app:showAsAction="never" />
<item
android:id="@+id/action_set_PIN2"
android:orderInCategory="100"
android:title="Set PIN2"
android:enabled="false"
app:showAsAction="never" />
<item
android:id="@+id/action_reset_PIN1"
android:orderInCategory="100"
android:title="Reset PIN1 to default"
android:enabled="false"
app:showAsAction="never" />
<item
android:id="@+id/action_reset_PIN2"
android:orderInCategory="100"
android:title="Reset PIN2 to default"
android:enabled="false"
app:showAsAction="never" />
<item
android:id="@+id/action_reset_PINs"
android:orderInCategory="100"
android:title="Reset PINs to default"
android:enabled="false"
app:showAsAction="never" />
<item
android:id="@+id/action_purge"
android:orderInCategory="100"
android:title="Erase wallet"
android:enabled="true"
app:showAsAction="never" />
</menu>

View file

@ -1,10 +1,10 @@
<?xml version="1.0" encoding="utf-8"?>
<menu xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:android="http://schemas.android.com/apk/res/android">
<item android:title="Clean up" android:id="@+id/cleanCards"/>
<item android:title="Manage user PIN1..." android:id="@+id/managePIN" android:enabled="false"/>
<item android:title="Manage user PIN2..." android:id="@+id/managePIN2" android:enabled="false"/>
<item android:title="Send logs..." android:id="@+id/sendLogs" android:visible="false"/>
<!--<item android:title="Switch to another blockchain host" android:id="@+id/switchToAnotherBitcoinHost" android:visible="false"/>-->
<item android:title="About..." android:id="@+id/about"/>
<?xml version="1.0" encoding="utf-8"?>
<menu xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:android="http://schemas.android.com/apk/res/android">
<item android:title="Clean up" android:id="@+id/cleanCards"/>
<item android:title="Manage user PIN1..." android:id="@+id/managePIN" android:enabled="false"/>
<item android:title="Manage user PIN2..." android:id="@+id/managePIN2" android:enabled="false"/>
<item android:title="Send logs..." android:id="@+id/sendLogs" android:visible="false"/>
<!--<item android:title="Switch to another blockchain host" android:id="@+id/switchToAnotherBitcoinHost" android:visible="false"/>-->
<item android:title="About..." android:id="@+id/about"/>
</menu>

View file

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android">
<background android:drawable="@mipmap/ic_launcher_background"/>
<foreground android:drawable="@mipmap/ic_launcher_foreground"/>
<?xml version="1.0" encoding="utf-8"?>
<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android">
<background android:drawable="@mipmap/ic_launcher_background"/>
<foreground android:drawable="@mipmap/ic_launcher_foreground"/>
</adaptive-icon>

View file

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android">
<background android:drawable="@mipmap/ic_launcher_background"/>
<foreground android:drawable="@mipmap/ic_launcher_foreground"/>
<?xml version="1.0" encoding="utf-8"?>
<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android">
<background android:drawable="@mipmap/ic_launcher_background"/>
<foreground android:drawable="@mipmap/ic_launcher_foreground"/>
</adaptive-icon>

View file

@ -1,6 +1,6 @@
<resources>
<!-- Example customization of dimensions originally defined in res/values/dimens.xml
(such as screen margins) for screens with more than 820dp of available width. This
would include 7" and 10" devices in landscape (~960dp and ~1280dp respectively). -->
<dimen name="activity_horizontal_margin">64dp</dimen>
</resources>
<resources>
<!-- Example customization of dimensions originally defined in res/values/dimens.xml
(such as screen margins) for screens with more than 820dp of available width. This
would include 7" and 10" devices in landscape (~960dp and ~1280dp respectively). -->
<dimen name="activity_horizontal_margin">64dp</dimen>
</resources>

View file

@ -1,12 +1,12 @@
<resources>
<!-- Declare custom theme attributes that allow changing which styles are
used for button bars depending on the API level.
?android:attr/buttonBarStyle is new as of API 11 so this is
necessary to support previous API levels. -->
<declare-styleable name="ButtonBarContainerTheme">
<attr name="metaButtonBarStyle" format="reference" />
<attr name="metaButtonBarButtonStyle" format="reference" />
</declare-styleable>
</resources>
<resources>
<!-- Declare custom theme attributes that allow changing which styles are
used for button bars depending on the API level.
?android:attr/buttonBarStyle is new as of API 11 so this is
necessary to support previous API levels. -->
<declare-styleable name="ButtonBarContainerTheme">
<attr name="metaButtonBarStyle" format="reference" />
<attr name="metaButtonBarButtonStyle" format="reference" />
</declare-styleable>
</resources>

View file

@ -1,49 +1,49 @@
<?xml version="1.0" encoding="utf-8"?>
<resources xmlns:android="http://schemas.android.com/tools">
<color name="colorPrimary">#3f51b5</color>
<color name="colorPrimaryDark">#303f9f</color>
<color name="colorAccent">#3f51b5</color>
<color name="bg_window">#FFF0F0F0</color>
<!--<color name="primary">#DC3432</color>-->
<!--<color name="primary">#9E9E9E</color>-->
<color name="primary">#616161</color>
<!--<color name="primary_dark">#B71C1C</color>-->
<!--<color name="primary_dark">#616161</color>-->
<color name="primary_dark">@color/bg_material_dark</color>
<!--<color name="accent">@android:color/holo_blue_dark</color>-->
<color name="accent">#000000</color>
<!--<color name="primary_text">#FFFFFF</color>-->
<!--<color name="primary_text">#000000</color>-->
<!--<color name="secondary_text">#000000</color>-->
<color name="white">@android:color/white</color>
<color name="black">#000000</color>
<color name="bg_separator">#FFBABABA</color>
<color name="text_normal">#FF505050</color>
<color name="msg_send">@color/accent</color>
<color name="msg_rcv">#4a763d</color>
<color name="msg_okay">#4fc84f</color>
<!--<color name="msg_err">@android:color/holo_red_light</color>-->
<color name="msg_err">#ff4444</color>
<color name="msg_start">#4a086e</color>
<color name="msg_action">#0c15c1</color>
<color name="btn_light">#e3e3e3</color>
<color name="btn_dark">#FFC3C3C3</color>
<color name="bg_material_dark">#303030</color>
<color name="actionbar_text">@color/white</color>
<color name="card_state_error">#edcdcc</color>
<color name="card_state_empty">#bbbbcc</color>
<color name="card_state_loaded">#ddddee</color>
<color name="card_state_loaded_with_coins">#bbdcb1</color>
<color name="card_state_loaded_with_zero">#bbd9e6</color>
<color name="card_state_purged">#bbbbcc</color>
<color name="fab">#4f98c0</color>
<color name="type_banknote">#ffffff</color>
<color name="type_wallet">#ffffff</color>
<color name="black_overlay">#66000000</color>
<color name="confirmed" >#106800</color>
<color name="not_confirmed" >#7c0a02</color>
<color name="bg_err">#600600</color>
<color name="bg_msg">#bff2af</color>
</resources>
<?xml version="1.0" encoding="utf-8"?>
<resources xmlns:android="http://schemas.android.com/tools">
<color name="colorPrimary">#3f51b5</color>
<color name="colorPrimaryDark">#303f9f</color>
<color name="colorAccent">#3f51b5</color>
<color name="bg_window">#FFF0F0F0</color>
<!--<color name="primary">#DC3432</color>-->
<!--<color name="primary">#9E9E9E</color>-->
<color name="primary">#616161</color>
<!--<color name="primary_dark">#B71C1C</color>-->
<!--<color name="primary_dark">#616161</color>-->
<color name="primary_dark">@color/bg_material_dark</color>
<!--<color name="accent">@android:color/holo_blue_dark</color>-->
<color name="accent">#000000</color>
<!--<color name="primary_text">#FFFFFF</color>-->
<!--<color name="primary_text">#000000</color>-->
<!--<color name="secondary_text">#000000</color>-->
<color name="white">@android:color/white</color>
<color name="black">#000000</color>
<color name="bg_separator">#FFBABABA</color>
<color name="text_normal">#FF505050</color>
<color name="msg_send">@color/accent</color>
<color name="msg_rcv">#4a763d</color>
<color name="msg_okay">#4fc84f</color>
<!--<color name="msg_err">@android:color/holo_red_light</color>-->
<color name="msg_err">#ff4444</color>
<color name="msg_start">#4a086e</color>
<color name="msg_action">#0c15c1</color>
<color name="btn_light">#e3e3e3</color>
<color name="btn_dark">#FFC3C3C3</color>
<color name="bg_material_dark">#303030</color>
<color name="actionbar_text">@color/white</color>
<color name="card_state_error">#edcdcc</color>
<color name="card_state_empty">#bbbbcc</color>
<color name="card_state_loaded">#ddddee</color>
<color name="card_state_loaded_with_coins">#bbdcb1</color>
<color name="card_state_loaded_with_zero">#bbd9e6</color>
<color name="card_state_purged">#bbbbcc</color>
<color name="fab">#4f98c0</color>
<color name="type_banknote">#ffffff</color>
<color name="type_wallet">#ffffff</color>
<color name="black_overlay">#66000000</color>
<color name="confirmed" >#106800</color>
<color name="not_confirmed" >#7c0a02</color>
<color name="bg_err">#600600</color>
<color name="bg_msg">#bff2af</color>
</resources>

View file

@ -1,37 +1,37 @@
<resources>
<dimen name="font_normal">18dp</dimen>
<dimen name="font_large">24dp</dimen>
<dimen name="font_small">12dp</dimen>
<dimen name="height_thin_separator">0.8dp</dimen>
<dimen name="margin_separator">4dp</dimen>
<dimen name="margin_window">8dp</dimen>
<dimen name="activity_vertical_margin">4dp</dimen>
<dimen name="activity_horizontal_margin">4dp</dimen>
<dimen name="fab_margin">8dp</dimen>
<dimen name="appbar_padding_top">8dp</dimen>
<dimen name="pin_button_size">80dp</dimen>
<dimen name="pin_button_top_margin">8dp</dimen>
<dimen name="card_height">168dp</dimen>
<dimen name="card_info_height">132dp</dimen>
<dimen name="verify_card_left_col_width">144dp</dimen>
<dimen name="verify_card_font_large">24dp</dimen>
<dimen name="verify_card_font_normal">18dp</dimen>
<dimen name="verify_card_font_small">14dp</dimen>
<dimen name="empty_wallet_left_col_width">140dp</dimen>
<dimen name="empty_wallet_font_large">24dp</dimen>
<dimen name="empty_wallet_font_normal">14dp</dimen>
<dimen name="empty_wallet_font_small">12dp</dimen>
<dimen name="empty_wallet_left_col_margin">16dp</dimen>
<!-- Per the design guidelines, navigation drawers should be between 240dp and 320dp:
https://developer.android.com/design/patterns/navigation-drawer.html -->
<!-- Elevation when button is pressed -->
<!-- Z translation to apply when button is pressed -->
<!-- Default insets (outer padding) around buttons -->
<!-- Default inner padding within buttons -->
<!-- Default insets (outer padding) around controls -->
<!-- Default inner padding within controls -->
<!-- Default rounded corner for controls -->
</resources>
<resources>
<dimen name="font_normal">18dp</dimen>
<dimen name="font_large">24dp</dimen>
<dimen name="font_small">12dp</dimen>
<dimen name="height_thin_separator">0.8dp</dimen>
<dimen name="margin_separator">4dp</dimen>
<dimen name="margin_window">8dp</dimen>
<dimen name="activity_vertical_margin">4dp</dimen>
<dimen name="activity_horizontal_margin">4dp</dimen>
<dimen name="fab_margin">8dp</dimen>
<dimen name="appbar_padding_top">8dp</dimen>
<dimen name="pin_button_size">80dp</dimen>
<dimen name="pin_button_top_margin">8dp</dimen>
<dimen name="card_height">168dp</dimen>
<dimen name="card_info_height">132dp</dimen>
<dimen name="verify_card_left_col_width">144dp</dimen>
<dimen name="verify_card_font_large">24dp</dimen>
<dimen name="verify_card_font_normal">18dp</dimen>
<dimen name="verify_card_font_small">14dp</dimen>
<dimen name="empty_wallet_left_col_width">140dp</dimen>
<dimen name="empty_wallet_font_large">24dp</dimen>
<dimen name="empty_wallet_font_normal">14dp</dimen>
<dimen name="empty_wallet_font_small">12dp</dimen>
<dimen name="empty_wallet_left_col_margin">16dp</dimen>
<!-- Per the design guidelines, navigation drawers should be between 240dp and 320dp:
https://developer.android.com/design/patterns/navigation-drawer.html -->
<!-- Elevation when button is pressed -->
<!-- Z translation to apply when button is pressed -->
<!-- Default insets (outer padding) around buttons -->
<!-- Default inner padding within buttons -->
<!-- Default insets (outer padding) around controls -->
<!-- Default inner padding within controls -->
<!-- Default rounded corner for controls -->
</resources>

View file

@ -1,39 +1,39 @@
<resources>
<string name="app_name">Tangem Access</string>
<string name="in_msg_prefix">&lt;&#45;&#45;&#160;</string>
<string name="out_msg_prefix">&#45;&#45;&gt;&#160;</string>
<string name="okay_msg_prefix">**&#160;</string>
<string name="err_msg_prefix">!!&#160;</string>
<string name="action_msg_prefix">--&#160;</string>
<string name="wrong_tag_err">Not ISO tag!</string>
<string name="msgCardMustBeLoaded">Card must be loaded first!</string>
<string name="tag_lost_err">Tag lost!</string>
<string name="dialog_ok">OK</string>
<string name="dialog_quit">Quit</string>
<string name="nfc_disabled">Enable NFC?</string>
<string name="enable_nfc">This app is useless when NFC is disabled. Reader mode depends on it. Hit OK to go to Settings, where you can enable NFC.</string>
<string name="cmd_suffix">command</string>
<string name="rsp_suffix">response</string>
<string name="title_activity_main">Tangem Access</string>
<string name="action_settings">Settings</string>
<string name="title_activity_card_info">CardInfoActivity</string>
<string name="section_format">Hello World from section: %1$d</string>
<string name="fingerprint_authenticate_success">Successfully authenticated!</string>
<string name="pin_save_success">Successfully saved!</string>
<string name="prompt_pin">Enter PIN or use fingerprint scanner</string>
<string name="pin_save_fail">Saving pin failed</string>
<string name="error_empty_pin">PIN is empty</string>
<string name="error_pin_confirmation_failed">Please enter the PIN for confirmation!</string>
<string name="enter_pin_and_use_fingerprint_to_save_it">Enter PIN and save it</string>
<string name="enter_pin2_and_use_fingerprint_to_save_it">Enter PIN2 and save it</string>
<string name="bcBitcoin">Bitcoin</string>
<string name="bcEtherium">Etherium</string>
<array name="blockchains">
<item>@string/bcBitcoin</item>
<item>@string/bcEtherium</item>
</array>
<string name="title_activity_loaded_wallet">LoadedWalletActivity</string>
<string name="NoDataString">-- -- --</string>
</resources>
<resources>
<string name="app_name">Tangem Access</string>
<string name="in_msg_prefix">&lt;&#45;&#45;&#160;</string>
<string name="out_msg_prefix">&#45;&#45;&gt;&#160;</string>
<string name="okay_msg_prefix">**&#160;</string>
<string name="err_msg_prefix">!!&#160;</string>
<string name="action_msg_prefix">--&#160;</string>
<string name="wrong_tag_err">Not ISO tag!</string>
<string name="msgCardMustBeLoaded">Card must be loaded first!</string>
<string name="tag_lost_err">Tag lost!</string>
<string name="dialog_ok">OK</string>
<string name="dialog_quit">Quit</string>
<string name="nfc_disabled">Enable NFC?</string>
<string name="enable_nfc">This app is useless when NFC is disabled. Reader mode depends on it. Hit OK to go to Settings, where you can enable NFC.</string>
<string name="cmd_suffix">command</string>
<string name="rsp_suffix">response</string>
<string name="title_activity_main">Tangem Access</string>
<string name="action_settings">Settings</string>
<string name="title_activity_card_info">CardInfoActivity</string>
<string name="section_format">Hello World from section: %1$d</string>
<string name="fingerprint_authenticate_success">Successfully authenticated!</string>
<string name="pin_save_success">Successfully saved!</string>
<string name="prompt_pin">Enter PIN or use fingerprint scanner</string>
<string name="pin_save_fail">Saving pin failed</string>
<string name="error_empty_pin">PIN is empty</string>
<string name="error_pin_confirmation_failed">Please enter the PIN for confirmation!</string>
<string name="enter_pin_and_use_fingerprint_to_save_it">Enter PIN and save it</string>
<string name="enter_pin2_and_use_fingerprint_to_save_it">Enter PIN2 and save it</string>
<string name="bcBitcoin">Bitcoin</string>
<string name="bcEtherium">Etherium</string>
<array name="blockchains">
<item>@string/bcBitcoin</item>
<item>@string/bcEtherium</item>
</array>
<string name="title_activity_loaded_wallet">LoadedWalletActivity</string>
<string name="NoDataString">-- -- --</string>
</resources>

View file

@ -1,58 +1,58 @@
<resources>
<!-- Base application theme. -->
<style name="AppTheme" parent="Theme.AppCompat.Light.DarkActionBar">
<!-- Customize your theme here. -->
<item name="colorPrimary">@color/colorPrimary</item>
<item name="colorPrimaryDark">@color/colorPrimaryDark</item>
<item name="colorAccent">@color/colorPrimary</item>
</style>
<style name="spinner_item_actionbar" parent="Widget.AppCompat.Light.Spinner.DropDown.ActionBar">
<item name="android:background">@android:color/white</item>
<item name="android:textColor">@android:color/black</item>
</style>
<style name="spinner_dropdown_item_actionbar" parent="Widget.AppCompat.DropDownItem.Spinner">
<item name="android:layout_width">match_parent</item>
<item name="android:layout_height">40dp</item>
-->
<item name="android:fontFamily">sans-serif-condensed</item>
<item name="android:singleLine">true</item>
<item name="android:textSize">@dimen/font_normal</item>
<item name="android:gravity">center_vertical</item>
<item name="android:paddingLeft">10dp</item>
<item name="android:paddingRight">10dp</item>
<item name="android:textColor">@color/actionbar_text</item>
</style>
<style name="thin_separator">
<item name="android:layout_width">match_parent</item>
<item name="android:layout_height">@dimen/height_thin_separator</item>
<item name="android:background">@color/bg_separator</item>
<item name="android:layout_marginTop">@dimen/margin_separator</item>
<item name="android:layout_marginBottom">@dimen/margin_window</item>
</style>
<style name="AppTheme.NoActionBar">
<item name="windowActionBar">false</item>
<item name="windowNoTitle">true</item>
</style>
<style name="AppTheme.AppBarOverlay" parent="ThemeOverlay.AppCompat.Dark.ActionBar" />
<style name="AppTheme.PopupOverlay" parent="ThemeOverlay.AppCompat.Light" />
<style name="FullscreenTheme" parent="AppTheme">
<item name="android:actionBarStyle">@style/FullscreenActionBarStyle</item>
<item name="android:windowActionBarOverlay">true</item>
<item name="android:windowBackground">@null</item>
<item name="metaButtonBarStyle">?android:attr/buttonBarStyle</item>
<item name="metaButtonBarButtonStyle">?android:attr/buttonBarButtonStyle</item>
</style>
<style name="FullscreenActionBarStyle" parent="Widget.AppCompat.ActionBar">
<item name="android:background">@color/black_overlay</item>
</style>
</resources>
<resources>
<!-- Base application theme. -->
<style name="AppTheme" parent="Theme.AppCompat.Light.DarkActionBar">
<!-- Customize your theme here. -->
<item name="colorPrimary">@color/colorPrimary</item>
<item name="colorPrimaryDark">@color/colorPrimaryDark</item>
<item name="colorAccent">@color/colorPrimary</item>
</style>
<style name="spinner_item_actionbar" parent="Widget.AppCompat.Light.Spinner.DropDown.ActionBar">
<item name="android:background">@android:color/white</item>
<item name="android:textColor">@android:color/black</item>
</style>
<style name="spinner_dropdown_item_actionbar" parent="Widget.AppCompat.DropDownItem.Spinner">
<item name="android:layout_width">match_parent</item>
<item name="android:layout_height">40dp</item>
-->
<item name="android:fontFamily">sans-serif-condensed</item>
<item name="android:singleLine">true</item>
<item name="android:textSize">@dimen/font_normal</item>
<item name="android:gravity">center_vertical</item>
<item name="android:paddingLeft">10dp</item>
<item name="android:paddingRight">10dp</item>
<item name="android:textColor">@color/actionbar_text</item>
</style>
<style name="thin_separator">
<item name="android:layout_width">match_parent</item>
<item name="android:layout_height">@dimen/height_thin_separator</item>
<item name="android:background">@color/bg_separator</item>
<item name="android:layout_marginTop">@dimen/margin_separator</item>
<item name="android:layout_marginBottom">@dimen/margin_window</item>
</style>
<style name="AppTheme.NoActionBar">
<item name="windowActionBar">false</item>
<item name="windowNoTitle">true</item>
</style>
<style name="AppTheme.AppBarOverlay" parent="ThemeOverlay.AppCompat.Dark.ActionBar" />
<style name="AppTheme.PopupOverlay" parent="ThemeOverlay.AppCompat.Light" />
<style name="FullscreenTheme" parent="AppTheme">
<item name="android:actionBarStyle">@style/FullscreenActionBarStyle</item>
<item name="android:windowActionBarOverlay">true</item>
<item name="android:windowBackground">@null</item>
<item name="metaButtonBarStyle">?android:attr/buttonBarStyle</item>
<item name="metaButtonBarButtonStyle">?android:attr/buttonBarButtonStyle</item>
</style>
<style name="FullscreenActionBarStyle" parent="Widget.AppCompat.ActionBar">
<item name="android:background">@color/black_overlay</item>
</style>
</resources>

View file

@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<tech-list>
<tech>android.nfc.tech.IsoDep</tech>
<tech>android.nfc.tech.Ndef</tech>
</tech-list>
<?xml version="1.0" encoding="utf-8"?>
<resources>
<tech-list>
<tech>android.nfc.tech.IsoDep</tech>
<tech>android.nfc.tech.Ndef</tech>
</tech-list>
</resources>