我在android中有一個問題。我不是一個機器人專家。我想在列表中顯示一個員工表數據(列表視圖或網格任何事物)。不像表格視圖,列表看起來像下面。我想爲此我需要自定義列表視圖?是否有可能有一個列表視圖/網格視圖來自定義如下?請指教。或者任何可用的開源代碼?android自定義列表視圖
[Reviewer Name (Editable)]
Employee Lest
---------------------------------------
Employee1 [Click Me]
Male (0) Female ()
Salary : [5999 (editable)]
Qualification
[X]BA
[ ]BSc
[ ]Matriculation
[ ]Other
[Submit Button]
---------------------------------------
Employee2 [Click Me]
Male (0) Female ()
Salary : [5999 (editable)]
Qualification
[X]BA
[ ]BSc
[ ]Matriculation
[ ]Other
[Submit Button]
---------------------------------------
Employee3 [Click Me]
Male (0) Female ()
Salary : [5999 (editable)]
Qualification
[X]BA
[ ]BSc
[ ]Matriculation
[ ]Other
[Submit Button]
---------------------------------------
我想你可以使用[自定義的ListView] [1] [1]:http://stackoverflow.com/問題/ 11203846/custom-list-row-in-listview-graphical-layout –
僅考慮**一個列表行**,爲此設計單獨的佈局並使用自定義適配器將列行佈局充氣到適配器列表。簡單.. – user370305
請參閱這些鏈接。 http://www.androidhive.info/2012/02/android-custom-listview-with-image-and-text/ http://mobile.dzone.com/news/custom-listview-android http:// www .framentos.com/en/android-tutorial/2012/07/16/listview-in-android-using-custom-listadapter-and-viewcache /希望它對你有所幫助:) – Jay