码迷,mamicode.com
首页 >  
搜索关键字:actionbar up    ( 8653个结果
自定义ActionBar标题与菜单中的文字样式
自定义标题文字样式标题样式是ActionBar样式的一部分,所以要先定义ActionBar的样式然后在ActionBar的样式中通过android:titleTextStyle定义标题的样式自定义副标题文字样式副标题样式同样是ActionBar样式的一部分,在ActionBar模式中通过androi...
分类:其他好文   时间:2014-07-16 21:03:56    阅读次数:198
android 去掉actionbar 隐藏标题栏 全屏
去掉actionbar :getActionBar().hide();全屏方法一: public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); //隐去标题栏(应用程序的名字) r...
分类:移动开发   时间:2014-07-16 19:52:02    阅读次数:643
hdu 2485 Destroying the bus stations 迭代加深搜索
求最少去掉几个公交站使得从s到t的最短路径大于k。迭代加深搜索。#include #include #include using namespace std;#define maxn 60#define maxm 50000int n,m,K,cnt,up;int head[maxn],pre[ma...
分类:其他好文   时间:2014-07-14 09:29:57    阅读次数:221
Linked List Cycle
Given a linked list, determine if it has a cycle in it. Follow up: Can you solve it without using extra space? /** * Definition for singly-linked list. * class ListNode { * int val; * ...
分类:其他好文   时间:2014-07-13 16:32:04    阅读次数:152
自定义ActionBar标题与菜单中的文字样式
自定义标题文字样式 标题样式是ActionBar样式的一部分,所以要先定义ActionBar的样式 name="AppTheme" parent="AppBaseTheme"> name="android:actionBarStyle">@style/CustomActionBar 然后在ActionBar的样式中通过android:titleTextStyle定义标题的样...
分类:其他好文   时间:2014-07-12 23:15:10    阅读次数:204
SharePoint 2010 Pop-Up Dialogs SharePoint 2010 弹出对话框
SharePoint 2010 使得往你的网站添加对话框内容变得出乎意料的简单。内置的功能允许你从站点任何地方抽取内容,然后显示在模态对话框中,出现在页面的前端。...
分类:其他好文   时间:2014-07-12 22:09:41    阅读次数:258
Just like normal variables,
Just like normal variables, pointers can be declared constant. There are two different ways that pointers and const can be intermixed, and they are very easy to mix up. To declare a const pointer, ...
分类:其他好文   时间:2014-07-12 21:20:23    阅读次数:165
NYOJ-248 BUYING FEED
BUYING FEED 时间限制:3000 ms  |  内存限制:65535 KB 难度:4 描述 Farmer John needs to travel to town to pick up K (1 D*K cents. The county feed lot has N (1 location X_i (0 < X_i John as much as F_i (1 A...
分类:其他好文   时间:2014-07-12 20:27:31    阅读次数:263
Two Sum
Given an array of integers, find two numbers such that they add up to a specific target number. The function twoSum should return indices of the two numbers such that they add up to the target, whe...
分类:其他好文   时间:2014-07-12 19:06:27    阅读次数:204
Android touch事件处理流程 -- MotionEvent
前面我们看了key事件的处理流程,相信大家对此已经有了新的认识,这篇文章我打算带领大家来看看稍微复杂些的touch事件的处理流程。说它复杂是因为key事件本身就key down,up,long pressed这几种,而touch事件支持多指触摸,给人的感觉好像同时在发生多个touch事件一样,所.....
分类:移动开发   时间:2014-07-12 14:17:46    阅读次数:366
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!