Back to project page Randm.
The source code is released under:
Apache License
If you think the Android project Randm 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.malvin.randm; //from w w w . ja v a 2 s. c o m import android.os.Bundle; import android.support.v7.app.ActionBarActivity; import android.support.v7.widget.Toolbar; import butterknife.ButterKnife; import butterknife.InjectView; public class SettingsActivity extends ActionBarActivity { @InjectView(R.id.default_toolbar) Toolbar toolbar; @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.activity_settings); ButterKnife.inject(this); initViews(); } private void initViews() { setSupportActionBar(toolbar); getFragmentManager().beginTransaction().replace(R.id.content, new SettingsPreferenceFragment()).commit(); } }