I am using NestedScrollView control in my Xamarin Android application as recommended in Android forums. In which the scrollbars are not visible, but the scrolling is working. I want to enable to enable the scrollbars and tried the scrollbar related APIs in the NestedScrollView and found it was not working. While searching I found this link, where it says to set the "android:scrollbars" attribute in XML file to enable it. I would like to set this programmatically in C# but I am unable to find any relevant code for this. Anyone please advice me how to achieve this?
How to set the attribute "android:scrollbars" programmatically for a view in Xamarin Android C#?
243 Views Asked by DeepakG At
1
There are 1 best solutions below
Related Questions in C#
- Passing arguments to main in C using Eclipse
- kernel module does not print packet info
- error C2016 (C requires that a struct or union has at least one member) and structs typedefs
- Drawing with ncurses, sockets and fork
- How to catch delay-import dll errors (missing dll or symbol) in MinGW(-w64)?
- Configured TTL for A record(s) backing CNAME records
- Allocating memory for pointers inside structures in functions
- Finding articulation point of undirected graph by DFS
- C first fgets() is being skipped while the second runs
- C std library don't appear to be linked in object file
- gcc static library compilation
- How to do a case-insensitive string comparison?
- C programming: Create and write 2D array of files as function
- How to read a file then store to array and then print?
- Function timeouts in C and thread
Related Questions in ANDROID
- Delay in loading Html Page(WebView) from assets folder in real android device
- MPAndroidChart method setWordWrapEnabled() not found
- Designing a 'new post' android activity
- Android :EditText inside ListView always update first item in the listview
- Android: Transferring Data via ContentIntent
- Wrong xml being inflated android
- AsyncTask Class
- Unable to receive extras in Android Intent
- Website zoomed out on Android default browser
- Square FloatingActionButton with Android Design Library
- Google Maps API Re-size
- Push toolbar content below statusbar
- Android FragmentPagerAdapter Circular listview
- Layout not shifting up when keyboard is open
- auDIO_OUTPUT_FLAG_FAST denied by client can't connect to localhost
Related Questions in XAMARIN
- Xamarin Table View Crash
- How to read a characteristic (e.g. in WICED Smart example "speed_test")
- Using Azure MobileServices library with my own LAN WebApi
- Bundle Multiple Xamarin apps in one pkg installer
- Xamarin Google Cloud Messaging GcmClient.CheckDevice(this) causes runtime error
- UIAlertView popup won't let me swipe up Control Center
- How do I Insert a Previously Created SQLite Database into a Xamarin.Android App?
- Can custom text be added to a listview cell?
- How to run a ASP.net project to Xamarin Studio
- How can i do a fill animation in Xamarin.Forms
- How to change Display Alert default focus on a button?
- Mixing a CocosSharp game with UIViewControllers
- Building C# code in VSCode on Mac
- How to use research Kit framework in Xamarin
- Why is my app requesting permissions I didn't ask for?
Related Questions in ANDROID-NESTEDSCROLLVIEW
- Programmatically scroll to the top of a NestedScrollView
- How to implement pagination in RecyclerView which is inside nestedScrollView
- RecyclerView scroll dosen't work with NestedScrollView
- How to display scrollbar in nestedscrollview
- Pass touch event from NestedScrollView to parent view's
- Nested scroll not working (HorizontalScrollView inside HorizontalScrollView)
- Listview not show last item properly in scroll view
- NestedScrolling inside a Viewpager inside a BottomSheetDialog
- I don't understand why recyclerview in nestedscrollview load all data
- Recyclerview scrollToPosition doesn't work with NestedScrollView
- NestedScrollView's fullScroll(View.FOCUS_UP) not working properly
- CoordinatorLayout with multiple snapping points
- Recyclerview inside ViewPager which is inside nested Scroll View
- Scroll to EditText in NestedScrollView is not working
- Using DiffUtil, How to prevent blocking the main thread when updating the recyclerView contained in a NestedScrollView?
Related Questions in ANDROID-SCROLLBAR
- Overflow-x:hidden not working w/ Android (Samsung Epic) and possibly others
- smooth horizontal scrolling in webview
- StickyGridHeaders bug when used inside RelativeLayout
- Android: How to touch a scrollview and show its scroll bar for 2 seconds?
- How can I change the width/thickness of a scrollbar?
- ScrollBar doesnt work in EditText
- Need to Scroll the view into RelativeLayout in a new Window in android
- Scrollbar not showing in RecyclerView
- Android listview scrollbar on top of list items
- How to make the `scrollbar` appear on the left side?
- Custom view scrollbars
- Where do I find the nine (9) patch png file for Android's default scroll thumb?
- Is it possible to disable all scrolling and zooming in an android webview?
- Android honeycomb fast scrollbar inside the ListView?
- How to make table rows scrollable in android
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
This is a known issue which I reported here : https://github.com/xamarin/Xamarin.Forms/issues/7629.
This issue has not been fixed yet .
The only workaround is to enable the scrollbar in xml(based on my test).
Xml
Code behind