Java Code Examples for com.actionbarsherlock.app.ActionBar#setBackgroundDrawable()
The following examples show how to use
com.actionbarsherlock.app.ActionBar#setBackgroundDrawable() .
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: EditImageAty.java From Huochexing12306 with Apache License 2.0 | 5 votes |
private void initActionBar() { ActionBar actBar = getSupportActionBar(); actBar.setDisplayShowTitleEnabled(false); // 自定义不显示logo actBar.setDisplayShowHomeEnabled(true); actBar.setDisplayHomeAsUpEnabled(true); actBar.setDisplayShowTitleEnabled(true); actBar.setTitle("选择头像"); actBar.setBackgroundDrawable(getResources().getDrawable( R.drawable.actionbar_tab_bg)); }
Example 2
Source File: HuoCheXingAty.java From Huochexing12306 with Apache License 2.0 | 5 votes |
private void initActionBar(){ ActionBar actBar = getSupportActionBar(); actBar.setDisplayShowTitleEnabled(false); actBar.setDisplayShowHomeEnabled(true); actBar.setDisplayHomeAsUpEnabled(true); actBar.setDisplayShowTitleEnabled(true); actBar.setTitle("火车行简介"); actBar.setBackgroundDrawable(getResources().getDrawable( R.drawable.actionbar_tab_bg)); }
Example 3
Source File: MoreAty.java From Huochexing12306 with Apache License 2.0 | 5 votes |
private void initActionBar() { ActionBar actBar = getSupportActionBar(); actBar.setDisplayShowTitleEnabled(false); actBar.setDisplayShowHomeEnabled(true); actBar.setDisplayHomeAsUpEnabled(true); actBar.setDisplayShowTitleEnabled(true); actBar.setTitle("更多"); actBar.setBackgroundDrawable(getResources().getDrawable( R.drawable.actionbar_tab_bg)); }
Example 4
Source File: ReminderSetupAty.java From Huochexing12306 with Apache License 2.0 | 5 votes |
private void initActionBar() { ActionBar actBar = getSupportActionBar(); actBar.setDisplayShowTitleEnabled(false); actBar.setDisplayShowHomeEnabled(true); actBar.setDisplayHomeAsUpEnabled(true); actBar.setDisplayShowTitleEnabled(true); actBar.setTitle("到站提醒设置"); actBar.setBackgroundDrawable(getResources().getDrawable( R.drawable.actionbar_tab_bg)); }
Example 5
Source File: AntiTheftSetupAty.java From Huochexing12306 with Apache License 2.0 | 5 votes |
private void initActionBar() { ActionBar actBar = getSupportActionBar(); actBar.setDisplayShowTitleEnabled(false); actBar.setDisplayShowHomeEnabled(true); actBar.setDisplayHomeAsUpEnabled(true); actBar.setDisplayShowTitleEnabled(true); actBar.setTitle("安全防盗设置"); actBar.setBackgroundDrawable(getResources().getDrawable( R.drawable.actionbar_tab_bg)); }
Example 6
Source File: AboutAty.java From Huochexing12306 with Apache License 2.0 | 5 votes |
private void initActionBar() { ActionBar actBar = getSupportActionBar(); actBar.setDisplayShowTitleEnabled(false); actBar.setDisplayShowHomeEnabled(true); actBar.setDisplayHomeAsUpEnabled(true); actBar.setDisplayShowTitleEnabled(true); actBar.setTitle("关于"); actBar.setBackgroundDrawable(getResources().getDrawable( R.drawable.actionbar_tab_bg)); }
Example 7
Source File: ChatSetupAty.java From Huochexing12306 with Apache License 2.0 | 5 votes |
private void initActionBar() { ActionBar actBar = getSupportActionBar(); actBar.setDisplayShowTitleEnabled(false); actBar.setDisplayShowHomeEnabled(true); actBar.setDisplayHomeAsUpEnabled(true); actBar.setDisplayShowTitleEnabled(true); actBar.setTitle("聊天设置"); actBar.setBackgroundDrawable(getResources().getDrawable( R.drawable.actionbar_tab_bg)); }
Example 8
Source File: RegisterActivity.java From Huochexing12306 with Apache License 2.0 | 5 votes |
private void initActionBar() { ActionBar actBar = getSupportActionBar(); actBar.setDisplayShowTitleEnabled(false); //自定义不显示logo actBar.setDisplayShowHomeEnabled(true); actBar.setDisplayHomeAsUpEnabled(true); actBar.setDisplayShowTitleEnabled(true); actBar.setTitle("用户注册"); actBar.setBackgroundDrawable(getResources().getDrawable(R.drawable.actionbar_tab_bg)); }
Example 9
Source File: ResetPwdAty.java From Huochexing12306 with Apache License 2.0 | 5 votes |
private void initActionBar() { ActionBar actBar = getSupportActionBar(); actBar.setDisplayShowTitleEnabled(false); //自定义不显示logo actBar.setDisplayShowHomeEnabled(true); actBar.setDisplayHomeAsUpEnabled(true); actBar.setDisplayShowTitleEnabled(true); actBar.setTitle("重置密码"); actBar.setBackgroundDrawable(getResources().getDrawable(R.drawable.actionbar_tab_bg)); }
Example 10
Source File: FindPwdActivity.java From Huochexing12306 with Apache License 2.0 | 5 votes |
private void initActionBar() { ActionBar actBar = getSupportActionBar(); actBar.setDisplayShowTitleEnabled(false); //自定义不显示logo actBar.setDisplayShowHomeEnabled(true); actBar.setDisplayHomeAsUpEnabled(true); actBar.setDisplayShowTitleEnabled(true); actBar.setTitle("找回密码"); actBar.setBackgroundDrawable(getResources().getDrawable(R.drawable.actionbar_tab_bg)); }
Example 11
Source File: BaseAty.java From Huochexing12306 with Apache License 2.0 | 5 votes |
private void initActionBar() { ActionBar actBar = getSupportActionBar(); actBar.setDisplayShowTitleEnabled(false); actBar.setDisplayShowHomeEnabled(true); actBar.setDisplayHomeAsUpEnabled(true); actBar.setDisplayShowTitleEnabled(true); actBar.setBackgroundDrawable(getResources().getDrawable( R.drawable.actionbar_tab_bg)); }
Example 12
Source File: ModifyPwdAty.java From Huochexing12306 with Apache License 2.0 | 5 votes |
private void initActionBar() { ActionBar actBar = getSupportActionBar(); actBar.setDisplayShowTitleEnabled(false); //自定义不显示logo actBar.setDisplayShowHomeEnabled(true); actBar.setDisplayHomeAsUpEnabled(true); actBar.setDisplayShowTitleEnabled(true); actBar.setTitle("修改密码"); actBar.setBackgroundDrawable(getResources().getDrawable(R.drawable.actionbar_tab_bg)); }
Example 13
Source File: EmailNextActivity.java From Huochexing12306 with Apache License 2.0 | 5 votes |
private void initActionBar() { ActionBar actBar = getSupportActionBar(); actBar.setDisplayShowTitleEnabled(false); //自定义不显示logo actBar.setDisplayShowHomeEnabled(true); actBar.setDisplayHomeAsUpEnabled(true); actBar.setDisplayShowTitleEnabled(true); actBar.setTitle("验证码确认"); actBar.setBackgroundDrawable(getResources().getDrawable(R.drawable.actionbar_tab_bg)); }
Example 14
Source File: WeatherInfoAty.java From Huochexing12306 with Apache License 2.0 | 5 votes |
/** * 初始化ActionBar */ private void initActionBar() { ActionBar actBar = getSupportActionBar(); actBar.setDisplayShowTitleEnabled(false); //自定义不显示logo actBar.setDisplayShowHomeEnabled(true); actBar.setDisplayHomeAsUpEnabled(true); actBar.setDisplayShowTitleEnabled(true); actBar.setTitle(city+"天气"); actBar.setBackgroundDrawable(getResources().getDrawable(R.drawable.actionbar_tab_bg)); }
Example 15
Source File: TrainInfoAty.java From Huochexing12306 with Apache License 2.0 | 5 votes |
private void initActionBar() { ActionBar actBar = getSupportActionBar(); actBar.setDisplayShowTitleEnabled(false); // 自定义不显示logo actBar.setDisplayShowHomeEnabled(true); actBar.setDisplayHomeAsUpEnabled(true); actBar.setDisplayShowTitleEnabled(true); actBar.setTitle("我的车次"); actBar.setBackgroundDrawable(getResources().getDrawable( R.drawable.actionbar_tab_bg)); }
Example 16
Source File: AntiTheftAty.java From Huochexing12306 with Apache License 2.0 | 5 votes |
private void initActionBar() { ActionBar actBar = getSupportActionBar(); actBar.setDisplayShowTitleEnabled(false); actBar.setDisplayShowHomeEnabled(true); actBar.setDisplayHomeAsUpEnabled(true); actBar.setDisplayShowTitleEnabled(true); actBar.setTitle("安全防盗"); actBar.setBackgroundDrawable(getResources().getDrawable( R.drawable.actionbar_tab_bg)); }
Example 17
Source File: ChatRoomAty.java From Huochexing12306 with Apache License 2.0 | 5 votes |
private void initActionBar() { ActionBar actBar = getSupportActionBar(); actBar.setDisplayShowTitleEnabled(false); //自定义不显示logo actBar.setDisplayShowHomeEnabled(true); actBar.setDisplayHomeAsUpEnabled(true); actBar.setDisplayShowTitleEnabled(true); actBar.setTitle("车友聊天室"); actBar.setBackgroundDrawable(getResources().getDrawable(R.drawable.actionbar_tab_bg)); }
Example 18
Source File: MonitorMangAty.java From Huochexing12306 with Apache License 2.0 | 5 votes |
private void initActionBar() { ActionBar actBar = getSupportActionBar(); actBar.setDisplayShowTitleEnabled(false); actBar.setDisplayShowHomeEnabled(true); actBar.setDisplayHomeAsUpEnabled(true); actBar.setDisplayShowTitleEnabled(true); actBar.setTitle("抢票监控"); actBar.setBackgroundDrawable(getResources().getDrawable( R.drawable.actionbar_tab_bg)); }
Example 19
Source File: OrderAty.java From Huochexing12306 with Apache License 2.0 | 5 votes |
private void initActionBar(){ ActionBar actBar = getSupportActionBar(); actBar.setDisplayShowTitleEnabled(false); actBar.setDisplayShowHomeEnabled(true); actBar.setDisplayHomeAsUpEnabled(true); actBar.setDisplayShowTitleEnabled(true); actBar.setTitle("其它订单"); actBar.setBackgroundDrawable(getResources().getDrawable( R.drawable.actionbar_tab_bg)); }
Example 20
Source File: ShareContentAty.java From Huochexing12306 with Apache License 2.0 | 5 votes |
/** * 初始化ActionBar */ private void initActionBar() { ActionBar actBar = getSupportActionBar(); actBar.setDisplayShowTitleEnabled(false); //自定义不显示logo actBar.setDisplayShowHomeEnabled(true); actBar.setDisplayHomeAsUpEnabled(true); actBar.setDisplayShowTitleEnabled(true); actBar.setTitle("分享"); actBar.setBackgroundDrawable(getResources().getDrawable(R.drawable.actionbar_tab_bg)); }