When I run following code, although I declare the view as visible, it always returns -1:
et = vc.findViewById('com.hamed.android:id/editText1')
time.sleep(2)
print et.getVisibility()
I check getVisibility() method and see that it returns -1 when an exception arise in getting visibility property. Where is my fault?