腾讯云
开发者社区
文档
建议反馈
控制台
登录/注册
首页
学习
活动
专区
圈层
工具
MCP广场
文章/答案/技术大牛
搜索
搜索
关闭
发布
精选内容/技术社群/优惠产品,
尽在小程序
立即前往
文章
问答
(9999+)
视频
沙龙
3
回答
如何在
android
中旋转多个图像,并在XML代码中相互覆盖?
、
、
我无法使用
android
:rotation="20“来旋转图像。我必须从左到右一对一地显示图像,如图所示。
浏览 2
提问于2012-10-16
得票数 0
回答已采纳
1
回答
将3x3 OpenCV Mat转换为安卓矩阵
、
、
、
我得到了一个OpenCV格式(org.opencv.core.Mat)的3x3矩阵,我想将它复制到
android
.graphics.
Matrix
中。知道怎么做吗?源矩阵来自OpenCV,目标矩阵来自
Android
。static void transformMatrix(Mat src,
Matrix
dst) { int rows = src.rows
浏览 3
提问于2014-02-14
得票数 0
回答已采纳
5
回答
ImageView中心与ScaleType矩阵的位置
、
、
、
我在ImageView中使用缩放效果,所以我需要使用scaletype=
matrix
。现在,我想将中心位置设置为ImageView,但我无法设置它。layout.xml :<RelativeLayout xmlns:
android
="http://schemas.
android
.com/apk/res/
android
"
android
:layout_width="mat
浏览 0
提问于2014-05-20
得票数 2
1
回答
JNI:将矩阵打印到logcat不起作用
、
、
、
、
我对这种东西完全陌生,所以在做了一些研究之后,我尝试了以下代码: for (int j = 0;j<4; j++){ __
android
_log_write(
ANDROID
_LOG_INFO , "
Matrix
: ", (char*)&v);}07-22 09:21:56.517 14487-14582/name.exa
浏览 18
提问于2015-07-22
得票数 3
回答已采纳
1
回答
背景图像从左向右移动
、
我正在开发应用程序。其中登录屏幕具有背景图像。我想从左向右移动这个背景image.how我能做到吗? ImageView img_animation = (ImageView) findViewById(R.id.img_animation); 0.0f, 0.0f); a
浏览 0
提问于2014-12-05
得票数 5
1
回答
如何用相同的按钮旋转每幅图像
、
、
[I http://i.stack.imgur.com/I26fq.png(][1)
浏览 2
提问于2016-02-07
得票数 0
3
回答
从布局xml文件旋转ImageView源
、
、
、
我的布局中有这个ImageView:
android
:layout_height="wrap_content"
android
:paddingBottom="8dp"
android<
浏览 0
提问于2012-06-28
得票数 52
回答已采纳
1
回答
Matrix
类-
Android
SDK
、
特别是,最后两个参数的用途是什么?
浏览 0
提问于2011-04-11
得票数 1
3
回答
旋转到ImageView,在RelativeLayout中
、
、
、
>
android
:id="@+id/tabBar"
android
:layout_width="fill_parent"
android
:layout_height="wrap_content&quo
浏览 3
提问于2012-09-27
得票数 4
1
回答
当尝试旋转图像时:无法解析方法mtx.postRotate(int)
、
、
、
、
int h = scaled.getHeight();
Matrix
mtx = new
Matrix
(); mtx.postRotate(90); //Cannot resolve method 'postRotate(int)'
浏览 2
提问于2016-03-20
得票数 3
回答已采纳
1
回答
如何适应旋转后的全屏幕图像显示
、
、
> xmlns:tools="http://schemas.
android
.com/tools"
and
浏览 0
提问于2019-08-22
得票数 0
1
回答
android
仿真器中带有按钮的缩放和摇摄
、
、
我正试图为我的uni项目实现一个缩放功能。所以我的应用程序从SD画廊加载了一张图片。它有缩放和摇摄的按钮。我必须在仿真器中实现这个项目。谢谢!
浏览 2
提问于2014-07-12
得票数 0
回答已采纳
3
回答
如何在
Android
中旋转位图?
、
、
我知道已经有关于这个问题的线索了,但解决方案似乎使用了
Matrix
类中的方法,这些方法似乎不再起作用。即使在导入之后,也无法解析这些方法。@Override Intent intent = new Intent("
android
.media.action.IMAGE_CAPTURE
浏览 4
提问于2015-05-01
得票数 13
2
回答
获取下载的可绘制文件时ImageView自动调整大小
、
、
<LinearLayout xmlns:
android
="http://schemas.
android
.com/apk/res/
android
"
android
:layout_height="144dip" >
android
:id=&qu
浏览 18
提问于2012-08-28
得票数 0
回答已采纳
1
回答
转换为位图- Xamarin.forms后,图像变得过于像素化
、
、
旋转检查及转换为位图{
Android
.Graphics.BitmapFactory.OptionsfilePath);
Android
.Graphics.
Matrix
matrix
=
浏览 0
提问于2020-10-02
得票数 0
回答已采纳
4
回答
如何将图像视图标度类型设置为topCrop
、
、
我正在编写
android
代码,我有一个图像视图。我想把这个的刻度类型设置为topcrop。我可以在选择中找到中档,但这不是我的要求。我该怎么做?
浏览 5
提问于2015-04-21
得票数 22
回答已采纳
2
回答
对话框转场效果
><translate
android
:fromYDelta="100%p"
android
:toYDelta="0" <
浏览 2
提问于2012-07-10
得票数 5
回答已采纳
3
回答
将ImageView中的图像与右上角对齐
、
、
、
有一个ImageView,它的尺寸比图像大。如何在控件的右上角(和左下角)对齐图像?
浏览 0
提问于2018-08-26
得票数 1
1
回答
安卓openGL ES 3 Vector3f和
Matrix
4f类的替代品是什么?
、
、
、
In openGL公共静态
Matrix
4f createTransformationMatrix(Vector3f平移,浮点数){
Matrix
4f矩阵=新
Matrix
4f();
matrix
.setIdentity();//翻译
Matrix
4f.translate(平移,矩阵,矩阵);//旋转
Matrix
4f.rotate(浮点数)Math.toRadians( rx ),新Vector3f(1,
浏览 3
提问于2020-03-16
得票数 1
2
回答
ImageView在安卓系统中旋转后未显示
、
> xmlns:
android
="http://schemas.
android
.com/apk/res/
android
"
android
:id="@+id/
android
"
android
:src=&q
浏览 1
提问于2012-08-17
得票数 2
回答已采纳
点击加载更多
扫码
添加站长 进交流群
领取专属
10元无门槛券
手把手带您无忧上云
热门
标签
更多标签
云服务器
ICP备案
即时通信 IM
云直播
实时音视频
活动推荐
运营活动
广告
关闭
领券