|
|
@ -89,7 +89,7 @@ public class MainActivity extends AppCompatActivity {
|
|
|
|
setContentView(R.layout.activity_main);
|
|
|
|
setContentView(R.layout.activity_main);
|
|
|
|
AppManager.getAppManager().addActivity(this);
|
|
|
|
AppManager.getAppManager().addActivity(this);
|
|
|
|
ButterKnife.bind(this);
|
|
|
|
ButterKnife.bind(this);
|
|
|
|
StatusBarCompat.compat(this, Color.parseColor("#161414"));
|
|
|
|
StatusBarCompat.compat(this, Color.parseColor("#3A5FCD")); //修改状态栏颜色
|
|
|
|
mHelper = new DiaryDatabaseHelper(this, "Diary.db", null, 1);
|
|
|
|
mHelper = new DiaryDatabaseHelper(this, "Diary.db", null, 1);
|
|
|
|
ActionBar actionBar = getSupportActionBar();
|
|
|
|
ActionBar actionBar = getSupportActionBar();
|
|
|
|
actionBar.hide();
|
|
|
|
actionBar.hide();
|
|
|
|