1
我已將按鈕添加到擴展通知中,這裏有不少。 這個想法是在通知中進行功率控制或在那裏顯示最近的應用程序。 但是,LayoutInflater
不允許ScrollView
用於`RemoteViewsv。是否可以在擴展通知中有一種滾動視圖?
必須爲此做一個解決方法:允許左側和右側的擴展通知中的UI可滾動。就像HTC Sense和最近的Apps一樣。
06-18 15:10:24.991: ERROR/StatusBar(1251): Caused by: android.view.InflateException: Binary XML file line #3: Class not allowed to be inflated android.widget.ScrollView