//判断手机横竖屏状态:window.addEventListener("onorientationchange" in window ? "orientationchange" : "resize", function() { if (window.orientation 180 || windo ...
分类:
移动开发 时间:
2017-04-24 23:25:13
阅读次数:
292
一、StackPanel StackPanel是以堆叠的方式显示其中的控件 1、可以使用Orientation属性更改堆叠的顺序分为水平方向(Orientation="Horizontal")和竖直方向(Orientation="Vertical"),以保证要实现的效果。 二、WrapPanel 以 ...
分类:
移动开发 时间:
2017-04-23 01:12:25
阅读次数:
262
假设开启FastCGI模式,.htaccess无法生效,一直提示no input file specified。 由于在Fastcgi模式下。php不支持rewrite的目标网址的PATH_INFO的解析 ThinkPHP执行在URL_MODEL=2时。会出现 No input file speci ...
分类:
其他好文 时间:
2017-04-22 14:45:23
阅读次数:
207
F110常見問題以及處理方式 1. Vendor中沒有與F110中相同的Payment method 解決辦法: 在Vendor主檔中維護Payment method 2. 結報被Block 解決辦法: 解除Block 3. 結報使用了Special G/L,而在F110的設定中沒有包含該Speci ...
分类:
其他好文 时间:
2017-04-21 09:38:54
阅读次数:
114
线性布局是一种让视图水平或者垂直布排列的布局; 常用属性: androuid:orientation :表示布局方向 取值vertical表示垂直布局 取值horizontal表示水平布局 android:gravity 表示视图对齐方式 内容包括 TOP,bottom,left,right,cen ...
分类:
移动开发 时间:
2017-04-08 14:57:32
阅读次数:
299
一、线性布局 LinearLayout又称为线性布局,是一种非常常用的布局。这个布局会将它包含的控件在线性方向上依次排列。我们可以通过指定它的orientation属性来决定它是垂直方向排列还是水平方向上排列。 举例1:垂直方向排列 当排列方向是vertical,内部控件就不能将高度指定为match... ...
分类:
移动开发 时间:
2017-04-08 11:33:08
阅读次数:
291
本文用图形化的形式描述OOP的相关知识。对OOP进行系统化的梳理,以便掌握。 涉及知识点: OOP的相关知识 OOP知识【Object-Orientation Programming 面向对象编程】总图如下: 下面分别介绍: 基本概念: 主要特征: 详细图 OOAD【面向对象分许与设计:OOAD是根 ...
分类:
其他好文 时间:
2017-04-01 01:06:03
阅读次数:
143
/* For portrait, we want the tool bar on top */ //横屏 @media screen and (orientation: portrait) { #toolbar { width: 100%; } } /* For landscape, we want ...
分类:
其他好文 时间:
2017-03-31 11:49:08
阅读次数:
166
window.onload = function(){ //横竖屏 function doOnOrientationChange(){ switch(window.orientation){ case 90: transverse... ...
分类:
移动开发 时间:
2017-03-23 17:59:14
阅读次数:
224
首先画一个界面。 <?xml version="1.0" encoding="utf-8"?><LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:orientation="vertical" ...
分类:
其他好文 时间:
2017-03-13 23:35:26
阅读次数:
206