diff --git a/app/src/main/res/layout/fragment_dashboard.xml b/app/src/main/res/layout/fragment_dashboard.xml index feed448c4aac31ab15bf7ced37bf9e323ab9f82f..bae6fbc994efe1e5a0fbc5c2fb575410e3970c1c 100644 --- a/app/src/main/res/layout/fragment_dashboard.xml +++ b/app/src/main/res/layout/fragment_dashboard.xml @@ -8,6 +8,7 @@ <com.github.mikephil.charting.charts.PieChart android:id="@+id/pieChart" android:layout_width="match_parent" - android:layout_height="600dp" /> + android:layout_height="400dp" + /> </RelativeLayout> diff --git a/app/src/main/res/layout/fragment_settings.xml b/app/src/main/res/layout/fragment_settings.xml index eb8b3c50d7902384666d3b95f4913491037f0703..e63e1f61730113ac85a0083b2b1895b1e1b24e4d 100644 --- a/app/src/main/res/layout/fragment_settings.xml +++ b/app/src/main/res/layout/fragment_settings.xml @@ -27,36 +27,32 @@ android:id="@+id/saveBtn" android:layout_width="wrap_content" android:layout_height="wrap_content" - android:text="Save" - app:layout_constraintBottom_toBottomOf="parent" - app:layout_constraintEnd_toEndOf="parent" + android:text="@string/save" + app:layout_constraintTop_toBottomOf="@id/sendEmailButton" app:layout_constraintHorizontal_bias="0.498" - app:layout_constraintStart_toStartOf="parent" - app:layout_constraintTop_toTopOf="parent" + app:layout_constraintLeft_toLeftOf="parent" + app:layout_constraintRight_toRightOf="parent" app:layout_constraintVertical_bias="0.221" /> <Button android:id="@+id/twibbonButton" android:layout_width="wrap_content" android:layout_height="wrap_content" - android:layout_marginTop="26dp" - android:text="Twibbon" - app:layout_constraintBottom_toBottomOf="parent" - app:layout_constraintEnd_toEndOf="parent" + android:text="@string/twibbon" app:layout_constraintHorizontal_bias="0.498" - app:layout_constraintStart_toStartOf="parent" app:layout_constraintTop_toBottomOf="@+id/saveBtn" + app:layout_constraintLeft_toLeftOf="parent" + app:layout_constraintRight_toRightOf="parent" app:layout_constraintVertical_bias="0.024"/> <Button android:id="@+id/randomTransactionBtn" android:layout_width="wrap_content" android:layout_height="wrap_content" - android:text="RandomizeTransaction" - app:layout_constraintBottom_toBottomOf="parent" - app:layout_constraintEnd_toEndOf="parent" + android:text="@string/randomizetransaction" + app:layout_constraintTop_toBottomOf="@id/twibbonButton" + app:layout_constraintLeft_toLeftOf="parent" + app:layout_constraintRight_toRightOf="parent" app:layout_constraintHorizontal_bias="0.497" - app:layout_constraintStart_toStartOf="parent" - app:layout_constraintTop_toTopOf="parent" app:layout_constraintVertical_bias="0.233" /> </androidx.constraintlayout.widget.ConstraintLayout> \ No newline at end of file diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml index ac7b33750df4664a157a31eb98f884917b729ce0..62983d09484207a57880fa02e36d40f2a769db49 100644 --- a/app/src/main/res/values/strings.xml +++ b/app/src/main/res/values/strings.xml @@ -12,4 +12,7 @@ <string name="title_scan">Scan</string> <string name="send_email">Send Email</string> <string name="submit">Submit</string> + <string name="save">Save</string> + <string name="randomizetransaction">RandomizeTransaction</string> + <string name="twibbon">Twibbon</string> </resources> \ No newline at end of file