@Target(value=FIELD)
@Retention(value=RUNTIME)
public @interface BindDimen
int for pixel size or
float for exact amount.
@BindDimen(R.dimen.horizontal_gap) int gapPx;
@BindDimen(R.dimen.horizontal_gap) float gap;
| Modifier and Type | Required Element and Description |
|---|---|
int |
value
Dimension resource ID to which the field will be bound.
|