小编Vik*_*ngh的帖子

视频暂停,错误为"未经授权的覆盖"

我在全屏模式下播放视频时出现以下错误(仅限全屏).当它全屏显示时,我隐藏了布局中的所有其他组件,但它说android:id/statusBarBackground这是导致问题的视图.我该如何控制?

YouTube video playback stopped due to unauthorized overlay on top of player. The YouTubePlayerView is obscured by android.view.View{16771a9d V.ED.... ........ 0,0-1920,75 #102002f android:id/statusBarBackground}. The view is inside the YouTubePlayerView, with the distance in px between each edge of the obscuring view and the YouTubePlayerView being: left: 0, top: 0, right: 0, bottom: 1005.. 
Run Code Online (Sandbox Code Playgroud)

我的布局看起来像这样:

<?xml version="1.0" encoding="utf-8"?>
<merge xmlns:android="http://schemas.android.com/apk/res/android"
    android:id="@+id/container"
    android:layout_width="match_parent"
    android:layout_height="match_parent">
    <LinearLayout
        android:id="@+id/videoListLayout"
        android:layout_width="match_parent"
        android:layout_height="match_parent"
        android:layout_gravity="top"
        android:orientation="vertical">

        <RelativeLayout
            android:layout_width="match_parent"
            android:layout_height="30dp"
            android:background="@drawable/heading" >

            <TextView
                android:id="@+id/topDisplayArea"
                android:layout_width="match_parent"
                android:layout_height="match_parent" …
Run Code Online (Sandbox Code Playgroud)

android youtube-api android-youtube-api

4
推荐指数
1
解决办法
5749
查看次数

将版本号添加到XCode命令行实用程序C++项目

我使用Objective-C在XCode中创建了一个Command Line Utility C++工具.我希望版本号显示在创建的可执行文件的Info中.所以我在Build设置Current Project Version字段中添加了版本号1.0.0.0.但是,当我构建它时,版本号不会添加到创建的"Unix可执行文件"中.

我错过了什么吗?谢谢您的帮助.

xcode objective-c xcodebuild

1
推荐指数
1
解决办法
1063
查看次数

如何从oracle中的DUAL获得以下输出?

1         L            R

1         1            1 
1         1            2
1         1            3
1         2            1
1         2            2
1         2            3
1         3            1
1         3            2
1         3            3
Run Code Online (Sandbox Code Playgroud)

使用此查询但无法获取L列

Select 1,level R
from DUAL
Connect by level <=3
Run Code Online (Sandbox Code Playgroud)

sql oracle

1
推荐指数
1
解决办法
297
查看次数