Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?xml version="1.0" encoding="utf-8"?>
- <RelativeLayout 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:id="@+id/container"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- tools:context=".LandingPage.LandingPageProjectLocal">
- <LinearLayout
- android:id="@+id/searchbar"
- android:layout_width="match_parent"
- android:layout_height="50dp"
- android:background="@color/colorAccent">
- <!--<View-->
- <!--android:id="@+id/searchView_stranger"-->
- <!--android:layout_width="match_parent"-->
- <!--android:layout_height="1dp"-->
- <!--android:layout_weight="2"-->
- <!--android:background="@color/colorRed"-->
- <!--android:visibility="gone" />-->
- <TextView
- android:id="@+id/search_stranger"
- android:layout_width="match_parent"
- android:layout_height="50dp"
- android:textStyle="bold"
- android:textSize="40sp"
- android:text="SEARCH"
- android:textColor="@color/colorWhite"
- android:textAlignment="center"/>
- </LinearLayout>
- <LinearLayout
- android:layout_marginTop="50dp"
- android:id="@+id/header_stranger"
- android:layout_width="match_parent"
- android:layout_height="@dimen/size_50"
- android:orientation="horizontal"
- android:weightSum="10">
- <LinearLayout
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:layout_weight="5"
- android:orientation="vertical"
- android:weightSum="10">
- <TextView
- android:id="@+id/local_stranger"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:layout_weight="8"
- android:gravity="center"
- android:text="Local"
- android:textAlignment="center"
- android:textColor="@color/black_header"
- android:textSize="@dimen/font_16"
- android:textStyle="bold" />
- <View
- android:id="@+id/localView_stranger"
- android:layout_width="match_parent"
- android:layout_height="1dp"
- android:layout_weight="2"
- android:background="@color/colorCyan_27AAE2"
- android:visibility="gone" />
- </LinearLayout>
- <LinearLayout
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:layout_weight="5"
- android:orientation="vertical">
- <TextView
- android:id="@+id/overseas-stranger"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:layout_weight="8"
- android:gravity="center"
- android:text="Overseas"
- android:textAlignment="center"
- android:textColor="@color/black_header"
- android:textSize="@dimen/font_16"
- android:textStyle="bold" />
- <View
- android:id="@+id/overseasView_stranger"
- android:layout_width="match_parent"
- android:layout_height="1dp"
- android:layout_weight="2"
- android:background="@color/colorCyan_27AAE2"
- android:visibility="gone" />
- </LinearLayout>
- </LinearLayout>
- <android.support.v7.widget.RecyclerView
- app:layoutManager="android.support.v7.widget.GridLayoutManager"
- app:spanCount="2"
- android:layout_below="@id/header_stranger"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:layout_marginTop="16dp"
- android:layout_marginLeft="16dp"
- android:layout_marginRight="16dp"
- android:id="@+id/recyclerviewid">
- </android.support.v7.widget.RecyclerView>
- <android.support.design.widget.BottomNavigationView
- android:id="@+id/nav_view"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_alignParentBottom="true"
- android:layout_gravity="bottom"
- android:background="@color/colorPrimary"
- app:itemIconTint="@drawable/selector"
- app:itemTextColor="@drawable/selector"
- app:labelVisibilityMode="labeled"
- app:menu="@menu/bottom_nav_menu" />
- </RelativeLayout>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement