Android Developers Docs Reference androidx.legacy.widget Classes Space This class is deprecated. Use framework Space class instead. Classes Space 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 November 8, 2018.