作者:电脑信息网日期:
返回目录:设置问题
1.root
2.安装xposed框架
3.安装重力工具箱
4.在xposed启用重力工具箱
5.打开重力工具箱调整虚拟按键(导航栏)
字体css。。。具体淘宝导航的css我没设置过,zd你可以看看是不是标准css。。
字体的css样式:
font-family:"微软雅黑","宋体",serif;
解释下:这个专设置的意思是,优先微软雅黑,如果没有微软雅黑就用宋体,如果两个都没有就用serif类字体。。
百度了一下,淘宝用的好像是特殊的css。。
你属可以参考:http://wenku.baidu.com/view/199ac646852458fb770b5653.html
这个要用自定义的view 才能设置:方法如下
//设置标题
// self.title = @"title1";//修改title 会改变7a64e58685e5aeb9364navigationItem。title ,但反之不会,一般设置title用此方法就好了
// self.navigationController.title = @"title2";
//
//自定义标题
// UIView *view = [[UIView alloc] initWithFrame:CGRectMake(0, 0, 100, 44)];
// view.backgroundColor = [UIColor redColor];
UILabel *title = [[UILabel alloc] initWithFrame:CGRectMake(0, 0, 100, 44)];
title.text = @"title3";
title.textAlignment = NSTextAlignmentCenter;
title.textColor = [UIColor redColor];
self.navigationItem.titleView = title;