我正在试图找出我不熟悉的软件是如何工作的.有一个Adobe Flex页面,可以在240*120的帧中显示来自摄像机的流式视频.如果双击视频帧,您将获得一个新帧,其中显示的视频大小为480*240.
问题是:较小的帧240*120仅显示大视频帧中显示的左上部分,其显示完整的视频图像.细节是一样的.
我想要实现的是整个视频也显示在较小的帧中.
如果我在软件中搜索大小240和120,我会到达一个包含以下css片段的jsp:
.video {
height = "120", width = "240"
}
Run Code Online (Sandbox Code Playgroud)
我替换了那个css片段
.video {
height = "100%", width = "100%"
}
Run Code Online (Sandbox Code Playgroud)
但这没有任何区别.
有人有线索吗?
提前致谢!
*******Post scriptum:*******
@Lars:我在周末从头顶写了我的问题.你建议我已经实施了什么.但是我发现我把它应用到了错误的jsp中.我通过查看浏览器中的源代码验证了以下内容:
#intercomIframe {
position:absolute;
width:100%;
height:100%;
right:60;
bottom:75;
z-index:5"
}
Run Code Online (Sandbox Code Playgroud)
原始值是:
#intercomIframe {
position:absolute;
width:165px;
height:128px;
right:60;
bottom:75;
z-index:5"
}
Run Code Online (Sandbox Code Playgroud)
如果我双击视频,我会进入弹性屏幕(扩展名.mxml),同时显示相同的视频.该视图的部分责任代码:
<components:FilterBar
id="filterBar"
visible="{enableFiltering}"
>
<system:VideoSourceControlBox
id="videoSourceControl"
stationId="{station.id}"
autoSelect="true"
startSource="showVideo(true)"
stopSource="showVideo(false)"
/>
</components:FilterBar>
<mx:Box
width="100%" height="100%"
backgroundColor="#e7ebf1"
paddingTop="15" paddingBottom="15"
paddingRight="15"paddingLeft="15"
>
<mx:VBox
width="100%" height="100%" minHeight="0"
cornerRadius="8"
paddingTop="15" paddingBottom="15"
paddingRight="15" paddingLeft="15"
borderThickness="1" …Run Code Online (Sandbox Code Playgroud) 我有一个垂直列表(垂直LinearLayout).在每个单元格中,我有两个EditText字段,彼此相邻.第一个应该对齐到单元格的左边,第二个对齐到单元格的中间,基本上导致两个列彼此相邻.我以为我使用了两列GridLayout.然而,令我惊讶的是,第二个EditText与单元格的右侧而不是单元格的中间对齐.我错了什么?
<GridLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:alignmentMode="alignBounds"
android:columnCount="2" >
<TextView
android:id="@+id/sourceLanguage"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:gravity="left|center_vertical"
android:text="test1"
android:textAppearance="?android:attr/textAppearanceMedium"
android:textColor="#FF3366"
android:textIsSelectable="true" />
<TextView
android:id="@+id/targetLanguage"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="right"
android:gravity="left|center_vertical"
android:text="test2"
android:textAppearance="?android:attr/textAppearanceMedium"
android:textColor="#993366"
android:textIsSelectable="true" />
</GridLayout>
Run Code Online (Sandbox Code Playgroud)
几乎在那里,但没有退出...除了第二列不是完全左对齐.
这是期望的结果!!!

昨天我将我的第一个应用程序上传到Apple Appstore.当前状态为"Missing Screenshot [1]",单击[1]导致弹出窗口"Missing Localized Screenshots English".据我所知,语言环境是英语,至少是有意的.iTunesConnect中的页面在唯一标题下包含四个屏幕截图:"3.5英寸视网膜显示屏幕截图",并且没有其他屏幕截图的空间.虽然我必须说我将状态从通用应用程序更改为iPhone应用程序.我不知道该怎么做.我确实通过iTunes上传了屏幕截图,当我将二进制文件上传到appstore时没有包含.我是否也应该在组织者中包含这些屏幕截图?在状态历史记录中,它显示"上传已收到",两分钟后"缺少屏幕截图",引导我认为这些截图应该包含在二进制文件中.如果是这样,我应该如何添加截图?我确实读过有关Apple需要为iPhone5添加屏幕截图的内容,但我不知道在哪里添加这些内容.