Skip to content

Instantly share code, notes, and snippets.

View MalikGhulamMurtza's full-sized avatar
🤗
Welcome . . !

Malik Ghulam Murtza MalikGhulamMurtza

🤗
Welcome . . !
View GitHub Profile
@SpiritOfDarkDragon
SpiritOfDarkDragon / Disable auto-scroll after load
Created April 15, 2015 12:14
Disabling auto-scroll scrollview, after data in webview is loaded
Adding the "descendantFocusability" attribute to the ScrollView's containing LinearLayout, with the value "blockDescendants". In my case:
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical"
android:descendantFocusability="blocksDescendants" >