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
91 stars 40 forks source link

How can we add my views in the Giphy Dialog? #224

Open roopkishore101 opened 2 months ago

roopkishore101 commented 2 months ago

I want to add TextView in the dialog at the top, and cross button at the top right corner. and handle the clicks of that cross icon. How can I achieve this?

Thanks

ALexanderLonsky commented 2 months ago

Hey @roopkishore101, You can only customize the color scheme for the GiphyDialogFragment. To further extend customization, you should opt for the grid-only solution, where you'll need to provide your own search field to obtain text input from the user, and update the grid's content in response to user interaction or searches. For example, you can refer to this demo.