Android Open Source - Geek-Coder-News News Detail Activity






From Project

Back to project page Geek-Coder-News.

License

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.

Java Source Code

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?????????????????????????????????????????????");
  }

}




Java Source Code List

com.geekcoder.activity.MainActivity.java
com.geekcoder.activity.NewsDetailActivity.java
com.geekcoder.activity.StartActivity.java
com.geekcoder.adapter.ListViewAdapter.java
com.geekcoder.adapter.MyFragmentPagerAdapter.java
com.geekcoder.fragment.TestFragment.java
com.geekcoder.util.Utils.java
com.geekcoder.widget.AutoListView.java