Heads up! This post was written 13 years ago. Some information might be outdated or may have changed since then.
За да симулираме клик на елемент пишем следното:
Element.performClick();
по пълен пример:
btnSlide = (ImageView) tabBar.findViewById(R.id.BtnSlide);
btnSlide.performClick();

Back to all posts