From google: If your app uses a custom image as the background of the bar, you'll need to provide a “taller” image so that it extends up behind the st...
分类:
移动开发 时间:
2014-09-23 13:38:34
阅读次数:
147
如果android安装正确的话,但是eclipse里面的导航条就是没有AVD 可以通过「Window」?「Customize Perspective」?「Tool Bar Visibility」Tab画面上选择 Android SDK and AVD Manager来显示http://blog.si...
分类:
移动开发 时间:
2014-09-22 22:08:13
阅读次数:
315
看了一下菜单果然是醉了。。头都要大了 ,这么难记。。sad
菜单分为 菜单条 菜单 菜单项
1 菜单条
Jcomponent(组件)子类 JMenubar 负责创建菜单条。
setJMenuBar(JMenuBar bar); 只能向窗口添加一个菜单条。
2 菜单
Jcomponent(组件)子类 JMenu 负责创建菜单。
JMenu(String...
分类:
其他好文 时间:
2014-09-22 22:06:33
阅读次数:
190
Given n non-negative integers representing the histogram's bar height where the width of each bar is 1, find the area of largest rectangle in the hist...
分类:
其他好文 时间:
2014-09-22 02:12:11
阅读次数:
245
压力单位MPa、Psi和bar之间换算公式1bar=10^5PaPsi为英制压力单位.“磅力每平方英寸(1bf/in2)为1psi=6894.76 pa; 1bar等于10的5次方=10^5 pa ;1atm等于一个标准大气压=101325pa ;1at等于一project大气压(千克力每平方厘米k...
分类:
其他好文 时间:
2014-09-20 18:15:59
阅读次数:
161
Window StylesWS_BORDER Creates a window that has a thin-line border.WS_CAPTION Creates a window that has a title bar (includes the WS_BORDER style).WS...
private int getStatusBarHeight() { Rect rectgle = new Rect(); Window window = getWindow(); window.getDecorView().getWindowVisibleDisplayFram...
分类:
其他好文 时间:
2014-09-19 11:35:25
阅读次数:
160
从今天开始,我将开始自己手写一个星座运势的项目,星座运势的数据来源采用MYAPI的星座数据,客户端完全自己实现。
这个系列主要是讲工程中主要界面的布局展示和一些项目中的难点解析。由于本人刚自学安卓不久,请各位大神拍砖时手下留情。
第一个讲讲首页顶部的BAR的实现
现在的APP据我观察顶部都会涉及一个BAR,主要作用就是提示和导航,
先来看下实际的效果
那么如何实现这样一个效果呢?...
分类:
移动开发 时间:
2014-09-18 23:53:24
阅读次数:
403
这个问题一直困扰我好久,今天算是稍微找到一点解决思路了,在网上搜了好多列子,大部分的都是用servlet来实现画图,偶然找到一个列子用的是org.jfree.chart.servlet.ServletUtilities,来解决图片从后台传到前台的方法,下面是源码。1.在MyEclipse中创建一个名...
分类:
Web程序 时间:
2014-09-18 18:15:44
阅读次数:
206
public String export() { HttpServletResponse response = ServletActionContext.getResponse(); filename = filename==null?"chart":filename; ...
分类:
其他好文 时间:
2014-09-18 11:19:43
阅读次数:
153