How to implement it as a button in Android Studio?
Hello, can you tell me how best to implement this picture in the form of a button in Android Studio? To realize in one picture, add a picture, and under it the text or as something different?
Have a TextView (the successor of which is the class Button) there is such a wonderful thing as compound drawables - can draw the image on the left/right/top/bottom of the text. You as it should be.
Friend like not asking about the Android and about the Studio... :) - Gisselle.Sporer commented on July 8th 19 at 12:18
Beginners very often formulate their questions so that you need to guess what they meant. In this case, probably meant, "How do I create a button in Android application?" - carrie commented on July 8th 19 at 12:21
Maxie_Kovacek answered on July 8th 19 at 12:17
Solution
Solved the problem in the following way. Created imageView, made it clickable and textView set up with the help of gravitatsii
Gisselle.Sporer answered on July 8th 19 at 12:19
Why do You need such a button in Android Studio? :)
For example, take the first picture. And she needed to play the sound - Gisselle.Sporer commented on July 8th 19 at 12:22
Please sign in or sign up to write your answer or comment.