document.write('
Data hosted with ♥ by Pastebin.com - Download Raw - See Original
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
  3.     xmlns:tools="http://schemas.android.com/tools"
  4.     android:id="@+id/android_date_picker"
  5.     android:layout_width="match_parent"
  6.     android:layout_height="match_parent"
  7.     android:layout_marginTop="5dp"
  8.     android:gravity="center_horizontal"
  9.     android:orientation="vertical"
  10.     tools:context=".MainActivity">
  11.  
  12.     <ScrollView
  13.         android:layout_width="wrap_content"
  14.         android:layout_height="match_parent">
  15.  
  16.         <LinearLayout
  17.             android:layout_width="wrap_content"
  18.             android:layout_height="match_parent"
  19.             android:gravity="center_horizontal"
  20.             android:orientation="vertical">
  21.  
  22.             <DatePicker
  23.                 android:id="@+id/datePicker"
  24.                 android:layout_width="wrap_content"
  25.                 android:layout_height="match_parent" />
  26.  
  27.             <Button
  28.                 android:id="@+id/change_date_button"
  29.                 android:layout_width="wrap_content"
  30.                 android:layout_height="wrap_content"
  31.                 android:text="Change Date" />
  32.  
  33.             <TextView
  34.                 android:id="@+id/display_date"
  35.                 android:layout_width="wrap_content"
  36.                 android:layout_height="wrap_content"
  37.                 android:text="Display Date"
  38.                 android:textSize="22sp" />
  39.  
  40.             <TextView
  41.                 android:layout_width="fill_parent"
  42.                 android:layout_marginTop="5dp"
  43.                 android:layout_height="fill_parent"
  44.                 android:gravity="center|bottom"
  45.                 android:text="okedroid.com"
  46.                 android:textSize="24sp"
  47.                 android:textStyle="bold" />
  48.         </LinearLayout>
  49.     </ScrollView>
  50. </LinearLayout>
');