diff --git a/res/layout/gallery_list.xml b/res/layout/gallery_list.xml
index e29d58cd1..996300818 100644
--- a/res/layout/gallery_list.xml
+++ b/res/layout/gallery_list.xml
@@ -31,11 +31,9 @@
android:layout_height="match_parent" />
+ android:layout_height="match_parent" />
diff --git a/res/values/ids.xml b/res/values/ids.xml
index 097d0a3a8..7ae777e84 100644
--- a/res/values/ids.xml
+++ b/res/values/ids.xml
@@ -21,5 +21,6 @@
+
\ No newline at end of file
diff --git a/src/com/hippo/ehviewer/gallery/ui/GLRootView.java b/src/com/hippo/ehviewer/gallery/ui/GLRootView.java
index f96fbcc7c..518addc5b 100644
--- a/src/com/hippo/ehviewer/gallery/ui/GLRootView.java
+++ b/src/com/hippo/ehviewer/gallery/ui/GLRootView.java
@@ -115,7 +115,10 @@ public class GLRootView extends GLSurfaceView
setBackgroundDrawable(null);
setEGLContextClientVersion(ApiHelper.HAS_GLES20_REQUIRED ? 2 : 1);
if (ApiHelper.USE_888_PIXEL_FORMAT) {
- setEGLConfigChooser(8, 8, 8, 0, 0, 0);
+ // From setEGLConfigChooser(8, 8, 8, 0, 0, 0) to setEGLConfigChooser(8, 8, 8, 8, 0, 0)
+ // Fix "No configs match configSpec" for some deivces,
+ // may introduced same error for the other devices ?
+ setEGLConfigChooser(8, 8, 8, 8, 0, 0);
} else {
setEGLConfigChooser(5, 6, 5, 0, 0, 0);
}
diff --git a/src/com/hippo/ehviewer/widget/RefreshLayout.java b/src/com/hippo/ehviewer/widget/RefreshLayout.java
index adf8e88f7..00f92dc2e 100644
--- a/src/com/hippo/ehviewer/widget/RefreshLayout.java
+++ b/src/com/hippo/ehviewer/widget/RefreshLayout.java
@@ -63,6 +63,7 @@ public class RefreshLayout extends SwipeRefreshLayout {
mEasyRecyclerView = new EasyRecyclerView(context);
else
mEasyRecyclerView = new EasyRecyclerView(context, attrs);
+ mEasyRecyclerView.setId(R.id.easy_recycler_view);
addView(mEasyRecyclerView);
// Footer view