GithubHelp home page GithubHelp logo

Comments (4)

xyczero avatar xyczero commented on June 21, 2024

回答问题:
1,CollapsingToolbarLayout需要设置setContentScrimColor的颜色,这是design库自己的使用方式,和框架无关,demo中之后会补充相关例子。
2,状态栏的颜色设置不同android版本有不同的处理方案,请自行google或github
3,框架的的颜色替换规则就是在Application中进行设置的,你指的默认值是?

from magicasakura.

ximencx avatar ximencx commented on June 21, 2024

1,第2个问题状态栏颜色,如果集成前框架前没有处理状态栏,切换主题只设置当前activity状态栏。会有风格不统一的问题。能否框架给个可选项的api。 2,第三个问题意思是,设置默认主题的颜色,和框架怎么自定义颜色,更改哪些颜色能否给个具体的说明或者demo。 thx~~

from magicasakura.

xyczero avatar xyczero commented on June 21, 2024

问题1: 如果集成框架前没有处理状态栏着色,请自行google。如果之前处理了状态栏,只需调用框架的提供的方法进行相应的着色即可。框架本身不处理状态栏问题。
问题2: 目前设置主题的默认色只能在res/values/colors.xml中,替换规则是在Application中实现,具体见 README中的STEP1和STEP2。
至于能改哪些颜色完全是根据app自己的需求而定,并无任何约束,框架只是负责根据规则替换染色,取色。

from magicasakura.

ximencx avatar ximencx commented on June 21, 2024

已解决问题,谢谢大神

from magicasakura.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.