T TalChl New Member Dec 27, 2023 #1 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
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
Erel B4X founder Staff member Licensed User Longtime User Dec 28, 2023 #2 Add this to the manifest editor: Code: Copy SetActivityAttribute(Main, android:windowSoftInputMode, "stateVisible") Upvote 0
Add this to the manifest editor: Code: Copy SetActivityAttribute(Main, android:windowSoftInputMode, "stateVisible")
T TalChl New Member Dec 28, 2023 #3 Erel said: Add this to the manifest editor: Code: Copy SetActivityAttribute(Main, android:windowSoftInputMode, "stateVisible") Click to expand... 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
Erel said: Add this to the manifest editor: Code: Copy SetActivityAttribute(Main, android:windowSoftInputMode, "stateVisible") Click to expand... 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
T TalChl New Member Dec 28, 2023 #4 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
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
Erel B4X founder Staff member Licensed User Longtime User Dec 28, 2023 #5 Project - Manifest Editor Upvote 0