Scrollbar color in RecyclerView

You can do this by including following line of code in your Recyclerview android:scrollbarThumbVertical=”@drawable/yoursdrawablefile The drawable file in my case is: <?xml version=”1.0″ encoding=”utf-8″?> <shape xmlns:android=”http://schemas.android.com/apk/res/android”> <gradient android:startColor=”#000″ android:endColor=”#000″ android:angle=”45″/> <corners android:radius=”6dp” /> </shape>

Disable scrolling in webview?

Here is my code for disabling all scrolling in webview: // disable scroll on touch webview.setOnTouchListener(new View.OnTouchListener() { @Override public boolean onTouch(View v, MotionEvent event) { return (event.getAction() == MotionEvent.ACTION_MOVE); } }); To only hide the scrollbars, but not disable scrolling: WebView.setVerticalScrollBarEnabled(false); WebView.setHorizontalScrollBarEnabled(false); or you can try using single column layout but this only works … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)