[android-developers] Re: Marquee is not worked when screen rotate

2011-04-08 Thread Zsolt Vasvari
Create a bug report on http://b.android.com   I dont' see anything
wrong with your code.   Using the emulator, try to determine on which
Android SDK level it broke on and file a bug report.  Put
Regression, Honeycomb and 3.0 in the title, if it applies so
that you get some Google people to pay attention.  Don't expect a
respone, but with any luck, it will be fixed in the next SDK update.

On Apr 8, 2:37 pm, pramod.deore deore.pramo...@gmail.com wrote:
 Hi all, In my application I am using marquee. It works perfectly, but
 when I rotate screen then it is not working. following is my code.

 public class TextViewMarquee extends Activity {
     private TextView tv;
     @Override
     protected void onCreate(Bundle savedInstanceState) {
         super.onCreate(savedInstanceState);
         setContentView(R.layout.main);
         tv = (TextView) this.findViewById(R.id.mywidget);
         tv.setSelected(true);  // Set focus to the textview
     }

 }

 main.xml file is as

 ?xml version=1.0 encoding=utf-8?
 RelativeLayout
     xmlns:android=http://schemas.android.com/apk/res/android;
     android:layout_width=fill_parent
     android:layout_height=fill_parent
     TextView
         android:id=@+id/mywidget
         android:layout_width=wrap_content
         android:layout_height=wrap_content

         android:ellipsize=marquee
         android:fadingEdge=horizontal
         android:marqueeRepeatLimit=marquee_forever
         android:scrollHorizontally=true
         android:textColor=#ff4500
         android:text=Simple application that shows how to use
 marquee, with a long text /
 /RelativeLayout

 what should I have to do so marquee also works after screen rotate?

 Thanks in advance

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Re: Marquee is not worked when screen rotate

2011-04-08 Thread pramod.deore
Hi, Zsolt Vasvari Thanks for reply. When I tried above code with large
string message then marquee works properly. Is that mean marquee
useful for only large string i.e to show large line data which is not
fit into screen size?

On Apr 8, 11:56 am, Zsolt Vasvari zvasv...@gmail.com wrote:
 Create a bug report onhttp://b.android.com  I dont' see anything
 wrong with your code.   Using the emulator, try to determine on which
 Android SDK level it broke on and file a bug report.  Put
 Regression, Honeycomb and 3.0 in the title, if it applies so
 that you get some Google people to pay attention.  Don't expect a
 respone, but with any luck, it will be fixed in the next SDK update.

 On Apr 8, 2:37 pm, pramod.deore deore.pramo...@gmail.com wrote:







  Hi all, In my application I am using marquee. It works perfectly, but
  when I rotate screen then it is not working. following is my code.

  public class TextViewMarquee extends Activity {
      private TextView tv;
      @Override
      protected void onCreate(Bundle savedInstanceState) {
          super.onCreate(savedInstanceState);
          setContentView(R.layout.main);
          tv = (TextView) this.findViewById(R.id.mywidget);
          tv.setSelected(true);  // Set focus to the textview
      }

  }

  main.xml file is as

  ?xml version=1.0 encoding=utf-8?
  RelativeLayout
      xmlns:android=http://schemas.android.com/apk/res/android;
      android:layout_width=fill_parent
      android:layout_height=fill_parent
      TextView
          android:id=@+id/mywidget
          android:layout_width=wrap_content
          android:layout_height=wrap_content

          android:ellipsize=marquee
          android:fadingEdge=horizontal
          android:marqueeRepeatLimit=marquee_forever
          android:scrollHorizontally=true
          android:textColor=#ff4500
          android:text=Simple application that shows how to use
  marquee, with a long text /
  /RelativeLayout

  what should I have to do so marquee also works after screen rotate?

  Thanks in advance

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


Re: [android-developers] Re: Marquee is not worked when screen rotate

2011-04-08 Thread Abhilash baddam
Hi pramod,

For me also it's working, whenever  the string length is
more. So that i have given the string like this
   string
 

