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

花了两天时间把仿酷狗的选项设置窗体做出来了,当然了只是做了外观。现在开学了,写代码的时间减少,所以整个仿酷狗的工程开发速度减慢了。今天把仿酷狗的选项设置窗体的布局代码分享出来,给学习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

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

  1. 仿酷狗音乐播放器开发日志二十七 用ole为窗体增加文件拖动功能(附源码)

    转载请说明原出处,谢谢~~ 中秋到了,出去玩了几天.今天把仿酷狗程序做了收尾,已经开发完成了,下一篇博客把完结的情况说一下.在这篇博客里说一下使用OLE为窗体增加文件拖拽的功能.使用播放器,我更喜欢直 ...

  2. 仿酷狗音乐播放器开发日志二十六 duilib在标题栏弹出菜单的方法

    转载请说明原出处,谢谢~~ 上篇日志说明了怎么让自定义控件响应右键消息.之后我给主窗体的标题栏增加右键响应,观察原酷狗后可以发现,在整个标题栏都是可以响应右键并弹出菜单的.应该的效果如下: 本以为像上 ...

  3. 仿酷狗音乐播放器开发日志二十五 duilib右键事件的不足的bug修复

    转载请说明原出处,谢谢~~ 虽然仿酷狗的各个菜单早就写好了,但是一直没有附加到程序里.今天把菜单和播放列表控件关联时发现了问题. 和播放列表相关的菜单有三个,分别是每个音乐项目控件相关的菜单.分组的菜 ...

  4. 仿酷狗音乐播放器开发日志二十三 修复Option控件显示状态不全的bug(附源码)

    转载请说明原出处,谢谢~~ 整个仿酷狗工程的开发将近尾声,现在还差选项设置窗体的部分,显然在设置窗体里用的最多的就是OptionUI控件,我在写好大致的布局后去测试效果,发现Option控件的显示效果 ...

  5. 仿酷狗音乐播放器开发日志十九——CTreeNodeUI的bug修复二(附源码)

    转载请说明原出处,谢谢 今天本来打算把仿酷狗播放列表的子控件拖动插入功能做一下,但是仔细使用播放列表控件时发现了几个逻辑错误,由于我的播放 列表控件是基于CTreeViewUI和CTreeNodeUI ...

  6. 仿酷狗音乐播放器开发日志十一——CTreeNodeUI的bug修复

    由于做播放列表控件,我的CMusicLength控件继承了CTreeVieWUI控件,在向分组控件中添加播放项目时,发现代码无法正常工作,调用CTreeNodeUI控件的Add方法后无反应,导致我的播 ...

  7. 仿酷狗音乐播放器开发日志三——修复CEditUI的bug2

    无意中发现了CEditUI控件的另一个bug,当我给播放器的搜索栏获取焦点时,这时再改变窗体大小,原本搜索栏应该对应着也改变大小,却发现CEditUI内嵌的edit控件没有跟着改变(如下图),跟着调试 ...

  8. Redrain仿酷狗音乐播放器开发完毕,发布测试程序

    转载请说明原出处,谢谢~~ 从暑假到现在中秋刚过,我用duilib开发仿酷狗播放器大概经历了50天.做仿酷狗的意图只是看原酷狗的界面比较漂亮,想做个完整一些的工程来练习一下duilib.今天把写好的程 ...

  9. 项目源码--Android类似酷狗音乐播放器

    下载源码 知识技能概要: 1.音乐文件的扫描与管理 2.音频流的解码 3. UI控件的综合使用 4.播放列表方式管理 5.随机播放方式 6.源码带详细的中文注释 ...... 详细介绍 1. 音乐文件 ...

随机推荐

  1. ios 中scrollview上面嵌套tableView,左右滑动出现数据多次刷新的问题

    注意scrollView左右滑动时不要刷新数据,刚进来时一次性请求所有数据 红包纪录和房源信息可以左右滑动和点击,tableView可以上下滑动,图片部分个人信息只刷新一次. 界面布局如下

  2. day26_网络编程第一天

    1.网络通信三要素(掌握) IP      端口号      协议(UPD&TCP) 2.UDP协议与TCP协议各自特点(掌握) UDP 1.不需要建立连接:     2.有数据大小限制,每个 ...

  3. NLP概述

    1,词法分析 待续 2,文本分类 文本表示: 重点是贝叶斯模型:二项表示法和多项表示法.(向量维度为词库大小,一个是01,一个是频次).模型重点在于化后验为先验. 还有其他模型:机器学习模型,分布式模 ...

  4. springMVC 相对于 Structs 的优势

    智者说,没有经过自己的思考和估量,就不能接受别人的东西.资料只能是一个参考,至于是否正确,还得自己去分辨 SpringMVC相对于Structs的几个优势: 1.springMVC安全性更高,stru ...

  5. mysql规范

    1.命名规范 (1)库名.表名.(按现在的规范类似; PromoHayaoRecord),数据库名使用小写,字段名必须使用小写字母,并采用下划线分割.(2)库名.表名.字段名禁止超过32个字符.(3) ...

  6. MSDTC故障排除

    “由于 Microsoft 分布式事务处理协调器出现问题,因此无法连接到配置数据库. 该事务管理器已经禁止了它对远程/网络事务的支持".   第一步: 请确保iis(运行程序的机器)和sql ...

  7. thrift之TTransport层的缓存传输类TBufferedTransport和缓冲基类TBufferBase

    本节主要介绍缓冲相关的传输类,缓存的作用就是为了提高读写的效率.Thrift在实现缓存传输的时候首先建立一个缓存的基类,然后需要实现缓存功能的类都可以直接从这个基类继承.下面就详细分析这个基类以及一个 ...

  8. 如何修改opencms数据库配置

    修改/webapps/opencms/WEB-INF/config/opencms.properties文件 什么情况下需要修改配置? 1. 使用过程中,修改数据库配置: 2. 太长时间没接触服务器, ...

  9. 【转】Nginx+Tomcat+Memcached集群Session共享

    cookie是怎样工作的? 例 如,我们创建了一个名字为login的Cookie来包含访问者的信息,创建Cookie时,服务器端的Header如下面所示,这里假设访问者的注册名 是“Michael J ...

  10. [Java] 字符流 Writer,输出字符数据PrintWriter

    package test.stream; import java.io.BufferedReader; import java.io.BufferedWriter; import java.io.Fi ...