Reimplement TypedArray.getLayoutDimension(int, int) for the layout bridge.
This commit is contained in:
@@ -495,6 +495,11 @@ public final class BridgeTypedArray extends TypedArray {
|
|||||||
return getDimensionPixelSize(index, 0);
|
return getDimensionPixelSize(index, 0);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public int getLayoutDimension(int index, int defValue) {
|
||||||
|
return getDimensionPixelSize(index, defValue);
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Retrieve a fractional unit attribute at <var>index</var>.
|
* Retrieve a fractional unit attribute at <var>index</var>.
|
||||||
*
|
*
|
||||||
|
|||||||
Reference in New Issue
Block a user