On Fri, Apr 8, 2011 at 12:36 PM, pramod.deore deore.pramo...@gmail.comwrote:

 Hi, Zsolt Vasvari Thanks for reply. When I tried above code with large
 string message then marquee works properly. Is that mean marquee
 useful for only large string i.e to show large line data which is not
 fit into screen size?

 On Apr 8, 11:56 am, Zsolt Vasvari zvasv...@gmail.com wrote:
  Create a bug report onhttp://b.android.com  I dont' see anything
  wrong with your code.   Using the emulator, try to determine on which
  Android SDK level it broke on and file a bug report.  Put
  Regression, Honeycomb and 3.0 in the title, if it applies so
  that you get some Google people to pay attention.  Don't expect a
  respone, but with any luck, it will be fixed in the next SDK update.
 
  On Apr 8, 2:37 pm, pramod.deore deore.pramo...@gmail.com wrote:
 
 
 
 
 
 
 
   Hi all, In my application I am using marquee. It works perfectly, but
   when I rotate screen then it is not working. following is my code.
 
   public class TextViewMarquee extends Activity {
   private TextView tv;
   @Override
   protected void onCreate(Bundle savedInstanceState) {
   super.onCreate(savedInstanceState);
   setContentView(R.layout.main);
   tv = (TextView) this.findViewById(R.id.mywidget);
   tv.setSelected(true);  // Set focus to the textview
   }
 
   }
 
   main.xml file is as
 
   ?xml version=1.0 encoding=utf-8?
   RelativeLayout
   xmlns:android=http://schemas.android.com/apk/res/android;
   android:layout_width=fill_parent
   android:layout_height=fill_parent
   TextView
   android:id=@+id/mywidget
   android:layout_width=wrap_content
   android:layout_height=wrap_content
 
   android:ellipsize=marquee
   android:fadingEdge=horizontal
   android:marqueeRepeatLimit=marquee_forever
   android:scrollHorizontally=true
   android:textColor=#ff4500
   android:text=Simple application that shows how to use
   marquee, with a long text /
   /RelativeLayout
 
   what should I have to do so marquee also works after screen rotate?
 
   Thanks in advance

 --
 You received this message because you are subscribed to the Google
 Groups Android Developers group.
 To post to this group, send email to android-developers@googlegroups.com
 To unsubscribe from this group, send email to
 android-developers+unsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en


-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

[android-developers] Re: Marquee is not worked when screen rotate

2011-04-08 Thread Zsolt Vasvari
Yes, that's correct.  The marquee is only used when the text doesn't
fit its container.



On Apr 8, 3:06 pm, pramod.deore deore.pramo...@gmail.com wrote:
 Hi, Zsolt Vasvari Thanks for reply. When I tried above code with large
 string message then marquee works properly. Is that mean marquee
 useful for only large string i.e to show large line data which is not
 fit into screen size?

 On Apr 8, 11:56 am, Zsolt Vasvari zvasv...@gmail.com wrote:



  Create a bug report onhttp://b.android.com I dont' see anything
  wrong with your code.   Using the emulator, try to determine on which
  Android SDK level it broke on and file a bug report.  Put
  Regression, Honeycomb and 3.0 in the title, if it applies so
  that you get some Google people to pay attention.  Don't expect a
  respone, but with any luck, it will be fixed in the next SDK update.

  On Apr 8, 2:37 pm, pramod.deore deore.pramo...@gmail.com wrote:

   Hi all, In my application I am using marquee. It works perfectly, but
   when I rotate screen then it is not working. following is my code.

   public class TextViewMarquee extends Activity {
       private TextView tv;
       @Override
       protected void onCreate(Bundle savedInstanceState) {
           super.onCreate(savedInstanceState);
           setContentView(R.layout.main);
           tv = (TextView) this.findViewById(R.id.mywidget);
           tv.setSelected(true);  // Set focus to the textview
       }

   }

   main.xml file is as

   ?xml version=1.0 encoding=utf-8?
   RelativeLayout
       xmlns:android=http://schemas.android.com/apk/res/android;
       android:layout_width=fill_parent
       android:layout_height=fill_parent
       TextView
           android:id=@+id/mywidget
           android:layout_width=wrap_content
           android:layout_height=wrap_content

           android:ellipsize=marquee
           android:fadingEdge=horizontal
           android:marqueeRepeatLimit=marquee_forever
           android:scrollHorizontally=true
           android:textColor=#ff4500
           android:text=Simple application that shows how to use
   marquee, with a long text /
   /RelativeLayout

   what should I have to do so marquee also works after screen rotate?

   Thanks in advance- Hide quoted text -

 - Show quoted text -

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Re: Marquee is not worked when screen rotate

