android :id= "@+id/root"
android :layout_width= "match_parent"
android :layout_height= "match_parent"
android :columnCount= "4"
android :rowCount= "6">
android :layout_width...
分类:
其他好文 时间:
2016-05-12 18:25:59
阅读次数:
274
Tablayout 结合 viewPager <android.support.design.widget.TabLayout
android:id="@+id/tab_FindFragment_title"
android:layout_width="match_parent"
android:layout_height="wrap_co...
分类:
其他好文 时间:
2016-05-12 18:18:30
阅读次数:
144
界面非常的简单,就是一个Button,点击这个Button呢,会弹出一个对话框
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_par...
分类:
移动开发 时间:
2016-05-12 18:12:57
阅读次数:
318
??
/* *Copyright(c)2016,烟台大学计算机与控制工程学院 *All rights reserved *文件名称:123.cpp *作 者:隋宗涛 *完成日期:2016年5月10日 *版 本 号:v1.0 * *问题描述:求5个长方柱的体积和表面积。长方柱类Bulk的数据成员包括长(length)、宽(width)、高(heigth)等。 *...
分类:
编程语言 时间:
2016-05-12 16:49:19
阅读次数:
303
需求:
实现Tab选项卡切换
此处使用的是jQuery1.7.js
实现代码如下
增删改查
*{margin:0 auto;padding:0;list-style-type:none;}
body{font:12px/180% Arial, Helvetica, sans-serif, "新宋体";}
/* tab */
#tab{width:...
分类:
Web程序 时间:
2016-05-12 16:03:45
阅读次数:
368
第一步 创建一个盒子
操作: .banner按tab
写css
.banner{
height:382px;
width : 100 % ;}...
分类:
其他好文 时间:
2016-05-12 15:44:27
阅读次数:
232
ListView 在APP开发中几乎无处不在,重要性,不言而喻!
XML 代码:
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:entries="@array/ctype">
常用属性:
android:divider 用于为列表实例设置分隔条...
分类:
移动开发 时间:
2016-05-12 14:40:11
阅读次数:
252
1. CSS3对话框
.talk{width: 100px; height: 30px; background: #ffffff; border-radius: 5px; position: absolute; left: 100px; top: 100px;}
.talk:after{content: ""; border-width:10px 20px; border-style:d...
分类:
其他好文 时间:
2016-05-12 14:23:15
阅读次数:
200
实习中遇到的需要自定义没有title的dialog,这里图片是我自己乱搞的,大概查了一下百度就开始写了。先是dialog的布局。
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width...
分类:
其他好文 时间:
2016-05-12 14:22:00
阅读次数:
253
1.activity_main.xml
<android.support.v4.view.ViewPager
xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/viewpager"
android:layout_width="match_parent"
and...
分类:
其他好文 时间:
2016-05-12 14:02:28
阅读次数:
170