悄悄成长
for navigation


    Use SetBackGrounp() target a View component, it will enlange width to the drawable be set.

    So it will influence the Center function.

    Such us:
 
    TextView tx = new TextView(this);
    tx.setText("test"); //the width will be same as the text length.
    tx.setBackGrounp(bitmap); //the width will be enlanged as bitmap's width.

posted on 2008-03-06 19:14 Duan Bo Hao 阅读(224) 评论(0)  编辑  收藏

只有注册用户登录后才能发表评论。


网站导航: