Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?xml version="1.0" encoding="utf-8"?>
- <ScrollView
- 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"
- tools:context=".MainActivity"
- tools:showIn="@layout/activity_main">
- <RelativeLayout
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:background="@color/white"
- app:layout_behavior="@string/appbar_scrolling_view_behavior"
- tools:context=".MainActivity">
- <LinearLayout
- android:id="@+id/addDoctorLayout"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_marginLeft="20sp"
- android:layout_marginTop="60sp"
- android:layout_marginRight="20sp"
- android:layout_marginBottom="20sp"
- android:background="@drawable/card_pink"
- android:orientation="vertical">
- <ImageView
- android:layout_width="wrap_content"
- android:layout_height="160dp"
- android:layout_gravity="center"
- android:adjustViewBounds="true"
- android:maxWidth="70dp"
- android:maxHeight="70dp"
- android:scaleType="fitCenter"
- android:src="@drawable/ic_add_doctor" />
- <TextView
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:background="@drawable/textview_card_style"
- android:fontFamily="@font/ubuntu_regular"
- android:gravity="center"
- android:paddingTop="10dp"
- android:paddingBottom="10dp"
- android:text="Add Doctor"
- android:textColor="@color/white"
- android:textSize="25sp" />
- </LinearLayout>
- <LinearLayout
- android:id="@+id/updateAndViewDoctorLayout"
- android:layout_width="match_parent"
- android:layout_height="200dp"
- android:layout_below="@+id/addDoctorLayout"
- android:layout_marginLeft="20sp"
- android:layout_marginRight="20sp"
- android:background="@color/white"
- android:baselineAligned="false"
- android:orientation="horizontal">
- <LinearLayout
- android:id="@+id/updateDoctorLayout"
- android:layout_width="0dp"
- android:layout_height="match_parent"
- android:layout_marginRight="5dp"
- android:layout_weight="2"
- android:background="@drawable/card_indigo"
- android:orientation="vertical">
- <ImageView
- android:layout_width="wrap_content"
- android:layout_height="160dp"
- android:layout_gravity="center"
- android:adjustViewBounds="true"
- android:maxWidth="70dp"
- android:maxHeight="70dp"
- android:scaleType="fitCenter"
- android:src="@drawable/ic_update_doctor" />
- <TextView
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:background="@drawable/textview_card_style"
- android:fontFamily="@font/ubuntu_regular"
- android:gravity="center"
- android:text="Update Doctor"
- android:textColor="@color/white"
- android:textSize="25sp" />
- </LinearLayout>
- <LinearLayout
- android:id="@+id/viewDoctorLayout"
- android:layout_width="0dp"
- android:layout_height="match_parent"
- android:layout_marginLeft="5dp"
- android:layout_weight="2"
- android:background="@drawable/card_amber"
- android:orientation="vertical">
- <ImageView
- android:layout_width="wrap_content"
- android:layout_height="160dp"
- android:layout_gravity="center"
- android:adjustViewBounds="true"
- android:maxWidth="70dp"
- android:maxHeight="70dp"
- android:scaleType="fitCenter"
- android:src="@drawable/ic_view_doctors" />
- <TextView
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:background="@drawable/textview_card_style"
- android:fontFamily="@font/ubuntu_regular"
- android:gravity="center"
- android:text="View Doctors"
- android:textColor="@color/white"
- android:textSize="25sp" />
- </LinearLayout>
- </LinearLayout>
- <LinearLayout
- android:id="@+id/addAndViewMedicalHistory"
- android:layout_width="match_parent"
- android:layout_height="200dp"
- android:layout_below="@+id/updateAndViewDoctorLayout"
- android:layout_marginLeft="20sp"
- android:layout_marginTop="20sp"
- android:layout_marginRight="20sp"
- android:background="@color/white"
- android:baselineAligned="false"
- android:orientation="horizontal">
- <LinearLayout
- android:id="@+id/addMedicalHistory"
- android:layout_width="0dp"
- android:layout_height="match_parent"
- android:layout_marginRight="5dp"
- android:layout_weight="2"
- android:background="@drawable/card_green"
- android:orientation="vertical">
- <ImageView
- android:layout_width="wrap_content"
- android:layout_height="160dp"
- android:layout_gravity="center"
- android:adjustViewBounds="true"
- android:maxWidth="70dp"
- android:maxHeight="70dp"
- android:scaleType="fitCenter"
- android:src="@drawable/ic_add_medical" />
- <TextView
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:background="@drawable/textview_card_style"
- android:fontFamily="@font/ubuntu_regular"
- android:gravity="center"
- android:text="Add Medical History"
- android:textColor="@color/white"
- android:textSize="25sp" />
- </LinearLayout>
- <LinearLayout
- android:id="@+id/viewMedicalHistory"
- android:layout_width="0dp"
- android:layout_height="match_parent"
- android:layout_marginLeft="5dp"
- android:layout_weight="2"
- android:background="@drawable/card_cyan"
- android:orientation="vertical">
- <ImageView
- android:layout_width="wrap_content"
- android:layout_height="160dp"
- android:layout_gravity="center"
- android:adjustViewBounds="true"
- android:maxWidth="70dp"
- android:maxHeight="70dp"
- android:scaleType="fitCenter"
- android:src="@drawable/ic_show_medical" />
- <TextView
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:background="@drawable/textview_card_style"
- android:fontFamily="@font/ubuntu_regular"
- android:gravity="center"
- android:text="View Medical History"
- android:textColor="@color/white"
- android:textSize="25sp" />
- </LinearLayout>
- </LinearLayout>
- </RelativeLayout>
- </ScrollView>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement