MeteoriteDB

Log | Files | Refs | README

activity_main.xml (2387B)


      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     tools:context=".MainActivity">
      8 
      9     <androidx.recyclerview.widget.RecyclerView
     10         android:id="@+id/recyclerView"
     11         android:layout_width="match_parent"
     12         android:layout_height="match_parent"
     13         android:background="#2A2A33"
     14         app:layout_constraintBottom_toBottomOf="parent"
     15         app:layout_constraintEnd_toEndOf="parent"
     16         app:layout_constraintStart_toStartOf="parent"
     17         app:layout_constraintTop_toTopOf="parent"
     18         android:scrollbars="vertical"
     19         android:scrollbarSize="12dip"
     20         android:scrollbarThumbVertical="@android:color/white" />
     21 
     22     <com.google.android.material.floatingactionbutton.FloatingActionButton
     23         android:id="@+id/showSortingOptionsButton"
     24         android:layout_width="wrap_content"
     25         android:layout_height="wrap_content"
     26         android:layout_marginBottom="32dp"
     27         android:clickable="true"
     28         android:contentDescription="Show sorting options"
     29         app:backgroundTint="#FFD600"
     30         app:layout_constraintBottom_toBottomOf="@+id/recyclerView"
     31         app:layout_constraintEnd_toEndOf="parent"
     32         app:layout_constraintHorizontal_bias="0.923"
     33         app:layout_constraintStart_toStartOf="parent"
     34         app:layout_constraintTop_toTopOf="parent"
     35         app:layout_constraintVertical_bias="1.0"
     36         app:srcCompat="@android:drawable/ic_menu_edit" />
     37 
     38     <com.google.android.material.floatingactionbutton.FloatingActionButton
     39         android:id="@+id/showAboutSectionButton"
     40         android:layout_width="wrap_content"
     41         android:layout_height="wrap_content"
     42         android:layout_marginBottom="20dp"
     43         android:clickable="true"
     44         android:contentDescription="Show about info."
     45         app:backgroundTint="#FFD600"
     46         app:layout_constraintBottom_toTopOf="@+id/showSortingOptionsButton"
     47         app:layout_constraintEnd_toEndOf="@+id/showSortingOptionsButton"
     48         app:srcCompat="@android:drawable/ic_menu_help"
     49         tools:ignore="ContentDescription" />
     50 
     51 </androidx.constraintlayout.widget.ConstraintLayout>