diff --git a/contrib/mobile/Android/src/org/geuz/onelab/ModelFragment.java b/contrib/mobile/Android/src/org/geuz/onelab/ModelFragment.java index d30472214607eedd2cc75324e71e3a3d4539e01b..182365c6060f3cabbfb065c62e2646840f0bc10a 100644 --- a/contrib/mobile/Android/src/org/geuz/onelab/ModelFragment.java +++ b/contrib/mobile/Android/src/org/geuz/onelab/ModelFragment.java @@ -50,6 +50,11 @@ public class ModelFragment extends Fragment{ glViewLayout.addView(_glView); _progressLayout = new LinearLayout(container.getContext()); ProgressBar bar = new ProgressBar(container.getContext()); + bar.setOnClickListener(new View.OnClickListener() { + public void onClick(View v) { + _progress.setAlpha((_progress.getAlpha() > 0)? 0 : 1); + } + }); _progressLayout.addView(bar); _progress = new TextView(container.getContext()); _progressLayout.setAlpha(0);