first commit

master
unknown 6 years ago
parent 00d8e6752d
commit 9a4bbd9fbc

@ -81,7 +81,7 @@ public class AddDiaryActivity extends AppCompatActivity {
actionBar.hide();
Intent intent = getIntent();
mAddDiaryEtTitle.setText(intent.getStringExtra("title"));
StatusBarCompat.compat(this, Color.parseColor("#161414"));
StatusBarCompat.compat(this, Color.parseColor("#3A5FCD"));
mCommonTvTitle.setText("记录");
mAddDiaryTvDate.setText(GetDate.getDate());

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

@ -74,7 +74,7 @@ public class UpdateDiaryActivity extends AppCompatActivity {
ButterKnife.bind(this);
mHelper = new DiaryDatabaseHelper(this, "Diary.db", null, 1);
initTitle();
StatusBarCompat.compat(this, Color.parseColor("#161414"));
StatusBarCompat.compat(this, Color.parseColor("#3A5FCD"));
Intent intent = getIntent();
mUpdateDiaryTvDate.setText(GetDate.getDate());

Loading…
Cancel
Save