Open pitch help when clicking on pitch in result
app/src/main/java/eu/lepiller/nani/MainActivity.java
253 | 253 | Log.d(TAG, "pitch: "+pitch); | |
254 | 254 | pitch_view.setVisibility(View.VISIBLE); | |
255 | 255 | pitch_view.setText(pitch); | |
256 | + | pitch_view.setOnClickListener(new View.OnClickListener() { | |
257 | + | @Override | |
258 | + | public void onClick(View v) { | |
259 | + | Intent intent = new Intent(MainActivity.this, HelpPitchActivity.class); | |
260 | + | startActivity(intent); | |
261 | + | } | |
262 | + | }); | |
256 | 263 | } | |
257 | 264 | ||
258 | 265 | StringBuilder additional = new StringBuilder(); |