Hello : i want to make my activity appear like that my activity have a edittext with button inside cardview only .
Use Bottom Sheet Dialogs, follow step by step instructions on this site here: https://www.section.io/engineering-education/bottom-sheet-dialogs-using-android-studio/