Im trying to use Place Picker library in my application but seems I'm having trouble with the style of the Place Picker screen. Can someone tell me how can I style this screen and is it stylable at all? Here is what I'm getting on my device:
and here is my AppTheme that I use:
<!-- Base application theme. -->
<style name="AppTheme" parent="Theme.AppCompat.Light.NoActionBar">
<!-- Customize your theme here. TODO -->
<item name="colorPrimary">@color/colorPrimary</item>
<item name="colorPrimaryDark">@color/colorPrimaryDark</item>
<item name="colorAccent">@color/colorPrimaryDark</item>
<!--style for switchCompat-->
<item name="colorControlActivated">@color/white</item>
<item name="colorSwitchThumbNormal">@color/white</item>
<item name="android:colorForeground">@color/white</item>
<!--<item name="actionBarStyle">@style/Widget.AppTheme.ActionBar</item>-->
<item name="buttonStyle">@style/My.Button</item>
</style>
EDIT: This is only happening on my Note 2 device with android 4.4, does anyone knows a fix for this?
for android versions below 5.0 use
PlaceAutocomplete.MODE_OVERLAY