Java Code Examples for android.widget.ListView.setScrollBarStyle()

The following are Jave code examples for showing how to use setScrollBarStyle() of the android.widget.ListView class. You can vote up the examples you like. Your votes will be used in our system to get more good examples.
Example 1
Project: Linphone4Android   File: PreferencesListFragment.java   Source Code and License Vote up 5 votes
@Override
public void onCreate(Bundle bundle) {
    super.onCreate(bundle);
    
    if (bundle != null) {
        xmlResID = bundle.getInt("xml");
    }
    
    mPreferenceManager = onCreatePreferenceManager();
    preferencesList = (ListView) LayoutInflater.from(getActivity()).inflate(R.layout.preference_list_content, null);
    preferencesList.setScrollBarStyle(View.SCROLLBARS_INSIDE_OVERLAY);
    addPreferencesFromResource(xmlResID);
    postBindPreferences();
}