There may be some other ordinary way to do this for the first part, but that’s how I approach it.
First find the height of the screen using
Display display = getWindowManager().getDefaultDisplay();
Point size = new Point();
display.getSize(size);
int height = size.y;
mListView.getCount(). , , .
TitleBar, , AndroidManifest.xml:
<activity android:name=".ActivityName"
android:label="@string/app_name"
android:theme="@android:style/Theme.NoTitleBar.Fullscreen">
</activity>