Comments (6)
前台必定可见,可见未必前台?
from android-art-res.
@kyze8439690
前台必定可见,可见未必前台?这句话很对,“可见”我们可以理解为这个Activity已经出来了,但是它有可能被其他界面所覆盖而位于后台。
from android-art-res.
再求教一个问题,可以覆盖在Activity上的有dialog,popupwindow,toast。只有dialog会占用前台?
from android-art-res.
@kyze8439690 “可以覆盖在Activity上的有dialog,popupwindow,toast。只有dialog会占用前台?”
这个问题稍微复杂,或者说换一种方式描述会更好理解,启动一个新Activity时,onResume时Activity就已经可见,但是并未来到前台。
from android-art-res.
看来不能从语义上理解,可见只是一种状态,而不是意义上的可见?
或者说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.
"可见"是不是可以理解Activity已经被创建,它可能正好处于前台这个状态,也有可能在后台等待再次唤起。"前台"应该是“可见”中的一种状态。
from android-art-res.
Related Issues (20)
- [勘误]3.1.4部分 HOT 1
- 使用书中的12章节的Imageloader加载图片会报java.io.FileNotFoundException
- 使用书中的12章节的Imageloader加载图片会报java.io.FileNotFoundException HOT 1
- 第十二章的ImageLoader为什么总也不会从内存缓存里读取图片?都只有从Httpt和Disk里读取图片。
- ContentProvider中定义的权限,本应用中使用是否不需要验证权限? HOT 1
- 第三章点击事件的结论,第五个怎么理解? HOT 2
- [error] P268 页中scale、rotate的pivotX、pivotY默认都为0,而不是view的中心点 HOT 2
- 第三章的stickylayout没有源码 HOT 2
- 10.2.1节 ThreadLocal实现方式改变
- 对象存储到本地磁盘
- Context的设计模式怎么看得出的是桥接模式?
- 请问有AndroidStudio版本吗? HOT 2
- 通过各种姿势clone都没法完整下载,求个云盘地址 HOT 1
- “和”与“或” HOT 2
- 关于ViewGroup的事件分发
- 第二章,binder连接池部分, 未unbindservice, 请问这种处理考虑是什么呢?
- 第二章的AIDL无法引用到aidl文件中的Book类,教程中说将内容都放置在同一文件夹中。若想分开则应该怎么才能引用到Book.java HOT 1
- 事件分发
- 外部拦截,有点问题请教一下
- 更新下代码 HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from android-art-res.