View getVisibility() isShown() return incorrect visibility
<p>I've a view that gets conditionally added to parent.
I check if its already added to parent or not, unfortunately, it always return its visible.</p>

<pre><code>if (findViewById(R.id.bottom_bar).getVisibility == View.Visible)

if (findViewById(R.id.bottom_bar).isShown()) 
</code></pre>

<p>both return <code>true</code> even when view was never added ans is not visible.</p>
