Create a form requiring a person’s name, age and date of birthas input. The age should be provided using a NumberPicker and thedate of birth via a DatePicker.Use a TextView to display a messagesuch as “Hello Joe your DoB is: 20/07/1970 and your age is 46.”
I have coded..but struggling to print out the information.
//xml
<?xml version=“1.0” encoding=“utf-8”?><android.support.constraint.ConstraintLayout xmlns:android=“http://schemas.android.com/apk/res/android” xmlns:app=“http://schemas.android.com/apk/res-auto” xmlns:tools=“http://schemas.android.com/tools” android:layout_width=“match_parent” android:layout_height=“match_parent” app:layout_behavior=“@string/appbar_scrolling_view_behavior” tools:context=“.MainActivity” tools:showIn=“@layout/activity_main”> <ScrollView android:layout_width=“match_parent” android:layout_height=“match_parent” tools:layout_editor_absoluteX=“0dp” tools:layout_editor_absoluteY=“0dp”> <LinearLayout android:layout_width=“match_parent” android:layout_height=“wrap_content” android:orientation=“vertical”> <TextView android:id=“@+id/name” android:layout_width=“match_parent” android:layout_height=“wrap_content” android:textColor=“#000000” android:textSize=“20dp”
PayPal Gateway not configured
PayPal Gateway not configured