Using java Syntax Highlighting
- TextView textView=new TextView(InfotainmentActivity.activity);
- public void drawThought(Canvas canvas){
- Log.v("here3333", "Here33333");
- canvas.drawColor(Color.WHITE);
- textView.append("\n\n\n"+AppConstant.title+":-");
- textView.append("\n\n"+AppConstant.data);
- InfotainmentActivity.activity.setContentView(textView);
- // canvas.drawColor(Color.WHITE);
- // mPaint.setColor(Color.BLACK);
- // canvas.drawText(AppConstant.title, 10,20 , mPaint);
- // mPaint.setColor(Color.RED);
- // canvas.drawText(AppConstant.data, 10,40 , mPaint);
- }
Parsed in 0.032 seconds, using GeSHi 1.0.8.4
how i can add key listener with textview...
i hav already add one key event onkeydown in my class which extends view class...........
so how i can mange my textview key event with this....[syntax="java"]

