Android 控件(View)之 TextView Button ImageButton ImageView CheckBox
2010-02-27 23:48:00 来源:WEB开发网核心提示:_DigitalClock.java代码 package com.webabcd.view;import android.app.Activity;import android.os.Bundle;public class _DigitalClock extends Activity { @Override pro
_DigitalClock.java
代码
package com.webabcd.view;
import android.app.Activity;
import android.os.Bundle;
public class _DigitalClock extends Activity {
@Override
protected void onCreate(Bundle savedInstanceState) {
// TODO Auto-generated method stub
super.onCreate(savedInstanceState);
this.setContentView(R.layout.digitalclcok);
setTitle("DigitalClcok");
}
}
更多精彩
赞助商链接