Commit b2a6d5eb by onuma

Merge branch 'features/1.3.200_42869' into 'features/1.3.200'

Bug #42869 pdfプレビュー画面で画面を回転させると、スライドが行われているように見える

See merge request !159
parents ca47105f 2601d792
...@@ -625,6 +625,7 @@ public class ContentViewActivity extends ABVContentViewActivity { ...@@ -625,6 +625,7 @@ public class ContentViewActivity extends ABVContentViewActivity {
mPageScrollView = new PageScrollView(getApplicationContext()); mPageScrollView = new PageScrollView(getApplicationContext());
mPageScrollView.setHorizontalScrollBarEnabled(false); // ScrollBarを非表示 mPageScrollView.setHorizontalScrollBarEnabled(false); // ScrollBarを非表示
mPageScrollView.addView(mContentWrapLayout, new ViewGroup.LayoutParams(mAllPageCount * mDisplaySize.width, FP)); mPageScrollView.addView(mContentWrapLayout, new ViewGroup.LayoutParams(mAllPageCount * mDisplaySize.width, FP));
mPageScrollView.setBackgroundColor(Color.BLACK);
RelativeLayout.LayoutParams param0 = createParam(ViewGroup.LayoutParams.MATCH_PARENT, ViewGroup.LayoutParams.MATCH_PARENT); RelativeLayout.LayoutParams param0 = createParam(ViewGroup.LayoutParams.MATCH_PARENT, ViewGroup.LayoutParams.MATCH_PARENT);
param0.addRule(RelativeLayout.CENTER_IN_PARENT); param0.addRule(RelativeLayout.CENTER_IN_PARENT);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment