diff --git a/Chapter_3/src/com/ryg/chapter_3/DemoActivity_1.java b/Chapter_3/src/com/ryg/chapter_3/DemoActivity_1.java index 51cf406..9ed0203 100644 --- a/Chapter_3/src/com/ryg/chapter_3/DemoActivity_1.java +++ b/Chapter_3/src/com/ryg/chapter_3/DemoActivity_1.java @@ -36,7 +36,6 @@ private void initView() { LayoutInflater inflater = getLayoutInflater(); mListContainer = (HorizontalScrollViewEx) findViewById(R.id.container); final int screenWidth = MyUtils.getScreenMetrics(this).widthPixels; - final int screenHeight = MyUtils.getScreenMetrics(this).heightPixels; for (int i = 0; i < 3; i++) { ViewGroup layout = (ViewGroup) inflater.inflate( R.layout.content_layout, mListContainer, false);