How can I retrieve ListView height and set ListView Items (cells) height depending on ListView Heigh

view full story

http://androidforums.com – I have some class LoginActivity.java. In the onCreate method I retrieve ListView: ListView list = (ListView)findViewById(R.id.snListView); then: list.setAdapter(adapter); In addition there are login.xml layout - there are: <ListView android:id="@+id/snListView" android:layout_width="match_parent" android:layout_height="match_parent" > </ListView> and sn_row.xml: <RelativeLayout xmlns:andr..." android:layout_width="wrap_content" android:layout_height="100dp" android:backgro (General)