Page 1202 - 3-3
P. 1202
postDelayedRequestLayout();
}
};
private void refreshTextChangedListener(TextView pTextView) {
LayoutParams lSLLP = getChildLayoutParams(pTextView);
try {
pTextView.removeTextChangedListener(mTextWatcher);
} catch (Throwable e) {
ex(e);
}
if(lSLLP.mTextView_WrapContent_Direction != TextView_WrapContent_Direction.None) {
pTextView.addTextChangedListener(mTextWatcher);
}
}
@Override
public void addView(View pChild) { addView(pChild, getChildCount()); }
@Override
public void addView(View pChild, int pIndex) { addView(pChild, pIndex,
generateDefaultLayoutParams()); }
@Override
public void addView(View pChild, int pWidth, int pHeight) { addView(pChild, new
ViewGroup.LayoutParams(pWidth, pHeight)); }
@Override
public void addView(View pChild, ViewGroup.LayoutParams pParams) { addView(pChild,
getChildCount(), pParams); }
@Override
public void addView(View pChild, int pIndex, ViewGroup.LayoutParams pParams) {
if(pParams instanceof ScalableLayout.LayoutParams) {
addView_Final(pChild, pIndex, (ScalableLayout.LayoutParams) pParams);
} else {
addView_Final(pChild, pIndex, generateLayoutParams(pParams));
}
}
public void addView(View pChild, float pScale_Left, float pScale_Top, float pScale_Width, float
pScale_Height) {
addView_Final(pChild, getChildCount(), new ScalableLayout.LayoutParams(pScale_Left,
pScale_Top, pScale_Width, pScale_Height));
}
private final void addView_Final(View pChild, int pIndex, ScalableLayout.LayoutParams
pScaledLayoutParams) {
super.addView(pChild, pIndex, pScaledLayoutParams);
}
- 1202 -