Android TextView

| |
TextView Control


As an Android Beginner your first step for android development start from the TextView Control. TextView Control Display the Text or paragraph in the mobile screen. TextView Does not allow to change its content



 Android XML Property for TextView 
List of Android TextView Property

  android:layout_width
              List of option for setting Layout Width
    1.   fill_parent
    2.   wrap_content
    3.   custom width specify in dpi

  
  android:layout_height
              Layout height Property set the height of an android control  
    1. fill_parent
    2. wrap_content
    3. custom width specify in dpi
 android:autoLink
 
autoLink Property sets the link on the web , email , phone , map  if it is set in the given attribute.
for  eg just like hyper link in web page.  if you choose "web" as a autolink attributes the it application will find the  web address in the given text and set the hyper link on it. for creating multiple link like you want to create link on email and web then you have to separate it by | (pipe) sign.

android:autoLink="web|email"

List of attributes are
  1. none
  2. web
  3. email
  4. phone
  5. map
  6. all        

Related Posts by Categories

0 comments:

Post a Comment