summaryrefslogtreecommitdiffstats
path: root/src/com/android/camera/CameraActivity.java
diff options
context:
space:
mode:
authorSpike Sprague <spikuru@google.com>2014-08-21 10:16:10 -0700
committerSpike Sprague <spikuru@google.com>2014-08-25 11:01:10 -0700
commit4cc78bb37f57f1499fe3d2eaf27e2a3b3e2e19bf (patch)
tree2c9de65c54e7a48084e457592f4d788b0a1e7a40 /src/com/android/camera/CameraActivity.java
parent392f249b8295509cf6c31984f2420b876ca5a7ac (diff)
downloadandroid_packages_apps_Camera2-4cc78bb37f57f1499fe3d2eaf27e2a3b3e2e19bf.tar.gz
android_packages_apps_Camera2-4cc78bb37f57f1499fe3d2eaf27e2a3b3e2e19bf.tar.bz2
android_packages_apps_Camera2-4cc78bb37f57f1499fe3d2eaf27e2a3b3e2e19bf.zip
set actionbar background to complete transparent
bug: 17114270 Change-Id: I309c98ed1ddbc0c322129e185ca4cd2df1f73520
Diffstat (limited to 'src/com/android/camera/CameraActivity.java')
-rw-r--r--src/com/android/camera/CameraActivity.java4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/com/android/camera/CameraActivity.java b/src/com/android/camera/CameraActivity.java
index ed761a7d8..af448f498 100644
--- a/src/com/android/camera/CameraActivity.java
+++ b/src/com/android/camera/CameraActivity.java
@@ -37,6 +37,7 @@ import android.graphics.Matrix;
import android.graphics.Point;
import android.graphics.RectF;
import android.graphics.SurfaceTexture;
+import android.graphics.drawable.ColorDrawable;
import android.graphics.drawable.Drawable;
import android.net.Uri;
import android.nfc.NfcAdapter;
@@ -1335,7 +1336,10 @@ public class CameraActivity extends Activity
setContentView(R.layout.activity_main);
mActionBar = getActionBar();
+ // set actionbar background to complete transparent
+ mActionBar.setBackgroundDrawable(new ColorDrawable(0x00000000));
mActionBar.addOnMenuVisibilityListener(mOnMenuVisibilityListener);
+
mMainHandler = new MainHandler(this, getMainLooper());
mCameraController = new CameraController(mAppContext, this, mMainHandler,
CameraAgentFactory.getAndroidCameraAgent(this, CameraAgentFactory.CameraApi.API_1),