仿酷狗音乐播放器开发日志二十四 选项设置窗体的实现(附328行xml布局源码)

本文涉及的产品
日志服务 SLS,月写入数据量 50GB 1个月
简介: 转载请说明原出处,谢谢~~        花了两天时间把仿酷狗的选项设置窗体做出来了,当然了只是做了外观。现在开学了,写代码的时间减少,所以整个仿酷狗的工程开发速度减慢了。

转载请说明原出处,谢谢~~

       花了两天时间把仿酷狗的选项设置窗体做出来了,当然了只是做了外观。现在开学了,写代码的时间减少,所以整个仿酷狗的工程开发速度减慢了。今天把仿酷狗的选项设置窗体的布局代码分享出来,给学习duilib布局的朋友做个demo。现在编写的仿酷狗选项设置窗体和原酷狗的窗体不细看几乎看不出差别,控件的布局位置和原酷狗最多只有几个像素的位置差别。

       先来看一下原酷狗的选项设置窗体的其中一个页面:

       如果还不太会布局的朋友可以先看我前些日子写的关于duilib布局的博客duilib各种布局的作用,相对布局与绝对布局的的意义与用法。可以看出来,选项设置窗体的整体布局并不复杂,但是其中分为多个页面,而每个页面里面又有许多控件,所以写这个窗体的布局简单而繁琐。这是我的眼中的布局图:


        左侧使用纵向布局内嵌Option控件实现,而右侧界面的主界面使用TabLayout布局实现切换的功能。每个页面使用纵向布局来做容器。

       在设置窗体里大量用到Label、Button、Option、CheckBox控件,为了避免重复写属性代码,所以应该使用Default标签定义这几个控件的默认属性,比如字体颜色,禁用状态下的字体颜色,CheckBox控件的状态图等。这里给出默认标签的代码:

<Default name="Label" value="autocalcwidth="true" textcolor="#FF454545" " />
<Default name="Button" value="autocalcwidth="true" textcolor="#FF454545" disabledtextcolor="#FF454545" " />
<Default name="CheckBox" value="textcolor="#FF454545" disabledtextcolor="#FF888888" width="10" height="14" textpadding="16,1,0,0" align="left" normalimage="file='UI\setting\check_normal.png' dest='0,0,14,14'" hotimage="file='UI\setting\check_hover.png' dest='0,0,14,14'" pushedimage="file='UI\setting\check_down.png' dest='0,0,14,14'" disabledimage="file='UI\setting\check_disable.png' dest='0,0,14,14'" selectedimage="file='UI\setting\checked_normal.png' dest='0,0,14,14'" selectedhotimage="file='UI\setting\checked_hover.png' dest='0,0,14,14'" selectedpushedimage="file='UI\setting\checked_down.png' dest='0,0,14,14'" autocalcwidth="true""/>

       我这里使用了autocalcwidth属性,这是我另外添加的属性,是群里朋友修改的代码。用来让Label控件根据问题内容而自动计算宽度,这样可以省去很多时间让我专心把时间投入到布局上面。

       如同我在前面的博客提到的,能不使用绝对布局就不用,所以在这整个布局代码中,只有两三处必须用绝对布局的地方我才使用了绝对布局,其余代码都是使用相对布局。所以这些布局代码可以帮助duilib新手朋友学习相对布局的用法。

      开发仿酷狗时我使用的是duilib的扩展版本uilib库,而且我又对uilib库进行过很多次的bug和性能修复(具体的修复代码可以从前面的博客看到),所以今天发出来的布局代码大家不能直接拷贝后使用,而要根据自己的情况进行必要的修改。没有什么其他要点了,直接发出效果图。一共九张 ,分别对应酷狗选项设置窗体的九个页面。


       下面把完全的布局代码贴出来,博客最后会把布局的下载链接也发出来:

