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