fix style of filter tab

This commit is contained in:
neslihanturan 2019-10-09 11:32:21 +03:00
parent 6267e488b0
commit 5f843bf366
4 changed files with 19 additions and 17 deletions

View file

@ -10,7 +10,8 @@
android:layout_height="wrap_content"
android:layout_gravity="center_vertical"
android:paddingStart="15dp"
android:text="@string/place_state"/>
android:text="@string/place_state"
android:textColor="@color/white"/>
<com.google.android.material.chip.ChipGroup
android:id="@+id/choice_chip_group"

View file

@ -9,13 +9,16 @@
android:layout_height="wrap_content"
android:layout_gravity="center_vertical"
android:paddingStart="15dp"
android:text="Place type:"/>
android:text="@string/place_type"
android:textColor="@color/white"/>
<SearchView
android:id="@+id/search_view"
android:layout_width="wrap_content"
android:layout_height="match_parent"
>
android:tint="@color/white"
android:queryHint="@string/nearby_search_hint"
android:searchIcon="@drawable/ic_search_white_24dp">
</SearchView>
</LinearLayout>

View file

@ -11,18 +11,15 @@
android:background="@color/status_bar_blue"
android:id="@+id/map_layout">
<LinearLayout
android:orientation="vertical" android:layout_width="match_parent"
android:layout_height="match_parent">
<include
layout="@layout/nearby_filter_all_items"
android:id="@+id/nearby_filter"/>
<include layout="@layout/nearby_filter_all_items" />
<FrameLayout
android:id="@+id/container"
android:layout_width="match_parent"
android:layout_height="match_parent" />
</LinearLayout>
<FrameLayout
android:id="@+id/container"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_below="@id/nearby_filter"/>
<View
android:id="@+id/transparentView"
@ -40,9 +37,9 @@
android:id="@+id/fab_recenter"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_below="@+id/toolbar"
android:layout_alignParentEnd="true"
android:layout_alignParentRight="true"
android:layout_below="@id/nearby_filter"
android:clickable="true"
android:visibility="visible"
app:backgroundTint="@color/main_background_light"
@ -52,7 +49,6 @@
app:srcCompat="@drawable/ic_my_location_black_24dp"
app:useCompatPadding="true" />
</RelativeLayout>
<include layout="@layout/bottom_sheet_nearby" />

View file

@ -584,4 +584,6 @@ Upload your first media by tapping on the add button.</string>
<string name="place_state">Place state:</string>
<string name="place_state_exists">Exists:</string>
<string name="place_state_needs_photo">Needs photo:</string>
<string name="place_type">Place type:</string>
<string name="nearby_search_hint">Bridge, museum, hotel etc.</string>
</resources>