Git Product home page Git Product logo

Comments (6)

kyze8439690 avatar kyze8439690 commented on May 27, 2024

前台必定可见,可见未必前台?

from android-art-res.

singwhatiwanna avatar singwhatiwanna commented on May 27, 2024

@kyze8439690
前台必定可见,可见未必前台?这句话很对,“可见”我们可以理解为这个Activity已经出来了,但是它有可能被其他界面所覆盖而位于后台。

from android-art-res.

kyze8439690 avatar kyze8439690 commented on May 27, 2024

再求教一个问题,可以覆盖在Activity上的有dialog,popupwindow,toast。只有dialog会占用前台?

from android-art-res.

singwhatiwanna avatar singwhatiwanna commented on May 27, 2024

@kyze8439690 “可以覆盖在Activity上的有dialog,popupwindow,toast。只有dialog会占用前台?”
这个问题稍微复杂,或者说换一种方式描述会更好理解,启动一个新Activity时,onResume时Activity就已经可见,但是并未来到前台。

from android-art-res.

kyze8439690 avatar kyze8439690 commented on May 27, 2024

看来不能从语义上理解,可见只是一种状态,而不是意义上的可见?

或者说activity启动的时候能看见windowBackground就是可见,看见contentView就是前台?

@kyze8439690 https://github.com/kyze8439690
“可以覆盖在Activity上的有dialog,popupwindow,toast。只有dialog会占用前台?”
这个问题稍微复杂,或者说换一种方式描述会更好理解,启动一个新Activity时,onResume时Activity就已经可见,但是并未来到前台。


Reply to this email directly or view it on GitHub
#2 (comment)
.

from android-art-res.

yugimaster avatar yugimaster commented on May 27, 2024

"可见"是不是可以理解Activity已经被创建,它可能正好处于前台这个状态,也有可能在后台等待再次唤起。"前台"应该是“可见”中的一种状态。

from android-art-res.

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.