User interface design

In this application, we will keep the user interface simple and informative. All we have is one RecyclerView and two buttons for adding and loading the data. The following xml layout code dictates the UI design: 

<?xml version="1.0" encoding="utf-8"?><LinearLayout xmlns:android=""    xmlns:tools=""    android:id="@+id/activity_main"    android:layout_width="match_parent"    android:layout_height="match_parent"    android:orientation="vertical">    <TextView        android:textColor="@color/colorPrimaryDark"        android:textStyle="bold"        android:textSize="25dp"        android:gravity="center"        android:text="Packt Blood Bank"        android:layout_width="match_parent"        android:layout_height= ...

Get Mastering Firebase for Android Development now with the O’Reilly learning platform.

O’Reilly members experience live online training, plus books, videos, and digital content from nearly 200 publishers.