上一页 1 2 3 4 5 6 7 ··· 11 下一页
摘要: 正常情况: // mTxtView.setTextAppearance(context, // R.attr.textapper);-------在lib工程中使用如上无效,解决如下-----------// Resources.Theme theme = getContext().getTheme... 阅读全文
posted @ 2015-04-07 16:58 pandans 阅读(184) 评论(0) 推荐(0)
摘要: /* * Copyright (C) 2013 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this fil... 阅读全文
posted @ 2015-04-01 22:59 pandans 阅读(275) 评论(0) 推荐(0)
摘要: Android开源项目--分类汇总转自:https://github.com/Trinea/android-open-projectAndroid开源项目第一篇——个性化控件(View)篇包括ListView、ActionBar、Menu、ViewPager、Gallery、GridView、Im... 阅读全文
posted @ 2015-03-25 09:57 pandans 阅读(446) 评论(0) 推荐(0)
摘要: ---恢复内容开始---UIScrollView屏幕展示有限,超出一个屏时用户可滚动查看过多部分。UIView不具备滚动功能。-取消autolayout-设置CGSize contentSize-- 滚动范围常见属性:CGPoint contentoffset; 混动的位置(滚到什么位置,内容的左上... 阅读全文
posted @ 2015-03-04 11:55 pandans 阅读(115) 评论(0) 推荐(0)
摘要: @property属性使用copy:NSStringstrong: 一般对象weak: UI空间assign:基本数据类型retain: (对象,先上述类型使用)id 万能指针。id缺点:运行时可能因为类型强制错误而引发错误。instancetype 类型不匹配时编译会提示。XIB文件使用-描述软件... 阅读全文
posted @ 2015-02-28 15:34 pandans 阅读(175) 评论(0) 推荐(0)
摘要: 1. #import,#include 和@class的区别都引用一个类,根本定义区别:#include ,#import会把所有的copy一份到该文件#import比#include的优势,import不会引起交叉变异(同一个文件不会多次引用)在 Objective-C 中,#import 被当成... 阅读全文
posted @ 2015-02-10 16:54 pandans 阅读(214) 评论(0) 推荐(0)
摘要: max上添加android驱动支持用到的命令: 命令方式最简单,键入如下两行命令你就可以实现对文件的现实和隐藏功能了。这个时候肯定会有童鞋问:“在哪里敲命令呢?”,Launchpad——其他——终端,打开之后就可以键入命令了。 显示:defaults write com.apple.finder ... 阅读全文
posted @ 2015-01-09 11:00 pandans 阅读(3126) 评论(0) 推荐(0)
摘要: 编译和编写代码。1. 创建代码文件夹mkdir lession22. 新建类文件touch lession2.m3. 打开编写代码,(会用xcode打开)open lession2.m4. 编译代码cc lession2.m -framework Foundication(一般包含-framewor... 阅读全文
posted @ 2014-12-27 19:39 pandans 阅读(156) 评论(0) 推荐(0)
摘要: 1. AES加密,相对比较简单,之前已经配置好工具类。package com.bbguoxue.poetry.util;import java.security.SecureRandom;import javax.crypto.Cipher;import javax.crypto.KeyGenera... 阅读全文
posted @ 2014-12-27 00:50 pandans 阅读(2803) 评论(0) 推荐(1)
摘要: GridView 嵌套在ViewPager中问题。1. GridView属性设置无法显示。正常显示方式 无法显示直接设置每行多少会出现无法显示情况 注红色行2. GridView item(仅ImageView) height无法wrap_contentgridview中... 阅读全文
posted @ 2014-12-26 09:27 pandans 阅读(634) 评论(0) 推荐(0)
上一页 1 2 3 4 5 6 7 ··· 11 下一页