I am using the OSS Licenses Gradle Plugin to include references to OSS licenses in my app.
Unfortunately, the ActionBar in the OssLicensesActivity covers the license text on some devices. The screenshot below shows a Pixel 6 phone running Android 15:
AndroidManifest.xml:
<activity
android:name="com.google.android.gms.oss.licenses.OssLicensesActivity"
android:theme="@style/OSSLicensesTheme"
android:exported="false"
<meta-data
android:name="android.app.lib_name"
android:value="" />
</activity>
themes.xml:
<style name="OSSLicensesTheme" parent="Theme.Material3.Light">
<item name="android:textColor">@color/black</item>
<item name="android:textColorLink">@color/purple_700</item>
</style>
I would like to have the ActionBar at the very top of the screen and any license texts beginning below of it.
Any ideas to make this work?