Giphy / giphy-android-sdk

Home of the GIPHY SDK Android example app, along with Android SDK documentation, issue tracking, & release notes.
https://developers.giphy.com/
Mozilla Public License 2.0
94 stars 37 forks source link

Gray Top App Bar #222

Closed kartiksharmakk closed 4 months ago

kartiksharmakk commented 6 months ago

i can observe a gray top system app bar (whenever i initiate GiphyDialogFragment) and it is the only screen in my app where it happens

Android 13

val settings = GPHSettings()
        settings.imageFormat = ImageFormat.GIF
        settings.renditionType = RenditionType.fixedWidth

        gifDialogFragment = GiphyDialogFragment.newInstance(settings)
ALexanderLonsky commented 4 months ago

Hey @kartiksharmakk Apologies for the delayed response. The simplest solution for now would be to override the style to make the status bar transparent.

<style name="GiphyWaterfallDialogStyle" parent="GiphyDialogStyle">
        <item name="android:backgroundDimEnabled">true</item>
        <item name="android:backgroundDimAmount">0.2</item>

        <item name="android:statusBarColor">@color/gph_transparent</item>
</style>
kartiksharmakk commented 4 months ago

@ALexanderLonsky

Thank you very much. This resolves the issue 👍.

ALexanderLonsky commented 4 months ago

fixed in v2.3.14