SupportDevelopmentActivity.java 文件源码

java
阅读 25 收藏 0 点赞 0 评论 0

项目:RetroMusicPlayer 作者:
@Override
protected void onCreate(@Nullable Bundle savedInstanceState) {
    super.onCreate(savedInstanceState);
    setContentView(R.layout.activity_donation);
    ButterKnife.bind(this);

    setStatusbarColorAuto();
    setNavigationbarColorAuto();
    setTaskDescriptionColorAuto();

    mToolbar.setBackgroundColor(ThemeStore.primaryColor(this));
    setSupportActionBar(mToolbar);
    //noinspection ConstantConditions
    getSupportActionBar().setDisplayHomeAsUpEnabled(true);
    mToolbar.setNavigationOnClickListener(view -> onBackPressed());

    mBillingProcessor
            = new BillingProcessor(this, BuildConfig.GOOGLE_PLAY_LICENSE_KEY, this);
    MDTintHelper.setTint(mProgressBar, ThemeStore.accentColor(this));

    ((TextView) findViewById(R.id.donation)).setTextColor(ThemeStore.accentColor(this));
}
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号