Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?xml version="1.0" encoding="utf-8"?>
- <androidx.coordinatorlayout.widget.CoordinatorLayout 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"
- android:background="@android:color/white"
- android:fillViewport="true"
- android:fitsSystemWindows="true">
- <com.google.android.material.appbar.AppBarLayout
- android:id="@+id/appbar"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_alignParentTop="true"
- android:background="@color/colorPrimary"
- android:theme="@style/ThemeOverlay.AppCompat.Dark.ActionBar"
- app:elevation="0dp"
- app:layout_constraintTop_toTopOf="parent">
- <androidx.appcompat.widget.Toolbar
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- app:popupTheme="@style/ThemeOverlay.AppCompat.Light">
- <androidx.appcompat.widget.AppCompatImageButton
- android:id="@+id/back_btn"
- android:layout_width="50dp"
- android:layout_height="50dp"
- android:layout_marginStart="@dimen/text_margin"
- android:background="@drawable/search_side"
- android:padding="@dimen/text_margin"
- android:rotation="180"
- android:scaleType="centerInside"
- android:src="@drawable/ic_arrow_right"
- android:tint="@color/textHeading" />
- <View
- android:layout_width="1dp"
- android:layout_height="50dp"
- android:background="@color/sepColor" />
- <androidx.appcompat.widget.AppCompatEditText
- android:layout_width="match_parent"
- android:layout_height="50dp"
- android:layout_marginTop="@dimen/text_margin"
- android:layout_marginEnd="@dimen/text_margin"
- android:layout_marginBottom="@dimen/text_margin"
- android:background="@drawable/search_edt_view"
- android:drawableEnd="@drawable/ic_search"
- android:ellipsize="end"
- android:gravity="center_vertical"
- android:hint="@string/search_tour_hint"
- android:maxLines="1"
- android:padding="@dimen/text_margin"
- android:textColor="@color/textPrimary"
- android:textColorHint="@color/textHint"
- android:textSize="@dimen/text_14"
- android:theme="@style/SearchViewTheme" />
- </androidx.appcompat.widget.Toolbar>
- </com.google.android.material.appbar.AppBarLayout>
- <androidx.core.widget.NestedScrollView
- android:id="@+id/nested"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:clipToPadding="false"
- app:layout_behavior="@string/appbar_scrolling_view_behavior">
- <LinearLayout
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:orientation="vertical">
- <LinearLayout
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_margin="@dimen/text_margin"
- android:orientation="horizontal">
- <androidx.appcompat.widget.AppCompatTextView
- android:id="@+id/dates"
- android:layout_width="match_parent"
- android:layout_height="@dimen/btn_size"
- android:layout_marginEnd="@dimen/padding"
- android:layout_weight="1"
- android:background="@drawable/guide_btn_border"
- android:drawableStart="@drawable/ic_date_search"
- android:drawablePadding="@dimen/text_margin"
- android:drawableTint="@color/textHeading"
- android:gravity="center"
- android:paddingLeft="@dimen/text_margin"
- android:paddingTop="@dimen/padding"
- android:paddingRight="@dimen/text_margin"
- android:paddingBottom="@dimen/padding"
- android:text="@string/dates"
- android:textAllCaps="false"
- android:textColor="@color/textHeading"
- android:textSize="@dimen/text_14"
- app:fontFamily="@font/interegular" />
- <androidx.appcompat.widget.AppCompatTextView
- android:id="@+id/filters"
- android:layout_width="match_parent"
- android:layout_height="@dimen/btn_size"
- android:layout_marginStart="@dimen/padding"
- android:layout_weight="1"
- android:background="@drawable/guide_btn_border"
- android:drawableStart="@drawable/ic_filter_search"
- android:drawablePadding="@dimen/text_margin"
- android:drawableTint="@color/textHeading"
- android:gravity="center"
- android:paddingLeft="@dimen/text_margin"
- android:paddingTop="@dimen/padding"
- android:paddingRight="@dimen/text_margin"
- android:paddingBottom="@dimen/padding"
- android:text="@string/filter"
- android:textAllCaps="false"
- android:textColor="@color/textHeading"
- android:textSize="@dimen/text_14"
- app:fontFamily="@font/interegular" />
- </LinearLayout>
- <androidx.appcompat.widget.AppCompatTextView
- android:id="@+id/title"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_marginLeft="@dimen/text_margin"
- android:layout_marginRight="@dimen/text_margin"
- android:fontFamily="@font/interbold"
- android:gravity="left"
- android:text="@string/recomendation_tour"
- android:textAllCaps="false"
- android:textColor="@color/textPrimary"
- android:textSize="@dimen/text_22"
- app:fontFamily="@font/interbold"
- app:layout_constraintLeft_toLeftOf="parent"
- app:layout_constraintTop_toTopOf="parent" />
- <androidx.recyclerview.widget.RecyclerView
- android:id="@+id/tour_popular_list"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_marginStart="@dimen/text_margin"
- android:layout_marginBottom="@dimen/text_margin"
- android:nestedScrollingEnabled="false"
- android:orientation="horizontal"
- app:layoutManager="androidx.recyclerview.widget.LinearLayoutManager"
- tools:listitem="@layout/row_tour" />
- <View
- android:layout_width="match_parent"
- android:layout_height="0.5dp"
- android:layout_marginLeft="@dimen/text_margin"
- android:layout_marginRight="@dimen/text_margin"
- android:background="@color/sepColor" />
- <androidx.recyclerview.widget.RecyclerView
- android:id="@+id/tour_list"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_marginStart="@dimen/text_margin"
- android:layout_marginEnd="@dimen/text_margin"
- android:nestedScrollingEnabled="false"
- tools:listitem="@layout/row_tour" />
- <ProgressBar
- android:id="@+id/progress"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_gravity="center"
- android:visibility="gone" />
- </LinearLayout>
- </androidx.core.widget.NestedScrollView>
- <androidx.appcompat.widget.AppCompatButton
- android:id="@+id/tour_btn"
- android:layout_width="match_parent"
- android:layout_height="@dimen/btn_size"
- android:layout_gravity="bottom"
- android:layout_margin="@dimen/text_margin"
- android:background="@drawable/primary_btn"
- android:drawableStart="@drawable/ic_request_tour"
- android:paddingLeft="@dimen/text_margin"
- android:paddingRight="@dimen/text_margin"
- android:text="@string/tour_request"
- android:textAllCaps="false"
- android:textColor="@android:color/white"
- android:visibility="visible"
- app:fontFamily="@font/interbold" />
- </androidx.coordinatorlayout.widget.CoordinatorLayout>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement