I use NineOldAndroids library to scale my custom layout.
public class MyLayout extends FrameLayout { // LayoutParams.MATCH_PARENT and all. ... @Overrid
Since API Level 11, the View class has setScaleX() and setScaleY() methods, that work as expected and also scale sub-views of the scaled view. So, if that'd be a way for you, drop the library and just do
View
setScaleX()
setScaleY()
v.setScaleX(mScale); v.setScaleY(mScale);