diff --git a/.idea/modules.xml b/.idea/modules.xml index 49143ee..1c2032d 100644 --- a/.idea/modules.xml +++ b/.idea/modules.xml @@ -2,6 +2,7 @@ + diff --git a/.idea/vcs.xml b/.idea/vcs.xml index ab9593a..94a25f7 100644 --- a/.idea/vcs.xml +++ b/.idea/vcs.xml @@ -2,6 +2,5 @@ - \ No newline at end of file diff --git a/app/src/main/java/net/studymongolian/fontmetrics/FontMetricsView.java b/app/src/main/java/net/studymongolian/fontmetrics/FontMetricsView.java index 8c47224..1d87350 100644 --- a/app/src/main/java/net/studymongolian/fontmetrics/FontMetricsView.java +++ b/app/src/main/java/net/studymongolian/fontmetrics/FontMetricsView.java @@ -14,8 +14,8 @@ public class FontMetricsView extends View { public final static int DEFAULT_FONT_SIZE_PX = 200; - private static final int PURPLE = Color.parseColor("#9315db"); - private static final int ORANGE = Color.parseColor("#ff8a00"); + //private static final int PURPLE = Color.parseColor("#9315db"); + //private static final int ORANGE = Color.parseColor("#ff8a00"); private static final float STROKE_WIDTH = 5.0f; private String mText; diff --git a/app/src/main/java/net/studymongolian/fontmetrics/MainActivity.java b/app/src/main/java/net/studymongolian/fontmetrics/MainActivity.java index 478641c..d2317d4 100644 --- a/app/src/main/java/net/studymongolian/fontmetrics/MainActivity.java +++ b/app/src/main/java/net/studymongolian/fontmetrics/MainActivity.java @@ -43,7 +43,7 @@ protected void onCreate(Bundle savedInstanceState) { mTextStringEditText = (EditText) findViewById(R.id.etTextString); mFontSizeEditText = (EditText) findViewById(R.id.etFontSize); - mTextStringEditText.setText("\uD83D\uDE42a图图"); + mTextStringEditText.setText("My text line"); mFontSizeEditText.setText("200");