腾讯云
开发者社区
文档
建议反馈
控制台
首页
学习
活动
专区
工具
TVP
最新优惠活动
文章/答案/技术大牛
搜索
搜索
关闭
发布
登录/注册
精选内容/技术社群/优惠产品,
尽在小程序
立即前往
文章
问答
(9999+)
视频
沙龙
5
回答
如何使两个按钮大小相等并占据其父级的所有宽度?
android
有两个按钮:
android
:layoutWidth="fill_parent"
android
:gravity="center">
android
:id="@+id
浏览 0
提问于2015-04-11
得票数 2
回答已采纳
2
回答
如何限制TextView的长度?
json
、
textview
我是Activity上的textView,根据它从JSON响应接收到的参数显示,我需要将其限制为仅12个字符: <TextView
android
:layout_height="wrap_content"
android
:layout_below="@+id/includeh
浏览 363
提问于2018-03-14
回答已采纳
3
回答
进度条在工具栏中的颜色?
android
、
toolbar
、
android-appcompat
我正在
使用
工具栏中的进度条,默认情况下它正在加载强调色,我想自定义进度条的颜色.i正在
使用
支持库22.0.0 <
android
.support.v7.widget.Toolbar xmlns:
android
="http://schemas.
android
.com/apk/res/
android
浏览 1
提问于2015-03-31
得票数 1
4
回答
无法更改按钮的背景色
android
、
android-button
、
androidx
我无法在我的安卓应用程序中通过
使用
backgroundTint来更改任何Button的背景颜色,但如果我将色调设置为透明,按钮上将不会出现图标。> xmlns:app="http://schemas.
android
.com"
浏览 0
提问于2019-06-11
得票数 0
1
回答
关于xml
android
中的背景属性
android
、
xml
、
android-layout
、
button
、
material-design
我
使用
一个按钮,我尝试在背景属性中添加两个属性,比如添加可绘制的xml,还想添加涟漪效果属性"?attr/selectableItemBackground",这可能吗?我的xml按钮代码如下:
android
:layout_width="0dp"
android
:layout_height="wrap_content&quo
浏览 1
提问于2018-06-01
得票数 0
3
回答
左侧可绘制内容与EditText中的文本之间的间隙
android
、
android-layout
、
android-edittext
你好,我正在
使用
属性
android
:drawableLeft="@drawable/email_drawable"在EditText中将可绘制设置为左端,我正在尝试这个,它完美地设置了可绘制,但它没有设置左侧可绘制和文本之间的间距<EditText
android
:layout_width="match_parent"
android
浏览 1
提问于2014-05-12
得票数 69
回答已采纳
1
回答
怎样才能让图像从缩小中拖出的效果消失?
java
、
android
、
xml
、
user-interface
、
user-experience
这是我的Xml代码xmlns:tools="http://schemas.
android
.com/tools"
android
:
浏览 4
提问于2018-05-21
得票数 1
3
回答
动画:在'
android
‘包中找不到属性'alpha’的资源标识符
android
、
xml
、
animation
" xmlns:
android
="http://schemas.
android
.com/apk/res/
android
"><scale
android
:d
浏览 7
提问于2013-06-30
得票数 2
回答已采纳
4
回答
修复LinearyLayout顶部的文本视图和底部的按钮
android
、
android-linearlayout
>
android
:layout_width="match_parent"
android
:orientation="horizontal&
浏览 1
提问于2015-07-01
得票数 0
1
回答
LinearLayout以上的ImageView没有得到显示片段?
android
、
android-layout
我有隐藏的行动栏
android
:
android
:id="@+id/actionbar"
浏览 0
提问于2014-07-22
得票数 0
回答已采纳
2
回答
替换碎片时的动态缩放动画
android
、
fragment
、
android-animation
、
android-transitions
我想用动画替换一个片段,但每次它都必须是动态的,也就是说,它将从我在屏幕上单击的位置开始,但fragmentTransaction.setCustomAnimations方法
使用
在动画文件夹中定义的预定义动画
浏览 5
提问于2015-12-11
得票数 7
1
回答
Visual Studio 2017 Xamarin将editviews左边缘对齐
android
、
android-layout
、
xamarin
、
xamarin.android
<LinearLayout
android
:orientation="vertical"
android
:layout_height="matc
浏览 5
提问于2019-02-16
得票数 0
回答已采纳
2
回答
删除在
Android
中有图像和文本的按钮中的图像背景
android
、
image
、
button
、
background
Xml代码:
android
:id="@+id/message"
android
:drawableLeft="@drawable/message"
android
:pa
浏览 5
提问于2015-01-30
得票数 0
回答已采纳
2
回答
android
开发如何创建动作栏
android
、
api
、
android-actionbar
我正在
使用
API15创建带有动作栏的
android
开发,但问题是我希望动作栏位于屏幕顶部。在我的情况下,行动是屏幕下的任何人可以帮助我?;import
android
.view.MenuItem; public class="http://schemas.
android
.com/apk/res/
android
浏览 0
提问于2013-10-01
得票数 0
5
回答
EditText不在CardView中工作
android
、
android-edittext
、
focus
、
android-cardview
<
android
.support.v7.widget.CardView
android
:layout_width="match_parent"
android
:layout_marginBottom<
浏览 4
提问于2016-11-14
得票数 2
回答已采纳
3
回答
如何以恒定的速度连续旋转视图?
android
、
android-animation
> <rotate
android
:toDegrees="1800" <
浏览 1
提问于2018-01-12
得票数 3
3
回答
如何制作4个相同长度的按钮?
android
、
button
>
android
:orientation="vertical"
android
:layout_width="match_parent"
android
:layout_height="match_p
浏览 5
提问于2015-06-23
得票数 0
5
回答
在布局中放置3个图像
android
、
android-layout
下面是我的代码:
android
:background="@drawable/gradientbg"
android
:orientation="horizontal"
android
andro
浏览 0
提问于2012-08-02
得票数 1
回答已采纳
5
回答
只是另一个布局问题- layout_gravity
android
、
layout
>
android
:layout_width="
android
:layout_width="wrap_content"
android
:layout_height="match_parent"
浏览 7
提问于2013-10-20
得票数 0
回答已采纳
1
回答
Android
GridLayout放置问题
android
、
android-layout
、
android-gridlayout
目前,我正在
使用
一个GridLayout来获取如下所示的视图: 我试图通过定义以下布局xml来创建这个布局:xmlns:
android
="http://schemas.
android
.com/apk/res/
android
"
an
浏览 2
提问于2013-11-29
得票数 0
回答已采纳
点击加载更多
扫码
添加站长 进交流群
领取专属
10元无门槛券
手把手带您无忧上云
相关
资讯
Android Doze 使用详解
Android Retrofit的使用
Android蓝牙使用详解(一)
Android Things 物联网教程:使用 Firebase 同步 Android Things
Palm将使用Android重新回归
热门
标签
更多标签
云服务器
ICP备案
实时音视频
即时通信 IM
对象存储
活动推荐
运营活动
广告
关闭
领券