Updated on 2026-08-14

This commit is contained in:
Tangem 2018-06-06 17:13:41 +03:00
parent 424a5dc382
commit 052fb21dab
6 changed files with 99 additions and 91 deletions

View file

@ -58,6 +58,7 @@
app:rb_type="strokeRipple">
</com.skyfishjy.library.RippleBackground>
</LinearLayout>
<LinearLayout

View file

@ -9,6 +9,7 @@
android:orientation="vertical"
android:padding="0dp"
tools:context="com.tangem.presentation.fragment.LoadedWallet"
tools:ignore="contentDescription"
tools:showIn="@layout/activity_loaded_wallet">
<android.support.v4.widget.SwipeRefreshLayout
@ -42,10 +43,10 @@
android:layout_height="35dp"
android:fontFamily="@font/raleway_r"
android:paddingTop="8dp"
android:text="BANKNOTE"
android:text="@string/banknote"
android:textAlignment="center"
android:textColor="@color/primary_dark"
android:textSize="18dp"/>
android:textSize="@dimen/text_size_medium"/>
<TextView
android:id="@+id/tvCaution"
@ -54,10 +55,10 @@
android:background="@color/msg_err"
android:fontFamily="@font/raleway_r"
android:gravity="center_vertical"
android:text="DO NOT ACCEPT"
android:text="@string/do_not_accept"
android:textAlignment="center"
android:textColor="@color/white"
android:textSize="14dp"/>
android:textSize="@dimen/text_size_1_small"/>
<android.support.constraint.ConstraintLayout
android:layout_width="match_parent"
@ -74,9 +75,9 @@
android:layout_height="wrap_content"
android:fontFamily="@font/raleway_r"
android:gravity="center_vertical"
android:text="Balance"
android:text="@string/balance"
android:textColor="@color/primary_dark"
android:textSize="@dimen/font_large"
android:textSize="@dimen/text_size_large"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent"/>
@ -89,14 +90,14 @@
android:fontFamily="@font/montserrat_light"
android:lines="1"
android:maxLines="1"
android:text=" "
android:textColor="@color/black"
android:textSize="@dimen/font_large"
android:textSize="@dimen/text_size_large"
android:textStyle="normal|bold"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toStartOf="@id/imgBlockchain"
app:layout_constraintStart_toEndOf="@+id/tvBalanceLabel"
app:layout_constraintTop_toTopOf="parent"/>
app:layout_constraintTop_toTopOf="parent"
tools:text="0 mBTC"/>
<ImageView
android:id="@+id/imgBlockchain"
@ -112,7 +113,7 @@
<LinearLayout
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:gravity="left"
android:gravity="start"
android:orientation="horizontal"
android:paddingLeft="8dp"
android:paddingRight="8dp">
@ -122,33 +123,35 @@
android:layout_width="90dp"
android:layout_height="wrap_content"
android:layout_gravity="center_vertical"
android:layout_marginRight="20dp"
android:layout_marginEnd="20dp"
android:background="@color/msg_okay"
android:fontFamily="@font/montserrat_light"
android:text="verified offline"
android:text="@string/verified_offline"
android:textAlignment="center"
android:textColor="@color/white"
android:textSize="@dimen/font_small"/>
android:textSize="@dimen/text_size_small"/>
<TextView
android:id="@+id/tvBalanceEquivalent"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:fontFamily="@font/montserrat_light"
android:text=" "
android:textColor="@android:color/darker_gray"
android:textSize="18dp"
android:textStyle="normal|bold"/>
android:textSize="@dimen/text_size_medium"
android:textStyle="normal|bold"
tools:text="USD 0,00"/>
<ImageView
android:id="@+id/ivRateSource"
android:layout_width="120dp"
android:layout_width="0dp"
android:layout_height="18dp"
android:layout_gravity="bottom|left"
android:layout_gravity="bottom|start"
android:layout_weight="1"
android:alpha="0.4"
android:paddingLeft="8dp"
android:paddingEnd="8dp"
android:paddingStart="8dp"
android:src="@drawable/coinmarketcap"/>
</LinearLayout>
<LinearLayout
@ -163,7 +166,7 @@
android:layout_width="110dp"
android:layout_height="wrap_content"
android:fontFamily="@font/raleway_r"
android:text="Blockchain"
android:text="@string/blockchain"
android:textColor="@color/primary_dark"/>
<TextView
@ -171,9 +174,9 @@
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:fontFamily="@font/montserrat_light"
android:text="Blockchain"
android:textColor="@color/primary_dark"
android:textStyle="normal|bold"/>
android:textStyle="normal|bold"
tools:text="Bitcoin"/>
</LinearLayout>
<View
@ -198,11 +201,12 @@
android:layout_height="wrap_content"
android:layout_marginTop="8dp"
android:fontFamily="@font/montserrat_light"
android:text=" "
android:textAlignment="center"
android:textColor="@android:color/holo_orange_dark"
android:textSize="14dp"
android:textStyle="normal|bold"/>
android:textSize="@dimen/text_size_1_small"
android:textStyle="normal|bold"
tools:text="1DoQdnSYshhZ5Tqt5Sk6svZt29jqoYVwQY"/>
</LinearLayout>
<LinearLayout
@ -211,13 +215,13 @@
android:gravity="top|center"
android:orientation="horizontal"
android:paddingLeft="8dp"
android:paddingRight="8dp">
android:paddingRight="8dp"
>
<ImageView
android:id="@+id/qrWallet"
android:layout_width="242dp"
android:layout_height="242dp"
android:layout_marginBottom="-12dp"
android:layout_marginTop="-12dp"
app:srcCompat="@color/cardview_light_background"/>
@ -225,7 +229,7 @@
<LinearLayout
android:layout_width="wrap_content"
android:layout_height="match_parent"
android:layout_marginLeft="15dp"
android:layout_marginStart="15dp"
android:elevation="1dp"
android:gravity="center_vertical|center_horizontal"
android:orientation="vertical">
@ -234,9 +238,6 @@
android:id="@+id/imgLookup"
android:layout_width="40dp"
android:layout_height="40dp"
android:layout_alignParentBottom="false"
android:layout_alignParentEnd="false"
android:layout_alignParentRight="false"
android:layout_marginTop="15dp"
android:baselineAlignBottom="false"
android:src="@drawable/chain_lookup"/>
@ -247,10 +248,10 @@
android:layout_height="wrap_content"
android:layout_marginTop="2dp"
android:fontFamily="@font/raleway_el"
android:text="EXPLORE IN\nBLOCKCHAIN\nON WEB"
android:text="@string/explore_in_blockchain"
android:textAlignment="center"
android:textColor="@color/primary_dark"
android:textSize="10dp"
android:textSize="@dimen/text_size_2_small"
android:textStyle="normal|bold"/>
</LinearLayout>
@ -277,19 +278,20 @@
android:layout_width="110dp"
android:layout_height="wrap_content"
android:fontFamily="@font/raleway_r"
android:text="Unspents"
android:text="@string/unspents"
android:textColor="@color/primary_dark"
android:textSize="12dp"/>
android:textSize="@dimen/text_size_small"/>
<TextView
android:id="@+id/tvInputs"
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"/>
android:textSize="@dimen/text_size_small"
android:textStyle="normal|bold"
tools:text="@string/no_data_string"/>
</LinearLayout>
<LinearLayout
@ -303,19 +305,20 @@
android:layout_width="110dp"
android:layout_height="wrap_content"
android:fontFamily="@font/raleway_r"
android:text="Last withdrawal"
android:text="@string/last_withdrawal"
android:textColor="@color/primary_dark"
android:textSize="12dp"/>
android:textSize="@dimen/text_size_small"/>
<TextView
android:id="@+id/tvLastOutput"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:fontFamily="@font/montserrat_light"
android:text=" "
android:text="@string/no_data_string"
android:textColor="@color/primary_dark"
android:textSize="12dp"
android:textSize="@dimen/text_size_small"
android:textStyle="normal|bold"/>
</LinearLayout>
<LinearLayout
@ -329,19 +332,19 @@
android:layout_width="110dp"
android:layout_height="wrap_content"
android:fontFamily="@font/raleway_r"
android:text="Issuer"
android:text="@string/issuer"
android:textColor="@color/primary_dark"
android:textSize="12dp"/>
android:textSize="@dimen/text_size_small"/>
<TextView
android:id="@+id/tvIssuer"
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"/>
android:textSize="@dimen/text_size_small"
android:textStyle="normal|bold"
tools:text="TANGEM"/>
</LinearLayout>
<LinearLayout
@ -355,19 +358,20 @@
android:layout_width="110dp"
android:layout_height="wrap_content"
android:fontFamily="@font/raleway_r"
android:text="Validation node"
android:text="@string/validation_node"
android:textColor="@color/primary_dark"
android:textSize="12dp"/>
android:textSize="@dimen/text_size_small"/>
<TextView
android:id="@+id/tvValidationNode"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:fontFamily="@font/montserrat_light"
android:text="Electrum"
android:textColor="@color/primary_dark"
android:textSize="12dp"
android:textStyle="normal|bold"/>
android:textSize="@dimen/text_size_small"
android:textStyle="normal|bold"
tools:text="Electrum"/>
</LinearLayout>
<LinearLayout
@ -377,29 +381,18 @@
android:paddingLeft="8dp"
android:paddingRight="8dp">
<!--<TextView-->
<!--android:id="@+id/tvIssuerData"-->
<!--android:layout_width="0dp"-->
<!--android:layout_height="wrap_content"-->
<!--android:fontFamily="@font/montserrat_light"-->
<!--android:text=" "-->
<!--android:textColor="@color/primary_dark"-->
<!--android:textSize="10dp"-->
<!--android:textStyle="normal|bold" />-->
<TextView
android:id="@+id/textView15"
android:layout_width="match_parent"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_alignParentBottom="true"
android:layout_alignParentStart="true"
android:layout_marginTop="2dp"
android:layout_weight="1"
android:fontFamily="@font/raleway_r"
android:text="Swipe down to refresh data"
android:text="@string/swipe_down_to_refresh_data"
android:textAlignment="center"
android:textColor="@android:color/darker_gray"
android:textSize="12dp"/>
android:textSize="@dimen/text_size_small"/>
</LinearLayout>
</LinearLayout>
@ -422,7 +415,7 @@
android:elevation="2dp"
android:fontFamily="@font/montserrat_light"
android:padding="4dp"
android:text="Message!"
android:text="@string/message"
android:textAlignment="center"
android:textColor="@color/black"
android:textStyle="normal|bold"/>
@ -438,10 +431,11 @@
android:fontFamily="@font/montserrat_light"
android:padding="4dp"
android:shadowColor="@color/cardview_shadow_start_color"
android:text="Error!"
android:text="@string/error"
android:textAlignment="center"
android:textColor="@color/white"
android:textStyle="bold"/>
</RelativeLayout>
<RelativeLayout
@ -459,8 +453,8 @@
android:layout_alignParentBottom="true"
android:layout_alignParentStart="false"
android:layout_marginBottom="8dp"
android:layout_marginLeft="4dp"
android:layout_toLeftOf="@+id/imgPIN2orSecurityDelay"
android:layout_marginStart="4dp"
android:layout_toStartOf="@+id/imgPIN2orSecurityDelay"
android:elevation="0dp"
android:src="@drawable/unlock_pin1"/>
@ -472,7 +466,7 @@
android:layout_alignParentEnd="true"
android:layout_alignParentStart="false"
android:layout_marginBottom="8dp"
android:layout_marginLeft="4dp"
android:layout_marginStart="4dp"
android:elevation="0dp"
android:src="@drawable/unlock_pin2"/>
@ -483,7 +477,7 @@
android:layout_alignParentBottom="true"
android:layout_alignParentStart="true"
android:layout_marginBottom="8dp"
android:layout_marginLeft="4dp"
android:layout_marginStart="4dp"
android:elevation="0dp"
android:src="@drawable/ic_developer_version"/>
@ -496,11 +490,11 @@
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/font_normal"
android:textStyle="normal|bold"/>
android:textSize="@dimen/text_size_medium"
android:textStyle="normal|bold"
tools:text="@string/no_data_string_1"/>
<TextView
android:id="@+id/textView5"
@ -509,10 +503,10 @@
android:layout_alignParentBottom="true"
android:layout_alignParentStart="true"
android:fontFamily="@font/raleway_r"
android:text="Scan again to verify the card"
android:text="@string/scan_again_to_verify_the_card"
android:textAlignment="center"
android:textColor="@android:color/darker_gray"
android:textSize="12dp"/>
android:textSize="@dimen/text_size_small"/>
</RelativeLayout>
@ -530,31 +524,28 @@
android:layout_height="match_parent"
android:layout_alignParentStart="true"
android:layout_alignParentTop="false"
android:layout_toLeftOf="@+id/tvPurge"
android:layout_weight="1"
android:layout_toStartOf="@+id/tvPurge"
android:background="@color/colorPrimary"
android:fontFamily="@font/raleway_r"
android:padding="8dp"
android:text="SEND"
android:text="@string/send"
android:textAlignment="center"
android:textColor="@color/white"
android:textSize="18dp"/>
android:textSize="@dimen/text_size_medium"/>
<TextView
android:id="@+id/tvPurge"
android:layout_width="40dp"
android:layout_height="match_parent"
android:layout_alignParentEnd="true"
android:layout_alignParentRight="false"
android:layout_marginLeft="1dp"
android:layout_weight="12"
android:layout_marginStart="1dp"
android:background="@drawable/ic_show_menu"
android:backgroundTint="@color/colorPrimaryDark"
android:fontFamily="@font/raleway_r"
android:padding="8dp"
android:textAlignment="center"
android:textColor="@color/white"
android:textSize="18dp"/>
android:textSize="@dimen/text_size_medium"/>
</RelativeLayout>

