These attributes are used when the layout is rendered in Android Studio, but have no impact on the runtime.
In general you can use any Android framework attribute, just using the tools: namespace rather than the android: namespace for layout preview.
You can add both the android: namespace attribu...