使用LayoutInflater動態加載布局和操作控件
摘要: 我們知道在Android中通過布局文件來描述軟件的界面,而通常在Activity中都是使用setContentView()來將布局顯示出來。但是如果我們在非Activity的情況下,而且需要對布局中的控件進行設置等操作,該如何處理呢?這就需要使用到動態加載布局LayoutInflater。 閱讀全文posted @ 2010-10-29 13:02 poetguo 閱讀(4331) | 評論 (1) 編輯
思維是一種藝術; 藝術需要靈感。
posted @ 2010-10-29 13:02 poetguo 閱讀(4331) | 評論 (1) 編輯
posted @ 2010-10-28 09:06 poetguo 閱讀(1832) | 評論 (0) 編輯
posted @ 2010-10-27 09:04 poetguo 閱讀(2475) | 評論 (0) 編輯
posted @ 2010-10-23 14:05 poetguo 閱讀(3649) | 評論 (0) 編輯
posted @ 2010-10-23 14:03 poetguo 閱讀(1826) | 評論 (0) 編輯
posted @ 2010-10-22 13:26 poetguo 閱讀(1994) | 評論 (0) 編輯
posted @ 2010-10-22 13:24 poetguo 閱讀(2763) | 評論 (0) 編輯
posted @ 2010-10-17 15:57 poetguo 閱讀(2414) | 評論 (0) 編輯
posted @ 2010-10-16 10:11 poetguo 閱讀(3733) | 評論 (0) 編輯
posted @ 2010-10-16 10:08 poetguo 閱讀(5220) | 評論 (1) 編輯
posted @ 2010-10-16 10:05 poetguo 閱讀(3753) | 評論 (1) 編輯
posted @ 2010-10-16 10:02 poetguo 閱讀(1656) | 評論 (0) 編輯