About

This is an example of a WordPress page, you could edit this to put information about yourself or your site so readers know where you are coming from. You can create as many pages like this one or sub-pages as you like and manage all of your content inside of WordPress.

Advertisements

2 thoughts on “About

  1. I tried your code of ClearableEditBox. It works perfectly. Thanks a lot.
    However, there is a small problem. My Editbox originally set with android:numeric=decimal|integer. But it seemed that the new ClearableEditBox cannot be set with the same attribute. And now the keypad appear are always with text first.
    Please keep me posted if you see a way to set that attribute.

    • Hi Ted,
      Thanks for your comment. Property android:numeric has been deprecated, now you can use android:inputType.
      You can create a method in ClearableEditText class.
      void setInputType(int type)
      {
      edit_text.setInputType(type);
      }
      & use this method from your own class eg editClear.setInputType(InputType.TYPE_CLASS_NUMBER).
      Or you can directly set android:inputType=”numberDecimal” property to EditText view in clearable_edit_text.xml if you only want numeric value.

      Thanks

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s