我正在挖掘Android的来源,寻找系统如何识别布局中提到的@null关键字的答案.例如,
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:background="@null"
android:layout_width="match_parent"
android:layout_height="match_parent"/>
Run Code Online (Sandbox Code Playgroud)
到目前为止,我遵循这条路线:
我试图找到源代码 JNI实现的AssetManager loadResourceValue方法,但我还没有成功.
如果有人能指出Android如何解析@null标签,我将不胜感激.
提前致谢!
| 归档时间: |
|
| 查看次数: |
113 次 |
| 最近记录: |