悄悄成長
          for navigation

          導(dǎo)航

          <2008年3月>
          2425262728291
          2345678
          9101112131415
          16171819202122
          23242526272829
          303112345
          統(tǒng)計(jì)
          • 隨筆 - 9
          • 文章 - 0
          • 評論 - 1
          • 引用 - 0

          常用鏈接

          留言簿

          隨筆檔案

          java技術(shù)

          搜索

          •  

          最新評論

          閱讀排行榜

          評論排行榜

           


              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 閱讀(235) 評論(0)  編輯  收藏

          只有注冊用戶登錄后才能發(fā)表評論。


          網(wǎng)站導(dǎo)航:
           
           
          主站蜘蛛池模板: 道孚县| 元氏县| 冕宁县| 佛冈县| 通许县| 武城县| 桐庐县| 锡林浩特市| 宁陕县| 郑州市| 军事| 绵阳市| 瑞安市| 边坝县| 鄂尔多斯市| 白山市| 平顶山市| 阳曲县| 凤台县| 石阡县| 宝兴县| 泸州市| 雷波县| 西林县| 鹤庆县| 通渭县| 镇远县| 新兴县| 昌乐县| 淮南市| 交口县| 稷山县| 同仁县| 桂林市| 铁岭县| 灵武市| 井冈山市| 徐水县| 沐川县| 抚顺市| 潜江市|