最终实现的效果:
先看上面的怎么实现:
分为三个部分,一是返回的按钮,二是中间聊天的用户名或者聊天的群名,三是删除按钮或者群详情的按钮。
整体使用相对布局。
<RelativeLayout
android:id="@+id/top_bar"
android:layout_width="match_parent"
...
分类:
其他好文 时间:
2014-12-16 19:22:32
阅读次数:
321
3.1 基本条形图library(ggplot2)library(gcookbook)pg_mean #这是用到的数据 group weight 1 ctrl 5.032 2 trt1 4.661 3 trt2 5.526ggplot(pg_mean, aes(x=group, ...
分类:
其他好文 时间:
2014-12-16 16:59:20
阅读次数:
413
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-12-16 08:40:59
阅读次数:
224
在JavaScript可以使用try...catch来进行异常处理。例如:try { foo.bar();} catch (e) { alert(e.name + " : " + e.message);} 目前我们可能得到的系统异常主要包含以下6种:Eval...
分类:
编程语言 时间:
2014-12-15 17:02:18
阅读次数:
154
Trapping Rain WaterGivennnon-negative integers representing an elevation map where the width of each bar is 1, compute how much water it is able to tr...
分类:
移动开发 时间:
2014-12-15 15:03:44
阅读次数:
184
iOS开发中,需求让状态栏变为白色文字,这里mark一下:只需步骤: 1、设置info.plist里面的【View controller-based status bar appearance】 值为ON 2、在需要设置状态栏的ViewContrller里面添加上如下代码:[[UIApplica.....
分类:
移动开发 时间:
2014-12-15 13:40:52
阅读次数:
148
转载请注明出处:http://blog.csdn.net/zhaokaiqiang1992 本篇文章翻译自Android开发者网站,但并不是完全按照原意翻译,添加了我个人的一些理解。想看原文的请戳:http://developer.android.com/training/basics/actionbar/styling.html ActionBar控件,可以为我们的App提供一致的导...
分类:
移动开发 时间:
2014-12-14 15:54:13
阅读次数:
249
Adding a Table View Controller连接到tab bar controller中的两个窗口都是regular UIViewControllers.你将使用UITableViewController来替换第一个tab选择第一个view controller然后delete它。拖...
分类:
其他好文 时间:
2014-12-13 17:49:34
阅读次数:
352
Givennnon-negative integers representing the histogram's bar height where the width of each bar is 1, find the area of largest rectangle in the histog...
分类:
其他好文 时间:
2014-12-12 22:09:45
阅读次数:
191