From 2f515a7f8fdf32a869c7e13bd407ea323f2dc9ef Mon Sep 17 00:00:00 2001 From: Shiyao Qi Date: Thu, 14 Apr 2016 17:10:40 +0800 Subject: [PATCH] Remove unused code. Remove unused code. --- Chapter_3/src/com/ryg/chapter_3/DemoActivity_1.java | 1 - 1 file changed, 1 deletion(-) 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);