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"android:paddingLeft="@dimen/activity_horizontal_margin"an..
分类:
其他好文 时间:
2015-06-09 14:13:45
阅读次数:
194
一、改变范围QCustomPlot *customplot;
customplot->setInteraction(QCP::iRangeDrag,true);使控件能够拖拉。customplot->axisRect()->setRangeDrag(Qt::Vertical);// Qt::Horizontal使控件只能在某一方向上拖拉,默认是水平和垂直都支持。customplot->setInte...
分类:
其他好文 时间:
2015-06-09 06:15:46
阅读次数:
495
相当简单,直接贴
先看主界面布局activity_custom_progress_main.xml
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:orientation="vertical" android:layout_width="fill_parent"
an...
分类:
其他好文 时间:
2015-06-08 19:38:29
阅读次数:
145
Android五大布局
1,LinearLayout 线性布局:
制定线性布局的排列方式:水平排列 horizontal、垂直排列 vertical
eg: android:orientation="horizontal"
控制当前 控件的内容 的显示区域:
eg: android:gravity="right|center_vertical"
控制当前控件在父元素的...
分类:
移动开发 时间:
2015-06-07 12:38:24
阅读次数:
124
android-pulltorefresh一个强大的拉动刷新开源项目,支持各种控件下拉刷新,ListView、ViewPager、WevView、ExpandableListView、GridView、ScrollView、Horizontal ScrollView、Fragment上下左右拉动刷新...
分类:
其他好文 时间:
2015-06-04 13:28:54
阅读次数:
149
//RadioGroup中xml文件的配置
<RadioGroup
android:id="@+id/radiogroupid"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:orientation="horizontal"
>
<RadioButton
android:id="@+id/femalebutton"
android:layout_width="wr..
分类:
移动开发 时间:
2015-06-04 12:07:53
阅读次数:
132
问题:为了去掉Photo Gallery的水平滚动效果,更改为根据内容进行自适应宽度多行显示效果Promoter link --> photo galleryNot horizontal scroll the photo解决方式:1、编辑状态下(Edit Page)添加内容编辑器部件(Content...
分类:
Web程序 时间:
2015-05-29 15:43:38
阅读次数:
215
android:weight属性能够根据手机高宽按设定比例显示控件如:宽度上按比例显示<LinearLayoutandroid:layout_marginTop="5dp"androidrientation="horizontal"android:layout_width="fill_parent"----------------让其满宽android:layout_height="wrap_content"><Buttona..
分类:
移动开发 时间:
2015-05-28 18:26:04
阅读次数:
325
android自定义按钮1》定义按钮布局文件<?xmlversion="1.0"encoding="utf-8"?><LinearLayoutxmlns:android="http://schemas.android.com/apk/res/android"androidrientation="horizontal"android:layout_gravity="center"android:layout_width="wrap_content"android:l..
分类:
移动开发 时间:
2015-05-28 18:23:46
阅读次数:
199
//基础表单 邮箱: 密码 记住密码 进入邮箱显示结果如下://水平表单 添加类名 form-horizontal ...
分类:
其他好文 时间:
2015-05-27 13:45:42
阅读次数:
190