Skip to content

Commit 41c4221

Browse files
committed
unnecessary classed deleted
1 parent 808f8b1 commit 41c4221

File tree

3 files changed

+4
-36
lines changed

3 files changed

+4
-36
lines changed

library/src/main/java/com/hololo/tutorial/library/StepFragment.java

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,21 @@
11
package com.hololo.tutorial.library;
22

3-
import android.os.Build;
43
import android.os.Bundle;
54
import android.support.annotation.Nullable;
6-
import android.support.annotation.RequiresApi;
75
import android.support.v4.app.Fragment;
8-
import android.support.v7.app.AppCompatActivity;
96
import android.view.LayoutInflater;
107
import android.view.View;
118
import android.view.ViewGroup;
12-
import android.view.Window;
13-
import android.view.WindowManager;
9+
import android.widget.ImageView;
1410
import android.widget.LinearLayout;
1511
import android.widget.TextView;
1612

17-
import org.w3c.dom.Text;
18-
1913
public class StepFragment extends Fragment {
2014

2115
private TextView title;
2216
private TextView content;
2317
private TextView summary;
24-
private TutorialImageView imageView;
18+
private ImageView imageView;
2519
private LinearLayout layout;
2620

2721
private Step step;
@@ -64,7 +58,7 @@ private void initViews(View view) {
6458
title = (TextView) view.findViewById(R.id.title);
6559
content = (TextView) view.findViewById(R.id.content);
6660
summary = (TextView) view.findViewById(R.id.summary);
67-
imageView = (TutorialImageView) view.findViewById(R.id.image);
61+
imageView = (ImageView) view.findViewById(R.id.image);
6862
layout = (LinearLayout) view.findViewById(R.id.container);
6963
}
7064

library/src/main/java/com/hololo/tutorial/library/TutorialImageView.java

Lines changed: 0 additions & 26 deletions
This file was deleted.

library/src/main/res/layout/fragment_step.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
android:orientation="vertical"
77
android:paddingBottom="60dp">
88

9-
<com.hololo.tutorial.library.TutorialImageView
9+
<ImageView
1010
android:id="@+id/image"
1111
android:layout_width="match_parent"
1212
android:layout_height="wrap_content"

0 commit comments

Comments
 (0)