Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
对于支持版本和 Android-L 版本,我都找不到 Toolbar 类的源代码。
见https://android.googlesource.com/platform/frameworks/base.git/+/android-l-preview_r2/core/java/android/widget/
和https://android.googlesource.com/platform/frameworks/support.git/+/android-l-preview_r2/v7/appcompat/src/android/support/v7/widget/
这里是源代码Toolbar
Toolbar
编辑:
这是 AppCompatToolbar