<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" android:layout_width="match_ ...
分类:
其他好文 时间:
2016-06-06 21:50:52
阅读次数:
207
一、计算器布局 <?xml version="1.0" encoding="utf-8"?><LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_par ...
分类:
移动开发 时间:
2016-06-05 21:22:47
阅读次数:
202
后来呀,我遇到了LayoutParams,它说`layout_width`是它的属性而非View的,并且不只是针对这一个,而是所有以"layout_"开头的属性都与它有关!所以,它的东西当然要打上自己的标识"layout_"。(呵呵,嚣张个啥,到头来你自己还不是属于View的一部分( ̄┰ ̄*))...
分类:
其他好文 时间:
2016-06-04 07:03:38
阅读次数:
403
<ImageView android:id="@+id/singleimage" android:layout_width="@dimen/magin_corner70" android:layout_height="@dimen/magin_corner70" android:layout_ali ...
分类:
编程语言 时间:
2016-06-01 12:58:56
阅读次数:
439
主布局 <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" android:layout_width="ma ...
分类:
其他好文 时间:
2016-05-31 12:30:34
阅读次数:
198
为以后可以温习自己做过的一些特效例子,同时也没有必要再一次重写代码,特此从项目中收集代码,按钮颜色变化状态如下: 要实现如图效果,首先要编写一个布局xml文件,代码如下: <LinearLayout android:layout_width="match_parent" android:layout ...
分类:
移动开发 时间:
2016-05-29 19:55:09
阅读次数:
380
音乐播放器api
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_hei...
分类:
移动开发 时间:
2016-05-27 12:23:37
阅读次数:
276
布局定义custom_notification.xml<?xmlversion="1.0"encoding="utf-8"?>
<RelativeLayoutxmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent">
<ImageView
android:id="@+..
分类:
其他好文 时间:
2016-05-25 19:04:49
阅读次数:
438
//布局管理代码 <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" android:layout_width= ...
分类:
移动开发 时间:
2016-05-23 18:45:30
阅读次数:
315
界面
xml version="1.0" encoding="utf-8"?>
LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:orientation="vertical"
android:layout_width="fill_parent"
andro...
分类:
移动开发 时间:
2016-05-23 15:28:51
阅读次数:
231