홈 자동화 응용 프로그램을 레이아웃하려고합니다. 화면의 상단 부분은 사용자 정의 상태 텍스트입니다 (차고 문은 OPEN, 시스템은 DISARMED 등). 상태 텍스트 아래에 새로 고침 링크/버튼/목록 항목이 있습니다. 사용자가 상태 텍스트를 새로 고치기 위해 클릭 할 수있는 것. 하단에는 "보안 페이지"또는 "차고 문 닫기"등과 같은 다른 페이지로 연결되는 링크 및 링크와 같은 목록보기가 있습니다. 내 질문은 레이아웃을 어떻게 구성합니까? 나는 여러 LinearLayouts, RelativeLayouts, 중첩 된 레이아웃 등을 시도했지만 아무도 지금까지 일한 적이 없다. 여기에 지금과 같은 내 main.xml에 있습니다 : 새로 고침 링크 단지 목록보기의 항목이 될 수Android 레이아웃 textview 및 listview 결합
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:orientation="vertical"
android:layout_width="fill_parent"
android:layout_height="fill_parent">
<LinearLayout
android:layout_height="wrap_content"
android:layout_width="wrap_content" >
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:id="@+id/statustext">
</TextView>
</LinearLayout>
<LinearLayout
android:layout_height="wrap_content"
android:layout_width="wrap_content" >
<TextView
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:id="@+id/refresh">
</TextView>
</LinearLayout>
<LinearLayout
android:orientation="vertical"
android:gravity="center_horizontal"
android:layout_height="fill_parent"
android:layout_width="fill_parent">
<ListView
android:layout_width="fill_parent"
android:id="@android:id/list"
android:layout_height="wrap_content">
</ListView>
</LinearLayout>
</LinearLayout>
하지만 같은 다른 색 글꼴로하거나, 눈에 띄는 그래서 나는 다르게 스타일을 좋아하는 것 배경. 또는 단추 일 수도 있습니다. 그러나 statustext와 itemlist 사이에 있어야합니다. 모든 것이 하나의 단위로 스크롤되어야합니다.
이것이 가능합니까?