diff --git a/pom.xml b/pom.xml index dcb58ce..2f272a4 100644 --- a/pom.xml +++ b/pom.xml @@ -4,7 +4,7 @@ 4.0.0 ca.zgrs.clipper clipboard-service - 1.1 + 1.2 apk clipboard-service diff --git a/src/main/java/ca/zgrs/clipper/Main.java b/src/main/java/ca/zgrs/clipper/Main.java index 1465bc3..fe81a8c 100644 --- a/src/main/java/ca/zgrs/clipper/Main.java +++ b/src/main/java/ca/zgrs/clipper/Main.java @@ -10,6 +10,8 @@ public class Main extends Activity { public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); + setContentView(R.layout.main); + //start clipboard service Intent serviceIntent = new Intent(this, ClipboardService.class); startService(serviceIntent); diff --git a/src/main/res/layout/main.xml b/src/main/res/layout/main.xml index fbf4d36..0408608 100644 --- a/src/main/res/layout/main.xml +++ b/src/main/res/layout/main.xml @@ -11,12 +11,17 @@ android:singleLine="false" android:enabled="true" android:textStyle="bold" - android:id="@+id/head" /> + android:id="@+id/head" + android:textAppearance="?android:attr/textAppearanceLarge" + android:paddingBottom="20dp" + android:paddingTop="20dp" /> + android:id="@+id/sub" + android:textAppearance="?android:attr/textAppearanceMedium" /> + diff --git a/src/main/res/values/strings.xml b/src/main/res/values/strings.xml index e86d922..625c8d9 100644 --- a/src/main/res/values/strings.xml +++ b/src/main/res/values/strings.xml @@ -1,11 +1,11 @@ - Clipper service is started! + Clipper service is started. - Usage: You can copy to or paste from clipboard from adb shell using the - following commands:\n - * am broadcast -a clipper.set -e text \'This may be pasted now\' \n - * am broadcast -a clipper.get + You can now copy to or paste from clipboard using the + following commands in adb shell:\n \n + 1. am broadcast -a clipper.set -e text \'This may be pasted now\' \n + 2. am broadcast -a clipper.get Clipper