mirror of
https://github.com/zhongyang219/MusicPlayer2.git
synced 2026-10-29 05:09:33 +08:00
调整“简洁UI”界面的布局
This commit is contained in:
@@ -36,14 +36,7 @@
|
||||
</ui>
|
||||
<ui type="narrow">
|
||||
<verticalLayout margin="4">
|
||||
<albumCover square="true" margin-left="40" margin-top="40" margin-right="40" margin-bottom="8">
|
||||
<verticalLayout>
|
||||
<placeHolder/>
|
||||
<rectangle height="20%" no_corner_radius="true">
|
||||
<lyrics margin="4"/>
|
||||
</rectangle>
|
||||
</verticalLayout>
|
||||
</albumCover>
|
||||
<albumCover square="true" margin-left="40" margin-top="40" margin-right="40" margin-bottom="8"/>
|
||||
<text type="title" style="scroll" height="24" alignment="center" font_size="10"/>
|
||||
<text type="artist" style="scroll" height="24" alignment="center"/>
|
||||
<progressBar show_play_time="true" play_time_both_side="true" margin-left="8" margin-right="8" margin-top="16" height="22"/>
|
||||
@@ -61,22 +54,23 @@
|
||||
</ui>
|
||||
<ui type="small">
|
||||
<verticalLayout>
|
||||
<horizontalLayout margin="4" height="100">
|
||||
<albumCover square="true" margin="4" width="100"/>
|
||||
<horizontalLayout>
|
||||
<albumCover square="true" margin="4" width="120"/>
|
||||
<verticalLayout margin="4">
|
||||
<text type="title" style="scroll" height="24" font_size="12"/>
|
||||
<text type="artist" style="scroll" height="24" font_size="10"/>
|
||||
<text type="album" style="scroll" height="24" font_size="10"/>
|
||||
<text type="title" style="scroll" height="32" font_size="12"/>
|
||||
<text type="artist" style="scroll" height="26" font_size="10"/>
|
||||
<text type="album" style="scroll" height="26" font_size="10"/>
|
||||
</verticalLayout>
|
||||
</horizontalLayout>
|
||||
<lyrics/>
|
||||
<progressBar show_play_time="true" play_time_both_side="true" margin-left="8" margin-right="8" margin-top="4" height="18"/>
|
||||
<horizontalLayout margin="4" height="40">
|
||||
<button key="previous" width="36" height="36" bigIcon="true" margin="2"/>
|
||||
<button key="playPause" width="36" height="36" bigIcon="true" margin="2"/>
|
||||
<button key="next" width="36" height="36" bigIcon="true" margin="2"/>
|
||||
<progressBar show_play_time="false" margin-left="4" margin-right="4"/>
|
||||
<placeHolder/>
|
||||
<button key="favorite" width="24" height="24" margin="2"/>
|
||||
<button key="repeatMode" width="24" height="24" margin="2"/>
|
||||
<volume show_text="false" width="24" height="24" margin="2"/>
|
||||
<button key="showPlaylist" width="24" height="24" margin="2"/>
|
||||
</horizontalLayout>
|
||||
</verticalLayout>
|
||||
|
||||
Reference in New Issue
Block a user