- 博客(17)
- 收藏
- 关注
原创 [Android]修改bitmap大小
public Bitmap getbitmap(Bitmap bitmap){ int width = bitmap.getWidth(); int height = bitmap.getHeight(); //放大為屏幕的1/2大小 float screenWidth = getWindowManager().getDefaul
2015-11-27 12:27:28 8210 1
转载 [Android]获取系统电话本实例
package com.example.intentphone;import android.app.Activity;import android.content.CursorLoader;import android.content.Intent;import android.database.Cursor;import android.net.Uri;import androi
2015-11-25 20:17:58 713
原创 [Android]toolbar的定义和应用
toolbar.xml:很简单,就只有一个textview<android.support.v7.widget.Toolbar xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto" android:id="@+id
2015-11-23 21:30:16 333
原创 ACM常用模板——ac自动机
大三了,在网络赛结束那刻决定放弃搞算法了,做了一个的安卓,却被告知暑假参加的ACM网络赛北京赛区成功进入现场赛,意外又惊喜,感觉付出都不是白费的,然后又滚回去刷题了,整理了一些模板,跟你们分享:ac自动机模型:我们给出5个单词,say,she,shr,he,her。给定字符串为yasherhs。问多少个单词在字符串中出现过。 模板://======================// HDU 2
2015-11-16 19:26:48 968
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人