OnClickListener firing when tab button is clicked on keyboard

128
February 10, 2018, at 04:25 AM

I have a custom EditText which I am forcing the cursor to appear at the very end. The way I do this is:

myEditText.setOnClickListener....{setSelection(getText().length)}

This works perfectly. The problem however is that when the Keyboard appears, if I click on the next button on the keyboard: -> Then it for some reason fires the onClick method, and the next view doesn't get focus... The focus stays on the current view.

READ ALSO
How to change drawable shape color based on spinner selection

How to change drawable shape color based on spinner selection

I am trying to figure out how to change the solid color and the stroke color based on the spinner selection

124
Chrome Mobile, Change Navigation Bar (Back, Home, Recent Buttons) Background Color?

Chrome Mobile, Change Navigation Bar (Back, Home, Recent Buttons) Background Color?

recent update to google chrome on android makes the navigation bar background white & dark themed sites look crappy with this at the bottom imo (screenshot below)

103
error in db.query and its method

error in db.query and its method

I'm trying to read 2nd column in last record using a cursorFirst, does the code layout for query and method looks workable? If not what could be improved?

125