Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?xml version="1.0" encoding="utf-8"?>
- <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
- xmlns:app="http://schemas.android.com/apk/res-auto"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:background="@color/colorWhite"
- android:orientation="vertical"
- android:padding="16dp">
- <!-- NOTE: This list should be displayed in a list
- instead of nested layouts -->
- <LinearLayout
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_marginTop="6dp"
- android:layout_marginBottom="6dp">
- <ImageView
- android:id="@+id/icon_userName"
- android:layout_width="24dp"
- android:layout_height="24dp"
- android:layout_gravity="center"
- android:layout_marginStart="8dp"
- android:background="@drawable/ic_search"
- app:backgroundTint="@color/cardview_dark_background" />
- <EditText
- android:id="@+id/edt_search"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:background="@null"
- android:hint="@string/search_hint"
- android:imeOptions="actionSearch"
- android:padding="10dp"
- android:singleLine="true"
- android:textColor="@color/input_login"
- android:textColorHint="@color/input_login_hint"
- android:textSize="15sp"
- android:inputType="textCapSentences" />
- </LinearLayout>
- <View
- android:layout_width="match_parent"
- android:layout_height="0.5dp"
- android:background="@android:color/darker_gray" />
- <TextView
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_marginTop="16dp"
- android:text="Tutor Background:" />
- <LinearLayout
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_marginTop="12dp"
- android:layout_marginBottom="16dp"
- android:orientation="vertical">
- <RadioGroup
- android:id="@+id/holderRadioGroup"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:orientation="horizontal">
- <RadioButton
- android:id="@+id/rb_science"
- android:layout_width="0dp"
- android:layout_height="wrap_content"
- android:layout_weight="1"
- android:checked="true"
- android:text="Science"
- android:textColor="@android:color/black" />
- <RadioButton
- android:id="@+id/rb_commerce"
- android:layout_width="0dp"
- android:layout_height="wrap_content"
- android:layout_weight="1"
- android:checked="false"
- android:text="Commerce"
- android:textColor="@android:color/black" />
- <RadioButton
- android:id="@+id/rd_arts"
- android:layout_width="0dp"
- android:layout_height="wrap_content"
- android:layout_weight="1"
- android:checked="false"
- android:text="Arts"
- android:textColor="@android:color/black" />
- </RadioGroup>
- </LinearLayout>
- <Button
- android:id="@+id/btn_search"
- style="@style/Widget.AppCompat.Button.Borderless.Colored"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_gravity="end"
- android:text="Search"
- android:textAllCaps="false" />
- </LinearLayout>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement