package de.bitdroid.flooding.ui.graph;

import android.os.Bundle;
import android.text.Html;
import android.widget.TextView;

import de.bitdroid.flooding.R;
import de.bitdroid.flooding.ui.AbstractRestrictedActivity;
import roboguice.inject.ContentView;

@ContentView(R.layout.activity_river_graph_help)
public class WaterGraphHelpActivity extends AbstractRestrictedActivity {

	@Override
	public void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		setTitle(getString(R.string.help));

		TextView textView = (TextView) findViewById(R.id.intro);
		textView.setText(Html.fromHtml(getString(R.string.help_graph)));

		textView = (TextView) findViewById(R.id.series_water);
		textView.setText(Html.fromHtml(getString(R.string.help_graph_series_water)));

		textView = (TextView) findViewById(R.id.series_mw);
		textView.setText(Html.fromHtml(getString(R.string.help_graph_series_mw)));

		textView = (TextView) findViewById(R.id.series_average_tw);
		textView.setText(Html.fromHtml(getString(R.string.help_graph_series_average_tw)));

		textView = (TextView) findViewById(R.id.series_extreme_tw);
		textView.setText(Html.fromHtml(getString(R.string.help_graph_series_extreme_tw)));


		textView = (TextView) findViewById(R.id.map);
		textView.setText(Html.fromHtml(getString(R.string.help_graph_action_map)));

		textView = (TextView) findViewById(R.id.normalize);
		textView.setText(Html.fromHtml(getString(R.string.help_graph_action_normalize)));
	}

}

@@ -469,16 +469,70 @@
 State);%0A
+%09%09analyticsUtils.onScreen(%22water graph help screen%22);%0A
 %09%09setTit

add analytics to WaterGraphHelpActivity