Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?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"
- android:layout_width="match_parent"
- android:layout_height="match_parent">
- <ScrollView
- android:id="@+id/dashboard"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:layout_alignParentTop="true"
- android:fillViewport="true"
- android:overScrollMode="never">
- <androidx.constraintlayout.widget.ConstraintLayout
- android:layout_width="match_parent"
- android:layout_height="wrap_content">
- <androidx.constraintlayout.widget.Guideline
- android:id="@+id/guideline"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:orientation="horizontal"
- app:layout_constraintGuide_begin="250dp" />
- <ImageView
- android:layout_width="0dp"
- android:layout_height="0dp"
- android:scaleType="fitXY"
- android:src="@drawable/ic_php_banner"
- app:layout_constraintBottom_toBottomOf="@id/guideline"
- app:layout_constraintLeft_toLeftOf="parent"
- app:layout_constraintRight_toRightOf="parent"
- app:layout_constraintTop_toTopOf="parent" />
- <LinearLayout
- android:id="@+id/llBalance"
- android:layout_width="0dp"
- android:layout_height="wrap_content"
- android:gravity="center"
- android:orientation="vertical"
- app:layout_constraintBottom_toTopOf="@id/cvSendReceive"
- app:layout_constraintLeft_toLeftOf="parent"
- app:layout_constraintRight_toRightOf="parent"
- app:layout_constraintTop_toBottomOf="@id/llTopBar">
- <LinearLayout
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:gravity="center_horizontal"
- android:orientation="horizontal"
- app:layout_constraintLeft_toLeftOf="parent"
- app:layout_constraintRight_toRightOf="parent"
- app:layout_constraintTop_toBottomOf="@id/llTopBar">
- <ImageView
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_marginTop="10dp"
- android:src="@drawable/ic_php" />
- <TextView
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_marginStart="4dp"
- android:layout_marginEnd="4dp"
- android:text="2,500.00"
- android:textColor="@android:color/white"
- android:textSize="32sp"
- android:textStyle="" />
- <ImageView
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_gravity="center"
- android:src="@drawable/ic_currency_add" />
- </LinearLayout>
- <TextView
- android:id="@+id/tvConvertRate"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_marginStart="4dp"
- android:layout_marginEnd="4dp"
- android:gravity="center"
- android:text="≈ ₱ 608,940.81"
- android:textColor="@android:color/white"
- android:textStyle=""
- android:visibility="gone"
- app:layout_constraintLeft_toLeftOf="parent"
- app:layout_constraintRight_toRightOf="parent"
- app:layout_constraintTop_toBottomOf="@id/llBalance" />
- <TextView
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_marginTop="4dp"
- android:gravity="center"
- android:text="Wallet Balance"
- android:textColor="@color/white_opacity_70"
- android:textSize="12sp"
- app:layout_constraintLeft_toLeftOf="parent"
- app:layout_constraintRight_toRightOf="parent" />
- </LinearLayout>
- <LinearLayout
- android:id="@+id/cvSendReceive"
- android:layout_width="0dp"
- android:layout_height="wrap_content"
- android:layout_marginStart="16dp"
- android:layout_marginEnd="16dp"
- android:layout_marginBottom="16dp"
- android:background="@drawable/bg_shadow"
- android:orientation="horizontal"
- app:layout_constraintBottom_toBottomOf="@id/guideline"
- app:layout_constraintLeft_toLeftOf="parent"
- app:layout_constraintRight_toRightOf="parent"
- app:layout_constraintTop_toTopOf="@id/guideline">
- <LinearLayout
- android:layout_width="0dp"
- android:layout_height="wrap_content"
- android:layout_weight="1"
- android:orientation="horizontal"
- android:padding="16dp">
- <ImageView
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_gravity="center"
- android:layout_marginEnd="10dp"
- android:src="@drawable/ic_php_send" />
- <LinearLayout
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:orientation="vertical">
- <TextView
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:text="Send"
- android:textColor="@color/gray_darker"
- android:textStyle="bold" />
- <TextView
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:text="Send money to your family or friends."
- android:textColor="@color/gray" />
- </LinearLayout>
- </LinearLayout>
- <View
- android:layout_width="1dp"
- android:layout_height="match_parent"
- android:background="@color/light_gray" />
- <LinearLayout
- android:layout_width="0dp"
- android:layout_height="wrap_content"
- android:layout_weight="1"
- android:orientation="horizontal"
- android:padding="16dp">
- <ImageView
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_gravity="center"
- android:layout_marginEnd="10dp"
- android:src="@drawable/ic_php_receive" />
- <LinearLayout
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:orientation="vertical">
- <TextView
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:text="Receive"
- android:textColor="@color/gray_darker"
- android:textStyle="bold" />
- <TextView
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:text="Request money to your family or friends."
- android:textColor="@color/gray" />
- </LinearLayout>
- </LinearLayout>
- </LinearLayout>
- <LinearLayout
- android:id="@+id/llTopup"
- android:layout_width="0dp"
- android:layout_height="wrap_content"
- android:layout_marginStart="16dp"
- android:layout_marginTop="16dp"
- android:layout_marginEnd="16dp"
- android:background="@drawable/bg_white_light_gray_border_8dp"
- android:orientation="horizontal"
- android:padding="16dp"
- app:layout_constraintLeft_toLeftOf="parent"
- app:layout_constraintRight_toRightOf="parent"
- app:layout_constraintTop_toBottomOf="@id/cvSendReceive">
- <ImageView
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_gravity="center"
- android:layout_marginEnd="10dp"
- android:src="@drawable/ic_topup" />
- <LinearLayout
- android:layout_width="0dp"
- android:layout_height="wrap_content"
- android:layout_weight="1"
- android:orientation="vertical">
- <TextView
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:text="Top up your account"
- android:textColor="@color/gray_darker"
- android:textSize="15sp" />
- <TextView
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:text="Cash-in Copy here"
- android:textColor="@color/gray" />
- </LinearLayout>
- <ImageView
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_gravity="center"
- android:src="@drawable/ic_chevron_right" />
- </LinearLayout>
- <LinearLayout
- android:id="@+id/llPhpFeatures"
- android:layout_width="0dp"
- android:layout_height="wrap_content"
- android:layout_marginStart="16dp"
- android:layout_marginTop="16dp"
- android:layout_marginEnd="16dp"
- android:baselineAligned="false"
- android:orientation="horizontal"
- app:layout_constraintLeft_toLeftOf="parent"
- app:layout_constraintRight_toRightOf="parent"
- app:layout_constraintTop_toBottomOf="@id/llTopup">
- <androidx.constraintlayout.widget.ConstraintLayout
- android:layout_width="0dp"
- android:layout_height="80dp"
- android:layout_marginEnd="8dp"
- android:layout_weight="1"
- android:background="@drawable/bg_white_light_gray_border_8dp"
- app:layout_constraintDimensionRatio="1:1">
- <ImageView
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:src="@drawable/ic_soon"
- app:layout_constraintLeft_toLeftOf="parent"
- app:layout_constraintTop_toTopOf="parent" />
- <ImageView
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_margin="12dp"
- android:src="@drawable/ic_load_disabled"
- app:layout_constraintLeft_toLeftOf="parent"
- app:layout_constraintRight_toRightOf="parent"
- app:layout_constraintTop_toTopOf="parent" />
- <TextView
- android:layout_width="0dp"
- android:layout_height="wrap_content"
- android:layout_marginBottom="12dp"
- android:gravity="center"
- android:text="Buy Load"
- android:textColor="@color/light_gray"
- app:layout_constraintBottom_toBottomOf="parent"
- app:layout_constraintLeft_toLeftOf="parent"
- app:layout_constraintRight_toRightOf="parent" />
- </androidx.constraintlayout.widget.ConstraintLayout>
- <androidx.constraintlayout.widget.ConstraintLayout
- android:layout_width="0dp"
- android:layout_height="80dp"
- android:layout_marginEnd="8dp"
- android:layout_weight="1"
- android:background="@drawable/bg_white_light_gray_border_8dp"
- app:layout_constraintDimensionRatio="1:1">
- <ImageView
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:src="@drawable/ic_soon"
- app:layout_constraintLeft_toLeftOf="parent"
- app:layout_constraintTop_toTopOf="parent" />
- <ImageView
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_margin="12dp"
- android:src="@drawable/ic_bills_disabled"
- app:layout_constraintLeft_toLeftOf="parent"
- app:layout_constraintRight_toRightOf="parent"
- app:layout_constraintTop_toTopOf="parent" />
- <TextView
- android:layout_width="0dp"
- android:layout_height="wrap_content"
- android:layout_marginBottom="12dp"
- android:gravity="center"
- android:text="Pay Bills"
- android:textColor="@color/light_gray"
- app:layout_constraintBottom_toBottomOf="parent"
- app:layout_constraintLeft_toLeftOf="parent"
- app:layout_constraintRight_toRightOf="parent" />
- </androidx.constraintlayout.widget.ConstraintLayout>
- <androidx.constraintlayout.widget.ConstraintLayout
- android:layout_width="0dp"
- android:layout_height="80dp"
- android:layout_marginEnd="8dp"
- android:layout_weight="1"
- android:background="@drawable/bg_white_light_gray_border_8dp"
- app:layout_constraintDimensionRatio="1:1">
- <ImageView
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:src="@drawable/ic_soon"
- app:layout_constraintLeft_toLeftOf="parent"
- app:layout_constraintTop_toTopOf="parent" />
- <ImageView
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_margin="12dp"
- android:src="@drawable/ic_bitcoin_disabled"
- app:layout_constraintLeft_toLeftOf="parent"
- app:layout_constraintRight_toRightOf="parent"
- app:layout_constraintTop_toTopOf="parent" />
- <TextView
- android:layout_width="0dp"
- android:layout_height="wrap_content"
- android:layout_marginBottom="12dp"
- android:gravity="center"
- android:text="Bitcoin"
- android:textColor="@color/light_gray"
- app:layout_constraintBottom_toBottomOf="parent"
- app:layout_constraintLeft_toLeftOf="parent"
- app:layout_constraintRight_toRightOf="parent" />
- </androidx.constraintlayout.widget.ConstraintLayout>
- <androidx.constraintlayout.widget.ConstraintLayout
- android:layout_width="0dp"
- android:layout_height="80dp"
- android:layout_weight="1"
- android:background="@drawable/bg_white_light_gray_border_8dp"
- app:layout_constraintDimensionRatio="1:1">
- <ImageView
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_margin="12dp"
- android:src="@drawable/ic_php_history"
- app:layout_constraintLeft_toLeftOf="parent"
- app:layout_constraintRight_toRightOf="parent"
- app:layout_constraintTop_toTopOf="parent" />
- <TextView
- android:layout_width="0dp"
- android:layout_height="wrap_content"
- android:layout_marginBottom="12dp"
- android:gravity="center"
- android:text="History"
- android:textColor="@color/gray_darker"
- app:layout_constraintBottom_toBottomOf="parent"
- app:layout_constraintLeft_toLeftOf="parent"
- app:layout_constraintRight_toRightOf="parent" />
- </androidx.constraintlayout.widget.ConstraintLayout>
- </LinearLayout>
- <LinearLayout
- android:id="@+id/llOthers"
- android:layout_width="0dp"
- android:layout_height="wrap_content"
- android:layout_marginStart="16dp"
- android:layout_marginTop="16dp"
- android:layout_marginEnd="16dp"
- android:background="@drawable/bg_white_light_gray_border_8dp"
- android:orientation="vertical"
- app:layout_constraintLeft_toLeftOf="parent"
- app:layout_constraintRight_toRightOf="parent"
- app:layout_constraintTop_toBottomOf="@id/llPhpFeatures">
- <LinearLayout
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:orientation="horizontal"
- android:padding="16dp">
- <ImageView
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_gravity="center"
- android:layout_marginEnd="10dp"
- android:src="@drawable/ic_php_verify" />
- <LinearLayout
- android:layout_width="0dp"
- android:layout_height="wrap_content"
- android:layout_weight="1"
- android:orientation="vertical">
- <TextView
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:text="Verify account"
- android:textColor="@color/gray_darker"
- android:textSize="15sp" />
- <TextView
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:text="Send money to your family or friends."
- android:textColor="@color/gray" />
- </LinearLayout>
- <ImageView
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_gravity="center"
- android:src="@drawable/ic_chevron_right" />
- </LinearLayout>
- <View
- android:layout_width="match_parent"
- android:layout_height="1dp"
- android:background="@color/light_gray" />
- <LinearLayout
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:orientation="horizontal"
- android:padding="16dp">
- <ImageView
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_gravity="center"
- android:layout_marginEnd="10dp"
- android:src="@drawable/ic_php_help" />
- <LinearLayout
- android:layout_width="0dp"
- android:layout_height="wrap_content"
- android:layout_weight="1"
- android:orientation="vertical">
- <TextView
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:text="Learn More"
- android:textColor="@color/gray_darker"
- android:textSize="15sp" />
- <TextView
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:text="Send money to your family or friends."
- android:textColor="@color/gray" />
- </LinearLayout>
- <ImageView
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_gravity="center"
- android:src="@drawable/ic_chevron_right" />
- </LinearLayout>
- </LinearLayout>
- <View
- android:id="@+id/dim"
- android:layout_width="0dp"
- android:layout_height="0dp"
- android:background="#80000000"
- android:visibility="gone"
- app:layout_constraintBottom_toBottomOf="parent"
- app:layout_constraintLeft_toLeftOf="parent"
- app:layout_constraintRight_toRightOf="parent"
- app:layout_constraintTop_toTopOf="parent" />
- <LinearLayout
- android:id="@+id/llTopBar"
- android:layout_width="0dp"
- android:layout_height="wrap_content"
- android:minHeight="?attr/actionBarSize"
- android:orientation="vertical"
- app:layout_constraintLeft_toLeftOf="parent"
- app:layout_constraintRight_toRightOf="parent"
- app:layout_constraintTop_toTopOf="parent">
- <LinearLayout
- android:layout_width="match_parent"
- android:layout_height="?attr/actionBarSize"
- android:orientation="horizontal">
- <ImageView
- android:layout_width="?attr/actionBarSize"
- android:layout_height="?attr/actionBarSize"
- android:padding="18dp"
- android:src="@drawable/ic_notification" />
- <View
- android:layout_width="0dp"
- android:layout_height="match_parent"
- android:layout_weight="1" />
- <FrameLayout
- android:id="@+id/flSwitchWallet"
- android:layout_width="wrap_content"
- android:layout_height="match_parent"
- android:paddingStart="32dp"
- android:paddingEnd="32dp">
- <TextView
- android:layout_width="wrap_content"
- android:layout_height="match_parent"
- android:layout_gravity="center"
- android:layout_marginTop="12dp"
- android:layout_marginBottom="12dp"
- android:background="@drawable/bg_wallet_button"
- android:drawableEnd="@drawable/ic_chevron_down"
- android:gravity="center"
- android:paddingStart="12dp"
- android:paddingTop="4dp"
- android:paddingEnd="12dp"
- android:paddingBottom="4dp"
- android:text="PHP Wallet "
- android:textColor="@android:color/white"
- android:textSize="13sp" />
- </FrameLayout>
- <View
- android:layout_width="0dp"
- android:layout_height="match_parent"
- android:layout_weight="1" />
- <ImageView
- android:layout_width="?attr/actionBarSize"
- android:layout_height="?attr/actionBarSize"
- android:src="@drawable/sample_profile_pic" />
- </LinearLayout>
- </LinearLayout>
- <com.github.aakira.expandablelayout.ExpandableRelativeLayout
- android:id="@+id/expandableLayout"
- android:layout_width="0dp"
- android:layout_height="match_parent"
- android:background="@android:color/white"
- app:ael_duration="300"
- app:ael_interpolator="accelerateDecelerate"
- app:ael_orientation="vertical"
- app:layout_constraintLeft_toLeftOf="parent"
- app:layout_constraintRight_toRightOf="parent"
- app:layout_constraintTop_toBottomOf="@id/llTopBar">
- <LinearLayout
- android:id="@+id/llPhp"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:gravity="center"
- android:orientation="horizontal"
- android:paddingStart="20dp"
- android:paddingTop="12dp"
- android:paddingEnd="16dp"
- android:paddingBottom="12dp">
- <ImageView
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_marginEnd="12dp"
- android:src="@drawable/ic_php_dropdown" />
- <LinearLayout
- android:layout_width="0dp"
- android:layout_height="wrap_content"
- android:layout_weight="1"
- android:orientation="vertical">
- <TextView
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:fontFamily="@font/roboto"
- android:text="Peso Wallet"
- android:textColor="#80000000"
- android:textSize="12sp" />
- <TextView
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:fontFamily="@font/roboto_bold"
- android:text="\u20B1 608,940.81"
- android:textColor="@color/gray_darker"
- android:textSize="15sp" />
- </LinearLayout>
- <ImageView
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:src="@drawable/ic_check" />
- </LinearLayout>
- <LinearLayout
- android:id="@+id/llBtc"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_below="@id/llPhp"
- android:gravity="center"
- android:orientation="horizontal"
- android:paddingStart="20dp"
- android:paddingTop="12dp"
- android:paddingEnd="16dp"
- android:paddingBottom="12dp">
- <ImageView
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_marginEnd="12dp"
- android:src="@drawable/ic_btc_dropdown" />
- <LinearLayout
- android:layout_width="0dp"
- android:layout_height="wrap_content"
- android:layout_weight="1"
- android:orientation="vertical">
- <TextView
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:fontFamily="@font/roboto"
- android:text="Bitcoin Wallet"
- android:textColor="#80000000"
- android:textSize="12sp" />
- <TextView
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:fontFamily="@font/roboto_bold"
- android:text="\u20BF 1.20394857"
- android:textColor="@color/gray_darker"
- android:textSize="15sp" />
- </LinearLayout>
- <ImageView
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:src="@drawable/ic_check" />
- </LinearLayout>
- <View
- android:layout_width="40dp"
- android:layout_height="3dp"
- android:layout_below="@id/llBtc"
- android:layout_centerHorizontal="true"
- android:layout_marginTop="8dp"
- android:layout_marginBottom="8dp"
- android:background="@color/light_gray" />
- </com.github.aakira.expandablelayout.ExpandableRelativeLayout>
- </androidx.constraintlayout.widget.ConstraintLayout>
- </ScrollView>
- <TextView
- android:id="@+id/ad"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_alignParentBottom="true"
- android:background="@color/gray_darker"
- android:gravity="center"
- android:minHeight="?attr/actionBarSize"
- android:text="AD SPACE HERE"
- android:textColor="@android:color/white" />
- </RelativeLayout>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement