码迷,mamicode.com
首页 >  
搜索关键字:layout_width    ( 981个结果)
Android代码(Handler的运用),HttpURLConnection的应用,将url图片地址转换成图片。
??1 布局文件, LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"     xmlns:tools="http://schemas.android.com/tools"     android:layout_width="match_parent"     android:layou...
分类:移动开发   时间:2015-06-19 01:31:50    阅读次数:137
Android计算器开发实例
Android计算器开发实例  最近迷上了安卓开发, 自己做了个web浏览器,很好用,现在想做一个简单的计算器程序员,熟悉安卓的编程基础。下面我们来一起看一下吧。let`s go!     main.xml代码   http://schemas.android.com/apk/res/android"      android:layout_width="fill_parent"...
分类:移动开发   时间:2015-06-18 17:22:41    阅读次数:150
图片轮播4种方法思路
第一种方法 图片自动依次轮播,第一轮轮播完,重新回到第一张轮播,但是界面不会后退去定位到第一张图片 main.xml <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" android:id="@+id/rl" android:layout_width="fill_parent"...
分类:其他好文   时间:2015-06-18 13:42:14    阅读次数:166
Android中的Handler01
//首先在XML文件中配置一下 <TextView android:id="@+id/textViewId" android:layout_width="match_parent" android:layout_height="wrap_content" android:text="数据" /> <Button android:id="@+id/butid" android:layout_width="match_parent" android:layout..
分类:移动开发   时间:2015-06-18 11:45:13    阅读次数:176
第九章,WebView点击网页内链接跳转到其他Activity(Android)
在 AndroidManifest.xml中添加网络权限 activity_main.xml <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" android:layout_width="m...
分类:移动开发   时间:2015-06-16 19:24:03    阅读次数:15580
Android开发技巧三--格式化TextView文本
本例主要研究一下如何在TextView中显示网页链接和改变特定文字颜色1.main.xml<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" android:layout_width="match...
分类:移动开发   时间:2015-06-16 19:17:38    阅读次数:234
Android(java)学习笔记110:ScrollView用法
理论部分1、ScrollView和HorizontalScrollView是为控件或者布局添加滚动条2、上述两个控件只能有一个孩子,但是它并不是传统意义上的容器3、上述两个控件可以互相嵌套4、滚动条的位置现在的实验结果是:可以由layout_width和layout_height设定5、Scroll...
分类:移动开发   时间:2015-06-15 22:00:50    阅读次数:175
练习2
<?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_...
分类:其他好文   时间:2015-06-15 19:01:50    阅读次数:96
android控件EditText
<EditText android:id="@+id/et_endeValue" android:textSize="20pt" android:minLines="2" android:maxLines="3" android:layout_width="wrap_content" android:layout_height="wrap_content" android:hint="请在这里输入内容" android:text=""/> android:id@+id是在R...
分类:移动开发   时间:2015-06-15 16:45:51    阅读次数:118
Android 中 ViewFlipper 的简单实例
main.xml<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" android:layout_width="match_parent" android:layout_height="...
分类:移动开发   时间:2015-06-15 09:19:29    阅读次数:189
共981条   上一页 1 ... 50 51 52 53 54 ... 99 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!