Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?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"
- tools:context=".doctor_on_boarding.DoctorSpecialityFragment">
- <ScrollView
- android:layout_width="match_parent"
- android:layout_height="0dp"
- android:layout_marginBottom="@dimen/activity_horizontal_margin"
- app:layout_constraintBottom_toTopOf="@id/nextButton"
- app:layout_constraintTop_toTopOf="parent">
- <android.support.constraint.ConstraintLayout
- android:layout_width="match_parent"
- android:layout_height="wrap_content">
- <android.support.v7.widget.AppCompatTextView
- android:id="@+id/instruction_title"
- style="@style/Text.Large.Bold"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_marginTop="@dimen/activity_horizontal_margin"
- android:gravity="center"
- android:text="@string/please_let_us_know_your_medical_field"
- app:layout_constraintEnd_toEndOf="parent"
- app:layout_constraintStart_toStartOf="parent"
- app:layout_constraintTop_toTopOf="parent" />
- <RadioGroup
- android:id="@+id/radioGroup"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_marginTop="@dimen/activity_horizontal_margin"
- android:orientation="vertical"
- app:layout_constraintTop_toBottomOf="@id/instruction_title">
- <com.bs.pulse.utils.CustomRadioButton
- android:id="@+id/general_practitioner"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:checked="true"
- android:paddingStart="@dimen/activity_horizontal_margin"
- android:text="@string/general_practitioner"
- android:textColor="@color/text_color_medium_dark_grey" />
- <com.bs.pulse.utils.CustomRadioButton
- android:id="@+id/specialist"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_marginTop="@dimen/size_8dp"
- android:paddingStart="@dimen/activity_horizontal_margin"
- android:text="@string/specialist"
- android:textColor="@color/text_color_medium_dark_grey" />
- </RadioGroup>
- <android.support.constraint.ConstraintLayout
- android:id="@+id/primary_speciality_layout"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:visibility="gone"
- tools:visibility="visible"
- app:layout_constraintTop_toBottomOf="@id/radioGroup">
- <android.support.v7.widget.AppCompatTextView
- android:id="@+id/speciality_add_note"
- style="@style/Text.Medium.Bold"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_marginTop="@dimen/activity_horizontal_margin"
- android:gravity="center"
- android:text="@string/please_add_your_primary_medical_speciality_and_sub_speciality"
- app:layout_constraintEnd_toEndOf="parent"
- app:layout_constraintStart_toStartOf="parent"
- app:layout_constraintTop_toTopOf="parent" />
- <android.support.v7.widget.RecyclerView
- android:id="@+id/speciality_recycler_view"
- android:layout_width="match_parent"
- app:layout_constraintTop_toBottomOf="@id/speciality_add_note"
- android:layout_height="wrap_content"
- tools:itemCount="2"
- android:layout_marginTop="@dimen/activity_horizontal_margin"
- tools:listitem="@layout/item_speciality">
- </android.support.v7.widget.RecyclerView>
- <android.support.v7.widget.AppCompatButton
- style="@style/RoundedBorderButtonStyle"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_marginTop="@dimen/activity_horizontal_margin"
- android:paddingStart="@dimen/activity_horizontal_margin"
- android:paddingEnd="@dimen/activity_horizontal_margin"
- android:text="@string/add_speciality"
- app:layout_constraintEnd_toEndOf="parent"
- app:layout_constraintStart_toStartOf="parent"
- app:layout_constraintTop_toBottomOf="@id/speciality_recycler_view" />
- </android.support.constraint.ConstraintLayout>
- <android.support.v7.widget.AppCompatTextView
- android:layout_width="match_parent"
- android:id="@+id/special_interest_label"
- android:layout_height="wrap_content"
- app:layout_constraintTop_toBottomOf="@id/primary_speciality_layout"
- android:layout_marginTop="@dimen/activity_horizontal_margin"
- android:text="@string/special_interest_if_any"
- android:drawableEnd="@drawable/ic_keyboard_arrow_right_black_24dp"
- style="@style/Text.Medium.Normal"/>
- <View
- android:id="@+id/special_interest_horizontal_view"
- android:layout_width="match_parent"
- android:layout_height="1dp"
- android:background="@drawable/gray_button_background"
- app:layout_constraintTop_toBottomOf="@id/special_interest_label"
- android:layout_marginTop="@dimen/size_4dp"/>
- <android.support.v7.widget.RecyclerView
- android:id="@+id/special_interest_recycler_view"
- app:layout_constraintTop_toBottomOf="@id/special_interest_horizontal_view"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- tools:itemCount="3">
- </android.support.v7.widget.RecyclerView>
- </android.support.constraint.ConstraintLayout>
- </ScrollView>
- <android.support.v7.widget.AppCompatButton
- android:id="@+id/nextButton"
- style="@style/RoundedButtonStyle"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:paddingStart="48dp"
- android:paddingEnd="48dp"
- android:text="@string/next"
- app:layout_constraintBottom_toBottomOf="parent"
- app:layout_constraintEnd_toEndOf="parent"
- app:layout_constraintStart_toStartOf="parent" />
- </android.support.constraint.ConstraintLayout>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement