2
我在我的Android應用程序中使用Spinner。 當我點擊更改選定的項目應用程序打開相應的微調對話框,但它會立即關閉,沒有任何用戶交互。Android - Spinner對話框在打開後關閉
有什麼想法可以是什麼原因? 我可以複製微調代碼,但我認爲沒有什麼特別的。
我在logcat中得到以下警告。
十一月九日至7日:22:49.457: [email protected]
:d/InputManagerService(120):的窗口已經 集中,忽略聚焦增益
這裏是xml佈局文件中的代碼。正如我所說,沒有exraordinar
<Spinner
android:id="@+id/weightMeasure"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:entries="@array/weight_measures" />
過去這裏代碼..... –