How to create custom Vertical or Horizontal Scrollbar for ListView, ScrollView, etc. in Android

Here is the screenshot of my custom Android scrollbar. Below you can download source code of this sample Android project How do the same. It is so simple. To make custom scrollbar for ListView or ScrollView, etc. you need set android:scrollbarThumbVertical or android:scrollbarThumbVertical for in screen layout. Example: <ListView android:id="@+id/listView1" Read more…

How to make a transparent WebView in Android

Today one of my subscribers (@prasad) ask me: “how to make a transparent webview behind a gridview.” I don’t have complete example for it, but this info might help you. Do do transparent WebView I create this layout: <?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="fill_parent" android:layout_height="fill_parent" android:orientation="vertical" android:background="#ff0000"> <WebView android:id="@+id/webView1" android:layout_width="match_parent" Read more…