2011-04-08 Thread pramod.deore
Hi Abhilash, for lengthy string its working. try with smaller String
like Test String and let me know marquee is working or not? I am
using 2.1 Update1. API level is 7

On Apr 8, 12:37 pm, Abhilash baddam
abhilash.androiddevelo...@gmail.com wrote:
 Hi pramod,

                 For me also it's working, whenever  the string length is
 more. So that i have given the string like this
                                                                    string
                                                                  

 On Fri, Apr 8, 2011 at 12:36 PM, pramod.deore deore.pramo...@gmail.comwrote:







  Hi, Zsolt Vasvari Thanks for reply. When I tried above code with large
  string message then marquee works properly. Is that mean marquee
  useful for only large string i.e to show large line data which is not
  fit into screen size?

  On Apr 8, 11:56 am, Zsolt Vasvari zvasv...@gmail.com wrote:
   Create a bug report onhttp://b.android.com I dont' see anything
   wrong with your code.   Using the emulator, try to determine on which
   Android SDK level it broke on and file a bug report.  Put
   Regression, Honeycomb and 3.0 in the title, if it applies so
   that you get some Google people to pay attention.  Don't expect a
   respone, but with any luck, it will be fixed in the next SDK update.

   On Apr 8, 2:37 pm, pramod.deore deore.pramo...@gmail.com wrote:

Hi all, In my application I am using marquee. It works perfectly, but
when I rotate screen then it is not working. following is my code.

public class TextViewMarquee extends Activity {
    private TextView tv;
    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.main);
        tv = (TextView) this.findViewById(R.id.mywidget);
        tv.setSelected(true);  // Set focus to the textview
    }

}

main.xml file is as

?xml version=1.0 encoding=utf-8?
RelativeLayout
    xmlns:android=http://schemas.android.com/apk/res/android;
    android:layout_width=fill_parent
    android:layout_height=fill_parent
    TextView
        android:id=@+id/mywidget
        android:layout_width=wrap_content
        android:layout_height=wrap_content

        android:ellipsize=marquee
        android:fadingEdge=horizontal
        android:marqueeRepeatLimit=marquee_forever
        android:scrollHorizontally=true
        android:textColor=#ff4500
        android:text=Simple application that shows how to use
marquee, with a long text /
/RelativeLayout

what should I have to do so marquee also works after screen rotate?

Thanks in advance

  --
  You received this message because you are subscribed to the Google
  Groups Android Developers group.
  To post to this group, send email to android-developers@googlegroups.com
  To unsubscribe from this group, send email to
  android-developers+unsubscr...@googlegroups.com
  For more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Re: Marquee is not worked when screen rotate

2011-04-08 Thread pramod.deore
Ok Zsolt Vasvari. Thanks for confirming.

On Apr 8, 1:09 pm, Zsolt Vasvari zvasv...@gmail.com wrote:
 Yes, that's correct.  The marquee is only used when the text doesn't
 fit its container.

 On Apr 8, 3:06 pm, pramod.deore deore.pramo...@gmail.com wrote:







  Hi, Zsolt Vasvari Thanks for reply. When I tried above code with large
  string message then marquee works properly. Is that mean marquee
  useful for only large string i.e to show large line data which is not
  fit into screen size?

  On Apr 8, 11:56 am, Zsolt Vasvari zvasv...@gmail.com wrote:

   Create a bug report onhttp://b.android.com I dont' see anything
   wrong with your code.   Using the emulator, try to determine on which
   Android SDK level it broke on and file a bug report.  Put
   Regression, Honeycomb and 3.0 in the title, if it applies so
   that you get some Google people to pay attention.  Don't expect a
   respone, but with any luck, it will be fixed in the next SDK update.

   On Apr 8, 2:37 pm, pramod.deore deore.pramo...@gmail.com wrote:

Hi all, In my application I am using marquee. It works perfectly, but
when I rotate screen then it is not working. following is my code.

public class TextViewMarquee extends Activity {
    private TextView tv;
    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.main);
        tv = (TextView) this.findViewById(R.id.mywidget);
        tv.setSelected(true);  // Set focus to the textview
    }

}

main.xml file is as

?xml version=1.0 encoding=utf-8?
RelativeLayout
    xmlns:android=http://schemas.android.com/apk/res/android;
    android:layout_width=fill_parent
    android:layout_height=fill_parent
    TextView
        android:id=@+id/mywidget
        android:layout_width=wrap_content
        android:layout_height=wrap_content

        android:ellipsize=marquee
        android:fadingEdge=horizontal
        android:marqueeRepeatLimit=marquee_forever
        android:scrollHorizontally=true
        android:textColor=#ff4500
        android:text=Simple application that shows how to use
marquee, with a long text /
/RelativeLayout

what should I have to do so marquee also works after screen rotate?

Thanks in advance- Hide quoted text -

  - Show quoted text -

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


Re: [android-developers] Re: Marquee is not worked when screen rotate

2011-04-08 Thread Abhilash baddam
Hi Pramod,

   For small String its not working i am also using the same
version.

On Fri, Apr 8, 2011 at 1:42 PM, pramod.deore deore.pramo...@gmail.comwrote:

 Hi Abhilash, for lengthy string its working. try with smaller String
 like Test String and let me know marquee is working or not? I am
 using 2.1 Update1. API level is 7

 On Apr 8, 12:37 pm, Abhilash baddam
 abhilash.androiddevelo...@gmail.com wrote:
  Hi pramod,
 
  For me also it's working, whenever  the string length is
  more. So that i have given the string like this
  
 string
   
 
  On Fri, Apr 8, 2011 at 12:36 PM, pramod.deore deore.pramo...@gmail.com
 wrote:
 
 
 
 
 
 
 
   Hi, Zsolt Vasvari Thanks for reply. When I tried above code with large
   string message then marquee works properly. Is that mean marquee
   useful for only large string i.e to show large line data which is not
   fit into screen size?
 
   On Apr 8, 11:56 am, Zsolt Vasvari zvasv...@gmail.com wrote:
Create a bug report onhttp://b.android.com I dont' see anything
wrong with your code.   Using the emulator, try to determine on which
Android SDK level it broke on and file a bug report.  Put
Regression, Honeycomb and 3.0 in the title, if it applies so
that you get some Google people to pay attention.  Don't expect a
respone, but with any luck, it will be fixed in the next SDK update.
 
On Apr 8, 2:37 pm, pramod.deore deore.pramo...@gmail.com wrote:
 
 Hi all, In my application I am using marquee. It works perfectly,
 but
 when I rotate screen then it is not working. following is my code.
 
 public class TextViewMarquee extends Activity {
 private TextView tv;
 @Override
 protected void onCreate(Bundle savedInstanceState) {
 super.onCreate(savedInstanceState);
 setContentView(R.layout.main);
 tv = (TextView) this.findViewById(R.id.mywidget);
 tv.setSelected(true);  // Set focus to the textview
 }
 
 }
 
 main.xml file is as
 
 ?xml version=1.0 encoding=utf-8?
 RelativeLayout
 xmlns:android=http://schemas.android.com/apk/res/android;
 android:layout_width=fill_parent
 android:layout_height=fill_parent
 TextView
 android:id=@+id/mywidget
 android:layout_width=wrap_content
 android:layout_height=wrap_content
 
 android:ellipsize=marquee
 android:fadingEdge=horizontal
 android:marqueeRepeatLimit=marquee_forever
 android:scrollHorizontally=true
 android:textColor=#ff4500
 android:text=Simple application that shows how to use
 marquee, with a long text /
 /RelativeLayout
 
 what should I have to do so marquee also works after screen rotate?
 
 Thanks in advance
 
   --
   You received this message because you are subscribed to the Google
   Groups Android Developers group.
   To post to this group, send email to
 android-developers@googlegroups.com
   To unsubscribe from this group, send email to
   android-developers+unsubscr...@googlegroups.com
   For more options, visit this group at
  http://groups.google.com/group/android-developers?hl=en

 --
 You received this message because you are subscribed to the Google
 Groups Android Developers group.
 To post to this group, send email to android-developers@googlegroups.com
 To unsubscribe from this group, send email to
 android-developers+unsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en


-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

[android-developers] Re: Marquee is not worked when screen rotate

2011-04-08 Thread pramod.deore
Ok. In HTML we can use marquee for small string so I thought in
Android it also worked. Ok Thanks guys.

On Apr 8, 1:16 pm, Abhilash baddam
abhilash.androiddevelo...@gmail.com wrote:
 Hi Pramod,

                For small String its not working i am also using the same
 version.

 On Fri, Apr 8, 2011 at 1:42 PM, pramod.deore deore.pramo...@gmail.comwrote:







  Hi Abhilash, for lengthy string its working. try with smaller String
  like Test String and let me know marquee is working or not? I am
  using 2.1 Update1. API level is 7

  On Apr 8, 12:37 pm, Abhilash baddam
  abhilash.androiddevelo...@gmail.com wrote:
   Hi pramod,

                   For me also it's working, whenever  the string length is
   more. So that i have given the string like this
   
  string
                                                                    

   On Fri, Apr 8, 2011 at 12:36 PM, pramod.deore deore.pramo...@gmail.com
  wrote:

Hi, Zsolt Vasvari Thanks for reply. When I tried above code with large
string message then marquee works properly. Is that mean marquee
useful for only large string i.e to show large line data which is not
fit into screen size?

On Apr 8, 11:56 am, Zsolt Vasvari zvasv...@gmail.com wrote:
 Create a bug report onhttp://b.android.comI dont' see anything
 wrong with your code.   Using the emulator, try to determine on which
 Android SDK level it broke on and file a bug report.  Put
 Regression, Honeycomb and 3.0 in the title, if it applies so
 that you get some Google people to pay attention.  Don't expect a
 respone, but with any luck, it will be fixed in the next SDK update.

 On Apr 8, 2:37 pm, pramod.deore deore.pramo...@gmail.com wrote:

  Hi all, In my application I am using marquee. It works perfectly,
  but
  when I rotate screen then it is not working. following is my code.

  public class TextViewMarquee extends Activity {
      private TextView tv;
      @Override
      protected void onCreate(Bundle savedInstanceState) {
          super.onCreate(savedInstanceState);
          setContentView(R.layout.main);
          tv = (TextView) this.findViewById(R.id.mywidget);
          tv.setSelected(true);  // Set focus to the textview
      }

  }

  main.xml file is as

  ?xml version=1.0 encoding=utf-8?
  RelativeLayout
      xmlns:android=http://schemas.android.com/apk/res/android;
      android:layout_width=fill_parent
      android:layout_height=fill_parent
      TextView
          android:id=@+id/mywidget
          android:layout_width=wrap_content
          android:layout_height=wrap_content

          android:ellipsize=marquee
          android:fadingEdge=horizontal
          android:marqueeRepeatLimit=marquee_forever
          android:scrollHorizontally=true
          android:textColor=#ff4500
          android:text=Simple application that shows how to use
  marquee, with a long text /
  /RelativeLayout

  what should I have to do so marquee also works after screen rotate?

  Thanks in advance

--
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to
  android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
   http://groups.google.com/group/android-developers?hl=en

  --
  You received this message because you are subscribed to the Google
  Groups Android Developers group.
  To post to this group, send email to android-developers@googlegroups.com
  To unsubscribe from this group, send email to
  android-developers+unsubscr...@googlegroups.com
  For more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Re: Marquee is not worked when screen rotate

2011-04-08 Thread pramod.deore
Ok  Abhilash thanks. I thought it work like HTML marquee. So it means
If I want marquee like feel then it will worked only if String os not
fit in container.

