- NativeScript for Angular Mobile Development
- Nathan Walker Nathanael J. Anderson
- 120字
- 2021-07-02 18:41:50
Back to our layout
Inside the grid, we have declared a track-list component to represent our track listing, which will flex vertically, taking up all the vertical space and leaving only a height of 100 for player-controls. We indicate track-list as row="0" col="0", since rows and columns are index-based. The flexible (remainder) vertical height is defined via the GridLayout's * in the rows attribute. The bottom section of the grid (row 1) will represent the player controls, allowing users to play/pause the mix and shuttle the playback position.
Now that we have the app's primary view defined in a rather abstract way, let's dive into the two custom components we need to build, track-list and player-controls.
推薦閱讀
- Mobile Web Performance Optimization
- Mastering Entity Framework
- Practical DevOps
- Mastering Linux Network Administration
- Linux:Embedded Development
- RabbitMQ Cookbook
- NGINX Cookbook
- Java Web開發就該這樣學
- C++ System Programming Cookbook
- AI輔助編程Python實戰:基于GitHub Copilot和ChatGPT
- Python深度學習與項目實戰
- SQL Server 2014數據庫設計與開發教程(微課版)
- Learning SaltStack(Second Edition)
- 算法技術手冊
- Node.js入門指南