<?xml version="1.0" encoding="utf-8" standalone="yes" ?>
<Window size="632,484" sizebox="4,4,4,4" caption="0,0,0,30" mininfo="632,484" roundcorner="3,3" bktrans="false" >
    <Font name="宋体" size="12" default="true"/>
    <Font name="宋体" size="12" bold="true" />
    <Default name="Label" value="autocalcwidth="true" textcolor="#FF454545" " />
    <Default name="Button" value="autocalcwidth="true" textcolor="#FF454545" disabledtextcolor="#FF454545" " />
    <Default name="CheckBox" value="textcolor="#FF454545" disabledtextcolor="#FF888888" width="10" height="14" textpadding="16,1,0,0" align="left" normalimage="file='UI\setting\check_normal.png' dest='0,0,14,14'" hotimage="file='UI\setting\check_hover.png' dest='0,0,14,14'" pushedimage="file='UI\setting\check_down.png' dest='0,0,14,14'" disabledimage="file='UI\setting\check_disable.png' dest='0,0,14,14'" selectedimage="file='UI\setting\checked_normal.png' dest='0,0,14,14'" selectedhotimage="file='UI\setting\checked_hover.png' dest='0,0,14,14'" selectedpushedimage="file='UI\setting\checked_down.png' dest='0,0,14,14'" autocalcwidth="true""/>

    <VerticalLayout  bkcolor="#FFFFFFFF" bordercolor="#FF47484B" bordersize="1" inset="1,1,1,1">
        <HorizontalLayout name="background" height="30" bkimage="file='UI\BKImage\4.jpg' source='0,0,1000,30'" ><!-- 标题栏 -->
            <Label text="选项设置——Redrain播放器" textcolor="#FFFFFFFF" textpadding="5,0,0,0" font="1" autocalcwidth="false" width="300"/>
			<Control />
			<Button name="closebtn" width="23" height="18" padding="0,6,0,0" normalimage="UI\title\close_normal.png" hotimage="UI\title\close_hover.png" pushedimage="UI\title\close_down.png" />                     
        </HorizontalLayout>

        <HorizontalLayout >
            <VerticalLayout width="135" inset="7,0,0,0" bkcolor="#FFE0F2FE" rightbordersize="1" bordercolor="#FFCEDEEA"><!-- 左侧选项卡 -->
            	<Label bkimage="UI\setting\lblTop.png" padding="0,24,0,0" width="128" height="28" />
            	<Option name="setting_OptConv" width="128" height="26" normalimage="UI\setting\conv_normal.png" hotimage="UI\setting\conv_hover.png" pushedimage="UI\setting\conv_down.png"  group="Setting_Tab" selectedimage="UI\setting\conv_down.png"  selected="true" bindtablayoutname="setting_Tab" bindtabindex="0"/>
   				<Option name="setting_OptDownload" width="128" height="26" normalimage="UI\setting\download_normal.png" hotimage="UI\setting\download_hover.png" pushedimage="UI\setting\download_down.png"  group="Setting_Tab" selectedimage="UI\setting\download_down.png" bindtablayoutname="setting_Tab" bindtabindex="1"/>
   				<Option name="setting_OptAcce" width="128" height="26" normalimage="UI\setting\acce_normal.png" hotimage="UI\setting\acce_hover.png" pushedimage="UI\setting\acce_down.png"  group="Setting_Tab" selectedimage="UI\setting\acce_down.png" bindtablayoutname="setting_Tab" bindtabindex="2"/>
   				<Option name="setting_OptUpdate" width="128" height="26" normalimage="UI\setting\update_normal.png" hotimage="UI\setting\update_hover.png" pushedimage="UI\setting\update_down.png"  group="Setting_Tab" selectedimage="UI\setting\update_down.png" bindtablayoutname="setting_Tab" bindtabindex="3"/>

   				<Label bkimage="UI\setting\lblMid.png" padding="0,30,0,0" width="128" height="28" />
   				<Option name="setting_OptLrcDest" width="128" height="26" normalimage="UI\setting\lrc_dest_normal.png" hotimage="UI\setting\lrc_dest_hover.png" pushedimage="UI\setting\lrc_dest_down.png"  group="Setting_Tab" selectedimage="UI\setting\lrc_dest_down.png" bindtablayoutname="setting_Tab" bindtabindex="4"/>
   				<Option name="setting_OptLrcWnd" width="128" height="26" normalimage="UI\setting\lrc_wnd_normal.png" hotimage="UI\setting\lrc_wnd_hover.png" pushedimage="UI\setting\lrc_wnd_down.png"  group="Setting_Tab" selectedimage="UI\setting\lrc_wnd_down.png" bindtablayoutname="setting_Tab" bindtabindex="5"/>

   				<Label bkimage="UI\setting\lblBot.png" padding="0,30,0,0" width="128" height="28" />
   				<Option name="setting_OptAudio" width="128" height="26" normalimage="UI\setting\Audio_normal.png" hotimage="UI\setting\Audio_hover.png" pushedimage="UI\setting\Audio_down.png"  group="Setting_Tab" selectedimage="UI\setting\Audio_down.png" bindtablayoutname="setting_Tab" bindtabindex="6"/>
   				<Option name="setting_OptNet" width="128" height="26" normalimage="UI\setting\net_normal.png" hotimage="UI\setting\net_hover.png" pushedimage="UI\setting\net_down.png"  group="Setting_Tab" selectedimage="UI\setting\net_down.png" bindtablayoutname="setting_Tab" bindtabindex="7"/>
   				<Option name="setting_OptOther" width="128" height="26" normalimage="UI\setting\other_normal.png" hotimage="UI\setting\other_hover.png" pushedimage="UI\setting\other_down.png"  group="Setting_Tab" selectedimage="UI\setting\other_down.png" bindtablayoutname="setting_Tab" bindtabindex="8"/>

            </VerticalLayout >

            <VerticalLayout>
            	<TabLayout name="setting_Tab" selectedid="0" inset="50,26,0,0"><!-- 主体界面 -->
	               	<VerticalLayout childpadding="8,0,0,0"><!-- 第一个设置页面 -->
	               		<Button text="启动时" font="1" enabled="false" align="left" bkimage="UI\setting\sepline.png" width="420" height="13" />
	               		<HorizontalLayout height="14" padding="0,2,0,0">
	               			<CheckBox text="自动播放歌曲"/>
	               			<CheckBox text="恢复上次播放的状态" padding="106,0,0,0" />
	               		</HorizontalLayout>
	               		<CheckBox text="播放Redrain问候语" selected="true" />

	               		<Button text="关闭主面板时"  padding="0,12,0,0" font="1" enabled="false" align="left" bkimage="UI\setting\sepline.png" width="420" height="13" />
	               		<Option text="最小化到系统托盘,不退出程序"  padding="0,2,0,0" textcolor="#FF454545" disabledtextcolor="#FF454545" width="10" height="16" textpadding="18,1,0,0" align="left" normalimage="file='UI\setting\option_normal.png' dest='0,0,16,16'" hotimage="file='UI\setting\option_hover.png' dest='0,0,16,16'" pushedimage="file='UI\setting\option_down.png' dest='0,0,16,16'" disabledimage="file='UI\setting\option_disable.png' dest='0,0,16,16'" selectedimage="file='UI\setting\optioned_normal.png' dest='0,0,16,16'" selectedhotimage="file='UI\setting\optioned_hover.png' dest='0,0,16,16'" selectedpushedimage="file='UI\setting\optioned_down.png' dest='0,0,16,16'" autocalcwidth="true" group="SettingConv" selected="true" />
	               		<Option text="退出程序"  padding="0,2,0,0" textcolor="#FF454545" disabledtextcolor="#FF454545" width="10" height="16" textpadding="18,1,0,0" align="left" normalimage="file='UI\setting\option_normal.png' dest='0,0,16,16'" hotimage="file='UI\setting\option_hover.png' dest='0,0,16,16'" pushedimage="file='UI\setting\option_down.png' dest='0,0,16,16'" disabledimage="file='UI\setting\option_disable.png' dest='0,0,16,16'" selectedimage="file='UI\setting\optioned_normal.png' dest='0,0,16,16'" selectedhotimage="file='UI\setting\optioned_hover.png' dest='0,0,16,16'" selectedpushedimage="file='UI\setting\optioned_down.png' dest='0,0,16,16'" autocalcwidth="true" group="SettingConv"/>

	               		<Button text="其他设置"  padding="0,12,0,0" font="1" enabled="false" align="left" bkimage="UI\setting\sepline.png" width="420" height="13" />
	               		<CheckBox text="关闭网络功能,作为本地播放器使用。(试听和下载会重新打开网络功能)"/>
	               		<CheckBox text="允许弹出推广信息" selected="true"/>
	               		<CheckBox text="开机时自动启动Redrain播放器"/>
	               		<CheckBox text="开机时启动桌面写真"/>
	               		<CheckBox text="USB连接时显示设备接入提示" selected="true"/>

	               		<Button text="文件关联"  padding="0,12,0,0" font="1" enabled="false" align="left" bkimage="UI\setting\sepline.png" width="420" height="13" />
	               		<CheckBox text="将Redrain播放器作为默认音乐播放器"/>
	               	</VerticalLayout>

	               	<VerticalLayout childpadding="8,0,0,0"><!-- 第二个设置页面 -->
	               		<Button text="目录设置" font="1" enabled="false" align="left" bkimage="UI\setting\sepline.png" width="420" height="13" />
	               		<VerticalLayout height="85">
		               		<HorizontalLayout height="27" >
		               			<Label text="下载目录  " width="65"/>
		               			<Edit name="" text="D:\Redrain\" width="252" height="22" bordercolor="#FFC5C5C5" focusbordercolor="#FF5AAFF7" textpadding="9,5,5,5" textcolor="#FF454545" bkcolor="#00000000" nativebkcolor="#FFFFFFFF"  />
		               			<Button name="" text="更改目录" width="70" height="25" padding="12,0,0,0" normalimage="file='UI\skin\button_normal.png' corner='5,5,5,5'" hotimage="file='UI\skin\button_hover.png' corner='5,5,5,5'" pushedimage="file='UI\skin\button_down.png' corner='5,5,5,5'" />
		               		</HorizontalLayout>
		               		<HorizontalLayout height="27" >
		               			<Label text="歌词目录  " width="65"/>
		               			<Edit name="" text="D:\Redrain\Lyric\" width="252" height="22" bordercolor="#FFC5C5C5" focusbordercolor="#FF5AAFF7" textpadding="9,5,5,5" textcolor="#FF454545" bkcolor="#00000000" nativebkcolor="#FFFFFFFF"  />
		               			<Button name="" text="更改目录" width="70" height="25" padding="12,0,0,0" normalimage="file='UI\skin\button_normal.png' corner='5,5,5,5'" hotimage="file='UI\skin\button_hover.png' corner='5,5,5,5'" pushedimage="file='UI\skin\button_down.png' corner='5,5,5,5'" />
		               		</HorizontalLayout>
		               		<HorizontalLayout height="27" >
		               			<Label text="缓存目录  " width="65"/>
		               			<Edit name="" text="D:\Redrain\Temp\" width="252" height="22" bordercolor="#FFC5C5C5" focusbordercolor="#FF5AAFF7" textpadding="9,5,5,5" textcolor="#FF454545" bkcolor="#00000000" nativebkcolor="#FFFFFFFF"  />
		               			<Button name="" text="更改目录" width="70" height="25" padding="12,0,0,0" normalimage="file='UI\skin\button_normal.png' corner='5,5,5,5'" hotimage="file='UI\skin\button_hover.png' corner='5,5,5,5'" pushedimage="file='UI\skin\button_down.png' corner='5,5,5,5'" />
		               		</HorizontalLayout>
	               		</VerticalLayout>
	               		<HorizontalLayout height="24">
	               			<Label text="缓存大小设置" textpadding="0,3,0,0" width="75"/>
	               			<Option text="自动"  padding="30,3,0,0" textcolor="#FF454545" disabledtextcolor="#FF454545" width="10" height="16" textpadding="18,1,0,0" align="left" normalimage="file='UI\setting\option_normal.png' dest='0,0,16,16'" hotimage="file='UI\setting\option_hover.png' dest='0,0,16,16'" pushedimage="file='UI\setting\option_down.png' dest='0,0,16,16'" disabledimage="file='UI\setting\option_disable.png' dest='0,0,16,16'" selectedimage="file='UI\setting\optioned_normal.png' dest='0,0,16,16'" selectedhotimage="file='UI\setting\optioned_hover.png' dest='0,0,16,16'" selectedpushedimage="file='UI\setting\optioned_down.png' dest='0,0,16,16'" autocalcwidth="true" group="SettingDownload" selected="true" />
	               			<Option text="手动"  padding="30,3,0,0" textcolor="#FF454545" disabledtextcolor="#FF454545" width="10" height="16" textpadding="18,1,0,0" align="left" normalimage="file='UI\setting\option_normal.png' dest='0,0,16,16'" hotimage="file='UI\setting\option_hover.png' dest='0,0,16,16'" pushedimage="file='UI\setting\option_down.png' dest='0,0,16,16'" disabledimage="file='UI\setting\option_disable.png' dest='0,0,16,16'" selectedimage="file='UI\setting\optioned_normal.png' dest='0,0,16,16'" selectedhotimage="file='UI\setting\optioned_hover.png' dest='0,0,16,16'" selectedpushedimage="file='UI\setting\optioned_down.png' dest='0,0,16,16'" autocalcwidth="true" group="SettingDownload" selected="true" />
	               			<HorizontalLayout width="60" height="22" padding="28,0,0,0" >
	               				<Edit name="" text="4704" width="60" height="22" bordercolor="#FFC5C5C5" textpadding="5,5,20,5" textcolor="#FF454545" bkcolor="#00000000" nativebkcolor="#FFFFFFFF"  />
	               				<Button float="true" pos="40,1,0,0" height="10" width="19" normalimage="UI\setting\arrowup_normal.png" hotimage="UI\setting\arrowup_hover.png" pushedimage="UI\setting\arrowup_down.png"/>
	               				<Button float="true" pos="40,11,0,0" height="10" width="19" normalimage="UI\setting\arrowdown_normal.png" hotimage="UI\setting\arrowdown_hover.png" pushedimage="UI\setting\arrowdown_down.png"/>
	               			</HorizontalLayout>
	               			<Label text=" 512M-5210M" width="75" enabled="false" />
	               			
	               		</HorizontalLayout>

	               		<Button text="速度控制"  padding="0,12,0,0" font="1" enabled="false" align="left" bkimage="UI\setting\sepline.png" width="420" height="13" />
	               		<Option text="全速下载"  padding="0,8,0,0" textcolor="#FF454545" disabledtextcolor="#FF454545" width="10" height="16" textpadding="18,1,0,0" align="left" normalimage="file='UI\setting\option_normal.png' dest='0,0,16,16'" hotimage="file='UI\setting\option_hover.png' dest='0,0,16,16'" pushedimage="file='UI\setting\option_down.png' dest='0,0,16,16'" disabledimage="file='UI\setting\option_disable.png' dest='0,0,16,16'" selectedimage="file='UI\setting\optioned_normal.png' dest='0,0,16,16'" selectedhotimage="file='UI\setting\optioned_hover.png' dest='0,0,16,16'" selectedpushedimage="file='UI\setting\optioned_down.png' dest='0,0,16,16'" autocalcwidth="true" group="SettingConv" selected="true" />
	               		<HorizontalLayout height="24">
	               			<Option text="自定义" padding="0,5,0,0" textcolor="#FF454545" disabledtextcolor="#FF454545" width="10" height="16" textpadding="18,1,0,0" align="left" normalimage="file='UI\setting\option_normal.png' dest='0,0,16,16'" hotimage="file='UI\setting\option_hover.png' dest='0,0,16,16'" pushedimage="file='UI\setting\option_down.png' dest='0,0,16,16'" disabledimage="file='UI\setting\option_disable.png' dest='0,0,16,16'" selectedimage="file='UI\setting\optioned_normal.png' dest='0,0,16,16'" selectedhotimage="file='UI\setting\optioned_hover.png' dest='0,0,16,16'" selectedpushedimage="file='UI\setting\optioned_down.png' dest='0,0,16,16'" autocalcwidth="true" group="SettingConv"/>
	               			<Label text="下载带宽" textpadding="20,5,0,0" />
	               			<Button name="" text="最快速度"  align="left" textpadding="6,6,0,0" width="73" height="24" padding="10,0,0,0" normalimage="file='UI\setting\combo_normal.png' corner='20,0,20,0'" hotimage="file='UI\setting\combo_down.png' corner='20,0,20,0'" pushedimage="file='UI\setting\combo_down.png' corner='20,0,20,0'"  />
	               			<Label text="KB/s" textpadding="3,5,0,0" />
	               			<Label text="上载带宽" textpadding="20,5,0,0" />
	               			<Button name="" text="无限制" align="left" textpadding="6,6,0,0" width="73" height="24" padding="10,0,0,0" normalimage="file='UI\setting\combo_normal.png' corner='20,0,20,0'" hotimage="file='UI\setting\combo_down.png' corner='20,0,20,0'" pushedimage="file='UI\setting\combo_down.png' corner='20,0,20,0'"  />
	               			<Label text="KB/s" textpadding="3,5,0,0" />
	               		</HorizontalLayout>	               		
	               		<CheckBox text="开启VIP下载加速" enabled="false" />

	               		<Button text="其他" padding="0,12,0,0" font="1" enabled="false" align="left" bkimage="UI\setting\sepline.png" width="420" height="13" />
	               		<CheckBox text="每次下载弹出音质选择框" selected="true" padding="0,8,0,0"/>
	               		<HorizontalLayout height="27" >
		               			<Label text="同时下载文件数: " />
		               			<Edit name="" text="3" width="80" height="22" bordercolor="#FFC5C5C5" focusbordercolor="#FF5AAFF7" textpadding="9,5,5,5" textcolor="#FF454545" bkcolor="#00000000" nativebkcolor="#FFFFFFFF"  />
		               			<Label text="下载端口: " width="65" padding="30,0,0,0" />
		               			<Edit name="" text="8000" width="80" height="22" bordercolor="#FFC5C5C5" focusbordercolor="#FF5AAFF7" textpadding="9,5,5,5" textcolor="#FF454545" bkcolor="#00000000" nativebkcolor="#FFFFFFFF"  />		
		               		</HorizontalLayout>
	               	</VerticalLayout>

	               	<VerticalLayout ><!-- 第三个设置页面 -->
	               		<Button text="播放设置" font="1" enabled="false" align="left" bkimage="UI\setting\sepline.png" width="420" height="13" />
	               		<Button  width="1" height="1" />
	               		<HorizontalLayout height="27" padding="0,8,0,0" >
		               		<Label text="播放/暂停" autocalcwidth="false" width="190"/>
		               		<Edit name="" text="Alt + F5" align="center" width="166" height="22" bordercolor="#FFC5C5C5" focusbordercolor="#FF5AAFF7" textpadding="9,5,5,5" textcolor="#FF454545" bkcolor="#00000000" nativebkcolor="#FFFFFFFF" />
		               	</HorizontalLayout>
		               	<HorizontalLayout height="27" >
		               		<Label text="上一首" autocalcwidth="false" width="190"/>
		               		<Edit name="" text="Alt + Left" align="center" width="166" height="22" bordercolor="#FFC5C5C5" focusbordercolor="#FF5AAFF7" textpadding="9,5,5,5" textcolor="#FF454545" bkcolor="#00000000" nativebkcolor="#FFFFFFFF"  />
		               	</HorizontalLayout>
		               	<HorizontalLayout height="27" >
		               		<Label text="下一首" autocalcwidth="false" width="190"/>
		               		<Edit name="" text="Alt + Right" align="center" width="166" height="22" bordercolor="#FFC5C5C5" focusbordercolor="#FF5AAFF7" textpadding="9,5,5,5" textcolor="#FF454545" bkcolor="#00000000" nativebkcolor="#FFFFFFFF"  />
		               	</HorizontalLayout>
		               	<HorizontalLayout height="27" >
		               		<Label text="快进" autocalcwidth="false" width="190"/>
		               		<Edit name="" text="Ctrl + Shift + Right" align="center" width="166" height="22" bordercolor="#FFC5C5C5" focusbordercolor="#FF5AAFF7" textpadding="9,5,5,5" textcolor="#FF454545" bkcolor="#00000000" nativebkcolor="#FFFFFFFF"  />
		               	</HorizontalLayout>
		               	<HorizontalLayout height="27" >
		               		<Label text="快退" autocalcwidth="false" width="190"/>
		               		<Edit name="" text="Ctrl + Shift + Left" align="center" width="166" height="22" bordercolor="#FFC5C5C5" focusbordercolor="#FF5AAFF7" textpadding="9,5,5,5" textcolor="#FF454545" bkcolor="#00000000" nativebkcolor="#FFFFFFFF"  />
		               	</HorizontalLayout>
		               	<HorizontalLayout height="27" >
		               		<Label text="增大音量" autocalcwidth="false" width="190"/>
		               		<Edit name="" text="Ctrl + G" align="center" width="166" height="22" bordercolor="#FFC5C5C5" focusbordercolor="#FF5AAFF7" textpadding="9,5,5,5" textcolor="#FF454545" bkcolor="#00000000" nativebkcolor="#FFFFFFFF"  />
		               	</HorizontalLayout>
		               	<HorizontalLayout height="27" >
		               		<Label text="减小音量" autocalcwidth="false" width="190"/>
		               		<Edit name="" text="Alt + Down" align="center" width="166" height="22" bordercolor="#FFC5C5C5" focusbordercolor="#FF5AAFF7" textpadding="9,5,5,5" textcolor="#FF454545" bkcolor="#00000000" nativebkcolor="#FFFFFFFF"  />
		               	</HorizontalLayout>
		               	<HorizontalLayout height="27" >
		               		<Label text="静音" autocalcwidth="false" width="190"/>
		               		<Edit name="" text="Ctrl + Alt + S" align="center" width="166" height="22" bordercolor="#FFC5C5C5" focusbordercolor="#FF5AAFF7" textpadding="9,5,5,5" textcolor="#FF454545" bkcolor="#00000000" nativebkcolor="#FFFFFFFF"  />
		               	</HorizontalLayout>
		               	<Button text="歌词控制" padding="0,12,0,0" font="1" enabled="false" align="left" bkimage="UI\setting\sepline.png" width="420" height="13" />
	               		<HorizontalLayout height="27" padding="0,8,0,0">
		               		<Label text="显示/隐藏桌面歌词" autocalcwidth="false" width="190"/>
		               		<Edit name="" text="Ctrl + Alt + D" align="center" width="166" height="22" bordercolor="#FFC5C5C5" focusbordercolor="#FF5AAFF7" textpadding="9,5,5,5" textcolor="#FF454545" bkcolor="#00000000" nativebkcolor="#FFFFFFFF"  />
		               	</HorizontalLayout>
		               	<HorizontalLayout height="27" >
		               		<Label text="锁定/解锁桌面歌词" autocalcwidth="false" width="190"/>
		               		<Edit name="" text="Ctrl + Alt + E" align="center" width="166" height="22" bordercolor="#FFC5C5C5" focusbordercolor="#FF5AAFF7" textpadding="9,5,5,5" textcolor="#FF454545" bkcolor="#00000000" nativebkcolor="#FFFFFFFF"  />
		               	</HorizontalLayout>
	               		<HorizontalLayout height="25" padding="0,8,0,0">
	               			<CheckBox text="启用全局快捷键" padding="0,5,0,0" selected="true" />
	               			<CheckBox text="弹出快捷键提示窗口" padding="30,5,0,0" />
	               			<Button text="恢复默认" width="90" height="25" padding="12,0,0,0" normalimage="file='UI\skin\button_normal.png' corner='5,5,5,5'" hotimage="file='UI\skin\button_hover.png' corner='5,5,5,5'" pushedimage="file='UI\skin\button_down.png' corner='5,5,5,5'"  />
	               		</HorizontalLayout>
	               	</VerticalLayout>

	               	<VerticalLayout childpadding="8,0,0,0"><!-- 第四个设置页面 -->
	               		<Button text="软件更新" font="1" enabled="false" align="left" bkimage="UI\setting\sepline.png" width="420" height="13" />
		               	<Label text="当前版本:Redrain播放器 V1000" />
		               	<Label text="更新事件:2014.8.25" />
		               	<Button text="手动检查更新" width="100" height="25" padding="0,7,0,0" normalimage="file='UI\skin\button_normal.png' corner='5,5,5,5'" hotimage="file='UI\skin\button_hover.png' corner='5,5,5,5'" pushedimage="file='UI\skin\button_down.png' corner='5,5,5,5'"  />
	               	</VerticalLayout>

	                <VerticalLayout childpadding="8,0,0,0"><!-- 第五个设置页面 -->
	               		<Button text="目录设置" font="1" enabled="false" align="left" bkimage="UI\setting\sepline.png" width="420" height="13" />
	               		<CheckBox text="单行显示歌词" padding="0,8,0,0"/>
	               		<HorizontalLayout height="24">
	               			<Label text="字体" textpadding="0,5,0,0" />
	               			<Button name="" text="黑体"  align="left" textpadding="6,6,0,0" width="80" height="24" padding="10,0,0,0" normalimage="file='UI\setting\combo_normal.png' corner='20,0,20,0'" hotimage="file='UI\setting\combo_down.png' corner='20,0,20,0'" pushedimage="file='UI\setting\combo_down.png' corner='20,0,20,0'"  />
	               			<Label text="字号" textpadding="20,5,0,0" />
	               			<Button name="" text="29" align="left" textpadding="6,6,0,0" width="80" height="24" padding="10,0,0,0" normalimage="file='UI\setting\combo_normal.png' corner='20,0,20,0'" hotimage="file='UI\setting\combo_down.png' corner='20,0,20,0'" pushedimage="file='UI\setting\combo_down.png' corner='20,0,20,0'"  />
	               			<Label text="字形" textpadding="20,5,0,0" />
	               			<Button name="" text="粗体" align="left" textpadding="6,6,0,0" width="80" height="24" padding="10,0,0,0" normalimage="file='UI\setting\combo_normal.png' corner='20,0,20,0'" hotimage="file='UI\setting\combo_down.png' corner='20,0,20,0'" pushedimage="file='UI\setting\combo_down.png' corner='20,0,20,0'"  />
	               		</HorizontalLayout>	
	               		<HorizontalLayout height="25">
	               			<Label text="颜色" textpadding="0,5,0,0" />
	               			<Button text="未播放" align="left" foreimage="file='UI\setting\dest_lrc1.png' dest='3,3,30,22'" textpadding="36,6,0,0" width="82" height="25" padding="10,0,0,0" normalimage="file='UI\skin\button_normal.png' corner='5,5,5,5'" hotimage="file='UI\skin\button_hover.png' corner='5,5,5,5'" pushedimage="file='UI\skin\button_down.png' corner='5,5,5,5'"  />	      
	               			<Button text="已播放" align="left" foreimage="file='UI\setting\dest_lrc2.png' dest='3,3,30,22'" textpadding="36,6,0,0" width="82" height="25" padding="10,0,0,0" normalimage="file='UI\skin\button_normal.png' corner='5,5,5,5'" hotimage="file='UI\skin\button_hover.png' corner='5,5,5,5'" pushedimage="file='UI\skin\button_down.png' corner='5,5,5,5'"  />
	               			<Label text="预设方案" textpadding="37,5,0,0" />
	               			<Button name="" text="海洋蓝" align="left" textpadding="6,6,0,0" width="80" height="24" padding="10,0,0,0" normalimage="file='UI\setting\combo_normal.png' corner='20,0,20,0'" hotimage="file='UI\setting\combo_down.png' corner='20,0,20,0'" pushedimage="file='UI\setting\combo_down.png' corner='20,0,20,0'"  />
	               		</HorizontalLayout>	
	               		<HorizontalLayout height="25">
	               			<Label text="透明度" textpadding="0,5,0,0" />
	               			<Slider name="setting_dest_slider" height="21" width="239" min="0" max="100" value="0" step="1" padding="21,4,0,0" bkimage="file='UI\setting\SliderBK.png' dest='0,10,239,11'" foreimage="file='UI\setting\SliderFore.png'" isstretchfore="false" thumbimage="file='UI\skin\thumb_normal.png'" thumbhotimage="file='UI\skin\thumb_hover.png'"  thumbpushedimage="file='UI\skin\thumb_hover.png'" thumbsize="21,21" sendmove="true" />
	               			<Label text="0%" textpadding="10,5,0,0" />
	               		</HorizontalLayout>	
	               		<Button text="预览" font="1" enabled="false" align="left" bkimage="UI\setting\sepline.png" width="420" height="13" />
	               		<Control name="setting_dest_view" width="418" height="115" bkimage="UI\setting\view.png" />
	               		<Button text="恢复默认方案" width="100" height="25" normalimage="file='UI\skin\button_normal.png' corner='5,5,5,5'" hotimage="file='UI\skin\button_hover.png' corner='5,5,5,5'" pushedimage="file='UI\skin\button_down.png' corner='5,5,5,5'"  />
	               	</VerticalLayout>

	               	<VerticalLayout childpadding="8,0,0,0"><!-- 第六个设置页面 -->
	               		<Button text="样式设置" font="1" enabled="false" align="left" bkimage="UI\setting\sepline.png" width="420" height="13" />
	               		<HorizontalLayout height="24">
	               			<Label text="字体" textpadding="0,5,0,0" />
	               			<Button name="" text="微软雅黑"  align="left" textpadding="6,6,0,0" width="80" height="24" padding="10,0,0,0" normalimage="file='UI\setting\combo_normal.png' corner='20,0,20,0'" hotimage="file='UI\setting\combo_down.png' corner='20,0,20,0'" pushedimage="file='UI\setting\combo_down.png' corner='20,0,20,0'"  />
	               			<Label text="字号" textpadding="20,5,0,0" />
	               			<Button name="" text="18" align="left" textpadding="6,6,0,0" width="80" height="24" padding="10,0,0,0" normalimage="file='UI\setting\combo_normal.png' corner='20,0,20,0'" hotimage="file='UI\setting\combo_down.png' corner='20,0,20,0'" pushedimage="file='UI\setting\combo_down.png' corner='20,0,20,0'"  />
	               			<Label text="字形" textpadding="20,5,0,0" />
	               			<Button name="" text="常规" align="left" textpadding="6,6,0,0" width="80" height="24" padding="10,0,0,0" normalimage="file='UI\setting\combo_normal.png' corner='20,0,20,0'" hotimage="file='UI\setting\combo_down.png' corner='20,0,20,0'" pushedimage="file='UI\setting\combo_down.png' corner='20,0,20,0'"  />
	               		</HorizontalLayout>	
	               		<HorizontalLayout height="25">
	               			<Label text="颜色" textpadding="0,5,0,0" />
	               			<Button text="未播放" align="left" foreimage="file='UI\setting\dest_wnd1.png' dest='3,3,30,22'" textpadding="36,6,0,0" width="82" height="25" padding="10,0,0,0" normalimage="file='UI\skin\button_normal.png' corner='5,5,5,5'" hotimage="file='UI\skin\button_hover.png' corner='5,5,5,5'" pushedimage="file='UI\skin\button_down.png' corner='5,5,5,5'"  />	      
	               			<Button text="已播放" align="left" foreimage="file='UI\setting\dest_wnd2.png' dest='3,3,30,22'" textpadding="36,6,0,0" width="82" height="25" padding="10,0,0,0" normalimage="file='UI\skin\button_normal.png' corner='5,5,5,5'" hotimage="file='UI\skin\button_hover.png' corner='5,5,5,5'" pushedimage="file='UI\skin\button_down.png' corner='5,5,5,5'"  />
	               			<Label text="预设方案" textpadding="37,5,0,0" />
	               			<Button name="" text="活力黄" align="left" textpadding="6,6,0,0" width="80" height="24" padding="10,0,0,0" normalimage="file='UI\setting\combo_normal.png' corner='20,0,20,0'" hotimage="file='UI\setting\combo_down.png' corner='20,0,20,0'" pushedimage="file='UI\setting\combo_down.png' corner='20,0,20,0'"  />
	               		</HorizontalLayout>	
	               		<Button text="预览" font="1" padding="0,8,0,0" enabled="false" align="left" bkimage="UI\setting\sepline.png" width="420" height="13" />
	               		<Control name="setting_dest_view" width="415" height="110" bkimage="UI\setting\view2.png" />
	               		<Button text="恢复默认方案" padding="0,5,0,0" width="100" height="25" normalimage="file='UI\skin\button_normal.png' corner='5,5,5,5'" hotimage="file='UI\skin\button_hover.png' corner='5,5,5,5'" pushedimage="file='UI\skin\button_down.png' corner='5,5,5,5'"  />
	               	</VerticalLayout>

	               	<VerticalLayout childpadding="8,0,0,0"><!-- 第七个设置页面 -->
	               		<Button text="输出设置" font="1" enabled="false" align="left" bkimage="UI\setting\sepline.png" width="420" height="13" />
	               		<VerticalLayout height="55">
		               		<HorizontalLayout height="27" >
		               			<Label text="音频输出  " width="65"/>
		               			<Button name="" text="Default DirectSound Device"  align="left" textpadding="6,6,0,0" width="327" height="22" padding="10,0,0,0" normalimage="file='UI\setting\combo_normal.png' corner='20,0,20,0'" hotimage="file='UI\setting\combo_down.png' corner='20,0,20,0'" pushedimage="file='UI\setting\combo_down.png' corner='20,0,20,0'"  />
		               		</HorizontalLayout>
		               		<HorizontalLayout height="27" >
		               			<Label text="视频渲染  " width="65"/>
		               			<Button name="" text="VMR9 窗口化"  align="left" textpadding="6,6,0,0" width="327" height="22" padding="10,0,0,0" normalimage="file='UI\setting\combo_normal.png' corner='20,0,20,0'" hotimage="file='UI\setting\combo_down.png' corner='20,0,20,0'" pushedimage="file='UI\setting\combo_down.png' corner='20,0,20,0'"  />
		               		</HorizontalLayout>
	               		</VerticalLayout>
						<Label text="提示:新设置的参数会在重新播放的时候生效。输出设备推荐选择DirectSound" height="18" enabled="false" />
						<Label text="输出类型" textpadding="0,3,0,0" height="18" enabled="false" />

	               		<Button text="音频设置"  padding="0,20,0,0" font="1" enabled="false" align="left" bkimage="UI\setting\sepline.png" width="420" height="13" />
	               		<CheckBox text="激活声音淡入淡出效果" padding="0,8,0,0"/>
               			<HorizontalLayout height="24">
	               			<Label text="淡入" textpadding="0,3,0,0" />
	               			<HorizontalLayout width="60" height="22" padding="8,0,0,0" >
	               				<Edit name="" text="600" width="60" height="22" bordercolor="#FFC5C5C5" textpadding="5,5,20,5" textcolor="#FF454545" bkcolor="#00000000" nativebkcolor="#FFFFFFFF"  />
	               				<Button float="true" pos="40,1,0,0" height="10" width="19" normalimage="UI\setting\arrowup_normal.png" hotimage="UI\setting\arrowup_hover.png" pushedimage="UI\setting\arrowup_down.png"/>
	               				<Button float="true" pos="40,11,0,0" height="10" width="19" normalimage="UI\setting\arrowdown_normal.png" hotimage="UI\setting\arrowdown_hover.png" pushedimage="UI\setting\arrowdown_down.png"/>
	               			</HorizontalLayout>
	               			<Label text=" 毫秒(1-10000)" width="75" />
	               			<Label text="淡出" textpadding="20,3,0,0" />
	               			<HorizontalLayout width="60" height="22" padding="8,0,0,0" >
	               				<Edit name="" text="600" width="60" height="22" bordercolor="#FFC5C5C5" textpadding="5,5,20,5" textcolor="#FF454545" bkcolor="#00000000" nativebkcolor="#FFFFFFFF"  />
	               				<Button float="true" pos="40,1,0,0" height="10" width="19" normalimage="UI\setting\arrowup_normal.png" hotimage="UI\setting\arrowup_hover.png" pushedimage="UI\setting\arrowup_down.png"/>
	               				<Button float="true" pos="40,11,0,0" height="10" width="19" normalimage="UI\setting\arrowdown_normal.png" hotimage="UI\setting\arrowdown_hover.png" pushedimage="UI\setting\arrowdown_down.png"/>
	               			</HorizontalLayout>
	               			<Label text=" 毫秒(1-10000)" width="75" />
	               		</HorizontalLayout>
	               		<Label text="提示:仅支持DirectSound输出类型" height="18" enabled="false" />
	               		<HorizontalLayout height="26">
	               			<Button name="" text="设置均衡器" width="92" height="25" normalimage="file='UI\skin\button_normal.png' corner='5,5,5,5'" hotimage="file='UI\skin\button_hover.png' corner='5,5,5,5'" pushedimage="file='UI\skin\button_down.png' corner='5,5,5,5'" />
		               		<Button name="" text="设置音效插件" width="92" height="25" padding="12,0,0,0" normalimage="file='UI\skin\button_normal.png' corner='5,5,5,5'" hotimage="file='UI\skin\button_hover.png' corner='5,5,5,5'" pushedimage="file='UI\skin\button_down.png' corner='5,5,5,5'" />
	               		</HorizontalLayout>		               	
	               	</VerticalLayout>

	               	<VerticalLayout childpadding="8,0,0,0"><!-- 第八个设置页面 -->
	               		<Button text="代理" font="1" enabled="false" align="left" bkimage="UI\setting\sepline.png" width="420" height="13" />
	               		<VerticalLayout height="130">
		               		<HorizontalLayout height="27" >
		               			<Label text="代理类型: " width="65"/>
		               			<Button name="" text="HTTP代理"  align="left" textpadding="6,6,0,0" width="130" height="22" padding="10,0,0,0" normalimage="file='UI\setting\combo_normal.png' corner='20,0,20,0'" hotimage="file='UI\setting\combo_down.png' corner='20,0,20,0'" pushedimage="file='UI\setting\combo_down.png' corner='20,0,20,0'"  />
		               			<Button name="" text="测试" width="60" height="25" padding="15,0,0,0" normalimage="file='UI\skin\button_normal.png' corner='5,5,5,5'" hotimage="file='UI\skin\button_hover.png' corner='5,5,5,5'" pushedimage="file='UI\skin\button_down.png' corner='5,5,5,5'" />
		               		</HorizontalLayout>
		               		<HorizontalLayout height="27" padding="0,8,0,0">
		               			<Label text="代理地址: " width="65"/>
		               			<Edit name=""  width="130" height="22" bordercolor="#FFC5C5C5" focusbordercolor="#FF5AAFF7" textpadding="9,5,5,5" padding="10,0,0,0" textcolor="#FF454545" bkcolor="#00000000" nativebkcolor="#FFFFFFFF"  />
								<Label text="端口: "  padding="15,0,0,0" width="65"/>
		               			<Edit name=""  width="130" height="22" bordercolor="#FFC5C5C5" focusbordercolor="#FF5AAFF7" textpadding="9,5,5,5" padding="10,0,0,0" textcolor="#FF454545" bkcolor="#00000000" nativebkcolor="#FFFFFFFF"  />
		               		</HorizontalLayout>
		               		<HorizontalLayout height="27" padding="0,8,0,0">
		               			<Label text="用户名:   " width="65"/>
		               			<Edit name=""  width="130" height="22" bordercolor="#FFC5C5C5" focusbordercolor="#FF5AAFF7" textpadding="9,5,5,5" padding="10,0,0,0" textcolor="#FF454545" bkcolor="#00000000" nativebkcolor="#FFFFFFFF"  />
								<Label text="密码: "  padding="15,0,0,0" width="65"/>
		               			<Edit name=""  width="130" height="22" bordercolor="#FFC5C5C5" focusbordercolor="#FF5AAFF7" textpadding="9,5,5,5" padding="10,0,0,0" textcolor="#FF454545" bkcolor="#00000000" nativebkcolor="#FFFFFFFF"  />
		               		</HorizontalLayout>
		               		<HorizontalLayout height="27" padding="0,8,0,0">
		               			<Label text="域(可不填) " width="65"/>
		               			<Button name="" text="HTTP代理"  align="left" textpadding="6,6,0,0" width="130" height="22" padding="10,0,0,0" normalimage="file='UI\setting\combo_normal.png' corner='20,0,20,0'" hotimage="file='UI\setting\combo_down.png' corner='20,0,20,0'" pushedimage="file='UI\setting\combo_down.png' corner='20,0,20,0'"  />
		               			<CheckBox text="使用服务器中转" padding="15,5,0,0"/>
		               		</HorizontalLayout>
	               		</VerticalLayout>

	               		<Button text="网络连接"  padding="0,20,0,0" font="1" enabled="false" align="left" bkimage="UI\setting\sepline.png" width="420" height="13" />
               			<HorizontalLayout height="27" >
	               			<Label text="您当前的网络连接运营商是:  " width="65"/>
	               			<Button name="" text="未知"  align="left" textpadding="6,6,0,0" width="100" height="22" padding="10,0,0,0" normalimage="file='UI\setting\combo_normal.png' corner='20,0,20,0'" hotimage="file='UI\setting\combo_down.png' corner='20,0,20,0'" pushedimage="file='UI\setting\combo_down.png' corner='20,0,20,0'"  />
	               			<Button name="" text="自动选择最优" width="80" height="25" padding="12,0,0,0" normalimage="file='UI\skin\button_normal.png' corner='5,5,5,5'" hotimage="file='UI\skin\button_hover.png' corner='5,5,5,5'" pushedimage="file='UI\skin\button_down.png' corner='5,5,5,5'" />
	               		</HorizontalLayout>
	               		<HorizontalLayout height="27" >
	               			<Label text="您当前的网络连接方式是:UDP  " width="65"/>
	               			<Button name="" text="网络测试" width="80" height="25" padding="115,0,0,0" normalimage="file='UI\skin\button_normal.png' corner='5,5,5,5'" hotimage="file='UI\skin\button_hover.png' corner='5,5,5,5'" pushedimage="file='UI\skin\button_down.png' corner='5,5,5,5'" />
	               		</HorizontalLayout>	
	               	</VerticalLayout>

					<VerticalLayout childpadding="8,0,0,0"><!-- 第九个设置页面 -->
	               		<Button text="主播模式" font="1" enabled="false" align="left" bkimage="UI\setting\sepline.png" width="420" height="13" />
	               		<HorizontalLayout height="16" padding="0,8,0,0">
	               			<Option text="启动" textcolor="#FF454545" disabledtextcolor="#FF454545" width="10" height="16" textpadding="18,1,0,0" align="left" normalimage="file='UI\setting\option_normal.png' dest='0,0,16,16'" hotimage="file='UI\setting\option_hover.png' dest='0,0,16,16'" pushedimage="file='UI\setting\option_down.png' dest='0,0,16,16'" disabledimage="file='UI\setting\option_disable.png' dest='0,0,16,16'" selectedimage="file='UI\setting\optioned_normal.png' dest='0,0,16,16'" selectedhotimage="file='UI\setting\optioned_hover.png' dest='0,0,16,16'" selectedpushedimage="file='UI\setting\optioned_down.png' dest='0,0,16,16'" autocalcwidth="true" group="SettingOther1" />
	               			<Option text="关闭" textcolor="#FF454545" disabledtextcolor="#FF454545" width="10" height="16" textpadding="18,1,0,0" align="left" normalimage="file='UI\setting\option_normal.png' dest='0,0,16,16'" hotimage="file='UI\setting\option_hover.png' dest='0,0,16,16'" pushedimage="file='UI\setting\option_down.png' dest='0,0,16,16'" disabledimage="file='UI\setting\option_disable.png' dest='0,0,16,16'" selectedimage="file='UI\setting\optioned_normal.png' dest='0,0,16,16'" selectedhotimage="file='UI\setting\optioned_hover.png' dest='0,0,16,16'" selectedpushedimage="file='UI\setting\optioned_down.png' dest='0,0,16,16'" autocalcwidth="true" group="SettingOther1" selected="true" />	               			
	               		</HorizontalLayout>	
	               		<Label text="繁星主播专用。开播更流畅,并能识别当前播的歌" enabled="false" />

	               		<Button text="主播上线提醒" font="1" enabled="false" align="left" bkimage="UI\setting\sepline.png" width="420" height="13" />
	               		<HorizontalLayout height="16" padding="0,8,0,0">
	               			<Option text="启动" textcolor="#FF454545" disabledtextcolor="#FF454545" width="10" height="16" textpadding="18,1,0,0" align="left" normalimage="file='UI\setting\option_normal.png' dest='0,0,16,16'" hotimage="file='UI\setting\option_hover.png' dest='0,0,16,16'" pushedimage="file='UI\setting\option_down.png' dest='0,0,16,16'" disabledimage="file='UI\setting\option_disable.png' dest='0,0,16,16'" selectedimage="file='UI\setting\optioned_normal.png' dest='0,0,16,16'" selectedhotimage="file='UI\setting\optioned_hover.png' dest='0,0,16,16'" selectedpushedimage="file='UI\setting\optioned_down.png' dest='0,0,16,16'" autocalcwidth="true" group="SettingOther2" selected="true" />
	               			<Option text="关闭" textcolor="#FF454545" disabledtextcolor="#FF454545" width="10" height="16" textpadding="18,1,0,0" align="left" normalimage="file='UI\setting\option_normal.png' dest='0,0,16,16'" hotimage="file='UI\setting\option_hover.png' dest='0,0,16,16'" pushedimage="file='UI\setting\option_down.png' dest='0,0,16,16'" disabledimage="file='UI\setting\option_disable.png' dest='0,0,16,16'" selectedimage="file='UI\setting\optioned_normal.png' dest='0,0,16,16'" selectedhotimage="file='UI\setting\optioned_hover.png' dest='0,0,16,16'" selectedpushedimage="file='UI\setting\optioned_down.png' dest='0,0,16,16'" autocalcwidth="true" group="SettingOther2" />
	               		</HorizontalLayout>
	               		<Label text="关闭的主播上线后提醒。让您不错过每一个主播的每一个瞬间" enabled="false" />            		
	               	</VerticalLayout>
	            </TabLayout>


	            <HorizontalLayout height="50" inset="6,5,0,0" ><!-- 状态栏 -->
		        	<Button name="okbtn" text="确定" width="90" height="25" padding="165,0,0,0" normalimage="file='UI\skin\button_normal.png' corner='5,5,5,5'" hotimage="file='UI\skin\button_hover.png' corner='5,5,5,5'" pushedimage="file='UI\skin\button_down.png' corner='5,5,5,5'"  />
		            <Button name="closebtn" text="取消" width="90" height="25" padding="12,0,0,0" normalimage="file='UI\skin\button_normal.png' corner='5,5,5,5'" hotimage="file='UI\skin\button_hover.png' corner='5,5,5,5'" pushedimage="file='UI\skin\button_down.png' corner='5,5,5,5'"  />
		            <Button name="applybtn" text="应用" width="90" height="25" padding="12,0,0,0" normalimage="file='UI\skin\button_normal.png' corner='5,5,5,5'" hotimage="file='UI\skin\button_hover.png' corner='5,5,5,5'" pushedimage="file='UI\skin\button_down.png' corner='5,5,5,5'" />
       			</HorizontalLayout>
            </VerticalLayout>      
        </HorizontalLayout> 
    </VerticalLayout>
