Back to project page Geek-Coder-News.
The source code is released under:
MIT License
If you think the Android project Geek-Coder-News listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package com.geekcoder.activity; //from w ww. j av a 2 s . c o m import android.app.Activity; import android.os.Bundle; import android.widget.TextView; import com.example.geekcoder.R; public class NewsDetailActivity extends Activity { @Override protected void onCreate(Bundle savedInstanceState) { // TODO Auto-generated method stub super.onCreate(savedInstanceState); setContentView(R.layout.activity_newsdetail); //???????????????????????(???????mock??????????????????,?????????????) TextView newsTitle = (TextView)findViewById(R.id.news_title); TextView newsReleaseTime = (TextView)findViewById(R.id.news_release_time); TextView newsContent = (TextView)findViewById(R.id.news_content); newsTitle.setText("??????????????????????????"); newsReleaseTime.setText("10??27?? 07:10"); newsContent.setText("???????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????IPO?????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????OTT?????????????????????????????????????????????"); } }