Back to project page mitlocate.
The source code is released under:
MIT License
If you think the Android project mitlocate 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 edu.mit.locate.tabs; /*w w w . ja va 2 s . c o m*/ import edu.mit.locate.R; import edu.mit.locate.R.layout; import android.os.Bundle; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.EditText; public class SearchTab extends NavigationTab { private final String TAG = "SearchTab"; @Override public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) { View v = inflater.inflate(R.layout.tab_search, container, false); //EditText mSearchBar = (EditText) v.findViewById(R.id.searchBar); //mSearchBar.requestFocus(); return v; } }