android 如何实现一个有网格界面的布局,且每个网格可点击
ringa_lee
ringa_lee 2017-04-17 15:20:17
0
3
721

如图,我想实现一个有网格的界面,而且每个格子都可以点击。

我尝试放一个白色的按钮在里面,但是有很淡的阴影不是很美观。。求指导

ringa_lee
ringa_lee

ringa_lee

reply all(3)
小葫芦

There is such a layout method TableLayout in Android. It is very simple to click. Add an id to each control in the grid, then initialize the control and set the click event

迷茫

tablelayout, or custom view, drawn with canvas, the latter is more difficult.

巴扎黑

gridview, watch the video and learn by yourself so you won’t ask such questions

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template