添加互动电影到Android应用程序 [英] Adding interactive movie to Android application

查看:282
本文介绍了添加互动电影到Android应用程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我建立一个新的应用程序到Android平台,我需要添加一个互动电影,将显示给用户,如何使用该应用程序。

I'm building a new application to the Android platform and I need to add an interactive movie that would show to the user, how to use the application.

我想要的东西,像愤怒的小鸟的视频,与按钮注意到s $ P $垫到对话框外。

I want something like the video in Angry Birds, with the button that spreads to the outside of the dialog.

这样的:

首先,我虽然,我需要某种动画视频,让我检查 Android的视频查看的,但我无法弄清楚如何使用它,如果我真的需要它吗?

First I though that I need some kind of a animation video, so I checked the Android video view, but I can't figure out how to use it, and if I actually need it?

其次是这个窗口是一个普通的对话框或其他什么东西?
我试过定期对话,但我没有这个按钮的想法来了,所有的按钮是对话框本身里面,我不能表现出来就像我wan't(例如愤怒的小鸟对话框)。

Secondly is this window is a regular dialog or something else? I tried the regular dialog but I didn't came with the idea of this button, all the buttons is inside the dialog itself and I can't show it like I wan't (e.g. Angry Birds dialog).

任何帮助将是巨大的,谢谢你。

Any help will be great, Thanks.

编辑:这是自定义对话框:

<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout 
    xmlns:android="http://schemas.android.com/apk/res/android"
    android:layout_width="fill_parent"
    android:layout_height="fill_parent" >

    <TextView
        android:id="@+id/videoView"
        android:layout_width="fill_parent"
        android:layout_height="wrap_content"
        android:text="Test Test"
        android:textSize="50dip"
        android:textColor="@android:color/white"/>

    <ImageView
        android:id="@+id/imageView1"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:layout_alignParentBottom="true"
        android:layout_alignRight="@id/videoView"
        android:layout_marginBottom="20dp"
        android:layout_marginRight="85dp"
        android:src="@drawable/ic_launcher" />

</RelativeLayout>

这是我所得到的:

And this is what I get:

推荐答案

愤怒的小鸟不使用Android的UI元素。他们使用自定义的框架来展示自己的对话框。因此,你需要自定义自己的对话框以及

Angry birds doesn't use the the Android Ui elements. They use a custom framework to show their dialogs. Therefore you will need to customize your own dialog as well.

如果您您的应用程序确实需要一个视频来演示其使用,也许你应该考虑您的申请functionallity。也许一个简单的应用程序会做一组截图和说明。

If you your application really needs a video to demonstrate its use, maybe you should reconsider your application functionallity. Maybe a simple application will do with a set of screenshots and annotations.

这篇关于添加互动电影到Android应用程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