Android

How to make EditText not editable but scrollable

Posted on

EditText not Editable but Scrollable When we need to show long text like Terms and conditions in EditText. We need to allow scrolling and it should not be editable. For this I tried in XML set EditText attributes to show vertical scrollbars android:scrollbars=”vertical” And then to make EditText not editable i tried different ways like android:inputType=”none” not worked, and […]

Android

Html tags in Text not working in TextView

Posted on

Here I try to explain the details why Html tags in Text not working in TextView. At times you may need to display text with Bold and normal style in TextView like this,  …(You may skip to solution ) Welcome, to your favorite music app store.    So, you’ll define a string in string.xml file as follows <string name=”welcome_text”><b>Welcome,</b> […]

Android

Simple Weekview calendar implemented using GridView

Posted on

Simple Weekview calendar implemented using GridView. I tried to search for a simple Weekview calendar, which display 7 week days. But not able to find a simple one. So i implemented simple weekview calendar which just displays 7 week days with left right buttons to load prev/next week days. Screenshot Simple Weekview calendar implemented using GridView. Download […]

Android

Flash or Pulse Animation for a Button Android

Posted on

At times we may require to get user’s attention to click on a Button, to view some important information in app. For this purpose Flash or Pulse animation helps us very well. Below are code snippets to implement these animations. Implementing Flash animation We can use AnimationDrawable class, to add frames of two different colours, which […]

Inspiring Quotes

Beautiful messages collected

Posted on

 ****9 BEAUTIFUL MESSAGES!!**** Stay away from anger, it hurts only you. If you are right then there is no need to get angry, and if you are wrong then you don’t have any right to get angry. Patience with family is love, Patience with others is respect. Patience with self is confidence and Patience with GOD […]