mirror of
https://github.com/commons-app/apps-android-commons.git
synced 2025-10-26 20:33:53 +01:00
fix style of filter tab
This commit is contained in:
parent
6267e488b0
commit
5f843bf366
4 changed files with 19 additions and 17 deletions
|
|
@ -4,13 +4,14 @@
|
||||||
android:orientation="horizontal"
|
android:orientation="horizontal"
|
||||||
android:layout_gravity="center_vertical"
|
android:layout_gravity="center_vertical"
|
||||||
xmlns:android="http://schemas.android.com/apk/res/android">
|
xmlns:android="http://schemas.android.com/apk/res/android">
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_gravity="center_vertical"
|
android:layout_gravity="center_vertical"
|
||||||
android:paddingStart="15dp"
|
android:paddingStart="15dp"
|
||||||
android:text="@string/place_state"/>
|
android:text="@string/place_state"
|
||||||
|
android:textColor="@color/white"/>
|
||||||
|
|
||||||
<com.google.android.material.chip.ChipGroup
|
<com.google.android.material.chip.ChipGroup
|
||||||
android:id="@+id/choice_chip_group"
|
android:id="@+id/choice_chip_group"
|
||||||
|
|
|
||||||
|
|
@ -9,13 +9,16 @@
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_gravity="center_vertical"
|
android:layout_gravity="center_vertical"
|
||||||
android:paddingStart="15dp"
|
android:paddingStart="15dp"
|
||||||
android:text="Place type:"/>
|
android:text="@string/place_type"
|
||||||
|
android:textColor="@color/white"/>
|
||||||
|
|
||||||
<SearchView
|
<SearchView
|
||||||
android:id="@+id/search_view"
|
android:id="@+id/search_view"
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="match_parent"
|
android:layout_height="match_parent"
|
||||||
>
|
android:tint="@color/white"
|
||||||
|
android:queryHint="@string/nearby_search_hint"
|
||||||
|
android:searchIcon="@drawable/ic_search_white_24dp">
|
||||||
</SearchView>
|
</SearchView>
|
||||||
|
|
||||||
</LinearLayout>
|
</LinearLayout>
|
||||||
|
|
@ -11,18 +11,15 @@
|
||||||
android:background="@color/status_bar_blue"
|
android:background="@color/status_bar_blue"
|
||||||
android:id="@+id/map_layout">
|
android:id="@+id/map_layout">
|
||||||
|
|
||||||
<LinearLayout
|
<include
|
||||||
android:orientation="vertical" android:layout_width="match_parent"
|
layout="@layout/nearby_filter_all_items"
|
||||||
android:layout_height="match_parent">
|
android:id="@+id/nearby_filter"/>
|
||||||
|
|
||||||
<include layout="@layout/nearby_filter_all_items" />
|
<FrameLayout
|
||||||
|
android:id="@+id/container"
|
||||||
<FrameLayout
|
android:layout_width="match_parent"
|
||||||
android:id="@+id/container"
|
android:layout_height="match_parent"
|
||||||
android:layout_width="match_parent"
|
android:layout_below="@id/nearby_filter"/>
|
||||||
android:layout_height="match_parent" />
|
|
||||||
|
|
||||||
</LinearLayout>
|
|
||||||
|
|
||||||
<View
|
<View
|
||||||
android:id="@+id/transparentView"
|
android:id="@+id/transparentView"
|
||||||
|
|
@ -40,9 +37,9 @@
|
||||||
android:id="@+id/fab_recenter"
|
android:id="@+id/fab_recenter"
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_below="@+id/toolbar"
|
|
||||||
android:layout_alignParentEnd="true"
|
android:layout_alignParentEnd="true"
|
||||||
android:layout_alignParentRight="true"
|
android:layout_alignParentRight="true"
|
||||||
|
android:layout_below="@id/nearby_filter"
|
||||||
android:clickable="true"
|
android:clickable="true"
|
||||||
android:visibility="visible"
|
android:visibility="visible"
|
||||||
app:backgroundTint="@color/main_background_light"
|
app:backgroundTint="@color/main_background_light"
|
||||||
|
|
@ -52,7 +49,6 @@
|
||||||
app:srcCompat="@drawable/ic_my_location_black_24dp"
|
app:srcCompat="@drawable/ic_my_location_black_24dp"
|
||||||
app:useCompatPadding="true" />
|
app:useCompatPadding="true" />
|
||||||
|
|
||||||
|
|
||||||
</RelativeLayout>
|
</RelativeLayout>
|
||||||
|
|
||||||
<include layout="@layout/bottom_sheet_nearby" />
|
<include layout="@layout/bottom_sheet_nearby" />
|
||||||
|
|
|
||||||
|
|
@ -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">Place state:</string>
|
||||||
<string name="place_state_exists">Exists:</string>
|
<string name="place_state_exists">Exists:</string>
|
||||||
<string name="place_state_needs_photo">Needs photo:</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>
|
</resources>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue