腾讯云
开发者社区
文档
建议反馈
控制台
登录/注册
首页
学习
活动
专区
工具
TVP
最新优惠活动
文章/答案/技术大牛
搜索
搜索
关闭
发布
精选内容/技术社群/优惠产品,
尽在小程序
立即前往
文章
问答
(9999+)
视频
沙龙
1
回答
几个图像的线性布局,无法正确获取fill_parent/wrap_content
、
我有一个9x2的PNG网格,我想在我的小部件中分发它<linearLayout <linearLayout
android
:orientation="horizontal"> <ImageView /> &
浏览 1
提问于2011-07-10
得票数 0
3
回答
如何设置图片之间的边距
"
android
:layout_centerHorizontal="true"
android
:paddingLeft="10dp"
android
:layout_centerVertical="true"
浏览 0
提问于2013-04-23
得票数 0
回答已采纳
2
回答
在GridLayout中自动调整图像大小?
、
、
、
我使用过ImageViews、
scaleType
和
adjustViewBounds属性,但只通过手动设置layout_width
和
layout_height来成功。这是可能的还是我应该提前调整尺寸?<ImageView
android
:layout_gravity="start|top"
android
:
scaleType<
浏览 3
提问于2015-03-27
得票数 1
2
回答
ImageView -左侧
和
右侧多余的填充物
、
ImageView、match_parent
和
wrap_content的宽度
和
高度。但是,ImageView在它的左边
和
右边都有轻微的填充。图像从服务器下载并显示在ImageView中。以下是我的XML: xmlns:app="http:
bac
浏览 4
提问于2015-05-04
得票数 1
回答已采纳
1
回答
我的图像不是根据父大小拉伸的
、
、
我试了很多次,但都失败了
android
:layout_width="match_parent"
android
:src="@drawable/ic_launcher_
background
" />"
浏览 11
提问于2019-07-19
得票数 1
回答已采纳
3
回答
白色填充/边框
、
、
> xmlns:
android
="http://schemas.
android
.com/apk/res/
android
" xmlns:tools=&quo
浏览 2
提问于2021-07-10
得票数 0
1
回答
贴片.缩放时不可拉伸区域的高度/宽度比的保护
、
、
、
我有以下9个补丁文件作为一个硬视图的背景: 要将图像缩放到背景中,我在ImageView上使用刻度类型“ImageView”:
android
:layout_width="match_parent"
android
:src="@drawable/
background
_
浏览 4
提问于2016-12-12
得票数 1
回答已采纳
2
回答
以编程方式添加的Admob横幅需要位于底部
、
、
、
android
:
background
="@
android
:color/transparent"
android
:
scaleType
="f
浏览 2
提问于2012-12-18
得票数 1
回答已采纳
7
回答
如何将imagebutton中的图像拉伸到imagebutton的整个区域?
、
、
、
我仍然想保持图像按钮样式<ImageButton
android
:layout_height="match_parent"
android
:layout_weight="0.5"
android
:
浏览 66
提问于2013-02-14
得票数 25
2
回答
ImageView in LinearLayout
、
、
、
>
android
:layout_width="match_parent"
android
:orientation="horizo
浏览 5
提问于2017-01-21
得票数 1
回答已采纳
2
回答
Android
align表的内容
、
我的代码是:
android
:id="@+id/tableLayout1"
android
:layout_height="fill_paren
浏览 0
提问于2012-07-01
得票数 1
回答已采纳
3
回答
Android
相对布局重力填充问题
、
、
、
、
layout_height="wrap_content"
android
:
background
layout_height="wrap_content"
androi
浏览 0
提问于2011-08-17
得票数 2
回答已采纳
1
回答
使用比例类型作为centerCrop在ImageView上什么都不做
、
、
match_parent" tools:context="com.contag.app.fragment.NavDrawerFragment
android
:layout_height="match_parent"
android
:
scaleType
="centerCrop"<em
浏览 1
提问于2015-10-22
得票数 0
回答已采纳
1
回答
安卓演播室-在帧布局中没有显示按钮
:
background
="@color/white"
android
="70dp"
android
:
background</em
浏览 5
提问于2022-05-17
得票数 0
1
回答
内含ImageView的TableLayout
、
"
android
:
background
="#ed8404">
android
:adjustViewBounds="true"
浏览 14
提问于2019-03-20
得票数 0
回答已采纳
4
回答
安卓系统中ViewPager内部的图像拉伸
、
> xmlns:
android
="http://schemas.
android
.com/apk/res/
android
" xmlns:tools="http://schemas.
andro
浏览 0
提问于2017-07-28
得票数 2
6
回答
删除图像按钮填充(
Android
)
、
、
、
wrap_content"
android
:
background
="@null"
android
:cropToPadding="true"
android
:
scaleType
=&qu
浏览 1
提问于2013-01-01
得票数 8
回答已采纳
1
回答
Android
:如何让图像适合圆圈
、
、
、
、
这是我的代码
android
:id="@+id/user_profile_photo"
android
:layout_height="120dp"
android
:layout_below="@+id/header_cover_imag
浏览 0
提问于2016-12-11
得票数 0
2
回答
如何使imageview的背景在
android
中以更高的比例进行缩放?
、
、
、
、
好像没有适当的比例,它会变形,我需要它在1:1的宽度
和
高度的比例。 Imageview:scale="fitxy"请帮帮忙。 我正在致力于
android
ICS。
浏览 2
提问于2014-03-25
得票数 0
回答已采纳
2
回答
在相对布局中居中裁剪不裁剪照片
提前感谢 xmlns:tools="http://schemas.
android
.com/tools"
android
:id="@+id/Photos&
浏览 3
提问于2015-02-22
得票数 2
点击加载更多
扫码
添加站长 进交流群
领取专属
10元无门槛券
手把手带您无忧上云
相关
资讯
Android 主题和样式
Android中的样式和主题
鸿蒙APP和Android的区别
Android和iOS首次实现数据互通!
TikTok Notes 发布 iOS 和 Android 版本
热门
标签
更多标签
云服务器
ICP备案
云直播
对象存储
腾讯会议
活动推荐
运营活动
广告
关闭
领券