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/ScrollingTabWidget.java b/src/com/android/contacts/ScrollingTabWidget.java index ddd101b..466071a 100644 --- a/src/com/android/contacts/ScrollingTabWidget.java +++ b/src/com/android/contacts/ScrollingTabWidget.java
@@ -152,6 +152,14 @@ return mTabsView.getChildCount(); } + /** + * Returns the {@link ViewGroup} that actually contains the tabs. This is where the tab + * views should be attached to when being inflated. + */ + public ViewGroup getTabParent() { + return mTabsView; + } + public void removeAllTabs() { mTabsView.removeAllViews(); }