mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 20:21:24 +00:00
Whitespace
This commit is contained in:
parent
ca35131d47
commit
66d4f1873b
1 changed files with 3 additions and 5 deletions
|
@ -36,20 +36,18 @@ public class Tutorial1 extends Activity
|
||||||
public void onCreate(Bundle savedInstanceState)
|
public void onCreate(Bundle savedInstanceState)
|
||||||
{
|
{
|
||||||
super.onCreate(savedInstanceState);
|
super.onCreate(savedInstanceState);
|
||||||
|
|
||||||
setContentView(R.layout.main);
|
setContentView(R.layout.main);
|
||||||
|
|
||||||
ImageButton play = (ImageButton)this.findViewById(R.id.button_play);
|
ImageButton play = (ImageButton)this.findViewById(R.id.button_play);
|
||||||
play.setOnClickListener(new OnClickListener() {
|
play.setOnClickListener(new OnClickListener() {
|
||||||
|
|
||||||
public void onClick(View v) {
|
public void onClick(View v) {
|
||||||
nativePlay();
|
nativePlay();
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
ImageButton pause = (ImageButton)this.findViewById(R.id.button_stop);
|
ImageButton pause = (ImageButton)this.findViewById(R.id.button_stop);
|
||||||
pause.setOnClickListener(new OnClickListener() {
|
pause.setOnClickListener(new OnClickListener() {
|
||||||
|
|
||||||
public void onClick(View v) {
|
public void onClick(View v) {
|
||||||
nativePause();
|
nativePause();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue