Android Question Biometric error with title

AkuryuBR

Member
Ho to all, i have a strange problem, of i install the biometric example and set the title of application off, the title don't disappear, instead of i commenti the code in this mode
B4X:
#AdditionalJar: androidx.biometric:biometric
'#Extends: android.support.v7.app.AppCompatActivity
#AdditionalJar: androidx.arch.core:core-runtime
#AdditionalJar: androidx.appcompat:appcompat
The application crash when i call the autentication bit the title disappear
 

Erel

B4X founder
Staff member
Licensed User
Longtime User

For some strange reason, the activity must be an appcompat activity. You need to change the theme:
B4X:
CreateResource(values, theme.xml,
<resources>
    <style name="MyAppTheme" parent="Theme.AppCompat.Light.NoActionBar">
    </style>
</resources>
)
 
Upvote 0

Similar Threads

Cookies are required to use this site. You must accept them to continue using the site. Learn more…