Reimplement TypedArray.getLayoutDimension(int, int) for the layout bridge.

This commit is contained in:
Xavier Ducrohet
2009-07-22 15:44:52 -07:00
parent 98a44df4b4
commit eba337ad09

View File

@@ -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>.
* *