June 2018
Beginner to intermediate
394 pages
9h 2m
English
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="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/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= ...