¡@

Home 

2014/10/16 ¤W¤È 08:14:06

android Programming Glossary: getborder

Android: how to draw a border to a LinearLayout

http://stackoverflow.com/questions/8203606/android-how-to-draw-a-border-to-a-linearlayout

1 android background #E8A2B4 android id @ id img02 LinearLayout And I have the draw function. public class getBorder extends TextView public getBorder Context context super context @Override protected void onDraw Canvas canvas super.onDraw.. android id @ id img02 LinearLayout And I have the draw function. public class getBorder extends TextView public getBorder Context context super context @Override protected void onDraw Canvas canvas super.onDraw canvas Paint paint new Paint paint.setColor.. public void onCreate Bundle savedInstanceState super.onCreate savedInstanceState setContentView R.layout.main final getBorder getBorder new getBorder this final LinearLayout img01 LinearLayout findViewById R.id.img01 img01.setOnClickListener new..