Skip to content Skip to sidebar Skip to footer

RuntimeException When Clicking On EditText

I have a release Android App that goes smooth on a Nexus 5X running Android 6.0.1. and on a Samsung 5 running Android 5.0. However, on other devices weird exceptions rise when doub

Solution 1:

I have same problem with editText the problem in my case was in my style

        <style name="AppTheme" parent="Theme.AppCompat.Light.NoActionBar">
            <!-- Customize your theme here. -->
            <item name="colorPrimary">@color/colorPrimary</item>
            <item name="android:fontFamily" tools:targetApi="jelly_bean">sans-serif</item>
            <item name="colorPrimaryDark">@color/colorPrimaryDark</item>
            <item name="colorAccent">@color/colorAccent</item>
    </style>

my problem solved by removing this line of code

<item name="android:fontFamily" tools:targetApi="jelly_bean">sans-serif</item>

Post a Comment for "RuntimeException When Clicking On EditText"