MeteoriteDB

Log | Files | Refs | README

commit 085f8cf0ee6bd170434bff3e13d67b7998916aec
parent 6db83f84bada1e8d2457fbf50f42694d58d9ca6b
Author: William Lindholm <william_lindholm@outlook.com>
Date:   Wed, 10 May 2023 23:16:32 +0200

Added FloatingActionButton that opens new about activity.

Diffstat:
Mapp/src/main/res/layout/activity_main.xml | 16++++++++++++++--
1 file changed, 14 insertions(+), 2 deletions(-)

diff --git a/app/src/main/res/layout/activity_main.xml b/app/src/main/res/layout/activity_main.xml @@ -21,13 +21,25 @@ android:layout_height="wrap_content" android:layout_marginBottom="32dp" android:clickable="true" + android:contentDescription="Show sorting options" app:layout_constraintBottom_toBottomOf="@+id/recyclerView" app:layout_constraintEnd_toEndOf="parent" app:layout_constraintHorizontal_bias="0.923" app:layout_constraintStart_toStartOf="parent" app:layout_constraintTop_toTopOf="parent" app:layout_constraintVertical_bias="1.0" - app:srcCompat="@android:drawable/ic_menu_add" - android:contentDescription="Show sorting options" /> + app:srcCompat="@android:drawable/ic_menu_edit" /> + + <com.google.android.material.floatingactionbutton.FloatingActionButton + android:id="@+id/showAboutSectionButton" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:layout_marginBottom="20dp" + android:clickable="true" + android:contentDescription="Show about info." + app:layout_constraintBottom_toTopOf="@+id/showSortingOptionsButton" + app:layout_constraintEnd_toEndOf="@+id/showSortingOptionsButton" + app:srcCompat="@android:drawable/ic_menu_help" + tools:ignore="ContentDescription" /> </androidx.constraintlayout.widget.ConstraintLayout> \ No newline at end of file