2012年7月5日

得到dialog中控件的id~!!

摘要: LayoutInflater inflater = LayoutInflater.from(getApplicationContext());View view = inflater.inflate(R.layout.titile_bar,(ViewGroup) findViewById(R.id.title_bar));Button bb = (Button) view.findViewById(R.id.btn1);System.out.println(bb.getText()); 阅读全文

posted @ 2012-07-05 14:15 冷雨夜~ 阅读(362) 评论(0) 推荐(0) 编辑

导航