Tutorial

Tutorials, how to’s with large content

  1. Home
  2. chevron_right
  3. Tutorial
  4. (Page 7)

Detect when Done key is pressed

Tutorial
If you want to detect when a key from soft keyboard is pressed, like Done key, you can use the following code: mEditText = (EditText)findViewById(R.id.edit); mEditText.setOnEditorActionListener(new TextView.OnEditorActionListener() { @Override public…

Android Gallery with Dots On Scroll

Tutorial
In this tutorial I will show you how to create an Android Gallery and how to create dots or little circles when you scroll the images. So let’s start: 1.…