Android AlertDialog with ScrollView is part of our fantastic post here. If you want to show long text to the user like your terms of use or privacy policy, you can use a ScrollView with a TextView inside.
/*
* Show AlertDialog with ScrollView.
*
* We use a TextView as ScrollView's child/host
*/
public void alertScrollView() {
/*
* Inflate the XML view.
*
* @
↧