android get contentView id : > hi, now i develope android,
> 
> and i want to get viewId.
> 
> for example,
> 
> `onCreat(){
>     setContentView(R.layout.a) button bt1 = findViewId(R.id.bt); bt.setOnClickListener(new OnClickListener{    });`
> 
> so now, i want to get view Id in `onClickListener`. I think, view Id
> same `R.layout.content` and i try to `findViewId(R.id.content)` but
> this viewid different to `R.layout.a` how can i get viewId?