10.14_魅族手机音乐播放无故暂停,MetroUICss-tile中的字如何居中

(1)魅族手机,播放音乐,无故暂停。不管是自带的音乐播放程序,还是下载的其他音乐播放器都是如此。
而且,手机上有个Google服务耗电量非常高,会经常弹出登陆Google账号的弹出项。

(2)Metro UI CSS tile中的字如何居中,看官方是示例是给了一个图片!而且holder.js要在支持html5的浏览器下才能有效。
我是否可以使用SVG呢?!

(3)tile小例子:

<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">

    <link href="css/metro-bootstrap.css" rel="stylesheet">
    <link href="css/metro-bootstrap-responsive.css" rel="stylesheet">
    <link href="css/iconFont.css" rel="stylesheet">
    <link href="css/docs.css" rel="stylesheet">
    <link href="js/prettify/prettify.css" rel="stylesheet">

    <!-- Load JavaScript Libraries -->
    <script src="js/jquery/jquery.min.js"></script>
    <script src="js/jquery/jquery.widget.min.js"></script>
    <script src="js/jquery/jquery.mousewheel.js"></script>
    <script src="js/prettify/prettify.js"></script>

    <!-- Metro UI CSS JavaScript plugins -->
    <script src="js/load-metro.js"></script>

    <title>Metro UI Demo: my_demo_001</title>
</head>
<body class="metro">
    <div class="example">
        <div class="tile"></div>
        <div class="tile double"></div>
        <div class="tile selected"></div>
    </div>

    <div class="example">
        <div class="tile half block"></div>
        <div class="tile block"></div>
        <div class="tile double block"></div>
        <div class="tile triple block"></div>
        <div class="tile quadro block"></div>
    </div>

    <div class="example">

    </div>

    <div class="example">
        <div class="tile double-vertical"></div>
        <div class="tile triple-vertical"></div>
        <div class="tile quadro-vertical"></div>
    </div>

    <div class="example">
        <div class="tile half block double-vertical"></div>
        <div class="tile double-vertical block"></div>
        <div class="tile double double-vertical block"></div>
        <div class="tile triple double-vertical block"></div>
        <div class="tile quadro double-vertical block"></div>
    </div>

    <div class="example">
        <div class="tile bg-cyan">
            <div class="brand">
                <div class="badge">99</div>
            </div>
        </div>

        <div class="tile bg-cyan">
            <div class="brand">
                <div class="badge activity"></div>
            </div>
        </div>
    </div>

    <div class="example">
        <div class="tile bg-cyan">
            <div class="brand">
                <div class="badge"><i class="icon-rocket"></i></div>
            </div>
        </div>
        <div class="tile bg-darkRed">
            <div class="brand">
                <div class="badge bg-red"><i class="icon-broadcast"></i></div>
            </div>
        </div>
    </div>

    <div class="example">
        <div class="tile bg-darkPink">
            <div class="tile-content icon">
                <i class="icon-cart-2"></i>
            </div>
            <div class="tile-status">
                <span class="name">Store</span>
            </div>
        </div>

        <div class="tile double bg-amber">
            <div class="tile-content icon">
                <i class="icon-play-alt"></i>
            </div>
            <div class="brand bg-black">
                <span class="label fg-white">Player</span>
                <div class="badge bg-darkRed paused"></div>
            </div>
        </div>

        <div class="tile">
            <div class="tile-content image">
                <img src="images/author.jpg">
            </div>
            <div class="brand">
                <span class="label fg-white">Images</span>
                <span class="badge bg-orange">12</span>
            </div>
        </div>

        <div class="tile double">
            <div class="tile-content image">
                <img src="images/4.jpg">
            </div>
            <div class="brand bg-dark opacity">
                <span class="text">
                    This is a desert eagle. He is very hungry and angry bird.
                </span>
            </div>
        </div>
    </div>

    <div class="example">
        <div class="tile bg-cyan">
            <div class="tile-content icon">
                <i class="icon-rocket"></i>
            </div>
        </div>

        <div class="tile bg-green">
            <div class="tile-content icon">
                <img src="images/excel2013icon.png">
            </div>
        </div>

        <div class="tile double" data-click="transform">
            <div class="tile-content image">
                <img src="images/1.jpg">
            </div>
        </div>

        <div class="tile double">
            <div class="tile-content image-set">
                <img src="images/1.jpg">
                <img src="images/2.jpg">
                <img src="images/3.jpg">
                <img src="images/4.jpg">
                <img src="images/5.jpg">
            </div>
        </div>
    </div>

    <div class="example">
        <div class="tile bg-cyan">
            <div class="tile-content icon">
                <i class="icon-rocket"></i>
            </div>
        </div>
        <div class="tile bg-cyan">
            <div class="tile-content text-center">
                <h3>Welcome</h3>
            </div>
        </div>
    </div>

    <div class="example">
        <p class="text-left">Left aligned text.<p>
        <p class="text-center">Left aligned text.<p>
        <p class="text-right">Left aligned text.<p>
        <p class="text-justify">Justify aligned text.<p>
    </div>

    <div class="example">
        <div class="tile triple block">
        <img src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAXwAAAB4CAYAAADxAUloAAAIPUlEQVR4Xu3cvWsUQRgH4A0iqEEsFTsRK7UW/PetbMRKsRbBIkQsoiBqZAMTJut+3Efm8t69j2Xubnbe5x1/tze3t0enp6fnnX8ECBAgcPACRwL/4HusQAIECFwICHwLgQABAkkEBH6SRiuTAAECAt8aIECAQBIBgZ+k0cokQICAwLcGCBAgkERA4CdptDIJECAg8K0BAgQIJBEQ+EkarUwCBAgIfGuAAAECSQQEfpJGK5MAAQIC3xogQIBAEgGBn6TRyiRAgIDAtwYIECCQREDgJ2m0MgkQICDwrQECBAgkERD4SRqtTAIECAh8a4AAAQJJBAR+kkYrkwABAgLfGiBAgEASAYGfpNHKJECAgMC3BggQIJBEQOAnabQyCRAgIPCtAQIECCQREPhJGq1MAgQICHxrgAABAkkEBH6SRiuTAAECAt8aIECAQBIBgZ+k0cokQICAwLcGCBAgkERA4CdptDIJECAg8K0BAgQIJBEQ+EkarUwCBAgIfGuAAAECSQQEfpJGK5MAAQIC3xogQIBAEgGBn6TRyiRAgIDAtwYIECCQREDgJ2m0MgkQICDwrQECBAgkERD4SRqtTAIECAh8a4AAAQJJBAR+kkYrkwABAgLfGiBAgEASAYGfpNHKJECAgMC3BggQIJBEQOAnabQyCRAgIPCtAQIECCQREPhJGq1MAgQICHxrgAABAkkEBH6SRiuTAAECAt8aIECAQBIBgZ+k0bsq8/T0tHv//n339+/fK4d88eJF9+jRo9FpfP78ufv06dN/j92/f7979erV5NTfvXvX9cer/80dZ1uDjx8/dl++fOmWjvH79+/uzZs33Z8/f64c8s6dOxf13L59e3Qqu65nWw+v3z8Bgb9/PQs74xKIdbCVv/WTfvjwYffy5csr8y8hd3R01L1+/bq7e/fuxeNTf+8f699M3r59252dnXXldScnJ5dvGk+ePOmePn16rU71m9Jc4Jd663rqN4BhnTdVz7XiGGxvBAT+3rQq9kTrUKsDdyycS6jXnwaGIVq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HjEyBAIIiAwA/SCNMgQIBAawGB31rY+AQIEAgiIPCDNMI0CBAg0FpA4LcWNj4BAgSCCAj8II0wDQIECLQWEPithY1PgACBIAICP0gjTIMAAQKtBQR+a2HjEyBAIIiAwA/SCNMgQIBAawGB31rY+AQIEAgiIPCDNMI0CBAg0FpA4LcWNj4BAgSCCAj8II0wDQIECLQWEPithY1PgACBIAICP0gjTIMAAQKtBQR+a2HjEyBAIIiAwA/SCNMgQIBAawGB31rY+AQIEAgiIPCDNMI0CBAg0FpA4LcWNj4BAgSCCAj8II0wDQIECLQWEPithY1PgACBIAICP0gjTIMAAQKtBQR+a2HjEyBAIIiAwA/SCNMgQIBAawGB31rY+AQIEAgiIPCDNMI0CBAg0FpA4LcWNj4BAgSCCAj8II0wDQIECLQWEPithY1PgACBIAICP0gjTIMAAQKtBQR+a2HjEyBAIIiAwA/SCNMgQIBAawGB31rY+AQIEAgiIPCDNMI0CBAg0FpA4LcWNj4BAgSCCAj8II0wDQIECLQWEPithY1PgACBIAICP0gjTIMAAQKtBQR+a2HjEyBAIIiAwA/SCNMgQIBAawGB31rY+AQIEAgiIPCDNMI0CBAg0FpA4LcWNj4BAgSCCAj8II0wDQIECLQWEPithY1PgACBIAL/AIAWjwtxh9a+AAAAAElFTkSuQmCC" data-src="js/holder/holder.js/380x120" alt="380x120" style="width: 380px; height: 120px;">
        </div>
    </div>

    <div class="example">
        <div class="tile triple block">
        <img src="" data-src="js/holder/holder.js/380x120" alt="380x120" style="width: 380px; height: 120px;">
        </div>
    </div>

    <div class="example">

    </div>

    <div class="example">

    </div>

    <div class="example">

    </div>
