summaryrefslogtreecommitdiffstats
path: root/src/com/android/browser/BreadCrumbView.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/com/android/browser/BreadCrumbView.java')
-rw-r--r--src/com/android/browser/BreadCrumbView.java9
1 files changed, 7 insertions, 2 deletions
diff --git a/src/com/android/browser/BreadCrumbView.java b/src/com/android/browser/BreadCrumbView.java
index b8409f0..9aaecd7 100644
--- a/src/com/android/browser/BreadCrumbView.java
+++ b/src/com/android/browser/BreadCrumbView.java
@@ -21,6 +21,7 @@ import android.content.res.TypedArray;
import android.graphics.drawable.Drawable;
import android.text.TextUtils;
import android.util.AttributeSet;
+import android.util.TypedValue;
import android.view.Gravity;
import android.view.View;
import android.view.View.OnClickListener;
@@ -161,8 +162,12 @@ public class BreadCrumbView extends LinearLayout implements OnClickListener {
private void addBackButton() {
mBackButton = new ImageButton(mContext);
- mBackButton.setImageResource(R.drawable.ic_back_normal);
- mBackButton.setBackgroundResource(R.drawable.browserbarbutton);
+ mBackButton.setImageResource(R.drawable.ic_back_hierarchy_holo_dark);
+ TypedValue outValue = new TypedValue();
+ getContext().getTheme().resolveAttribute(
+ android.R.attr.selectableItemBackground, outValue, true);
+ int resid = outValue.resourceId;
+ mBackButton.setBackgroundResource(resid);
mBackButton.setLayoutParams(new LayoutParams(LayoutParams.WRAP_CONTENT,
LayoutParams.MATCH_PARENT));
mBackButton.setOnClickListener(this);