开发者

set scroll view for edit text above the list view android

i hava a edit text and a submitt button for displaying output in list view but when i write something in edit text then my e开发者_运维百科dit box not appear because of softkey board so i want to set scroll for edit text and submitt button so which i type can be see on edit text.i know i cant set scroll for listview so how to seprate it from list view means how can i use mutiple relative layout for set scrollview only for above content of list

my xml is


just try below code in layout

 <ScrollView android:id="@+id/ScrollView01"
android:layout_width="fill_parent"
android:layout_height="wrap_content">
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
    android:orientation="vertical"
    android:layout_width="fill_parent"
    android:layout_height="fill_parent"
    >
<-- put your controll here which you want -->
</LinearLayout>
            </ScrollView>
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