- 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.
推薦閱讀
- Qt 5 and OpenCV 4 Computer Vision Projects
- FreeSWITCH 1.8
- Python自然語(yǔ)言處理實(shí)戰(zhàn):核心技術(shù)與算法
- WSO2 Developer’s Guide
- Building Mobile Applications Using Kendo UI Mobile and ASP.NET Web API
- HTML5+CSS3+JavaScript Web開發(fā)案例教程(在線實(shí)訓(xùn)版)
- Windows Forensics Cookbook
- Mastering JBoss Enterprise Application Platform 7
- SQL基礎(chǔ)教程(第2版)
- 好好學(xué)Java:從零基礎(chǔ)到項(xiàng)目實(shí)戰(zhàn)
- C++程序設(shè)計(jì)教程(第2版)
- Java Hibernate Cookbook
- Tableau Dashboard Cookbook
- Spark技術(shù)內(nèi)幕:深入解析Spark內(nèi)核架構(gòu)設(shè)計(jì)與實(shí)現(xiàn)原理
- Android熱門應(yīng)用開發(fā)詳解