How to implement lines underneath which letters can go Android

Ali Alaoui

Newbie
Joined
Jun 12, 2017
Messages
30
Reaction score
6
Hello BlackHatWorld,

I'm a beginner with Android, and right now I want to code a simple guessing app for practice. I want to implement the same lines that are shown https://i.stack.imgur.com/gKWTH.png, but I want the user to be able to click on buttons below that will make letters appear above these lines. When the user clicks on the lines, the letter above the line should disappear from above the line. Therefore, the lines would be some type of Button, but I cannot figure out how exactly I would implement them. I do not think they would be ImageButtons either, since I need the letters to appear above the lines. How would I go about incorporating the lines in the XML file? Thank you!
 
Back
Top