Drawable Tinting(着色)
设置 ImageView 的 android:tint 属性,可以达到以下效果:
layout:
<ImageView
android:layout_width="100dp"
android:layout_height="100dp"
android:eleva...
分类:
移动开发 时间:
2014-12-07 13:53:21
阅读次数:
232
AbsoluteLayout绝对布局:layout/activity_main.xml<AbsoluteLayoutxmlns:android="http://schemas.android.com/apk/res/android"xmlns:tools="http://schemas.android.com/tools"android:layout_width="match_parent"android:layout_height="match_parent"><TextView..
分类:
移动开发 时间:
2014-12-07 06:54:36
阅读次数:
156
RelativeLayout(相对布局):layout/activity_main.xml<RelativeLayoutxmlns:android="http://schemas.android.com/apk/res/android"xmlns:tools="http://schemas.android.com/tools"android:layout_width="match_parent"android:layout_height="match_parent"><Text..
分类:
移动开发 时间:
2014-12-07 06:54:19
阅读次数:
176
TableLayout(相对布局):layout/activity_main.xml<LinearLayoutxmlns:android="http://schemas.android.com/apk/res/android"xmlns:tools="http://schemas.android.com/tools"android:layout_width="match_parent"android:layout_height="match_parent"android:orientati..
分类:
其他好文 时间:
2014-12-07 06:53:19
阅读次数:
223
LinearLayout(线性布局)::layout/activity_main.xml<LinearLayoutxmlns:android="http://schemas.android.com/apk/res/android"xmlns:tools="http://schemas.android.com/tools"android:layout_width="match_parent"android:layout_height="match_parent"android:orient..
分类:
移动开发 时间:
2014-12-07 06:52:50
阅读次数:
315
TableLayout(网格布局)需要注意的:网格布局需要最低版本支持:API14也就是最低andriod4.0:layout/activity_main.xml<LinearLayoutxmlns:android="http://schemas.android.com/apk/res/android"android:layout_width="match_parent"android:layout_height="match_parent"..
分类:
移动开发 时间:
2014-12-07 06:52:43
阅读次数:
263
TableLayout(网格布局)需要注意的:网格布局需要最低版本支持:API14也就是最低andriod4.0:layout/activity_main.xml<LinearLayoutxmlns:android="http://schemas.android.com/apk/res/android"android:layout_width="match_parent"android:layout_height="match_parent"..
分类:
移动开发 时间:
2014-12-07 06:52:37
阅读次数:
215
FrameLayout(帧布局):layout/activity_main.xml<FrameLayoutxmlns:android="http://schemas.android.com/apk/res/android"xmlns:tools="http://schemas.android.com/tools"android:layout_width="match_parent"android:layout_height="match_parent"><ImageViewand..
分类:
其他好文 时间:
2014-12-07 06:52:32
阅读次数:
212
FrameLayout(帧布局):layout/activity_main.xml<FrameLayoutxmlns:android="http://schemas.android.com/apk/res/android"xmlns:tools="http://schemas.android.com/tools"android:layout_width="match_parent"android:layout_height="match_parent"><ImageViewand..
分类:
其他好文 时间:
2014-12-07 06:52:15
阅读次数:
144
布局:layout/activity_main.xml<LinearLayoutxmlns:android="http://schemas.android.com/apk/res/android"xmlns:tools="http://schemas.android.com/tools"android:layout_width="match_parent"android:layout_height="match_parent"android:orientation="vertical">&l..
分类:
移动开发 时间:
2014-12-07 06:49:50
阅读次数:
183