I am trying to set multiple Input Types (All caps, 8192 and No suggestions, 524288). I have searched everywhere and can find no example of how to apply two (or more) input types to a field.
Along with the above, I added to the manifest:
SetActivityAttribute(main, android:windowSoftInputMode, adjustResize|stateHidden)
thinking this would stop suggestions everywhere (super desirable) but that didn't work either.
Using the ViewsEx Events, the code:
(FloatLabeledEditText): Left=22, Top=11, Width=311, Height=111, Tag=t1
t1
java.lang.ClassCastException: android.widget.EditText cannot be cast to com.wrapp.floatlabelededittext.FloatLabeledEditText
Changing the FloatLabelText to EditText stops the crash, but produces:
(EditText): Layout not available, Text=Aaron
Lastly, is there any why to "loop" through a whole dialog view to access all elements?
Any assistance would be greatly appreciated.
Regards
Ed Sharp
Along with the above, I added to the manifest:
SetActivityAttribute(main, android:windowSoftInputMode, adjustResize|stateHidden)
thinking this would stop suggestions everywhere (super desirable) but that didn't work either.
Using the ViewsEx Events, the code:
B4X:
Sub Dialog_FocusChanged(HasFocus As Boolean)
Dim who As FloatLabeledEditText
who = Sender
Log(who & crlf & who.Tag)
(FloatLabeledEditText): Left=22, Top=11, Width=311, Height=111, Tag=t1
t1
B4X:
Sub Dialog_EnterPressed
Dim who As FloatLabeledEditText
who = Sender
Log(who)
java.lang.ClassCastException: android.widget.EditText cannot be cast to com.wrapp.floatlabelededittext.FloatLabeledEditText
Changing the FloatLabelText to EditText stops the crash, but produces:
(EditText): Layout not available, Text=Aaron
Lastly, is there any why to "loop" through a whole dialog view to access all elements?
Any assistance would be greatly appreciated.
Regards
Ed Sharp