summaryrefslogtreecommitdiffstats
path: root/src/com/android/browser/BrowserHistoryPage.java
diff options
context:
space:
mode:
authorPankaj Garg <pgarg@codeaurora.org>2015-06-26 17:07:37 -0700
committerjrizzoli <joey@cyanogenmoditalia.it>2015-08-28 13:15:45 +0200
commit68faf1c714461e500a5dbfc1156c074e12137391 (patch)
tree4cd7de9c9d4d9328509f9c386a67a929810fc402 /src/com/android/browser/BrowserHistoryPage.java
parentce624d4eb0df16ebd5cfefda9aaf93d5f6a4ad99 (diff)
downloadandroid_packages_apps_Gello-68faf1c714461e500a5dbfc1156c074e12137391.tar.gz
android_packages_apps_Gello-68faf1c714461e500a5dbfc1156c074e12137391.tar.bz2
android_packages_apps_Gello-68faf1c714461e500a5dbfc1156c074e12137391.zip
SWE UI cleanup
- ActionBar color and styling for KK - Use High Res icon for bookmarks - Edge Nav setting string - Combo view cleanup - Tablet UI cleanup Change-Id: I1859226e80d9943ee6af30c2cc9a5bd9ce5b9399
Diffstat (limited to 'src/com/android/browser/BrowserHistoryPage.java')
-rw-r--r--src/com/android/browser/BrowserHistoryPage.java10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/com/android/browser/BrowserHistoryPage.java b/src/com/android/browser/BrowserHistoryPage.java
index e2c831b2..f0cec84f 100644
--- a/src/com/android/browser/BrowserHistoryPage.java
+++ b/src/com/android/browser/BrowserHistoryPage.java
@@ -31,6 +31,8 @@ import android.content.Intent;
import android.content.Loader;
import android.content.pm.PackageManager;
import android.content.pm.ResolveInfo;
+import android.content.res.Configuration;
+import android.content.res.Resources;
import android.database.Cursor;
import android.database.DataSetObserver;
import android.graphics.BitmapFactory;
@@ -237,6 +239,14 @@ public class BrowserHistoryPage extends Fragment
return mRoot;
}
+ @Override
+ public void onConfigurationChanged(Configuration newConfig) {
+ super.onConfigurationChanged(newConfig);
+ Resources res = getActivity().getResources();
+ int paddingTop = (int) res.getDimension(R.dimen.combo_paddingTop);
+ mRoot.setPadding(0, paddingTop, 0, 0);
+ }
+
private void inflateSinglePane() {
mHistoryList = (ExpandableListView) mRoot.findViewById(R.id.history);
mHistoryList.setAdapter(mAdapter);