Use colorPrimary for EntityHeader's background.

Bug: 76219670
Test: check color from screen manually.
Change-Id: If13d5cbd2bd7db1c6d9c9f840281601ab78ba267
This commit is contained in:
Shaotang Li
2018-03-30 15:26:12 +08:00
parent 1967396c09
commit aab7756f08
4 changed files with 4 additions and 4 deletions

View File

@@ -307,7 +307,7 @@ public class EntityHeaderController {
return this;
}
actionBar.setBackgroundDrawable(
new ColorDrawable(Utils.getColorAttr(activity, android.R.attr.colorSecondary)));
new ColorDrawable(Utils.getColorAttr(activity, android.R.attr.colorPrimary)));
actionBar.setElevation(0);
if (mRecyclerView != null && mLifecycle != null) {
ActionBarShadowController.attachToRecyclerView(mActivity, mLifecycle, mRecyclerView);