Blame view

app/src/main/java/com/sunvote/xpadapp/fragments/ShowIdFragment.java 769 Bytes
27983dbe   孙向锦   project init
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
  package com.sunvote.xpadapp.fragments;
  
  import com.sunvote.xpadapp.R;
  import com.sunvote.xpadapp.base.MyFragment;
  
  import android.os.Bundle;
  import android.util.Log;
  import android.view.LayoutInflater;
  import android.view.View;
  import android.view.ViewGroup;
  import android.widget.TextView;
  
  public class ShowIdFragment extends MyFragment {
  	
  
  	public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) {
  		Log.d("ShowIdFragment", "onCreateView");
  		View view = inflater.inflate(R.layout.fragment_show_id, container, false);
  		
  		TextView  tvId = (TextView) view.findViewById(R.id.fragment_show_id_title);
  		if(mMainActivity.mOnlineInfo!=null ){
  			tvId.setText(""+ mMainActivity.mOnlineInfo.keyId);
  		}
  		
  		return view;
  	}
  	
  }