Back to project page Boxee-Thumb-Remote.
The source code is released under:
Apache License
If you think the Android project Boxee-Thumb-Remote listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
/* * Copyright 2011 The Android Open Source Project *// ww w . j a v a2s . c o m * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.example.android.actionbarcompat; import android.annotation.TargetApi; import android.app.Activity; import android.content.Context; import android.os.Bundle; /** * An extension of {@link ActionBarHelperBase} that provides Android 3.0-specific functionality for * Honeycomb tablets. It thus requires API level 11. */ @TargetApi(11) public class ActionBarHelperHoneycomb extends ActionBarHelperBase { protected ActionBarHelperHoneycomb(Activity activity) { super(activity); } @Override public void onPostCreate(Bundle savedInstanceState) { super.onPostCreate(savedInstanceState); mActivity.getActionBar().setDisplayShowHomeEnabled(false); } @Override public void onTitleChanged(CharSequence title/*, int color*/) { mActivity.getActionBar().setTitle(title); } /** * Returns a {@link Context} suitable for inflating layouts for the action bar. The * implementation for this method in {@link ActionBarHelperICS} asks the action bar for a * themed context. */ protected Context getActionBarThemedContext() { return mActivity; } }