← Back to team overview

ubuntu-phone team mailing list archive

Re: New splash screen features

 

For a few sample apps I'm using AnimatedImage:
http://qt-project.org/doc/qt-4.8/qml-animatedimage.html

cheers,
-- 
alecu

On Thu, Oct 16, 2014 at 12:33 PM, Daniel d'Andrada
<daniel.dandrada@xxxxxxxxxxxxx> wrote:
> A video definitely not, don't know about an animated gif (depends on
> whether QML Image component supports it). But even if the Image
> component supports it, if the animated gif is too big it would likely
> impact negatively in the application start up time.
>
> On 16/10/14 06:19, Giorgio Venturi wrote:
>> Hi Daniel,
>>
>> This is great. I was wondering, is it possible to use embed an
>> animated element in option 2? E.g. a video object or animated GIF
>>
>> Thanks,
>>
>> Giorgio
>>
>> On Mon, Sep 29, 2014 at 3:43 PM, Daniel d'Andrada
>> <daniel.dandrada@xxxxxxxxxxxxx <mailto:daniel.dandrada@xxxxxxxxxxxxx>>
>> wrote:
>>
>>     Yes, it's already available in utopic-proposed (aka devel-proposed)
>>     images, although no application is using it yet.
>>
>>     On 29/09/14 11:35, Roman Zonov wrote:
>>     > Good idea. Two questions: does it works now? Can somebody share a
>>     > video with splash screens?
>>     >
>>     > 29.09.2014, 18:34, "Daniel d'Andrada"
>>     <daniel.dandrada@xxxxxxxxxxxxx
>>     <mailto:daniel.dandrada@xxxxxxxxxxxxx>>:
>>     >>
>>     >> The idea of the image is not to fake the looks of the running
>>     >> application (like a screenshot) but to be more like a
>>     traditional splash
>>     >> screen image such as a big application logo or something.
>>     >>
>>     >> Faking the running application with an image would require a more
>>     >> sophisticated (complex!) approach as it would have to consider
>>     not only
>>     >> the orientation (landscape vs. portrait) but also the screen aspect
>>     >> ratio and maybe even its resolution. So we left this option out
>>     for now.
>>     >> Should probably have made it more clear in the
>>     X-Ubuntu-Splash-Image
>>     >> documentation.
>>     >>
>>     >> On 29/09/14 11:26, Jelmer Prins wrote:
>>     >>
>>     >>      So do you also need to provide different image sizes like
>>     landscape
>>     >>      and portait for option 3 ?
>>     >>
>>     >>      Sent from Blue Mail <http://r.bluemailapp.com
>>     >>     <http://r.bluemailapp.com/>>
>>     >>
>>     >>      On 29 Sep 2014, at 16:07, Daniel d'Andrada
>>     >>      <daniel.dandrada@xxxxxxxxxxxxx
>>     <mailto:daniel.dandrada@xxxxxxxxxxxxx>
>>     >>     <mailto:daniel.dandrada@xxxxxxxxxxxxx
>>     <mailto:daniel.dandrada@xxxxxxxxxxxxx>>
>>     >>     <mailto:daniel.dandrada@xxxxxxxxxxxxx
>>     <mailto:daniel.dandrada@xxxxxxxxxxxxx>
>>     >>     <mailto:daniel.dandrada@xxxxxxxxxxxxx
>>     <mailto:daniel.dandrada@xxxxxxxxxxxxx>>>>
>>     >>      wrote:
>>     >>
>>     >>          We now offer 3 kinds of splash screens for applications:
>>     >>          1. A splash with a gradient background, the
>>     application icon and
>>     >>          application name (default)
>>     >>          2. A splash with a gradient background and an image
>>     >>          3. A splash faking a MainView with header text set giving
>>     >>     the illusion
>>     >>          that the
>>     >>             application has started instantly but with its contents
>>     >>     being shown
>>     >>          later on.
>>     >>
>>     >>          Apps by default get option 1 and the gradient
>>     background is
>>     >>     all black by
>>     >>          default as well.
>>     >>          So nothing changes until you start adding the new
>>     entries to
>>     >>     the desktop
>>     >>          file of your application.
>>     >>          Those entries are the following:
>>     >>
>>     >>          X-Ubuntu-Splash-Show-Header (boolean)
>>     >>
>>     ------------------------------------------------------------------------
>>     >>
>>     >>
>>     >>          Whether an application header should be shown on the
>>     splash
>>     >>     screen. It
>>     >>          turns on splash
>>     >>          screen mode 3 (as described above)
>>     >>
>>     >>          The header will display the text in X-Ubuntu-Splash-Title,
>>     >>     if defined,
>>     >>          or the application
>>     >>          name otherwise.
>>     >>
>>     >>          X-Ubuntu-Splash-Title (text, to be
>>     >>          localizable soon)
>>     >>
>>     ------------------------------------------------------------------------
>>     >>
>>     >>
>>     >>          See X-Ubuntu-Splash-Show-Header
>>     >>
>>     >>          X-Ubuntu-Splash-Image (file name)
>>     >>
>>     ------------------------------------------------------------------------
>>     >>
>>     >>
>>     >>          File name of an image present in the directory stated
>>     in the
>>     >>     Path entry.
>>     >>
>>     >>          The splash image is centered on the splash screen and
>>     >>     displayed in
>>     >>          its actual size (ie, it's not stretched or shrinked and
>>     >>     aspect ratio
>>     >>          is kept).
>>     >>
>>     >>          X-Ubuntu-Splash-Color (color)
>>     >>          -----------------------------
>>     >>
>>     >>          Background color of the splash screen.
>>     >>
>>     >>          It uses QColor::setNamedColor to parse a color value
>>     out of
>>     >>     a text string.
>>     >>          The see its documentation for valid string formats and
>>     values.
>>     >>
>>     >>          If X-Ubuntu-Splash-Show-Header is true, it defaults to the
>>     >>     theme's
>>     >>          background color,
>>     >>          otherwise it defaults to black.
>>     >>
>>     >>          X-Ubuntu-Splash-Color-Header (color)
>>     >>
>>     ------------------------------------------------------------------------
>>     >>
>>     >>
>>     >>          Background color used in the upper area of the splash
>>     screen
>>     >>     (ie, its
>>     >>          header area)
>>     >>
>>     >>          It uses QColor::setNamedColor to parse a color value
>>     out of
>>     >>     a text string.
>>     >>
>>     >>          There will be a
>>     >>          vertical gradient between X-Ubuntu-Splash-Color-Header
>>     >>          and X-Ubuntu-Splash-Color in the upper half of the splash
>>     >>     background.
>>     >>
>>     >>          By default it uses X-Ubuntu-Splash-Color (or its default
>>     >>     value, if not set).
>>     >>
>>     >>          X-Ubuntu-Splash-Color-Footer (color)
>>     >>
>>     ------------------------------------------------------------------------
>>     >>
>>     >>
>>     >>          Background color used in the bottom area of the splash
>>     >>     screen (ie, its
>>     >>          footer area)
>>     >>
>>     >>          It uses QColor::setNamedColor to parse a color value
>>     out of
>>     >>     a text string.
>>     >>
>>     >>          There will be a vertical gradient between
>>     >>     X-Ubuntu-Splash-Color and
>>     >>          X-Ubuntu-Splash-Color-Footer in the lower half of the
>>     splash
>>     >>     background.
>>     >>
>>     >>          By default it uses X-Ubuntu-Splash-Color (or its default
>>     >>     value, if not set).
>>     >>
>>     >
>>
>
>
> --
> Mailing list: https://launchpad.net/~ubuntu-phone
> Post to     : ubuntu-phone@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~ubuntu-phone
> More help   : https://help.launchpad.net/ListHelp


References