Back to project page Alfred4Android.
The source code is released under:
Apache License
If you think the Android project Alfred4Android listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package com.toraleap.collimator; // w ww .jav a 2s . c o m import android.os.Bundle; import android.view.Window; public final class PrefsActivity extends android.preference.PreferenceActivity { @Override protected void onCreate(Bundle savedInstanceState) { requestWindowFeature(Window.FEATURE_LEFT_ICON); super.onCreate(savedInstanceState); getWindow().setFeatureDrawableResource(Window.FEATURE_LEFT_ICON, R.drawable.dialog_preferences); addPreferencesFromResource(R.xml.preferences); } }