问题
Where can I find the source code for the android ConstraintLayout
? I can't find it in the support framework repository and even in Google search.
回答1:
Its source code is here: https://android.googlesource.com/platform/frameworks/opt/sherpa/+/studio-3.0/constraintlayout/src/main/java/android/support/constraint/ConstraintLayout.java
The Android SDK search extension adds a "View source" button on d.android.com reference, which helped me to get this link
来源:https://stackoverflow.com/questions/45690904/where-is-constraintlayout-source-code-located