diff --git a/app/src/main/java/com/nice/mydiary/ui/AddDiaryActivity.java b/app/src/main/java/com/nice/mydiary/ui/AddDiaryActivity.java index a391125..cd734ab 100644 --- a/app/src/main/java/com/nice/mydiary/ui/AddDiaryActivity.java +++ b/app/src/main/java/com/nice/mydiary/ui/AddDiaryActivity.java @@ -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()); diff --git a/app/src/main/java/com/nice/mydiary/ui/MainActivity.java b/app/src/main/java/com/nice/mydiary/ui/MainActivity.java index ba6a8a4..0ad3517 100644 --- a/app/src/main/java/com/nice/mydiary/ui/MainActivity.java +++ b/app/src/main/java/com/nice/mydiary/ui/MainActivity.java @@ -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(); diff --git a/app/src/main/java/com/nice/mydiary/ui/UpdateDiaryActivity.java b/app/src/main/java/com/nice/mydiary/ui/UpdateDiaryActivity.java index 0f31760..ba82aaa 100644 --- a/app/src/main/java/com/nice/mydiary/ui/UpdateDiaryActivity.java +++ b/app/src/main/java/com/nice/mydiary/ui/UpdateDiaryActivity.java @@ -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());