Android
Lvcch_87
这个作者很懒,什么都没留下…
展开
-
android 中ids.xml资源的使用
使用方式: 一: android:id="@id/button_ok"二:Button btn=new Button(context); btn .setId(context.getResources().getInteger(R.id.button_ok));红色部分的书写形式是不正确的,我们直接使用btn.setId(R.id.button_ok转载 2014-08-25 19:46:14 · 445 阅读 · 0 评论 -
布局中设置组件之间的分割线
> android:layout_marginTop="5dp" android:layout_width="fill_parent" android:layout_height="1px" android:background="?android:attr/listDivider"/>原创 2014-10-11 15:14:34 · 1644 阅读 · 0 评论 -
布局里放置多个TextView控件
android:id="@+id/act_login_lvdou_otherbtnlayout" android:layout_width="fill_parent" android:layout_height="match_parent" android:layout_marginTop="@dimen/viewSpace_biggest" android原创 2014-11-14 18:51:19 · 957 阅读 · 0 评论 -
Android A页面跳转至A页面
// this = Intent intent = new Intent(this, ActDiyPickTemplate.class);startActivity(intent);finish();原创 2014-10-15 09:30:39 · 566 阅读 · 0 评论 -
Android 5037端口被占用,adb起不来
netstat -ano | findstr 5037 | findstr LISTENING找到进程的pid,然后去任务管理器当中查找对应的pid,杀掉该进程原创 2015-04-27 18:53:23 · 623 阅读 · 0 评论