为 Android 创建交互式表格
我目前正在尝试创建一个基于时间表的应用程序。表格应该是一个按钮网格,并且触摸每个按钮。每个单元格都会有主题名称、教授姓名、与之相关的学分(我希望触摸一个按钮,它会打开一个提示,我可以在其中输入这些详细信息)有关于我应该如何开始创建这个的任何线索吗?
I am currently trying to create a timetable based app. The table should be a grid of buttons and on touching each button. Each cell will have subject name,professor name, credits associated with it(I was hoping on touching one button it opens a prompt where I can enter these details)Any leads on how I should start to create this?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
也许您应该选择 TableLayout 甚至 LinearLayout。这取决于您的布局的复杂程度。
您可以简单地放置按钮,对于按钮单击事件,您可以启动另一个 UI。我猜你需要练习一些 Android 开发。继续了解有关 Android 开发的意图和基础知识的更多信息。
祝您好运,欢迎来到 Android 开发社区。
Probably you should go for TableLayout or even LinearLayout. It depends on how complex your layout is.
You can simply place buttons and for button click events you can fire up another UI. You need to practice some Android dev I guess. Go ahead and learn more about Intents and basics of Android dev.
Good luck and welcome to the Android DevCommunity.