commit | 56d2caa0d70eef9624725d35e2aa0cfd15309031 | [log] [tgz] |
---|---|---|
author | Evan Millar <emillar@google.com> | Thu Aug 20 20:30:12 2009 -0700 |
committer | Evan Millar <emillar@google.com> | Tue Aug 25 14:47:09 2009 -0700 |
tree | 5bdfc337a51ce0d69679dd8c33ccd380f5493935 | |
parent | 2d0f8c6a93491a399df5244ee564c4a5e30de19f [diff] [blame] |
Make the minitabs stretch to fit the available space. Change-Id: Ifd2b774b40e2831f4f2326c0fe9ebbb3e7d714d0
diff --git a/src/com/android/contacts/ViewContactActivity.java b/src/com/android/contacts/ViewContactActivity.java index da49188..cd9802c 100644 --- a/src/com/android/contacts/ViewContactActivity.java +++ b/src/com/android/contacts/ViewContactActivity.java
@@ -265,7 +265,8 @@ } private void addAllTab() { - View allTabIndicator = mInflater.inflate(R.layout.all_tab_indicator, mTabWidget, false); + View allTabIndicator = mInflater.inflate(R.layout.all_tab_indicator, + mTabWidget.getTabParent(), false); allTabIndicator.getBackground().setDither(true); addTab(ALL_CONTACTS_ID, allTabIndicator); }