Don't like ads? PRO users don't see any ads ;-)
Guest

Untitled

By: a guest on Jul 4th, 2012  |  syntax: None  |  size: 1.67 KB  |  hits: 13  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. marquee for TextView not working
  2. <?xml version="1.0" encoding="utf-8"?>
  3. <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
  4.     android:orientation="vertical"
  5.     android:layout_width="fill_parent"
  6.     android:layout_height="fill_parent"
  7.     >
  8.     <TextView
  9.     android:id="@+id/txt3"
  10.     android:layout_width="fill_parent"
  11.     android:layout_height="wrap_content"
  12.     android:singleLine="true"
  13.     android:ellipsize="marquee"
  14.     android:marqueeRepeatLimit="marquee_forever"
  15.     android:textColor="#00FF00"
  16.     android:text="News Blog"
  17.     />
  18. <TextView
  19.     android:id="@+id/txt1"
  20.     android:layout_width="fill_parent"
  21.     android:layout_height="wrap_content"
  22.     android:text="Artical topic"
  23.     />
  24.      <EditText android:id="@+id/txtName1"
  25.         android:layout_width="fill_parent"
  26.         android:layout_height="wrap_content"
  27.         />
  28.         <TextView  
  29.         android:id="@+id/txt2"
  30.     android:layout_width="fill_parent"
  31.     android:layout_height="wrap_content"
  32.     android:text="Artical"
  33.     />
  34.     <EditText android:id="@+id/txtName2"
  35.         android:layout_width="fill_parent"
  36.         android:layout_height="wrap_content"
  37.         />
  38.      <Button
  39.         android:id="@+id/submit"
  40.         android:layout_width="wrap_content"
  41.         android:layout_height="wrap_content"
  42.         android:layout_alignParentRight="true"
  43.         android:layout_marginLeft="dip"
  44.         android:text="Submit" />
  45.     <Button
  46.         android:id="@+id/Cancel"
  47.         android:layout_width="wrap_content"
  48.         android:layout_height="wrap_content"
  49.         android:layout_toRightOf="@id/submit"
  50.         android:layout_alignTop="@id/submit"
  51.         android:text="Cancel" />
  52.  
  53. </LinearLayout>