Android Question Numeric Keypad

TalChl

New Member
Can I get the numeric keypad to start when my app starts instead of having to tap on an edittext.view ?
Thanks for any answers/help
Talch
 

TalChl

New Member
Add this to the manifest editor:
B4X:
SetActivityAttribute(Main, android:windowSoftInputMode, "stateVisible")
Hi Erel, Thanks for the reply. Is the manifest editor the B4XMainPage? I have copied that line of code and tried placing it just about everywhere but it always caused an error. My fault i'm sure as I don't know where exactly I should place it.
Thanks again,
Talch
 
Upvote 0

TalChl

New Member
Hi Erel, I finally found the manifest editor and inserted that line of code in the correct position and it works perfectly. Thanks very very much. So now when my app opens an edittext.view already has focus and the numeric keypad is open, exactly what I wanted. Looks great.
Once again, many thanks
Talch
 
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…