Advertisement
SenpaiZero

Main Act

Apr 7th, 2024
552
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 34.32 KB | None | 0 0
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
  3.    xmlns:app="http://schemas.android.com/apk/res-auto"
  4.    xmlns:tools="http://schemas.android.com/tools"
  5.    android:layout_width="match_parent"
  6.    android:layout_height="match_parent"
  7.    android:background="@color/material_dynamic_secondary20"
  8.    tools:context=".MainActivity">
  9.  
  10.     <androidx.cardview.widget.CardView
  11.        android:id="@+id/bottomTab"
  12.        android:layout_width="match_parent"
  13.        android:layout_height="wrap_content"
  14.        app:cardBackgroundColor="#3F444E"
  15.        app:layout_constraintBottom_toBottomOf="parent"
  16.        app:layout_constraintEnd_toEndOf="parent"
  17.        app:layout_constraintStart_toStartOf="parent">
  18.  
  19.         <LinearLayout
  20.            android:layout_width="match_parent"
  21.            android:layout_height="match_parent"
  22.            android:orientation="horizontal">
  23.  
  24.             <Button
  25.                android:id="@+id/button26"
  26.                android:layout_width="wrap_content"
  27.                android:layout_height="wrap_content"
  28.                android:layout_weight="1"
  29.                android:background="@android:color/transparent"
  30.                android:text="Home"
  31.                app:icon="@drawable/home"
  32.                app:iconGravity="top" />
  33.  
  34.             <Button
  35.                android:id="@+id/button25"
  36.                android:layout_width="wrap_content"
  37.                android:layout_height="wrap_content"
  38.                android:layout_weight="1"
  39.                android:background="@android:color/transparent"
  40.                android:text="Inbox"
  41.                app:icon="@drawable/mail_inbox_app"
  42.                app:iconGravity="top" />
  43.  
  44.             <Button
  45.                android:id="@+id/button24"
  46.                android:layout_width="wrap_content"
  47.                android:layout_height="wrap_content"
  48.                android:layout_weight="1"
  49.                android:background="@android:color/transparent"
  50.                android:text="Transaction"
  51.                app:icon="@drawable/file"
  52.                app:iconGravity="top" />
  53.  
  54.             <Button
  55.                android:id="@+id/button23"
  56.                android:layout_width="wrap_content"
  57.                android:layout_height="wrap_content"
  58.                android:layout_weight="1"
  59.                android:background="@android:color/transparent"
  60.                android:text="Profile"
  61.                app:icon="@drawable/user"
  62.                app:iconGravity="top" />
  63.  
  64.         </LinearLayout>
  65.     </androidx.cardview.widget.CardView>
  66.  
  67.     <LinearLayout
  68.        android:layout_width="match_parent"
  69.        android:layout_height="match_parent"
  70.        android:orientation="vertical"
  71.        android:padding="10dp"
  72.        app:layout_constraintBottom_toBottomOf="parent"
  73.        app:layout_constraintEnd_toEndOf="parent"
  74.        app:layout_constraintStart_toStartOf="parent"
  75.        app:layout_constraintTop_toTopOf="parent">
  76.  
  77.         <androidx.cardview.widget.CardView
  78.            android:id="@+id/headerCon"
  79.            android:layout_width="match_parent"
  80.            android:layout_height="wrap_content"
  81.            android:background="@android:color/transparent"
  82.            app:cardBackgroundColor="@android:color/transparent">
  83.  
  84.             <androidx.constraintlayout.widget.ConstraintLayout
  85.                android:layout_width="match_parent"
  86.                android:layout_height="match_parent">
  87.  
  88.                 <ImageView
  89.                    android:id="@+id/imageView"
  90.                    android:layout_width="64dp"
  91.                    android:layout_height="64dp"
  92.                    android:layout_marginStart="8dp"
  93.                    android:layout_marginTop="8dp"
  94.                    android:layout_marginBottom="8dp"
  95.                    app:layout_constraintBottom_toBottomOf="parent"
  96.                    app:layout_constraintStart_toStartOf="parent"
  97.                    app:layout_constraintTop_toTopOf="parent"
  98.                    app:srcCompat="@drawable/man" />
  99.  
  100.                 <TextView
  101.                    android:id="@+id/textView"
  102.                    android:layout_width="wrap_content"
  103.                    android:layout_height="wrap_content"
  104.                    android:layout_marginStart="16dp"
  105.                    android:fontFamily="sans-serif-black"
  106.                    android:text="PH-CASH"
  107.                    android:textColor="#8E62DD"
  108.                    android:textSize="24sp"
  109.                    android:textStyle="bold"
  110.                    app:layout_constraintBottom_toBottomOf="parent"
  111.                    app:layout_constraintStart_toEndOf="@+id/imageView"
  112.                    app:layout_constraintTop_toTopOf="parent" />
  113.  
  114.                 <Button
  115.                    android:id="@+id/button"
  116.                    android:layout_width="wrap_content"
  117.                    android:layout_height="wrap_content"
  118.                    android:layout_marginEnd="8dp"
  119.                    android:text="HELP"
  120.                    app:layout_constraintBottom_toBottomOf="parent"
  121.                    app:layout_constraintEnd_toEndOf="parent"
  122.                    app:layout_constraintTop_toTopOf="parent" />
  123.             </androidx.constraintlayout.widget.ConstraintLayout>
  124.         </androidx.cardview.widget.CardView>
  125.  
  126.         <androidx.cardview.widget.CardView
  127.            android:id="@+id/moneyCon"
  128.            android:layout_width="match_parent"
  129.            android:layout_height="wrap_content"
  130.            app:cardBackgroundColor="#F67272"
  131.            app:cardCornerRadius="15dp">
  132.  
  133.             <androidx.constraintlayout.widget.ConstraintLayout
  134.                android:layout_width="match_parent"
  135.                android:layout_height="match_parent"
  136.                android:padding="10dp">
  137.  
  138.                 <TextView
  139.                    android:id="@+id/textView2"
  140.                    android:layout_width="wrap_content"
  141.                    android:layout_height="wrap_content"
  142.                    android:fontFamily="sans-serif-medium"
  143.                    android:text="AVAILABLE BALANCE"
  144.                    android:textColor="#ffffff"
  145.                    app:layout_constraintBottom_toBottomOf="parent"
  146.                    app:layout_constraintStart_toStartOf="parent"
  147.                    app:layout_constraintTop_toTopOf="parent"
  148.                    app:layout_constraintVertical_bias="0.0" />
  149.  
  150.                 <TextView
  151.                    android:id="@+id/moneyLbl"
  152.                    android:layout_width="wrap_content"
  153.                    android:layout_height="wrap_content"
  154.                    android:fontFamily="sans-serif-black"
  155.                    android:text="₱6,422.15"
  156.                    android:textAllCaps="true"
  157.                    android:textColor="#ffffff"
  158.                    android:textSize="34sp"
  159.                    android:textStyle="bold"
  160.                    app:layout_constraintStart_toStartOf="parent"
  161.                    app:layout_constraintTop_toBottomOf="@+id/textView2" />
  162.  
  163.                 <Button
  164.                    android:id="@+id/button3"
  165.                    android:layout_width="wrap_content"
  166.                    android:layout_height="wrap_content"
  167.                    android:paddingLeft="12dp"
  168.                    android:text="CASH IN"
  169.                    app:icon="@android:drawable/ic_input_add"
  170.                    app:iconPadding="3dp"
  171.                    app:layout_constraintBottom_toBottomOf="parent"
  172.                    app:layout_constraintEnd_toEndOf="parent"
  173.                    app:layout_constraintTop_toTopOf="parent" />
  174.  
  175.             </androidx.constraintlayout.widget.ConstraintLayout>
  176.         </androidx.cardview.widget.CardView>
  177.  
  178.         <androidx.cardview.widget.CardView
  179.            android:id="@+id/menuCon"
  180.            android:layout_width="match_parent"
  181.            android:layout_height="wrap_content"
  182.            android:layout_marginTop="10dp"
  183.            app:cardBackgroundColor="#F47272"
  184.            app:cardCornerRadius="6dp">
  185.  
  186.             <LinearLayout
  187.                android:layout_width="match_parent"
  188.                android:layout_height="match_parent"
  189.                android:orientation="vertical">
  190.  
  191.                 <LinearLayout
  192.                    android:id="@+id/row1"
  193.                    android:layout_width="match_parent"
  194.                    android:layout_height="wrap_content"
  195.                    android:orientation="horizontal">
  196.  
  197.                     <Button
  198.                        android:id="@+id/button8"
  199.                        android:layout_width="0dp"
  200.                        android:layout_height="wrap_content"
  201.                        android:layout_weight="1"
  202.                        android:background="@android:color/transparent"
  203.                        android:text="Cash In"
  204.                        app:icon="@drawable/money"
  205.                        app:iconGravity="top"
  206.                        app:iconPadding="0dp"
  207.                        app:iconSize="28dp" />
  208.  
  209.                     <Button
  210.                        android:id="@+id/button7"
  211.                        android:layout_width="0dp"
  212.                        android:layout_height="wrap_content"
  213.                        android:layout_weight="1"
  214.                        android:background="@android:color/transparent"
  215.                        android:text="Cash Out"
  216.                        app:icon="@drawable/atm_cashout"
  217.                        app:iconGravity="top"
  218.                        app:iconPadding="0dp"
  219.                        app:iconSize="28dp" />
  220.  
  221.                     <Button
  222.                        android:id="@+id/button6"
  223.                        android:layout_width="0dp"
  224.                        android:layout_height="wrap_content"
  225.                        android:layout_weight="1"
  226.                        android:background="@android:color/transparent"
  227.                        android:text="Transfer"
  228.                        app:icon="@drawable/transfer"
  229.                        app:iconGravity="top"
  230.                        app:iconPadding="0dp"
  231.                        app:iconSize="28dp" />
  232.                 </LinearLayout>
  233.  
  234.                 <LinearLayout
  235.                    android:id="@+id/row2"
  236.                    android:layout_width="match_parent"
  237.                    android:layout_height="wrap_content"
  238.                    android:orientation="horizontal">
  239.  
  240.                     <Button
  241.                        android:id="@+id/button11"
  242.                        android:layout_width="0dp"
  243.                        android:layout_height="wrap_content"
  244.                        android:layout_weight="1"
  245.                        android:background="@android:color/transparent"
  246.                        android:text="Cards"
  247.                        app:icon="@drawable/credit_card"
  248.                        app:iconGravity="top"
  249.                        app:iconPadding="0dp"
  250.                        app:iconSize="28dp" />
  251.  
  252.                     <Button
  253.                        android:id="@+id/button10"
  254.                        android:layout_width="0dp"
  255.                        android:layout_height="wrap_content"
  256.                        android:layout_weight="1"
  257.                        android:background="@android:color/transparent"
  258.                        android:text="Pay"
  259.                        app:icon="@drawable/bill"
  260.                        app:iconGravity="top"
  261.                        app:iconPadding="0dp"
  262.                        app:iconSize="28dp" />
  263.  
  264.                     <Button
  265.                        android:id="@+id/button9"
  266.                        android:layout_width="0dp"
  267.                        android:layout_height="wrap_content"
  268.                        android:layout_weight="1"
  269.                        android:background="@android:color/transparent"
  270.                        android:text="QRCode"
  271.                        app:icon="@drawable/qr_code"
  272.                        app:iconGravity="top"
  273.                        app:iconPadding="0dp"
  274.                        app:iconSize="28dp" />
  275.                 </LinearLayout>
  276.  
  277.                 <LinearLayout
  278.                    android:id="@+id/row3"
  279.                    android:layout_width="match_parent"
  280.                    android:layout_height="wrap_content"
  281.                    android:orientation="horizontal">
  282.  
  283.                     <Button
  284.                        android:id="@+id/button14"
  285.                        android:layout_width="0dp"
  286.                        android:layout_height="wrap_content"
  287.                        android:layout_weight="1"
  288.                        android:background="@android:color/transparent"
  289.                        android:text="Trade"
  290.                        app:icon="@drawable/trade"
  291.                        app:iconGravity="top"
  292.                        app:iconPadding="0dp"
  293.                        app:iconSize="28dp" />
  294.  
  295.                     <Button
  296.                        android:id="@+id/button13"
  297.                        android:layout_width="0dp"
  298.                        android:layout_height="wrap_content"
  299.                        android:layout_weight="1"
  300.                        android:background="@android:color/transparent"
  301.                        android:text="Portfolio"
  302.                        app:icon="@drawable/briefcase"
  303.                        app:iconGravity="top"
  304.                        app:iconPadding="0dp"
  305.                        app:iconSize="28dp" />
  306.  
  307.                     <Button
  308.                        android:id="@+id/button12"
  309.                        android:layout_width="0dp"
  310.                        android:layout_height="wrap_content"
  311.                        android:layout_weight="1"
  312.                        android:background="@android:color/transparent"
  313.                        android:text="Load"
  314.                        app:icon="@drawable/iphone"
  315.                        app:iconGravity="top"
  316.                        app:iconPadding="0dp"
  317.                        app:iconSize="28dp" />
  318.  
  319.                 </LinearLayout>
  320.  
  321.                 <TextView
  322.                    android:id="@+id/textView5"
  323.                    android:layout_width="match_parent"
  324.                    android:layout_height="wrap_content"
  325.                    android:layout_marginTop="10dp"
  326.                    android:layout_marginBottom="10dp"
  327.                    android:fontFamily="sans-serif-black"
  328.                    android:text="View All Services"
  329.                    android:textAlignment="center"
  330.                    android:textColor="#ffffff"
  331.                    android:textSize="16sp"
  332.                    android:textStyle="bold" />
  333.  
  334.             </LinearLayout>
  335.  
  336.         </androidx.cardview.widget.CardView>
  337.  
  338.         <androidx.cardview.widget.CardView
  339.            android:id="@+id/dailyCrypto"
  340.            android:layout_width="match_parent"
  341.            android:layout_height="wrap_content"
  342.            android:layout_marginTop="5dp"
  343.            app:cardBackgroundColor="#F57272"
  344.            app:cardCornerRadius="6dp">
  345.  
  346.             <LinearLayout
  347.                android:layout_width="match_parent"
  348.                android:layout_height="match_parent"
  349.                android:orientation="vertical">
  350.  
  351.                 <TextView
  352.                    android:id="@+id/textView6"
  353.                    android:layout_width="match_parent"
  354.                    android:layout_height="wrap_content"
  355.                    android:layout_margin="5dp"
  356.                    android:fontFamily="sans-serif-black"
  357.                    android:text="TOP 5 DAILY CRYPTOCURRENCY"
  358.                    android:textAlignment="center"
  359.                    android:textColor="#FFFFFF" />
  360.  
  361.                 <LinearLayout
  362.                    android:layout_width="match_parent"
  363.                    android:layout_height="match_parent"
  364.                    android:gravity="center"
  365.                    android:orientation="horizontal">
  366.  
  367.                     <TextView
  368.                        android:id="@+id/textView10"
  369.                        android:layout_width="0dp"
  370.                        android:layout_height="wrap_content"
  371.                        android:layout_weight="2"
  372.                        android:width="0dp"
  373.                        android:fontFamily="sans-serif-medium"
  374.                        android:gravity="center"
  375.                        android:paddingLeft="10dp"
  376.                        android:text="Name"
  377.                        android:textAlignment="textStart"
  378.                        android:textColor="#FFFFFF" />
  379.  
  380.                     <TextView
  381.                        android:id="@+id/textView11"
  382.                        android:layout_width="wrap_content"
  383.                        android:layout_height="wrap_content"
  384.                        android:layout_weight="1"
  385.                        android:width="0dp"
  386.                        android:fontFamily="sans-serif-medium"
  387.                        android:gravity="center"
  388.                        android:text="Last Price"
  389.                        android:textAlignment="center"
  390.                        android:textColor="#FFFFFF" />
  391.  
  392.                     <TextView
  393.                        android:id="@+id/textView12"
  394.                        android:layout_width="wrap_content"
  395.                        android:layout_height="wrap_content"
  396.                        android:layout_weight="2"
  397.                        android:width="0dp"
  398.                        android:fontFamily="sans-serif-medium"
  399.                        android:gravity="center"
  400.                        android:text="24h ch"
  401.                        android:textAlignment="center"
  402.                        android:textColor="#FFFFFF" />
  403.                 </LinearLayout>
  404.  
  405.                 <LinearLayout
  406.                    android:id="@+id/row1Crypto1"
  407.                    android:layout_width="match_parent"
  408.                    android:layout_height="match_parent"
  409.                    android:layout_marginTop="5dp"
  410.                    android:layout_marginBottom="5dp"
  411.                    android:gravity="center"
  412.                    android:orientation="horizontal">
  413.  
  414.                     <TextView
  415.                        android:id="@+id/cryptoName1"
  416.                        android:layout_width="0dp"
  417.                        android:layout_height="match_parent"
  418.                        android:layout_weight="2"
  419.                        android:fontFamily="sans-serif-black"
  420.                        android:foregroundGravity="center"
  421.                        android:gravity="center"
  422.                        android:paddingLeft="10dp"
  423.                        android:text="BTC"
  424.                        android:textAlignment="viewStart"
  425.                        android:textColor="#FFFFFF" />
  426.  
  427.                     <TextView
  428.                        android:id="@+id/cryptoLastPrice1"
  429.                        android:layout_width="0dp"
  430.                        android:layout_height="match_parent"
  431.                        android:layout_weight="1"
  432.                        android:fontFamily="sans-serif-medium"
  433.                        android:foregroundGravity="center"
  434.                        android:gravity="center"
  435.                        android:text="32,105.52"
  436.                        android:textAlignment="center"
  437.                        android:textColor="#FFFFFF" />
  438.  
  439.                     <androidx.cardview.widget.CardView
  440.                        android:layout_width="0dp"
  441.                        android:layout_height="wrap_content"
  442.                        android:layout_marginRight="5dp"
  443.                        android:layout_weight="2"
  444.                        app:cardBackgroundColor="#00D122">
  445.  
  446.                         <androidx.constraintlayout.widget.ConstraintLayout
  447.                            android:layout_width="match_parent"
  448.                            android:layout_height="match_parent"
  449.                            android:paddingTop="5dp"
  450.                            android:paddingBottom="5dp">
  451.  
  452.                             <TextView
  453.                                android:id="@+id/textView91"
  454.                                android:layout_width="wrap_content"
  455.                                android:layout_height="wrap_content"
  456.                                android:fontFamily="sans-serif-black"
  457.                                android:text="+4.62%"
  458.                                android:textAlignment="center"
  459.                                android:textColor="#FFFFFF"
  460.                                android:textSize="20sp"
  461.                                android:textStyle="bold"
  462.                                app:layout_constraintBottom_toBottomOf="parent"
  463.                                app:layout_constraintEnd_toEndOf="parent"
  464.                                app:layout_constraintStart_toStartOf="parent"
  465.                                app:layout_constraintTop_toTopOf="parent" />
  466.                         </androidx.constraintlayout.widget.ConstraintLayout>
  467.  
  468.                     </androidx.cardview.widget.CardView>
  469.                 </LinearLayout>
  470.  
  471.                 <LinearLayout
  472.                    android:id="@+id/row1Crypto2"
  473.                    android:layout_width="match_parent"
  474.                    android:layout_height="match_parent"
  475.                    android:layout_marginTop="5dp"
  476.                    android:layout_marginBottom="5dp"
  477.                    android:gravity="center"
  478.                    android:orientation="horizontal">
  479.  
  480.                     <TextView
  481.                        android:id="@+id/cryptoName2"
  482.                        android:layout_width="0dp"
  483.                        android:layout_height="match_parent"
  484.                        android:layout_weight="2"
  485.                        android:fontFamily="sans-serif-black"
  486.                        android:foregroundGravity="center"
  487.                        android:gravity="center"
  488.                        android:paddingLeft="10dp"
  489.                        android:text="ETH"
  490.                        android:textAlignment="viewStart"
  491.                        android:textColor="#FFFFFF" />
  492.  
  493.                     <TextView
  494.                        android:id="@+id/cryptoLastPrice2"
  495.                        android:layout_width="0dp"
  496.                        android:layout_height="match_parent"
  497.                        android:layout_weight="1"
  498.                        android:fontFamily="sans-serif-medium"
  499.                        android:foregroundGravity="center"
  500.                        android:gravity="center"
  501.                        android:text="1,634.23"
  502.                        android:textAlignment="center"
  503.                        android:textColor="#FFFFFF" />
  504.  
  505.                     <androidx.cardview.widget.CardView
  506.                        android:layout_width="0dp"
  507.                        android:layout_height="wrap_content"
  508.                        android:layout_marginRight="5dp"
  509.                        android:layout_weight="2"
  510.                        app:cardBackgroundColor="#00D122">
  511.  
  512.                         <androidx.constraintlayout.widget.ConstraintLayout
  513.                            android:layout_width="match_parent"
  514.                            android:layout_height="match_parent"
  515.                            android:paddingTop="5dp"
  516.                            android:paddingBottom="5dp">
  517.  
  518.                             <TextView
  519.                                android:id="@+id/textView92"
  520.                                android:layout_width="wrap_content"
  521.                                android:layout_height="wrap_content"
  522.                                android:fontFamily="sans-serif-black"
  523.                                android:text="+4.06%"
  524.                                android:textAlignment="center"
  525.                                android:textColor="#FFFFFF"
  526.                                android:textSize="20sp"
  527.                                android:textStyle="bold"
  528.                                app:layout_constraintBottom_toBottomOf="parent"
  529.                                app:layout_constraintEnd_toEndOf="parent"
  530.                                app:layout_constraintStart_toStartOf="parent"
  531.                                app:layout_constraintTop_toTopOf="parent" />
  532.                         </androidx.constraintlayout.widget.ConstraintLayout>
  533.  
  534.                     </androidx.cardview.widget.CardView>
  535.                 </LinearLayout>
  536.  
  537.                 <LinearLayout
  538.                    android:id="@+id/row1Crypto3"
  539.                    android:layout_width="match_parent"
  540.                    android:layout_height="match_parent"
  541.                    android:layout_marginTop="5dp"
  542.                    android:layout_marginBottom="5dp"
  543.                    android:gravity="center"
  544.                    android:orientation="horizontal">
  545.  
  546.                     <TextView
  547.                        android:id="@+id/cryptoName3"
  548.                        android:layout_width="0dp"
  549.                        android:layout_height="match_parent"
  550.                        android:layout_weight="2"
  551.                        android:fontFamily="sans-serif-black"
  552.                        android:foregroundGravity="center"
  553.                        android:gravity="center"
  554.                        android:paddingLeft="10dp"
  555.                        android:text="SOL"
  556.                        android:textAlignment="viewStart"
  557.                        android:textColor="#FFFFFF" />
  558.  
  559.                     <TextView
  560.                        android:id="@+id/cryptoLastPrice3"
  561.                        android:layout_width="0dp"
  562.                        android:layout_height="match_parent"
  563.                        android:layout_weight="1"
  564.                        android:fontFamily="sans-serif-medium"
  565.                        android:foregroundGravity="center"
  566.                        android:gravity="center"
  567.                        android:text="39.44"
  568.                        android:textAlignment="center"
  569.                        android:textColor="#FFFFFF" />
  570.  
  571.                     <androidx.cardview.widget.CardView
  572.                        android:layout_width="0dp"
  573.                        android:layout_height="wrap_content"
  574.                        android:layout_marginRight="5dp"
  575.                        android:layout_weight="2"
  576.                        app:cardBackgroundColor="#00D122">
  577.  
  578.                         <androidx.constraintlayout.widget.ConstraintLayout
  579.                            android:layout_width="match_parent"
  580.                            android:layout_height="match_parent"
  581.                            android:paddingTop="5dp"
  582.                            android:paddingBottom="5dp">
  583.  
  584.                             <TextView
  585.                                android:id="@+id/textView93"
  586.                                android:layout_width="wrap_content"
  587.                                android:layout_height="wrap_content"
  588.                                android:fontFamily="sans-serif-black"
  589.                                android:text="+3.71%"
  590.                                android:textAlignment="center"
  591.                                android:textColor="#FFFFFF"
  592.                                android:textSize="20sp"
  593.                                android:textStyle="bold"
  594.                                app:layout_constraintBottom_toBottomOf="parent"
  595.                                app:layout_constraintEnd_toEndOf="parent"
  596.                                app:layout_constraintStart_toStartOf="parent"
  597.                                app:layout_constraintTop_toTopOf="parent" />
  598.                         </androidx.constraintlayout.widget.ConstraintLayout>
  599.  
  600.                     </androidx.cardview.widget.CardView>
  601.                 </LinearLayout>
  602.  
  603.                 <LinearLayout
  604.                    android:id="@+id/row1Crypto4"
  605.                    android:layout_width="match_parent"
  606.                    android:layout_height="match_parent"
  607.                    android:layout_marginTop="5dp"
  608.                    android:layout_marginBottom="5dp"
  609.                    android:gravity="center"
  610.                    android:orientation="horizontal">
  611.  
  612.                     <TextView
  613.                        android:id="@+id/cryptoName4"
  614.                        android:layout_width="0dp"
  615.                        android:layout_height="match_parent"
  616.                        android:layout_weight="2"
  617.                        android:fontFamily="sans-serif-black"
  618.                        android:foregroundGravity="center"
  619.                        android:gravity="center"
  620.                        android:paddingLeft="10dp"
  621.                        android:text="MATIC"
  622.                        android:textAlignment="viewStart"
  623.                        android:textColor="#FFFFFF" />
  624.  
  625.                     <TextView
  626.                        android:id="@+id/cryptoLastPrice4"
  627.                        android:layout_width="0dp"
  628.                        android:layout_height="match_parent"
  629.                        android:layout_weight="1"
  630.                        android:fontFamily="sans-serif-medium"
  631.                        android:foregroundGravity="center"
  632.                        android:gravity="center"
  633.                        android:text="0.8971"
  634.                        android:textAlignment="center"
  635.                        android:textColor="#FFFFFF" />
  636.  
  637.                     <androidx.cardview.widget.CardView
  638.                        android:layout_width="0dp"
  639.                        android:layout_height="wrap_content"
  640.                        android:layout_marginRight="5dp"
  641.                        android:layout_weight="2"
  642.                        app:cardBackgroundColor="#00D122">
  643.  
  644.                         <androidx.constraintlayout.widget.ConstraintLayout
  645.                            android:layout_width="match_parent"
  646.                            android:layout_height="match_parent"
  647.                            android:paddingTop="5dp"
  648.                            android:paddingBottom="5dp">
  649.  
  650.                             <TextView
  651.                                android:id="@+id/textView94"
  652.                                android:layout_width="wrap_content"
  653.                                android:layout_height="wrap_content"
  654.                                android:fontFamily="sans-serif-black"
  655.                                android:text="+1.26%"
  656.                                android:textAlignment="center"
  657.                                android:textColor="#FFFFFF"
  658.                                android:textSize="20sp"
  659.                                android:textStyle="bold"
  660.                                app:layout_constraintBottom_toBottomOf="parent"
  661.                                app:layout_constraintEnd_toEndOf="parent"
  662.                                app:layout_constraintStart_toStartOf="parent"
  663.                                app:layout_constraintTop_toTopOf="parent" />
  664.                         </androidx.constraintlayout.widget.ConstraintLayout>
  665.  
  666.                     </androidx.cardview.widget.CardView>
  667.                 </LinearLayout>
  668.  
  669.                 <LinearLayout
  670.                    android:id="@+id/row1Crypto"
  671.                    android:layout_width="match_parent"
  672.                    android:layout_height="match_parent"
  673.                    android:layout_marginTop="5dp"
  674.                    android:layout_marginBottom="5dp"
  675.                    android:gravity="center"
  676.                    android:orientation="horizontal">
  677.  
  678.                     <TextView
  679.                        android:id="@+id/cryptoName"
  680.                        android:layout_width="0dp"
  681.                        android:layout_height="match_parent"
  682.                        android:layout_weight="2"
  683.                        android:fontFamily="sans-serif-black"
  684.                        android:foregroundGravity="center"
  685.                        android:gravity="center"
  686.                        android:paddingLeft="10dp"
  687.                        android:text="BNB"
  688.                        android:textAlignment="viewStart"
  689.                        android:textColor="#FFFFFF" />
  690.  
  691.                     <TextView
  692.                        android:id="@+id/cryptoLastPrice"
  693.                        android:layout_width="0dp"
  694.                        android:layout_height="match_parent"
  695.                        android:layout_weight="1"
  696.                        android:fontFamily="sans-serif-medium"
  697.                        android:foregroundGravity="center"
  698.                        android:gravity="center"
  699.                        android:text="307.2"
  700.                        android:textAlignment="center"
  701.                        android:textColor="#FFFFFF" />
  702.  
  703.                     <androidx.cardview.widget.CardView
  704.                        android:layout_width="0dp"
  705.                        android:layout_height="wrap_content"
  706.                        android:layout_marginRight="5dp"
  707.                        android:layout_weight="2"
  708.                        app:cardBackgroundColor="#FF6F41">
  709.  
  710.                         <androidx.constraintlayout.widget.ConstraintLayout
  711.                            android:layout_width="match_parent"
  712.                            android:layout_height="match_parent"
  713.                            android:paddingTop="5dp"
  714.                            android:paddingBottom="5dp">
  715.  
  716.                             <TextView
  717.                                android:id="@+id/textView9"
  718.                                android:layout_width="wrap_content"
  719.                                android:layout_height="wrap_content"
  720.                                android:fontFamily="sans-serif-black"
  721.                                android:text="-1.05%"
  722.                                android:textAlignment="center"
  723.                                android:textColor="#FFFFFF"
  724.                                android:textSize="20sp"
  725.                                android:textStyle="bold"
  726.                                app:layout_constraintBottom_toBottomOf="parent"
  727.                                app:layout_constraintEnd_toEndOf="parent"
  728.                                app:layout_constraintStart_toStartOf="parent"
  729.                                app:layout_constraintTop_toTopOf="parent" />
  730.                         </androidx.constraintlayout.widget.ConstraintLayout>
  731.  
  732.                     </androidx.cardview.widget.CardView>
  733.                 </LinearLayout>
  734.             </LinearLayout>
  735.         </androidx.cardview.widget.CardView>
  736.  
  737.     </LinearLayout>
  738.  
  739. </androidx.constraintlayout.widget.ConstraintLayout>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement