![Java unable to install. error code 1618.](https://knopkazmeya.com/8.png)
Make sure your Spinner has a style attached to it.
How to change default video player app on android 6.0 update#
I had the same issue and my plan was to rollback the 6.0.1 update for v23 only. You should add also add this to your drawable-v23 folder: Ĭredits go to alanv from the Android UI toolkit for Guidance! Where ic_spinner_caret is a vector used from the Android source code looking like this. The second one goes to the drawable-v23 folder to properly support ripple and looks like this, spinner_background.xml: In fact I would recommend you to do so): Īnd bg_spinner_anchor is a 9patch PNG for the caret. Where selector_background_borderless is a plain selector like(I added the minimal items you need, you could explore it's ripple alternative for v21+. First one goes to the drawable folder and looks like this, spinner_background.xml: Using AppCompatSpinner I had to create 2 xmls for the background, let's call this spinner_background.xml:ġ. With minimal effort I was able to fix this by building a custom background for the spinner. Using AppCompatSpinner from the support library does not change the behaviour. The one below is also taken on a Nexus 5 device BUT running on Android 6.0.1.The one on the top is taken on a Nexus 5 device running on Android 6.0.The screenshot is combined of 2 separate screenshots taken: The layout used by the Spinner adapter for the getView() method is this: I have 2 spinners one next to the other in a RelativeLayout(mind the rest of the components, I added everything so you can see this part of the layout - removed the totally unnecessary properties or view ids) I noticed this on an app where I haven't modified anything in the code, but simply updated the OS on the device and yet the spinners have different sizes. With the new release of Android 6.0.1, seems like Android made some changes on the Spinner component because by default, the inner padding around the down carrot is a bit bigger.
![Java unable to install. error code 1618.](https://knopkazmeya.com/8.png)