Back to project page android-AppPuntalRadio.
The source code is released under:
GNU General Public License
If you think the Android project android-AppPuntalRadio 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.ivanob.puntalradio; //ww w .j a v a 2 s . c o m import android.os.Bundle; import android.support.v4.app.Fragment; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.webkit.WebSettings; import android.webkit.WebView; import com.actionbarsherlock.app.SherlockFragment; public class ParrillaFragment extends Fragment{ private WebView webViewTimetable; public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) { return inflater.inflate(R.layout.parrilla_fragment, container, false); } public void onActivityCreated(Bundle savedInstanceState) { webViewTimetable= (WebView)getActivity().findViewById(R.id.webViewTimetable); webViewTimetable.loadUrl("file:///android_asset/time_table.html"); WebSettings webSettings = webViewTimetable.getSettings(); webSettings.setTextSize(WebSettings.TextSize.SMALLEST); super.onActivityCreated(savedInstanceState); } }