解决方案 »

  1.   

    在XML里面给你的ImageView加个  这个属性试试 android:scaleType="fitXY"
      

  2.   

    我觉得把圆和直线作为2张图片分别加载成2个view,圆随便处理,直线 android:layout_height="match_parent"就好了
      

  3.   

    楼主去这里看看http://www.it165.net/pro/html/201407/18075.html
      

  4.   

    若要圆点不变还是用.9.png     在D:\adt\adt-bundle-windows-x86-20140702\sdk\tools里面有一个draw9patch.bat用这个来处理