2013-04-16 130 views
0
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" 
xmlns:tools="http://schemas.android.com/tools" 
android:layout_width="fill_parent" 
android:layout_height="fill_parent" 
android:orientation="vertical" 
android:focusable="true" 
android:focusableInTouchMode="true" 
android:fadeScrollbars="false" > 
<Scrollview ... 

我想始終顯示滾動條(android:fadeScrollbars="false")!我的屏幕上也有EditTexts。這就是爲什麼我把(android:focusableInTouchMode="true"android:focusable="true")。如果我把最後2個代碼放到我的滾動條中淡出,爲什麼?你有解決方案嗎?總是顯示滾動條

回答

0

請用此代替那個。

在這裏取得了理想的結果,並添加清單中的每個活動

機器人:windowSoftInputMode =「stateHidden」

+0

它不爲我工作。我的應用程序不啓動! – jamalM