android:id="@*android:id/seekbar" 注意*号

求助,如题。
是什么意思?
别沉下去啊。。。
急。。。。
@+id 新增一个资源id
@id和android:id,引用现有的资源id
谢谢ls
ls的意思明白
但我问的是 @*android:id 注意那个*号
android内部资源, 通过com.android.internal.R.id.XXX引用该资源
5楼能否再解释清楚些呢,@android 和@*android 有什么区别呢,不都是引用android自身的资源吗?
诶..原来还有星号...


[url=http://www.buildapp.net/android/show.asp?id=27100]GridView显示联系人头像的问题[/url]

[url=http://www.buildapp.net/android/show.asp?id=27099]ListView中嵌套checkbox实现多选[/url]

[url=http://www.buildapp.net/android/show.asp?id=27098]如何让按钮变成圆形?[/url]

[url=http://www.buildapp.net/android/show.asp?id=27097]android:id="@*android:id/seekbar" 注意*号[/url]

[url=http://www.buildapp.net/android/show.asp?id=27096]png 图形文件数据生成Drawable报解码失败[/url]

[url=http://www.buildapp.net/android/show.asp?id=27095]如何给ListView设置背景色或者背景图片啊?[/url]

[url=http://www.buildapp.net/android/show.asp?id=27094]有办法将wm系统的手机移植到android系统吗?[/url]

[url=http://www.buildapp.net/android/show.asp?id=27093]請問如何在EditText输入框中加入不可修改的文字?[/url]

[url=http://www.buildapp.net/android/show.asp?id=27092]网页播放器[/url]

[url=http://www.buildapp.net/android/show.asp?id=27091]请问这种文本输入组件是哪个view? 不太像 EditText 呀[/url]

[url=http://www.buildapp.net/android/show.asp?id=27090]待机掉线问题[/url]

[url=http://www.buildapp.net/android/show.asp?id=27089]android桌面快捷放式 3D效果 实现[/url]

[url=http://www.buildapp.net/android/show.asp?id=27088]怎么让虚拟键盘不挤压/改变原来的布局[/url]

[url=http://www.buildapp.net/android/show.asp?id=27087]android中UI是怎么实现与C交流的[/url]

[url=http://www.buildapp.net/android/show.asp?id=27086]一台pc不能同时装两台以上的android设备 driver吗[/url]

[url=http://www.buildapp.net/android/show.asp?id=27085]Android 解码Adobe DRM加密电子书 求助[/url]

[url=http://www.buildapp.net/android/show.asp?id=27084]android 单步调试[/url]

[url=http://www.buildapp.net/android/show.asp?id=27083]adb push XXX /sdcard/ Read-only file system[/url]

[url=http://www.buildapp.net/android/show.asp?id=27082]Android market能支持自动安装多个apk吗[/url]

[url=http://www.buildapp.net/android/show.asp?id=27081]Market程序是怎么样安装应用apk的[/url]

[url=http://www.buildapp.net/android/show.asp?id=27080]Handler的问题[/url]

[url=http://www.buildapp.net/android/show.asp?id=27079]android的webView能看带有mp4文件的网页吗?[/url]

[url=http://www.buildapp.net/android/show.asp?id=27078]以线程运行android进度条[/url]

[url=http://www.buildapp.net/android/show.asp?id=27077]初次往SQLite里放入原始数据应该在onCreate里执行吗?[/url]

[url=http://www.buildapp.net/android/show.asp?id=27076]android中读取XML文件的[/url]

[url=http://www.buildapp.net/android/show.asp?id=27075]如何实现类似层显示隐藏的效果[/url]

[url=http://www.buildapp.net/android/show.asp?id=27074]在线音乐播放器完整项目导入有很多很多的错误,谁来指导一[/url]

[url=http://www.buildapp.net/android/show.asp?id=27073]如何实现动态改变TextView或者Button的位置[/url]

[url=http://www.buildapp.net/android/show.asp?id=27072]弱弱的问一下,关于setStretchMode(int)的[/url]

[url=http://www.buildapp.net/android/show.asp?id=27071]listview的问题[/url]

[url=http://www.buildapp.net/android/show.asp?id=27070]怎么利用twitter4j获得OAuth认证的Twitter对象?[/url]

[url=http://www.buildapp.net/android/show.asp?id=27069]TabHost问题!!!!!!!!!!!!!!![/url]

[url=http://www.buildapp.net/android/show.asp?id=27068]twitter怎么用代码实现转发消息啊[/url]

[url=http://www.buildapp.net/android/show.asp?id=27067]对话框的问题[/url]

[url=http://www.buildapp.net/android/show.asp?id=27066]大家好,请问listview可以实现分页么?[/url]

[url=http://www.buildapp.net/android/show.asp?id=27065]LinearLayout布局如何解决“坍塌”问题。[/url]

[url=http://www.buildapp.net/android/show.asp?id=27064]有关线程的问题[/url]

[url=http://www.buildapp.net/android/show.asp?id=27063]用DDMS截屏得到的图像与手机实际显示不一致?[/url]

[url=http://www.buildapp.net/android/show.asp?id=27062]各位谁有视频播放的例子代码吗?[/url]

[url=http://www.buildapp.net/android/show.asp?id=27061]ANDROID为什么没有底栏菜单控件啊?[/url]

[url=http://www.buildapp.net/android/show.asp?id=27060]Activity的生命周期的问题[/url]

[url=http://www.buildapp.net/android/show.asp?id=27059]Camrea如何设置自动对焦[/url]

[url=http://www.buildapp.net/android/show.asp?id=27058]关于三星i9000的http的post方式的问题[/url]

[url=http://www.buildapp.net/android/show.asp?id=27057]XML解析的问题[/url]

[url=http://www.buildapp.net/android/show.asp?id=27056]关于在init.rc里面添加信息的问题[/url]

[url=http://www.buildapp.net/android/show.asp?id=27055]急!延后启动init.rc中的篮牙服务,该怎么做呀?[/url]

[url=http://www.buildapp.net/android/show.asp?id=27054]如果查询不到结果,如何用Cursor来判断?[/url]

[url=http://www.buildapp.net/android/show.asp?id=27053]如何在Notification 中,message能换行显示?[/url]

[url=http://www.buildapp.net/android/show.asp?id=27052]如何在listView上面加一个加载得界面[/url]

[url=http://www.buildapp.net/android/show.asp?id=27051]2。1的 双camera怎么实现[/url]

[url=http://www.buildapp.net/android/show.asp?id=27050]修改init.rc文件[/url]

[url=http://www.buildapp.net/android/show.asp?id=27049]修改ListView在屏幕显示的范围?[/url]

[url=http://www.buildapp.net/android/show.asp?id=27048]图片分层显示的问题!!!![/url]

[url=http://www.buildapp.net/android/show.asp?id=27047]有没有jni下opengles的例子[/url]

[url=http://www.buildapp.net/android/show.asp?id=27046]Spinner的问题。高手进![/url]

[url=http://www.buildapp.net/android/show.asp?id=27045]苦恼啊,Android SDK setup.exe怎么没用了?[/url]

[url=http://www.buildapp.net/android/show.asp?id=27044]初学者求助:关于在res/drawable中添加xml实现控件颜色改变的[/url]

[url=http://www.buildapp.net/android/show.asp?id=27043]lisView数据问题[/url]

[url=http://www.buildapp.net/android/show.asp?id=27042]请教:android的sqlite操作的组合条件写法?[/url]

[url=http://www.buildapp.net/android/show.asp?id=27041]获得自带联系人号码有多个,如何区分类型?[/url]

[url=http://www.buildapp.net/android/show.asp?id=27040]求助[/url]

[url=http://www.buildapp.net/android/show.asp?id=27039]难题...很纠结.大家来帮我看看,...listview中的button的问题[/url]

[url=http://www.buildapp.net/android/show.asp?id=27038]像IPAD那样,将图标合并成一个图标,如何实现?[/url]

[url=http://www.buildapp.net/android/show.asp?id=27037]有关Uri[/url]

[url=http://www.buildapp.net/android/show.asp?id=27036]在一个Activity界面中,数据没加载显Loading,下载完显示Listview[/url]

[url=http://www.buildapp.net/android/show.asp?id=27035]动态壁纸,2.1能跑,2.2就报错!这神马原理?[/url]

[url=http://www.buildapp.net/android/show.asp?id=27034]ListView里边的两个值,如何放在一行里显示??[/url]

[url=http://www.buildapp.net/android/show.asp?id=27033]Android手机刷机升级操作系统[/url]

[url=http://www.buildapp.net/android/show.asp?id=27032]地图点击事件求助[/url]

[url=http://www.buildapp.net/android/show.asp?id=27031]如何有效监测TCPSocket的断开?[/url]

[url=http://www.buildapp.net/android/show.asp?id=27030]使用imageview的时候animation失效[/url]

[url=http://www.buildapp.net/android/show.asp?id=27029]SharedPreferences 的问题啊[/url]

[url=http://www.buildapp.net/android/show.asp?id=27028]adb不能识别手机问题[/url]

[url=http://www.buildapp.net/android/show.asp?id=27027]高手帮看下,可以预览,设置为壁纸就卡死(已解决)[/url]

[url=http://www.buildapp.net/android/show.asp?id=27026]问个有些难度的问题,关于android通话机制的[/url]

[url=http://www.buildapp.net/android/show.asp?id=27025]android程序在模拟器运行时总显示已安装但在模拟器上找不到[/url]

[url=http://www.buildapp.net/android/show.asp?id=27024]怎么实现在程序过程中不锁屏或者黑屏[/url]

[url=http://www.buildapp.net/android/show.asp?id=27023]android开发中如何对email进行过滤[/url]

[url=http://www.buildapp.net/android/show.asp?id=27022]高手,请问如何在线程中弹出对话框?[/url]

[url=http://www.buildapp.net/android/show.asp?id=27021]树形菜单的child为gridview,谁做过?[/url]

[url=http://www.buildapp.net/android/show.asp?id=27020]两种退出整个程序的方法![/url]

[url=http://www.buildapp.net/android/show.asp?id=27019]求教,关于ListView中,显示条目的问题[/url]

[url=http://www.buildapp.net/android/show.asp?id=27018]如何进行代码混淆[/url]

[url=http://www.buildapp.net/android/show.asp?id=27017]彩信连接 socket 连不上[/url]

[url=http://www.buildapp.net/android/show.asp?id=27016]在一个activity中,如何调用其他activity中的成员变量[/url]

[url=http://www.buildapp.net/android/show.asp?id=27015]动态图形绘制(小球不停运动)[/url]

[url=http://www.buildapp.net/android/show.asp?id=27014]关于Popup Window 的问题[/url]

[url=http://www.buildapp.net/android/show.asp?id=27013]有没有哪位大牛对图片像素级处理有研究的,麻烦指点一下[/url]

[url=http://www.buildapp.net/android/show.asp?id=27012]如何在添加google地图上的标记事件?[/url]

[url=http://www.buildapp.net/android/show.asp?id=27011]如何判断图片库Gallery中的图片数目[/url]

[url=http://www.buildapp.net/android/show.asp?id=27010]关于退出应用程序的问题[/url]

[url=http://www.buildapp.net/android/show.asp?id=27009]请问Android中如何在自己的类中获取资源中的string(已解决)[/url]

[url=http://www.buildapp.net/android/show.asp?id=27008]怎么设置安装程序到SD卡上?[/url]

[url=http://www.buildapp.net/android/show.asp?id=27007]win7下使用droiddraw的问题[/url]

[url=http://www.buildapp.net/android/show.asp?id=27006]请问如何拿到联系人的头像[/url]

[url=http://www.buildapp.net/android/show.asp?id=27005]想问下 android market 当搜索到同类软件的时候,是通过什么进[/url]

[url=http://www.buildapp.net/android/show.asp?id=27004]启动service失败的原因?[/url]

[url=http://www.buildapp.net/android/show.asp?id=27003]appwidget运行不起来[/url]

[url=http://www.buildapp.net/android/show.asp?id=27002]横竖屏切换之后再次进入报错[/url]

[url=http://www.buildapp.net/android/show.asp?id=27001]大家给个办法做一个2×2的按钮RadioButton,要RadioGroup[/url]

更多android开发资料,请访问http://www.buildapp.net/android/
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
好的,你可以在布局文件中添加两个 Button 控件,如下所示: ``` <?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_parent" android:layout_height="match_parent" android:orientation="vertical"> <EditText android:id="@+id/ipEditText" android:layout_width="match_parent" android:layout_height="wrap_content" android:hint="请输入服务器IP地址" /> <EditText android:id="@+id/portEditText" android:layout_width="match_parent" android:layout_height="wrap_content" android:hint="请输入服务器端口" /> <Button android:id="@+id/connectButton" android:layout_width="match_parent" android:layout_height="wrap_content" android:text="连接" /> <SeekBar android:id="@+id/seekBar_x" android:layout_width="match_parent" android:layout_height="wrap_content" android:layout_marginTop="16dp" android:max="30" android:progress="0" /> <ScrollView android:layout_width="match_parent" android:layout_height="0dp" android:layout_weight="1"> <SeekBar android:id="@+id/seekBar_y" android:layout_width="match_parent" android:layout_height="wrap_content" android:layout_marginTop="32dp" android:max="30" android:progress="0" /> </ScrollView> <Button android:id="@+id/sendMessageButton" android:layout_width="match_parent" android:layout_height="wrap_content" android:text="发送消息" /> <Button android:id="@+id/cancelButton" android:layout_width="match_parent" android:layout_height="wrap_content" android:text="取消" /> <Button android:id="@+id/confirmButton" android:layout_width="match_parent" android:layout_height="wrap_content" android:text="确认" /> </LinearLayout> ``` 这样就在布局文件中添加了两个按钮:取消和确认。你可以根据需要修改按钮的文本和样式。
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值