Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?xml version="1.0" encoding="utf-8"?>
- <androidx.constraintlayout.widget.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/material_dynamic_secondary20"
- tools:context=".MainActivity">
- <androidx.cardview.widget.CardView
- android:id="@+id/bottomTab"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- app:cardBackgroundColor="#3F444E"
- app:layout_constraintBottom_toBottomOf="parent"
- app:layout_constraintEnd_toEndOf="parent"
- app:layout_constraintStart_toStartOf="parent">
- <LinearLayout
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:orientation="horizontal">
- <Button
- android:id="@+id/button26"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_weight="1"
- android:background="@android:color/transparent"
- android:text="Home"
- app:icon="@drawable/home"
- app:iconGravity="top" />
- <Button
- android:id="@+id/button25"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_weight="1"
- android:background="@android:color/transparent"
- android:text="Inbox"
- app:icon="@drawable/mail_inbox_app"
- app:iconGravity="top" />
- <Button
- android:id="@+id/button24"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_weight="1"
- android:background="@android:color/transparent"
- android:text="Transaction"
- app:icon="@drawable/file"
- app:iconGravity="top" />
- <Button
- android:id="@+id/button23"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_weight="1"
- android:background="@android:color/transparent"
- android:text="Profile"
- app:icon="@drawable/user"
- app:iconGravity="top" />
- </LinearLayout>
- </androidx.cardview.widget.CardView>
- <LinearLayout
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:orientation="vertical"
- android:padding="10dp"
- app:layout_constraintBottom_toBottomOf="parent"
- app:layout_constraintEnd_toEndOf="parent"
- app:layout_constraintStart_toStartOf="parent"
- app:layout_constraintTop_toTopOf="parent">
- <androidx.cardview.widget.CardView
- android:id="@+id/headerCon"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:background="@android:color/transparent"
- app:cardBackgroundColor="@android:color/transparent">
- <androidx.constraintlayout.widget.ConstraintLayout
- android:layout_width="match_parent"
- android:layout_height="match_parent">
- <ImageView
- android:id="@+id/imageView"
- android:layout_width="64dp"
- android:layout_height="64dp"
- android:layout_marginStart="8dp"
- android:layout_marginTop="8dp"
- android:layout_marginBottom="8dp"
- app:layout_constraintBottom_toBottomOf="parent"
- app:layout_constraintStart_toStartOf="parent"
- app:layout_constraintTop_toTopOf="parent"
- app:srcCompat="@drawable/man" />
- <TextView
- android:id="@+id/textView"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_marginStart="16dp"
- android:fontFamily="sans-serif-black"
- android:text="PH-CASH"
- android:textColor="#8E62DD"
- android:textSize="24sp"
- android:textStyle="bold"
- app:layout_constraintBottom_toBottomOf="parent"
- app:layout_constraintStart_toEndOf="@+id/imageView"
- app:layout_constraintTop_toTopOf="parent" />
- <Button
- android:id="@+id/button"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_marginEnd="8dp"
- android:text="HELP"
- app:layout_constraintBottom_toBottomOf="parent"
- app:layout_constraintEnd_toEndOf="parent"
- app:layout_constraintTop_toTopOf="parent" />
- </androidx.constraintlayout.widget.ConstraintLayout>
- </androidx.cardview.widget.CardView>
- <androidx.cardview.widget.CardView
- android:id="@+id/moneyCon"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- app:cardBackgroundColor="#F67272"
- app:cardCornerRadius="15dp">
- <androidx.constraintlayout.widget.ConstraintLayout
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:padding="10dp">
- <TextView
- android:id="@+id/textView2"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:fontFamily="sans-serif-medium"
- android:text="AVAILABLE BALANCE"
- android:textColor="#ffffff"
- app:layout_constraintBottom_toBottomOf="parent"
- app:layout_constraintStart_toStartOf="parent"
- app:layout_constraintTop_toTopOf="parent"
- app:layout_constraintVertical_bias="0.0" />
- <TextView
- android:id="@+id/moneyLbl"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:fontFamily="sans-serif-black"
- android:text="₱6,422.15"
- android:textAllCaps="true"
- android:textColor="#ffffff"
- android:textSize="34sp"
- android:textStyle="bold"
- app:layout_constraintStart_toStartOf="parent"
- app:layout_constraintTop_toBottomOf="@+id/textView2" />
- <Button
- android:id="@+id/button3"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:paddingLeft="12dp"
- android:text="CASH IN"
- app:icon="@android:drawable/ic_input_add"
- app:iconPadding="3dp"
- app:layout_constraintBottom_toBottomOf="parent"
- app:layout_constraintEnd_toEndOf="parent"
- app:layout_constraintTop_toTopOf="parent" />
- </androidx.constraintlayout.widget.ConstraintLayout>
- </androidx.cardview.widget.CardView>
- <androidx.cardview.widget.CardView
- android:id="@+id/menuCon"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_marginTop="10dp"
- app:cardBackgroundColor="#F47272"
- app:cardCornerRadius="6dp">
- <LinearLayout
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:orientation="vertical">
- <LinearLayout
- android:id="@+id/row1"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:orientation="horizontal">
- <Button
- android:id="@+id/button8"
- android:layout_width="0dp"
- android:layout_height="wrap_content"
- android:layout_weight="1"
- android:background="@android:color/transparent"
- android:text="Cash In"
- app:icon="@drawable/money"
- app:iconGravity="top"
- app:iconPadding="0dp"
- app:iconSize="28dp" />
- <Button
- android:id="@+id/button7"
- android:layout_width="0dp"
- android:layout_height="wrap_content"
- android:layout_weight="1"
- android:background="@android:color/transparent"
- android:text="Cash Out"
- app:icon="@drawable/atm_cashout"
- app:iconGravity="top"
- app:iconPadding="0dp"
- app:iconSize="28dp" />
- <Button
- android:id="@+id/button6"
- android:layout_width="0dp"
- android:layout_height="wrap_content"
- android:layout_weight="1"
- android:background="@android:color/transparent"
- android:text="Transfer"
- app:icon="@drawable/transfer"
- app:iconGravity="top"
- app:iconPadding="0dp"
- app:iconSize="28dp" />
- </LinearLayout>
- <LinearLayout
- android:id="@+id/row2"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:orientation="horizontal">
- <Button
- android:id="@+id/button11"
- android:layout_width="0dp"
- android:layout_height="wrap_content"
- android:layout_weight="1"
- android:background="@android:color/transparent"
- android:text="Cards"
- app:icon="@drawable/credit_card"
- app:iconGravity="top"
- app:iconPadding="0dp"
- app:iconSize="28dp" />
- <Button
- android:id="@+id/button10"
- android:layout_width="0dp"
- android:layout_height="wrap_content"
- android:layout_weight="1"
- android:background="@android:color/transparent"
- android:text="Pay"
- app:icon="@drawable/bill"
- app:iconGravity="top"
- app:iconPadding="0dp"
- app:iconSize="28dp" />
- <Button
- android:id="@+id/button9"
- android:layout_width="0dp"
- android:layout_height="wrap_content"
- android:layout_weight="1"
- android:background="@android:color/transparent"
- android:text="QRCode"
- app:icon="@drawable/qr_code"
- app:iconGravity="top"
- app:iconPadding="0dp"
- app:iconSize="28dp" />
- </LinearLayout>
- <LinearLayout
- android:id="@+id/row3"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:orientation="horizontal">
- <Button
- android:id="@+id/button14"
- android:layout_width="0dp"
- android:layout_height="wrap_content"
- android:layout_weight="1"
- android:background="@android:color/transparent"
- android:text="Trade"
- app:icon="@drawable/trade"
- app:iconGravity="top"
- app:iconPadding="0dp"
- app:iconSize="28dp" />
- <Button
- android:id="@+id/button13"
- android:layout_width="0dp"
- android:layout_height="wrap_content"
- android:layout_weight="1"
- android:background="@android:color/transparent"
- android:text="Portfolio"
- app:icon="@drawable/briefcase"
- app:iconGravity="top"
- app:iconPadding="0dp"
- app:iconSize="28dp" />
- <Button
- android:id="@+id/button12"
- android:layout_width="0dp"
- android:layout_height="wrap_content"
- android:layout_weight="1"
- android:background="@android:color/transparent"
- android:text="Load"
- app:icon="@drawable/iphone"
- app:iconGravity="top"
- app:iconPadding="0dp"
- app:iconSize="28dp" />
- </LinearLayout>
- <TextView
- android:id="@+id/textView5"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_marginTop="10dp"
- android:layout_marginBottom="10dp"
- android:fontFamily="sans-serif-black"
- android:text="View All Services"
- android:textAlignment="center"
- android:textColor="#ffffff"
- android:textSize="16sp"
- android:textStyle="bold" />
- </LinearLayout>
- </androidx.cardview.widget.CardView>
- <androidx.cardview.widget.CardView
- android:id="@+id/dailyCrypto"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_marginTop="5dp"
- app:cardBackgroundColor="#F57272"
- app:cardCornerRadius="6dp">
- <LinearLayout
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:orientation="vertical">
- <TextView
- android:id="@+id/textView6"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_margin="5dp"
- android:fontFamily="sans-serif-black"
- android:text="TOP 5 DAILY CRYPTOCURRENCY"
- android:textAlignment="center"
- android:textColor="#FFFFFF" />
- <LinearLayout
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:gravity="center"
- android:orientation="horizontal">
- <TextView
- android:id="@+id/textView10"
- android:layout_width="0dp"
- android:layout_height="wrap_content"
- android:layout_weight="2"
- android:width="0dp"
- android:fontFamily="sans-serif-medium"
- android:gravity="center"
- android:paddingLeft="10dp"
- android:text="Name"
- android:textAlignment="textStart"
- android:textColor="#FFFFFF" />
- <TextView
- android:id="@+id/textView11"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_weight="1"
- android:width="0dp"
- android:fontFamily="sans-serif-medium"
- android:gravity="center"
- android:text="Last Price"
- android:textAlignment="center"
- android:textColor="#FFFFFF" />
- <TextView
- android:id="@+id/textView12"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_weight="2"
- android:width="0dp"
- android:fontFamily="sans-serif-medium"
- android:gravity="center"
- android:text="24h ch"
- android:textAlignment="center"
- android:textColor="#FFFFFF" />
- </LinearLayout>
- <LinearLayout
- android:id="@+id/row1Crypto1"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:layout_marginTop="5dp"
- android:layout_marginBottom="5dp"
- android:gravity="center"
- android:orientation="horizontal">
- <TextView
- android:id="@+id/cryptoName1"
- android:layout_width="0dp"
- android:layout_height="match_parent"
- android:layout_weight="2"
- android:fontFamily="sans-serif-black"
- android:foregroundGravity="center"
- android:gravity="center"
- android:paddingLeft="10dp"
- android:text="BTC"
- android:textAlignment="viewStart"
- android:textColor="#FFFFFF" />
- <TextView
- android:id="@+id/cryptoLastPrice1"
- android:layout_width="0dp"
- android:layout_height="match_parent"
- android:layout_weight="1"
- android:fontFamily="sans-serif-medium"
- android:foregroundGravity="center"
- android:gravity="center"
- android:text="32,105.52"
- android:textAlignment="center"
- android:textColor="#FFFFFF" />
- <androidx.cardview.widget.CardView
- android:layout_width="0dp"
- android:layout_height="wrap_content"
- android:layout_marginRight="5dp"
- android:layout_weight="2"
- app:cardBackgroundColor="#00D122">
- <androidx.constraintlayout.widget.ConstraintLayout
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:paddingTop="5dp"
- android:paddingBottom="5dp">
- <TextView
- android:id="@+id/textView91"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:fontFamily="sans-serif-black"
- android:text="+4.62%"
- android:textAlignment="center"
- android:textColor="#FFFFFF"
- android:textSize="20sp"
- android:textStyle="bold"
- app:layout_constraintBottom_toBottomOf="parent"
- app:layout_constraintEnd_toEndOf="parent"
- app:layout_constraintStart_toStartOf="parent"
- app:layout_constraintTop_toTopOf="parent" />
- </androidx.constraintlayout.widget.ConstraintLayout>
- </androidx.cardview.widget.CardView>
- </LinearLayout>
- <LinearLayout
- android:id="@+id/row1Crypto2"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:layout_marginTop="5dp"
- android:layout_marginBottom="5dp"
- android:gravity="center"
- android:orientation="horizontal">
- <TextView
- android:id="@+id/cryptoName2"
- android:layout_width="0dp"
- android:layout_height="match_parent"
- android:layout_weight="2"
- android:fontFamily="sans-serif-black"
- android:foregroundGravity="center"
- android:gravity="center"
- android:paddingLeft="10dp"
- android:text="ETH"
- android:textAlignment="viewStart"
- android:textColor="#FFFFFF" />
- <TextView
- android:id="@+id/cryptoLastPrice2"
- android:layout_width="0dp"
- android:layout_height="match_parent"
- android:layout_weight="1"
- android:fontFamily="sans-serif-medium"
- android:foregroundGravity="center"
- android:gravity="center"
- android:text="1,634.23"
- android:textAlignment="center"
- android:textColor="#FFFFFF" />
- <androidx.cardview.widget.CardView
- android:layout_width="0dp"
- android:layout_height="wrap_content"
- android:layout_marginRight="5dp"
- android:layout_weight="2"
- app:cardBackgroundColor="#00D122">
- <androidx.constraintlayout.widget.ConstraintLayout
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:paddingTop="5dp"
- android:paddingBottom="5dp">
- <TextView
- android:id="@+id/textView92"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:fontFamily="sans-serif-black"
- android:text="+4.06%"
- android:textAlignment="center"
- android:textColor="#FFFFFF"
- android:textSize="20sp"
- android:textStyle="bold"
- app:layout_constraintBottom_toBottomOf="parent"
- app:layout_constraintEnd_toEndOf="parent"
- app:layout_constraintStart_toStartOf="parent"
- app:layout_constraintTop_toTopOf="parent" />
- </androidx.constraintlayout.widget.ConstraintLayout>
- </androidx.cardview.widget.CardView>
- </LinearLayout>
- <LinearLayout
- android:id="@+id/row1Crypto3"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:layout_marginTop="5dp"
- android:layout_marginBottom="5dp"
- android:gravity="center"
- android:orientation="horizontal">
- <TextView
- android:id="@+id/cryptoName3"
- android:layout_width="0dp"
- android:layout_height="match_parent"
- android:layout_weight="2"
- android:fontFamily="sans-serif-black"
- android:foregroundGravity="center"
- android:gravity="center"
- android:paddingLeft="10dp"
- android:text="SOL"
- android:textAlignment="viewStart"
- android:textColor="#FFFFFF" />
- <TextView
- android:id="@+id/cryptoLastPrice3"
- android:layout_width="0dp"
- android:layout_height="match_parent"
- android:layout_weight="1"
- android:fontFamily="sans-serif-medium"
- android:foregroundGravity="center"
- android:gravity="center"
- android:text="39.44"
- android:textAlignment="center"
- android:textColor="#FFFFFF" />
- <androidx.cardview.widget.CardView
- android:layout_width="0dp"
- android:layout_height="wrap_content"
- android:layout_marginRight="5dp"
- android:layout_weight="2"
- app:cardBackgroundColor="#00D122">
- <androidx.constraintlayout.widget.ConstraintLayout
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:paddingTop="5dp"
- android:paddingBottom="5dp">
- <TextView
- android:id="@+id/textView93"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:fontFamily="sans-serif-black"
- android:text="+3.71%"
- android:textAlignment="center"
- android:textColor="#FFFFFF"
- android:textSize="20sp"
- android:textStyle="bold"
- app:layout_constraintBottom_toBottomOf="parent"
- app:layout_constraintEnd_toEndOf="parent"
- app:layout_constraintStart_toStartOf="parent"
- app:layout_constraintTop_toTopOf="parent" />
- </androidx.constraintlayout.widget.ConstraintLayout>
- </androidx.cardview.widget.CardView>
- </LinearLayout>
- <LinearLayout
- android:id="@+id/row1Crypto4"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:layout_marginTop="5dp"
- android:layout_marginBottom="5dp"
- android:gravity="center"
- android:orientation="horizontal">
- <TextView
- android:id="@+id/cryptoName4"
- android:layout_width="0dp"
- android:layout_height="match_parent"
- android:layout_weight="2"
- android:fontFamily="sans-serif-black"
- android:foregroundGravity="center"
- android:gravity="center"
- android:paddingLeft="10dp"
- android:text="MATIC"
- android:textAlignment="viewStart"
- android:textColor="#FFFFFF" />
- <TextView
- android:id="@+id/cryptoLastPrice4"
- android:layout_width="0dp"
- android:layout_height="match_parent"
- android:layout_weight="1"
- android:fontFamily="sans-serif-medium"
- android:foregroundGravity="center"
- android:gravity="center"
- android:text="0.8971"
- android:textAlignment="center"
- android:textColor="#FFFFFF" />
- <androidx.cardview.widget.CardView
- android:layout_width="0dp"
- android:layout_height="wrap_content"
- android:layout_marginRight="5dp"
- android:layout_weight="2"
- app:cardBackgroundColor="#00D122">
- <androidx.constraintlayout.widget.ConstraintLayout
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:paddingTop="5dp"
- android:paddingBottom="5dp">
- <TextView
- android:id="@+id/textView94"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:fontFamily="sans-serif-black"
- android:text="+1.26%"
- android:textAlignment="center"
- android:textColor="#FFFFFF"
- android:textSize="20sp"
- android:textStyle="bold"
- app:layout_constraintBottom_toBottomOf="parent"
- app:layout_constraintEnd_toEndOf="parent"
- app:layout_constraintStart_toStartOf="parent"
- app:layout_constraintTop_toTopOf="parent" />
- </androidx.constraintlayout.widget.ConstraintLayout>
- </androidx.cardview.widget.CardView>
- </LinearLayout>
- <LinearLayout
- android:id="@+id/row1Crypto"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:layout_marginTop="5dp"
- android:layout_marginBottom="5dp"
- android:gravity="center"
- android:orientation="horizontal">
- <TextView
- android:id="@+id/cryptoName"
- android:layout_width="0dp"
- android:layout_height="match_parent"
- android:layout_weight="2"
- android:fontFamily="sans-serif-black"
- android:foregroundGravity="center"
- android:gravity="center"
- android:paddingLeft="10dp"
- android:text="BNB"
- android:textAlignment="viewStart"
- android:textColor="#FFFFFF" />
- <TextView
- android:id="@+id/cryptoLastPrice"
- android:layout_width="0dp"
- android:layout_height="match_parent"
- android:layout_weight="1"
- android:fontFamily="sans-serif-medium"
- android:foregroundGravity="center"
- android:gravity="center"
- android:text="307.2"
- android:textAlignment="center"
- android:textColor="#FFFFFF" />
- <androidx.cardview.widget.CardView
- android:layout_width="0dp"
- android:layout_height="wrap_content"
- android:layout_marginRight="5dp"
- android:layout_weight="2"
- app:cardBackgroundColor="#FF6F41">
- <androidx.constraintlayout.widget.ConstraintLayout
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:paddingTop="5dp"
- android:paddingBottom="5dp">
- <TextView
- android:id="@+id/textView9"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:fontFamily="sans-serif-black"
- android:text="-1.05%"
- android:textAlignment="center"
- android:textColor="#FFFFFF"
- android:textSize="20sp"
- android:textStyle="bold"
- app:layout_constraintBottom_toBottomOf="parent"
- app:layout_constraintEnd_toEndOf="parent"
- app:layout_constraintStart_toStartOf="parent"
- app:layout_constraintTop_toTopOf="parent" />
- </androidx.constraintlayout.widget.ConstraintLayout>
- </androidx.cardview.widget.CardView>
- </LinearLayout>
- </LinearLayout>
- </androidx.cardview.widget.CardView>
- </LinearLayout>
- </androidx.constraintlayout.widget.ConstraintLayout>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement