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

Reply via email to