</Window>

        xml布局文件下载地址: 点击打开链接

   Redrian   2014.8.26

相关实践学习
日志服务之使用Nginx模式采集日志
本文介绍如何通过日志服务控制台创建Nginx模式的Logtail配置快速采集Nginx日志并进行多维度分析。
目录
相关文章
|
1月前
|
Rust 前端开发 JavaScript
Tauri 开发实践 — Tauri 日志记录功能开发
本文介绍了如何为 Tauri 应用配置日志记录。Tauri 是一个利用 Web 技术构建桌面应用的框架。文章详细说明了如何在 Rust 和 JavaScript 代码中设置和集成日志记录,并控制日志输出。通过添加 `log` crate 和 Tauri 日志插件,可以轻松实现多平台日志记录,包括控制台输出、Webview 控制台和日志文件。文章还展示了如何调整日志级别以优化输出内容。配置完成后,日志记录功能将显著提升开发体验和程序稳定性。
65 1
Tauri 开发实践 — Tauri 日志记录功能开发
|
18天前
|
XML 编解码 搜索推荐
XML 布局小技巧
【10月更文挑战第24天】通过掌握这些 XML 布局小技巧,我们可以更轻松地设计出高质量的用户界面,提升用户体验。在实际应用中,要根据具体项目的需求和特点,灵活运用这些技巧,不断探索和创新,打造出独具特色的界面布局。
35 1
|
9天前
|
监控 开发者
鸿蒙5.0版开发:使用HiLog打印日志(ArkTS)
在HarmonyOS 5.0中,HiLog是系统提供的日志系统,支持DEBUG、INFO、WARN、ERROR、FATAL五种日志级别。本文介绍如何在ArkTS中使用HiLog打印日志,并提供示例代码。通过合理使用HiLog,开发者可以更好地调试和监控应用。
48 16
|
1月前
|
开发框架 缓存 安全
开发日志:IIS安全配置
开发日志:IIS安全配置
开发日志:IIS安全配置
|
1月前
|
开发工具 git
git显示开发日志+WinSW——将.exe文件注册为服务的一个工具+图床PicGo+kubeconfig 多个集群配置 如何切换
git显示开发日志+WinSW——将.exe文件注册为服务的一个工具+图床PicGo+kubeconfig 多个集群配置 如何切换
38 1
|
1月前
|
XML Java 数据格式
手动开发-简单的Spring基于XML配置的程序--源码解析
手动开发-简单的Spring基于XML配置的程序--源码解析
79 0
|
11天前
|
XML 安全 Java
【日志框架整合】Slf4j、Log4j、Log4j2、Logback配置模板
本文介绍了Java日志框架的基本概念和使用方法,重点讨论了SLF4J、Log4j、Logback和Log4j2之间的关系及其性能对比。SLF4J作为一个日志抽象层,允许开发者使用统一的日志接口,而Log4j、Logback和Log4j2则是具体的日志实现框架。Log4j2在性能上优于Logback,推荐在新项目中使用。文章还详细说明了如何在Spring Boot项目中配置Log4j2和Logback,以及如何使用Lombok简化日志记录。最后,提供了一些日志配置的最佳实践,包括滚动日志、统一日志格式和提高日志性能的方法。
117 30
【日志框架整合】Slf4j、Log4j、Log4j2、Logback配置模板
|
1月前
|
XML JSON Java
Logback 与 log4j2 性能对比:谁才是日志框架的性能王者?
【10月更文挑战第5天】在Java开发中,日志框架是不可或缺的工具,它们帮助我们记录系统运行时的信息、警告和错误,对于开发人员来说至关重要。在众多日志框架中,Logback和log4j2以其卓越的性能和丰富的功能脱颖而出,成为开发者们的首选。本文将深入探讨Logback与log4j2在性能方面的对比,通过详细的分析和实例,帮助大家理解两者之间的性能差异,以便在实际项目中做出更明智的选择。
216 3
|
1月前
|
存储 缓存 关系型数据库
MySQL事务日志-Redo Log工作原理分析
事务的隔离性和原子性分别通过锁和事务日志实现,而持久性则依赖于事务日志中的`Redo Log`。在MySQL中,`Redo Log`确保已提交事务的数据能持久保存,即使系统崩溃也能通过重做日志恢复数据。其工作原理是记录数据在内存中的更改,待事务提交时写入磁盘。此外,`Redo Log`采用简单的物理日志格式和高效的顺序IO,确保快速提交。通过不同的落盘策略,可在性能和安全性之间做出权衡。
1625 14
|
1月前
|
Python
log日志学习
【10月更文挑战第9天】 python处理log打印模块log的使用和介绍
30 0