View file

@ -68,7 +68,7 @@
android:maxLines="1"
android:textColor="@color/black"
android:textSize="12sp"
tools:text=" DEVELOPER KIT "/>
tools:text="@string/developer_kit"/>
</FrameLayout>

View file

@ -28,6 +28,7 @@
<dimen name="empty_wallet_left_col_margin">16dp</dimen>
<dimen name="text_size_2_small">10sp</dimen>
<dimen name="text_size_small">12sp</dimen>
<dimen name="text_size_1_small">14sp</dimen>
<dimen name="text_size_medium">18sp</dimen>

View file

@ -30,6 +30,10 @@
</array>
<string name="title_activity_loaded_wallet">LoadedWalletActivity</string>
<string name="title_activity_settings_feature">Settings</string>
<string name="balance">Balance</string>
<string name="verified_offline">verified offline</string>
<string name="blockchain">Blockchain</string>
<string name="last_withdrawal">Last withdrawal</string>
<!-- dialogs -->
<string name="device_is_rooted">Your Android device is rooted. Security at risk!</string>
@ -56,15 +60,14 @@
<string name="tap_tangem_card">Tap Tangem card with your smartphone</string>
<string name="scan_banknote">Scan a banknote with your \n smartphone as shown above</string>
<string name="try_to_scan_again">Try to scan again</string>
<string name="balance">Balance</string>
<string name="wallet">Wallet</string>
<string name="last_unspent">Last unspent</string>
<string name="last_withdrawal">Last withdrawal</string>
<string name="blockchain">Blockchain</string>
<string name="no_wallet">NO WALLET</string>
<string name="erased_wallet">ERASED WALLET</string>
<string name="invalid_card">INVALID CARD</string>
<string name="verified_offline">verified offline</string>
<string name="developer_kit">&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;DEVELOPER&#160;&#160;&#160;&#160;&#160;KIT&#160;&#160;&#160;&#160;&#160;</string>
<string name="banknote_banknote">&#160;&#160;BANKNOTE&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;BANKNOTE</string>
<string name="reusable_reusable">&#160;&#160;&#160;REUSABLE&#160;&#160;&#160;&#160;&#160;&#160;&#160;REUSABLE&#160;&#160;&#160;</string>
@ -75,6 +78,17 @@
<string name="please_wait_while_previous">Please wait while previous transaction is confirmed in blockchain</string>
<string name="please_wait_for_confirmation">Please wait for confirmation of incoming transaction!</string>
<string name="card_hasn_t_remaining_signature">Card hasn\'t remaining signature!</string>
<string name="banknote">BANKNOTE</string>
<string name="do_not_accept">DO NOT ACCEPT</string>
<string name="explore_in_blockchain">EXPLORE IN \n BLOCKCHAIN \n ON WEB</string>
<string name="unspents">Unspents</string>
<string name="issuer">Issuer</string>
<string name="validation_node">Validation node</string>
<string name="swipe_down_to_refresh_data">Swipe down to refresh data</string>
<string name="message">Message!</string>
<string name="error">Error!</string>
<string name="scan_again_to_verify_the_card">Scan again to verify the card</string>
<string name="send">SEND</string>
<!-- LogoActivity -->
<string name="beta">BETA</string>

View file

@ -6,6 +6,7 @@
<string name="err_msg_prefix">!!&#160;</string>
<string name="action_msg_prefix">--&#160;</string>
<string name="no_data_string">-- -- --</string>
<string name="no_data_string_1">---- ---- ---- ----</string>
<string name="pin_back">&lt;</string>
</resources>