On Apr 8, 1:16 pm, Abhilash baddam
abhilash.androiddevelo...@gmail.com wrote:
 Hi Pramod,

                For small String its not working i am also using the same
 version.

 On Fri, Apr 8, 2011 at 1:42 PM, pramod.deore deore.pramo...@gmail.comwrote:







  Hi Abhilash, for lengthy string its working. try with smaller String
  like Test String and let me know marquee is working or not? I am
  using 2.1 Update1. API level is 7

  On Apr 8, 12:37 pm, Abhilash baddam
  abhilash.androiddevelo...@gmail.com wrote:
   Hi pramod,

                   For me also it's working, whenever  the string length is
   more. So that i have given the string like this
   
  string
                                                                    

   On Fri, Apr 8, 2011 at 12:36 PM, pramod.deore deore.pramo...@gmail.com
  wrote:

Hi, Zsolt Vasvari Thanks for reply. When I tried above code with large
string message then marquee works properly. Is that mean marquee
useful for only large string i.e to show large line data which is not
fit into screen size?

On Apr 8, 11:56 am, Zsolt Vasvari zvasv...@gmail.com wrote:
 Create a bug report onhttp://b.android.comI dont' see anything
 wrong with your code.   Using the emulator, try to determine on which
 Android SDK level it broke on and file a bug report.  Put
 Regression, Honeycomb and 3.0 in the title, if it applies so
 that you get some Google people to pay attention.  Don't expect a
 respone, but with any luck, it will be fixed in the next SDK update.

 On Apr 8, 2:37 pm, pramod.deore deore.pramo...@gmail.com wrote:

  Hi all, In my application I am using marquee. It works perfectly,
  but
  when I rotate screen then it is not working. following is my code.

  public class TextViewMarquee extends Activity {
      private TextView tv;
      @Override
      protected void onCreate(Bundle savedInstanceState) {
          super.onCreate(savedInstanceState);
          setContentView(R.layout.main);
          tv = (TextView) this.findViewById(R.id.mywidget);
          tv.setSelected(true);  // Set focus to the textview
      }

  }

  main.xml file is as

  ?xml version=1.0 encoding=utf-8?
  RelativeLayout
      xmlns:android=http://schemas.android.com/apk/res/android;
      android:layout_width=fill_parent
      android:layout_height=fill_parent
      TextView
          android:id=@+id/mywidget
          android:layout_width=wrap_content
          android:layout_height=wrap_content

          android:ellipsize=marquee
          android:fadingEdge=horizontal
          android:marqueeRepeatLimit=marquee_forever
          android:scrollHorizontally=true
          android:textColor=#ff4500
          android:text=Simple application that shows how to use
  marquee, with a long text /
  /RelativeLayout

  what should I have to do so marquee also works after screen rotate?

  Thanks in advance

--
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to
  android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
   http://groups.google.com/group/android-developers?hl=en

  --
  You received this message because you are subscribed to the Google
  Groups Android Developers group.
  To post to this group, send email to android-developers@googlegroups.com
  To unsubscribe from this group, send email to
  android-developers+unsubscr...@googlegroups.com
  For more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Re: Marquee

2009-06-15 Thread Android Users
Thanks a lot... [?]

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---

inline: 328.png

[android-developers] Re: Marquee

2009-06-14 Thread Romain Guy

TextView.setSelected(true).

On Sun, Jun 14, 2009 at 10:16 PM, Android Usersandroidmai...@gmail.com wrote:
 Hi All,

 I know that there is marquee built in to 1.5 . But that is only on focus of
 the widget.
 Is there a way we can implement it otherwise? ie.. even without focus for a
 text view?

 Thanks.

 




-- 
Romain Guy
Android framework engineer
romain...@android.com

Note: please don't send private questions to me, as I don't have time
to provide private support.  All such questions should be posted on
public forums, where I and others can see and answer them

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[android-developers] Re: Marquee Api demo

2009-03-19 Thread soniya

The marquee does work on Focus. :)

On Mar 4, 11:44 am, soniya soniy...@gmail.com wrote:
 I downloaded the Android SDK 1.1 and tried to run the Marquee demo
 (API Demos - Text -Marquee).
 But the program is not working .The text is static and does not
 move :(
 Did any one try this demo? And is it working??
 Please help!
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---