Skip to content

Commit

Permalink
Fixed search view margins
Browse files Browse the repository at this point in the history
  • Loading branch information
Cameron Mace committed Nov 28, 2017
1 parent b0843b4 commit 6a9c916
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 8 deletions.
7 changes: 4 additions & 3 deletions plugin-places/src/main/res/layout/activity_complete_card.xml
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,7 @@
<android.support.v7.widget.CardView
android:id="@+id/cardView"
android:layout_width="0dp"
android:layout_height="56dp"
android:layout_margin="8dp"
android:layout_height="wrap_content"
app:cardBackgroundColor="@color/cardview_light_background"
app:cardCornerRadius="8dp"
app:cardElevation="2dp"
Expand All @@ -23,7 +22,9 @@
<com.mapbox.plugins.places.autocomplete.SearchView
android:id="@+id/searchView"
android:layout_width="match_parent"
android:layout_height="42dp"
android:layout_height="wrap_content"
android:layout_marginBottom="8dp"
android:layout_marginTop="8dp"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent"/>
Expand Down
3 changes: 0 additions & 3 deletions plugin-places/src/main/res/layout/view_card_results.xml
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,6 @@
<android.support.v7.widget.CardView
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_marginEnd="8dp"
android:layout_marginStart="8dp"
app:cardBackgroundColor="@color/cardview_light_background"
app:cardCornerRadius="8dp"
app:cardElevation="2dp"
Expand All @@ -22,7 +20,6 @@
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintHorizontal_bias="0.5"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintVertical_bias="0.0"
tools:layout_conversion_absoluteHeight="551dp"
tools:layout_conversion_absoluteWidth="108dp">

Expand Down
3 changes: 1 addition & 2 deletions plugin-places/src/main/res/layout/view_search.xml
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,7 @@
android:layout_width="24dp"
android:layout_height="wrap_content"
android:layout_marginBottom="8dp"
android:layout_marginEnd="8dp"
android:layout_marginRight="8dp"
android:layout_marginEnd="16dp"
android:layout_marginTop="8dp"
android:background="@android:color/transparent"
android:contentDescription="@string/cd_search_clear_button"
Expand Down

0 comments on commit 6a9c916

Please sign in to comment.