Friday, 25 May 2018

You need to use a Theme.AppCompat theme (or descendant) with this activity.

solution:


<application    
    android:allowBackup="true"    android:icon="@mipmap/ic_launcher"    android:label="@string/app_name"    android:supportsRtl="true"    android:theme="@style/AppTheme">
    <activity        android:name=".MainActivity"        android:launchMode="singleTop"        android:theme="@style/Theme.AppCompat.Light.NoActionBar"

No comments:

Post a comment