|
22 | 22 | app:layout_constraintBottom_toBottomOf="parent"
|
23 | 23 | app:layout_constraintEnd_toEndOf="parent"
|
24 | 24 | app:srcCompat="@drawable/ic_create_black_24dp" />
|
25 |
| - <com.google.android.material.floatingactionbutton.FloatingActionButton |
26 |
| - android:id="@+id/btn_historico" |
27 |
| - android:layout_width="wrap_content" |
28 |
| - android:layout_height="wrap_content" |
29 |
| - android:layout_marginEnd="16dp" |
30 |
| - android:layout_marginBottom="16dp" |
31 |
| - android:clickable="true" |
32 |
| - android:contentDescription="@string/todo" |
33 |
| - android:focusable="true" |
| 25 | + |
| 26 | + <com.github.mikephil.charting.charts.BarChart |
| 27 | + android:id="@+id/tasaChart" |
| 28 | + android:layout_width="match_parent" |
| 29 | + android:layout_height="match_parent" |
| 30 | + android:layout_marginBottom="260dp" |
34 | 31 | android:onClick="openHistorico"
|
35 |
| - app:backgroundTint="@color/colorSecondary" |
36 |
| - app:layout_constraintBottom_toBottomOf="parent" |
37 |
| - app:layout_constraintBottom_toTopOf="@+id/cambiar_tasa" |
| 32 | + app:layout_constraintBottom_toTopOf="@+id/linearLayout" |
38 | 33 | app:layout_constraintEnd_toEndOf="parent"
|
39 |
| - app:srcCompat="@drawable/ic_search_white_24dp" /> |
| 34 | + app:layout_constraintStart_toStartOf="parent" |
| 35 | + app:layout_constraintTop_toTopOf="parent" |
| 36 | + app:layout_constraintVertical_bias="0.13999999" /> |
40 | 37 |
|
41 | 38 | <LinearLayout
|
42 |
| - android:padding="32dp" |
| 39 | + android:id="@+id/linearLayout" |
| 40 | + android:layout_width="386dp" |
| 41 | + android:layout_height="242dp" |
| 42 | + android:gravity="bottom|center" |
43 | 43 | android:orientation="vertical"
|
44 |
| - android:layout_width="match_parent" |
45 |
| - android:layout_height="match_parent" |
| 44 | + android:padding="32dp" |
46 | 45 | app:layout_constraintBottom_toBottomOf="parent"
|
47 | 46 | app:layout_constraintEnd_toEndOf="parent"
|
| 47 | + app:layout_constraintHorizontal_bias="0.41" |
48 | 48 | app:layout_constraintStart_toStartOf="parent"
|
49 |
| - app:layout_constraintTop_toTopOf="parent"> |
| 49 | + app:layout_constraintTop_toTopOf="parent" |
| 50 | + app:layout_constraintVertical_bias="0.963"> |
50 | 51 |
|
51 | 52 | <LinearLayout
|
52 |
| - android:orientation="vertical" |
53 |
| - android:gravity="center" |
54 | 53 | android:layout_width="match_parent"
|
55 |
| - android:layout_height="wrap_content"> |
| 54 | + android:layout_height="wrap_content" |
| 55 | + android:gravity="center" |
| 56 | + android:orientation="vertical"> |
56 | 57 |
|
57 | 58 | <LinearLayout
|
58 |
| - android:orientation="horizontal" |
59 | 59 | android:layout_width="wrap_content"
|
60 |
| - android:layout_height="wrap_content"> |
| 60 | + android:layout_height="wrap_content" |
| 61 | + android:orientation="horizontal"> |
| 62 | + |
61 | 63 | <TextView
|
62 | 64 | android:id="@+id/tasaDia"
|
63 |
| - android:layout_gravity="center_vertical" |
64 | 65 | android:layout_width="match_parent"
|
65 | 66 | android:layout_height="wrap_content"
|
| 67 | + android:layout_gravity="center_vertical" |
66 | 68 | android:fontFamily="@font/roboto"
|
67 |
| - android:textSize="32sp" |
| 69 | + android:text="Bs.S 99.500.500,00" |
68 | 70 | android:textColor="@color/black"
|
69 |
| - android:text="Bs.S 99.500.500,00" /> |
| 71 | + android:textSize="32sp" /> |
| 72 | + |
70 | 73 | <ImageView
|
71 | 74 | android:id="@+id/iconoSubida"
|
72 | 75 | android:layout_width="48dp"
|
|
78 | 81 | android:layout_width="wrap_content"
|
79 | 82 | android:layout_height="wrap_content"
|
80 | 83 | android:fontFamily="@font/roboto"
|
81 |
| - android:textSize="16sp" |
| 84 | + android:text="@string/tasa_del_dia" |
82 | 85 | android:textColor="@android:color/darker_gray"
|
83 |
| - android:text="@string/tasa_del_dia" /> |
| 86 | + android:textSize="16sp" /> |
84 | 87 | </LinearLayout>
|
| 88 | + |
85 | 89 | <LinearLayout
|
86 |
| - android:orientation="vertical" |
87 |
| - android:gravity="center" |
88 |
| - android:layout_marginTop="32dp" |
89 | 90 | android:layout_width="match_parent"
|
90 |
| - android:layout_height="wrap_content"> |
| 91 | + android:layout_height="wrap_content" |
| 92 | + android:layout_marginTop="32dp" |
| 93 | + android:gravity="center" |
| 94 | + android:orientation="vertical"> |
| 95 | + |
91 | 96 | <LinearLayout
|
92 |
| - android:orientation="horizontal" |
93 | 97 | android:layout_width="wrap_content"
|
94 |
| - android:layout_height="wrap_content"> |
| 98 | + android:layout_height="wrap_content" |
| 99 | + android:orientation="horizontal"> |
| 100 | + |
95 | 101 | <TextView
|
96 | 102 | android:id="@+id/tasaAnterior"
|
97 |
| - android:layout_gravity="center_vertical" |
98 | 103 | android:layout_width="match_parent"
|
99 | 104 | android:layout_height="wrap_content"
|
| 105 | + android:layout_gravity="center_vertical" |
100 | 106 | android:fontFamily="@font/roboto"
|
101 |
| - android:textSize="32sp" |
| 107 | + android:text="Bs.S 99.500.500,00" |
102 | 108 | android:textColor="@color/black"
|
103 |
| - android:text="Bs.S 99.500.500,00" /> |
| 109 | + android:textSize="32sp" /> |
104 | 110 | </LinearLayout>
|
105 | 111 |
|
106 | 112 | <TextView
|
107 | 113 | android:layout_width="wrap_content"
|
108 | 114 | android:layout_height="wrap_content"
|
109 | 115 | android:fontFamily="@font/roboto"
|
110 |
| - android:textSize="16sp" |
| 116 | + android:text="@string/tasa_anterior" |
111 | 117 | android:textColor="@android:color/darker_gray"
|
112 |
| - android:text="@string/tasa_anterior" /> |
| 118 | + android:textSize="16sp" /> |
113 | 119 | </LinearLayout>
|
114 | 120 |
|
115 | 121 | </LinearLayout>
|
|
0 commit comments