介紹如何使用 ListView
ListView之一:Adapter介紹與使用
如何產生 separated header
Separating Lists with Headers in Android 0.9
當我們使用 custom background 時, 如果 scroll ListView
會發現出現黑色的背景, 這個問題的原因如下:
ListView 使用 transparent background, 但是在 scroll 時
會用 cache color hint 來當作背景以加速繪圖
詳細的說明在此 http://developer.android.com/resources/articles/listview-backgrounds.html
因此, 我們可以用 ListView::setColorHint() 或是 xml 來改變 scroll 時
會出現的背景色, 或設為 #00000000
2012年4月26日 星期四
訂閱:
張貼留言 (Atom)
Python Tkinter First Example
import tkinter as tk def on_closing(): root.destroy() class MainWindow(tk.Tk): def __init__(self, *args, **kwargs): tk.Tk.__...
-
Download nodejs tar.gz from nodejs $ unzip nodejs tar.gz $ ./configure $ sudo make install That's it! You can do a little test t...
-
基本上參考這兩篇的作法就不會錯 How to Create a SSL Certificate on Apache for Ubuntu 12.04 Apache2 SSL in Ubuntu 不過在更改 VirtualHost 時, 應改為 <VirtualHo...
-
php 雖然有 readfile() 但仍存在一些問題 在我的測試中, 即使修改了 php.ini 等設定檔 傳輸 data 量還是都無法超過10mb 不過還是利用 apache module plugin 找到解法 那就是 x-sendfile 在Windows/U...
沒有留言:
張貼留言