diff --git a/app/src/main/res/layout/fragment_graph.xml b/app/src/main/res/layout/fragment_graph.xml index 06d2b12262df0257e9ed43cec32d8e7d6866303f..6fd2b96a9a9a9005692c8b1c2f84572551781f99 100644 --- a/app/src/main/res/layout/fragment_graph.xml +++ b/app/src/main/res/layout/fragment_graph.xml @@ -3,10 +3,23 @@ xmlns:tools="http://schemas.android.com/tools" android:layout_width="match_parent" android:layout_height="match_parent" + xmlns:app="http://schemas.android.com/apk/res-auto" tools:context=".GraphFragment"> <!-- TODO: Update blank fragment layout --> + <TextView + android:id="@+id/text_header" + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:gravity="start" + android:text="Graph" + android:textSize="18sp" + android:textStyle="bold" + android:padding="16dp" + app:layout_constraintTop_toTopOf="parent" + /> + <com.github.mikephil.charting.charts.PieChart android:id="@+id/pie_chart" android:layout_width="match_parent" diff --git a/app/src/main/res/layout/fragment_scan.xml b/app/src/main/res/layout/fragment_scan.xml index 509bb31e59098dc3dfc60820559143360ff9db75..563e5f3149318f594a4dd7dc16a350cbbc9a90bf 100644 --- a/app/src/main/res/layout/fragment_scan.xml +++ b/app/src/main/res/layout/fragment_scan.xml @@ -10,6 +10,18 @@ android:id="@+id/viewFinder" android:layout_width="match_parent" android:layout_height="match_parent"/> + + <TextView + android:id="@+id/text_header" + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:gravity="start" + android:text="Scan" + android:textSize="18sp" + android:textStyle="bold" + android:padding="16dp" + app:layout_constraintTop_toTopOf="parent" + /> <ImageButton android:id="@+id/captureButton" diff --git a/app/src/main/res/layout/fragment_setting.xml b/app/src/main/res/layout/fragment_setting.xml index 7b0273850aed4648a5b2e676c1af3990a05843bb..884ac4aa5a51e92960fd983adad1c5eceaefb944 100644 --- a/app/src/main/res/layout/fragment_setting.xml +++ b/app/src/main/res/layout/fragment_setting.xml @@ -5,6 +5,18 @@ android:layout_width="match_parent" android:layout_height="match_parent" android:orientation="vertical"> + + <TextView + android:id="@+id/text_header" + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:gravity="start" + android:text="Setting" + android:textSize="18sp" + android:textStyle="bold" + android:padding="16dp" + app:layout_constraintTop_toTopOf="parent" + /> <LinearLayout android:layout_width="match_parent" diff --git a/app/src/main/res/layout/fragment_transaction.xml b/app/src/main/res/layout/fragment_transaction.xml index df93c2426ae4ba3e6da36f6a0d618c59153a50c2..4854bbd830cc6583f72907d49bd7c83d160ab08d 100644 --- a/app/src/main/res/layout/fragment_transaction.xml +++ b/app/src/main/res/layout/fragment_transaction.xml @@ -6,10 +6,23 @@ xmlns:app="http://schemas.android.com/apk/res-auto" tools:context=".TransactionFragment"> + <TextView + android:id="@+id/text_header" + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:gravity="start" + android:text="Transaction" + android:textSize="18sp" + android:textStyle="bold" + android:padding="16dp" + app:layout_constraintTop_toTopOf="parent" + /> + <androidx.recyclerview.widget.RecyclerView android:id="@+id/recyclerview_transaction" android:layout_width="0dp" android:layout_height="0dp" + android:layout_marginTop="50dp" app:layout_constraintBottom_toBottomOf="parent" app:layout_constraintHorizontal_bias="0.0" app:layout_constraintLeft_toLeftOf="parent"