diff --git a/.idea/misc.xml b/.idea/misc.xml index 7a80636..0e697ea 100644 --- a/.idea/misc.xml +++ b/.idea/misc.xml @@ -44,7 +44,7 @@ - + diff --git a/demo/build.gradle b/demo/build.gradle index e0940b2..91b7b94 100644 --- a/demo/build.gradle +++ b/demo/build.gradle @@ -8,7 +8,7 @@ android { minSdkVersion 19 targetSdkVersion 23 versionCode 1 - versionName "1.2" + versionName "2.0" testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner" } buildTypes { diff --git a/demo/src/main/java/com/potterhsu/marquee/demo/MainActivity.java b/demo/src/main/java/com/potterhsu/marquee/demo/MainActivity.java index 50cc389..2e3ca88 100644 --- a/demo/src/main/java/com/potterhsu/marquee/demo/MainActivity.java +++ b/demo/src/main/java/com/potterhsu/marquee/demo/MainActivity.java @@ -16,9 +16,10 @@ protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.activity_main); + String text = "How are you today? 你今天好嗎? 你今天好吗? 今日は元気ですか? 오늘 어떠니? Quid agis hodie? Comment vas-tu aujourd'hui? Πώς είσαι σήμερα? Kuinka voit tänään? วันนี้คุณเป็นอย่างไร?"; marqueeTextFragment = new MarqueeTextFragment(); marqueeTextFragment.setMarqueeInfo( - new MarqueeTextFragment.MarqueeInfo("This is a good day, 歡迎光臨!", Color.BLUE, 0.5f) + new MarqueeTextFragment.MarqueeInfo(text, Color.BLUE, 0.5f) ); getFragmentManager().beginTransaction() .replace(R.id.layoutMarquee, marqueeTextFragment) diff --git a/demo/src/main/res/layout/activity_main.xml b/demo/src/main/res/layout/activity_main.xml index ebf7cba..dc4017d 100644 --- a/demo/src/main/res/layout/activity_main.xml +++ b/demo/src/main/res/layout/activity_main.xml @@ -14,7 +14,7 @@ + android:layout_height="100dp" />