|
1 | 1 | package com.hololo.tutorial.library; |
2 | 2 |
|
3 | | -import android.os.Build; |
4 | 3 | import android.os.Bundle; |
5 | 4 | import android.support.annotation.Nullable; |
6 | | -import android.support.annotation.RequiresApi; |
7 | 5 | import android.support.v4.app.Fragment; |
8 | | -import android.support.v7.app.AppCompatActivity; |
9 | 6 | import android.view.LayoutInflater; |
10 | 7 | import android.view.View; |
11 | 8 | import android.view.ViewGroup; |
12 | | -import android.view.Window; |
13 | | -import android.view.WindowManager; |
| 9 | +import android.widget.ImageView; |
14 | 10 | import android.widget.LinearLayout; |
15 | 11 | import android.widget.TextView; |
16 | 12 |
|
17 | | -import org.w3c.dom.Text; |
18 | | - |
19 | 13 | public class StepFragment extends Fragment { |
20 | 14 |
|
21 | 15 | private TextView title; |
22 | 16 | private TextView content; |
23 | 17 | private TextView summary; |
24 | | - private TutorialImageView imageView; |
| 18 | + private ImageView imageView; |
25 | 19 | private LinearLayout layout; |
26 | 20 |
|
27 | 21 | private Step step; |
@@ -64,7 +58,7 @@ private void initViews(View view) { |
64 | 58 | title = (TextView) view.findViewById(R.id.title); |
65 | 59 | content = (TextView) view.findViewById(R.id.content); |
66 | 60 | summary = (TextView) view.findViewById(R.id.summary); |
67 | | - imageView = (TutorialImageView) view.findViewById(R.id.image); |
| 61 | + imageView = (ImageView) view.findViewById(R.id.image); |
68 | 62 | layout = (LinearLayout) view.findViewById(R.id.container); |
69 | 63 | } |
70 | 64 |
|
|
0 commit comments