Used to set the number of sibling elements in the relative-layout. -1
and 0
are special values. -1
is the default value, indicating that the current element will not be considered as the alignment reference standard for sibling elements. Using 0
as an element ID is not allowed, as it will result in unexpected behavior.
<number>
int
only. the number of the current element. Default value is -1
.
-1
and 0
are special values. -1
is the default value, indicating that the current element will not be considered as the alignment reference standard for sibling elements. Using 0
as an element ID is not allowed, as it will result in unexpected behavior.
Initial value | -1 |
Applies to | relative items |
Inherited | no |
Animatable |
LCD tables only load in the browser