From 9a4bbd9fbcd8b5f5827a967b174d996d38047438 Mon Sep 17 00:00:00 2001 From: unknown Date: Sat, 22 Jun 2019 23:44:28 +0800 Subject: [PATCH] first commit --- app/src/main/java/com/nice/mydiary/ui/AddDiaryActivity.java | 2 +- app/src/main/java/com/nice/mydiary/ui/MainActivity.java | 2 +- app/src/main/java/com/nice/mydiary/ui/UpdateDiaryActivity.java | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) 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());