ApiDemos/src/com/example/android/apis/app/ActionBarSettingsActionProviderActivity.java in gametel-0.1 vs ApiDemos/src/com/example/android/apis/app/ActionBarSettingsActionProviderActivity.java in gametel-0.2
- old
+ new
@@ -88,10 +88,9 @@
LayoutInflater layoutInflater = LayoutInflater.from(mContext);
View view = layoutInflater.inflate(R.layout.action_bar_settings_action_provider, null);
ImageButton button = (ImageButton) view.findViewById(R.id.button);
// Attach a click listener for launching the system settings.
button.setOnClickListener(new View.OnClickListener() {
- @Override
public void onClick(View v) {
mContext.startActivity(sSettingsIntent);
}
});
return view;