Merge pull request #1032 from lbryio/wallet-balance-page

use credits icon on wallet balance page
This commit is contained in:
Akinwale Ariwodola 2020-10-14 15:33:25 +01:00 committed by GitHub
commit 066a0a099c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -38,6 +38,12 @@
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:orientation="horizontal" android:orientation="horizontal"
android:layout_above="@id/wallet_balance_usd_value"> android:layout_above="@id/wallet_balance_usd_value">
<ImageView
android:layout_width="20dp"
android:layout_height="20dp"
android:layout_gravity="center_vertical"
android:layout_marginEnd="4dp"
android:src="@drawable/ic_credits" />
<TextView <TextView
android:id="@+id/wallet_balance_value" android:id="@+id/wallet_balance_value"
android:layout_width="wrap_content" android:layout_width="wrap_content"
@ -48,15 +54,6 @@
android:textSize="36sp" android:textSize="36sp"
android:textFontWeight="300" android:textFontWeight="300"
/> />
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginStart="4dp"
android:fontFamily="@font/inter"
android:text="@string/lbc"
android:textColor="@color/white"
android:textSize="16sp"
android:textFontWeight="300" />
</LinearLayout> </LinearLayout>
<TextView <TextView
android:id="@+id/wallet_balance_usd_value" android:id="@+id/wallet_balance_usd_value"
@ -145,6 +142,12 @@
android:orientation="horizontal" android:orientation="horizontal"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content"> android:layout_height="wrap_content">
<ImageView
android:layout_width="14dp"
android:layout_height="14dp"
android:layout_gravity="center_vertical"
android:src="@drawable/ic_credits"
android:layout_marginEnd="4dp" />
<TextView <TextView
android:id="@+id/wallet_balance_tips" android:id="@+id/wallet_balance_tips"
android:layout_width="wrap_content" android:layout_width="wrap_content"
@ -152,15 +155,6 @@
android:fontFamily="@font/inter" android:fontFamily="@font/inter"
android:text="0" android:text="0"
android:textSize="24sp" /> android:textSize="24sp" />
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginStart="2dp"
android:fontFamily="@font/inter"
android:text="@string/lbc"
android:textAllCaps="true"
android:textSize="10sp"
android:textFontWeight="300" />
</LinearLayout> </LinearLayout>
<TextView <TextView
@ -248,6 +242,12 @@
android:orientation="horizontal" android:orientation="horizontal"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content"> android:layout_height="wrap_content">
<ImageView
android:layout_width="14dp"
android:layout_height="14dp"
android:layout_gravity="center_vertical"
android:src="@drawable/ic_credits"
android:layout_marginEnd="4dp" />
<TextView <TextView
android:id="@+id/wallet_balance_staked_publishes" android:id="@+id/wallet_balance_staked_publishes"
android:layout_width="wrap_content" android:layout_width="wrap_content"
@ -255,15 +255,6 @@
android:fontFamily="@font/inter" android:fontFamily="@font/inter"
android:text="0" android:text="0"
android:textSize="24sp" /> android:textSize="24sp" />
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginStart="2dp"
android:fontFamily="@font/inter"
android:text="@string/lbc"
android:textAllCaps="true"
android:textSize="10sp"
android:textFontWeight="300" />
</LinearLayout> </LinearLayout>
<TextView <TextView
@ -278,6 +269,12 @@
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_marginTop="16dp"> android:layout_marginTop="16dp">
<ImageView
android:layout_width="14dp"
android:layout_height="14dp"
android:layout_gravity="center_vertical"
android:src="@drawable/ic_credits"
android:layout_marginEnd="4dp" />
<TextView <TextView
android:id="@+id/wallet_balance_staked_supports" android:id="@+id/wallet_balance_staked_supports"
android:layout_width="wrap_content" android:layout_width="wrap_content"
@ -285,15 +282,6 @@
android:fontFamily="@font/inter" android:fontFamily="@font/inter"
android:text="0" android:text="0"
android:textSize="24sp" /> android:textSize="24sp" />
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginStart="2dp"
android:fontFamily="@font/inter"
android:text="@string/lbc"
android:textAllCaps="true"
android:textSize="10sp"
android:textFontWeight="300" />
</LinearLayout> </LinearLayout>
<TextView <TextView