New minitab assets, and dithering fix.
The dithering flag we were setting in the layout was being overriden. We
are now setting it directly on the StateListDrawable in code.
diff --git a/src/com/android/contacts/BaseContactCardActivity.java b/src/com/android/contacts/BaseContactCardActivity.java
index 58ea990..ef84e69 100644
--- a/src/com/android/contacts/BaseContactCardActivity.java
+++ b/src/com/android/contacts/BaseContactCardActivity.java
@@ -233,6 +233,7 @@
final LayoutInflater inflater = (LayoutInflater)parent.getContext().getSystemService(
Context.LAYOUT_INFLATER_SERVICE);
final View tabIndicator = inflater.inflate(R.layout.tab_indicator, parent, false);
+ tabIndicator.getBackground().setDither(true);
final TextView tv = (TextView) tabIndicator.findViewById(R.id.tab_title);
tv.setText(label);
diff --git a/src/com/android/contacts/ViewContactActivity.java b/src/com/android/contacts/ViewContactActivity.java
index 87e6718..beaea44 100644
--- a/src/com/android/contacts/ViewContactActivity.java
+++ b/src/com/android/contacts/ViewContactActivity.java
@@ -262,6 +262,7 @@
private void addAllTab() {
View allTabIndicator = mInflater.inflate(R.layout.all_tab_indicator, mTabWidget, false);
+ allTabIndicator.getBackground().setDither(true);
addTab(ALL_CONTACTS_ID, allTabIndicator);
}