</body>
</html>

(4)

时间: 2024-10-21 03:32:29

10.14_魅族手机音乐播放无故暂停,MetroUICss-tile中的字如何居中的相关文章

【源码分享】mui实现简单的手机音乐播放器

mui实现简单的手机音乐播放器 最近先来无事,我用mui写了一个可以跨页面控制的音乐播放器.主要功能有上一曲,下一曲,播放,暂停,感兴趣的可以继续看下去. 说的总是不实在,直接上源码,有兴趣的可以读下注释. 1首页代码 ①首页的html代码 1 <a> 2 <i id="bofang" class="iconfont icon-play-o"></i> <!--就是一个播放按钮没啥特殊的--> 3 </a>

手机音乐播放器开发

<DOCTYPE html> <html> <head> <title>手机音乐播放器</title> <style> *{margin:0;padding:0;} body{ background:#000000; /*性能优化:一个优秀的开发工程师一定是为服务器,CPU考虑(提高代码的加载效率网站打开效率)*/ } #music{ position:relative; width:322px; height:635px; //ba

安卓系统手机音乐播放器问题

我喜欢听歌,老歌.新歌.民歌.通俗歌都行,只要我认为好听就行了.除了在电脑上听歌外,还与时俱进的买了几个随身听和MP3,现在是手机和平板(Win8.1系统的),歌曲格式也由MP3升级为无损格式. 我现在有4条耳机,价格在120 - 568之间,分别是森海MX375,索尼XBA C10,爱科技K142HD和铁三角CKS77X,以前还有一条号称"女毒"的索尼E888,因时间太长(2004年儿子出差到日本花了7000多日元买的),去年终于寿终正寝了.对音乐发烧者来说,这些可能太低档了,价格没

audio标签+JS实现音乐播放和暂停的功能

此处以点击音乐图片sndctrl实现功能举例: HTML部分: <div class="sndctrl"> <img class="homeLoadingImg" data-src="images/a01.png"><i></i> <audio id="audio" src="media/music.mp3" autoplay></audio

Android 实现简单音乐播放器(二)

在Android 实现简单音乐播放器(一)中,我介绍了MusicPlayer的页面设计. 现在,我将解析MusicPlayer的功能实现,就讲一些主要的点和有趣的细节,结合MainActivity.java代码进行说明(写出来可能有点碎……一向不太会总结^·^). 一.功能菜单 在MusicPlayer中,我添加了三个菜单: search(搜索手机中的音乐文件,更新播放列表). clear(清除播放列表……这个功能是最初加进去的,后来改进之后,已经没什么实际意义). exit(退出). menu

软件工程之Spring音乐播放界面C#编写细节

由于小组成员已经完成软件的详细设计说明书,在这里只具体说明软件程序的细节编写,以免重复. 歌曲的播放采用VS自带的axWindowsMediaPlayer插件,所以程序中涉及到许多该插件的使用.Ctlcontrols属性是AxWindowsMediaPlayer的一个重要属性, 此控件中有许多常用成员.下面是常用的几个,除了4和5在该音乐播放器中不需要用到,其他几个方法均需要. (1) 方法play 用于播放多媒体文件,其格式为:窗体名.控件名.Ctlcontrols.play() 如: AxW

[MFC] MFC音乐播放器 傻瓜级教程 网络 搜索歌曲 下载

>目录< >----------------------< 1.建立工程  1.建立一个MFC工程,命名为Tao_Music 2.选择为基本对话框 3.包含Windows Sockts 4.使用静态链接库 [方便一会直接生成的exe文件单独可以发布] 2. 搭建界面  1. 拖入控件: 2. 控件拖入并摆好 3. 控件属性设置: 3. 写代码实现功能  1.变量绑定: 2.加入图片资源 3.新建mp3类: 4.修改Tao_MusicDlg.h 5.修改Tao_Music.cpp 6

实现音乐播放器

音乐播放器    首先声明一下,本例是直接采用课本中范例122的方法. 1.activity_main.xml布局 1 <TextView 2 android:layout_width="fill_parent" 3 android:layout_height="wrap_content" 4 android:text="music" 5 /> 6 //四个按钮 7 <LinearLayout 8 android:layout_

Flex4/Flash+BlazeDS+JAVA+MySql 开发在线音乐播放器实例

要求 必备知识 本文要求基本了解 Adobe Flex编程知识和JAVA基础知识. 开发环境 MyEclipse10/Flash Builder4.6/Flash Player11及以上 演示地址 演示地址 传统网络程序的开发是基于页面的.服务器端数据传递的模式,把网络程序的表现层建立于HTML页面之上,而HTML是适合于文本的,传统的基于页面的系统已经渐渐不能满足网络浏览者的更高的.全方位的体验要求了.而富互联网应用(Rich Internet Applications,缩写为RIA)的出现就