앱용으로 설계된 화면이 있습니다. 여기 화면 항목에 전체 항목을 표시 할 수 없습니다.
내가 내 응용 프로그램을 실행할 때, 나는 가로 모드에있는 모든 항목을 볼 수 있지만 세로 모드로 변환 할 때 내 테이블보기의 첫 번째 행을 볼 수 있습니다 내 XML<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="@drawable/bghomescreen" >
<TableLayout
android:id="@+id/tlmaintable"
android:layout_width="match_parent"
android:layout_height="304dp"
android:layout_marginTop="100dp"
android:orientation="vertical">
<TableRow
android:id="@+id/tableRow1"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="60dp" >
<Button
android:id="@+id/btnsearchbylocation"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginLeft="10dp"
android:background="@drawable/btn_bg_location" />
<Button
android:id="@+id/btnsearchbycuisine"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginLeft="10dp"
android:background="@drawable/btn_bg_cuisine1" />
</TableRow>
<TableRow
android:id="@+id/tableRow2"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="80dp">
<Button
android:id="@+id/btnquickbite"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginLeft="10dp"
android:background="@drawable/btn_bg_quickbite" />
<Button
android:id="@+id/btnadvancesearch"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginLeft="10dp"
android:background="@drawable/btn_bg_cuisine"/>
</TableRow>
</TableLayout>
</LinearLayout>
입니다 . 나는 다른 사람들을 볼 수 없다.
치수가 480x800 인 화면을 사용하고 있습니다.
나를 도와주세요.
감사
scrollview를 사용하십시오. – rajeshwaran
@rajeshwaran thnx rajesh. 동일한 문서를 제공 할 수 있습니까? 너 한테 있으면. 고맙습니다 :). 하지만 rajesh 나는 다른 이미지를 볼 때 스크롤해야한다고 생각합니다. 한 번에 모든 이미지를 볼 수 있습니까? ... 할 수있는 방법이 있습니까? – Beginner
@ user2143817 당신은 scrollview를 위해 doc을 필요로하지 않고 LinearLayout의 orienation을 설정하고 scrollview 아래에 선형 레이아웃을 유지합니다 – Pragnani