为 Android 创建交互式表格

发布于 2024-12-28 20:24:54 字数 131 浏览 4 评论 0原文

我目前正在尝试创建一个基于时间表的应用程序。表格应该是一个按钮网格,并且触摸每个按钮。每个单元格都会有主题名称、教授姓名、与之相关的学分(我希望触摸一个按钮,它会打开一个提示,我可以在其中输入这些详细信息)有关于我应该如何开始创建这个的任何线索吗?

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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

吝吻 2025-01-04 20:24:54

也许您应该选择 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.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文