diff options
| author | Romain Guy <romainguy@android.com> | 2010-01-08 15:06:43 -0800 |
|---|---|---|
| committer | Romain Guy <romainguy@android.com> | 2010-01-08 15:11:41 -0800 |
| commit | 15b8ec6b226f4d57307716e1f495e10a91f8cbf4 (patch) | |
| tree | fca32553554723742e4ccdf7dd7ae0cc0c8432e1 /src/com/android/browser/BrowserHistoryPage.java | |
| parent | 2290d2174a096d537f8cf899243ecaa9cb88ad5b (diff) | |
| download | packages_apps_Browser-15b8ec6b226f4d57307716e1f495e10a91f8cbf4.tar.gz packages_apps_Browser-15b8ec6b226f4d57307716e1f495e10a91f8cbf4.tar.bz2 packages_apps_Browser-15b8ec6b226f4d57307716e1f495e10a91f8cbf4.zip | |
Deprecate fill_parent and introduce match_parent.
Bug: #2361749.
Diffstat (limited to 'src/com/android/browser/BrowserHistoryPage.java')
| -rw-r--r-- | src/com/android/browser/BrowserHistoryPage.java | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/src/com/android/browser/BrowserHistoryPage.java b/src/com/android/browser/BrowserHistoryPage.java index 2eab1813c..57ea87990 100644 --- a/src/com/android/browser/BrowserHistoryPage.java +++ b/src/com/android/browser/BrowserHistoryPage.java @@ -33,7 +33,6 @@ import android.provider.Browser; import android.text.IClipboard; import android.util.Log; import android.view.ContextMenu; -import android.view.KeyEvent; import android.view.LayoutInflater; import android.view.Menu; import android.view.MenuInflater; @@ -45,14 +44,12 @@ import android.view.ContextMenu.ContextMenuInfo; import android.view.ViewStub; import android.webkit.DateSorter; import android.webkit.WebIconDatabase.IconListener; -import android.widget.AdapterView; import android.widget.ExpandableListAdapter; import android.widget.ExpandableListView; import android.widget.ExpandableListView.ExpandableListContextMenuInfo; import android.widget.TextView; import android.widget.Toast; -import java.util.List; import java.util.Vector; /** @@ -115,8 +112,8 @@ public class BrowserHistoryPage extends ExpandableListActivity { final ExpandableListView list = getExpandableListView(); list.setOnCreateContextMenuListener(this); View v = new ViewStub(this, R.layout.empty_history); - addContentView(v, new LayoutParams(LayoutParams.FILL_PARENT, - LayoutParams.FILL_PARENT)); + addContentView(v, new LayoutParams(LayoutParams.MATCH_PARENT, + LayoutParams.MATCH_PARENT)); list.setEmptyView(v); // Do not post the runnable if there is nothing in the list. if (list.getExpandableListAdapter().getGroupCount() > 0) { |
