summaryrefslogtreecommitdiffstats
path: root/core/java
diff options
context:
space:
mode:
authorGilles Debunne <debunne@google.com>2010-02-12 15:50:05 -0800
committerAndroid (Google) Code Review <android-gerrit@google.com>2010-02-12 15:50:05 -0800
commita10b48d5a584253cdea4ceea7d5307a3f240dc4a (patch)
treeecb7e8357d5e294877e31d4a16e54d727f260968 /core/java
parent7e7605ace9b28239059e6e8511a84d0c4d644136 (diff)
parentce2baf0d57ee3f1e8a7f07c030595f489407d1ce (diff)
downloadframeworks_base-a10b48d5a584253cdea4ceea7d5307a3f240dc4a.zip
frameworks_base-a10b48d5a584253cdea4ceea7d5307a3f240dc4a.tar.gz
frameworks_base-a10b48d5a584253cdea4ceea7d5307a3f240dc4a.tar.bz2
Merge "Closed tabs removed from layout."
Diffstat (limited to 'core/java')
-rw-r--r--core/java/android/widget/TabHost.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/core/java/android/widget/TabHost.java b/core/java/android/widget/TabHost.java
index 78e2fee..d4d9063 100644
--- a/core/java/android/widget/TabHost.java
+++ b/core/java/android/widget/TabHost.java
@@ -16,6 +16,8 @@
package android.widget;
+import com.android.internal.R;
+
import android.app.LocalActivityManager;
import android.content.Context;
import android.content.Intent;
@@ -33,8 +35,6 @@ import android.view.Window;
import java.util.ArrayList;
import java.util.List;
-import com.android.internal.R;
-
/**
* Container for a tabbed window view. This object holds two children: a set of tab labels that the
* user clicks to select a specific tab, and a FrameLayout object that displays the contents of that
@@ -624,7 +624,7 @@ mTabHost.addTab(TAB_TAG_1, "Hello, world!", "Tab 1");
}
public void tabClosed() {
- mTabContent.setVisibility(View.INVISIBLE);
+ mTabContent.setVisibility(View.GONE);
}
}