android - Remove Shadow in GeocoderAutoCompleteView - Mapbox -


how remove border shadow in: com.mapbox.services.android.geocoder.ui.geocoderautocompleteview

enter image description here

could provide xml geocoder? geocoding widget extends edittext therefore, should able change styling similar edittext. in demo app xml widget looks this:

<com.mapbox.services.android.geocoder.ui.geocoderautocompleteview     android:id="@+id/query"     android:layout_width="match_parent"     android:layout_height="wrap_content"     android:layout_alignparentleft="true"     android:layout_alignparentstart="true"     android:layout_alignparenttop="true"     android:layout_marginend="18dp"     android:layout_marginstart="18dp"     android:layout_margintop="14dp"     android:background="@android:color/white"     android:elevation="12dp"     android:hint="search location"     android:padding="10dp"     android:singleline="true"     android:textcolor="@android:color/black"/> 

removing android:elevation="12dp" removes "shadow".

on side note, screenshot above, shadow looks pretty ;)


Comments