私があなたを見逃さないなら、あなたはListView
そのようなものを作成しようとしますwrap_content
か?そして、TextView
は常にListView
?の下にあります 私が間違っていない場合は、これが必要なものです:
<LinearLayout // Your list view and TextView in a same linear layout
android:layout_alignParentTop="true"
android:layout_width="fill_parent"
android:layout_height="400dp" // With this specific height, your TextView will
// always in this range!
android:orientation="vertical" >
<ListView
android:layout_width="fill_parent"
android:layout_height="0dp"
android:layout_weight="0.1" >
</ListView>
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="5dp"
android:layout_marginBottom="91dp"
//layout_gravity = "right"?? I'm not sure, you should make it right alignment
/>
</LinearLayout>
<LinearLayout /> // This is your linear layout at the Bottom, 2 Lineary layout is
// putted in a Relative layout
上のレイアウトでは上部にListViewが表示され、下部にTextViewが表示されます。下部にLinearLayoutがあります。やってみよう!!