Android Developers Docs Reference added in version 1.0.0 androidx.legacy.view Classes ViewCompat This class was deprecated in API level 1.0.0. Use ViewCompat instead. Classes ViewCompat Content and code samples on this page are subject to the licenses described in the Content License. Java is a registered trademark of Oracle and/or its affiliates. Last updated August 8, 2018.