Add the android:id attribute in the xml for ScrollView and in the activity use timer or countdowntimer for 2 sec notification and on completion set the visibility of the ScrollView to invisible.
Up vote 0 down vote favorite 1 share g+ share fb share tw.
I just want to show the scrollbar for 2 sec when view is created. Is there any attribute for this? Actually it show when user touch the screen but I want to show it automatically for a few seconds so user can know this view is scroll-able.
Android android-layout android-scrollview android-scrollbar link|improve this question edited Aug 16 '11 at 8:58 asked Aug 16 '11 at 8:17Arslan2,1641629 97% accept rate.
He, I am not asking for hiding the ScrollView. But only the scroll-bar of the ScrollView. Actually it show when user touch the screen but I want to show it automatically for a few seconds so user can know this view is scroll-able.
– Arslan Aug 16 '11 at 8:58 after showing scrollbar for 2 secs set this property to your view: yourview. SetScrollbarFadingEnabled(true); – Vineet Shukla Aug 16 '11 at 9:06 Mean I have to do this using code. Ok.
If I did not find any other good solution I will implement this code. Thanks – Arslan Aug 16 '11 at 9:12.
Check out this link(android:scrollbarFadeDuration) developer.android.com/reference/android/... or try this.. android:fadeScrollbars="true.
I this. But not show bars until touch the screen. I want to show automatically on create.
– Arslan Aug 16 '11 at 8:45.
You can either: Make a call to move the scrollView (e.g. MScrollView. ScrollBy(0, 1)) if you don't mind the view scrolling by a pixel. This will call through to onScrollChanged and subsequently awaken the scroll bars.
If you call something like scrollBy(0, 0), the scrollView realizes it doesn't need to do anything and won't shown the scroll bars. Create a subclass of ScrollView the publicly exposes the awakenScrollBars() method, which is protected by default. See here for details.
I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.