diff options
Diffstat (limited to 'remoteExample')
-rw-r--r-- | remoteExample/src/main/res/layout/fragment_main.xml | 12 | ||||
-rw-r--r-- | remoteExample/src/main/res/values/strings.xml | 5 |
2 files changed, 11 insertions, 6 deletions
diff --git a/remoteExample/src/main/res/layout/fragment_main.xml b/remoteExample/src/main/res/layout/fragment_main.xml index 5069780c..e4fa019d 100644 --- a/remoteExample/src/main/res/layout/fragment_main.xml +++ b/remoteExample/src/main/res/layout/fragment_main.xml @@ -15,7 +15,7 @@ android:layout_height="wrap_content" android:layout_alignLeft="@+id/helloworld" android:layout_alignParentTop="true" - android:text="No Status yet" /> + android:text="@string/no_status_yet" /> <Button android:id="@+id/startVPN" @@ -23,7 +23,7 @@ android:layout_height="wrap_content" android:layout_alignRight="@+id/helloworld" android:layout_below="@+id/helloworld" - android:text="Not now" + android:text="@string/no_now" android:visibility="visible" /> <TextView @@ -40,7 +40,7 @@ android:layout_height="wrap_content" android:layout_above="@+id/helloworld" android:layout_alignParentLeft="true" - android:text="TextView" /> + tools:text="TextView" /> <Button android:id="@+id/getMyIP" @@ -48,7 +48,7 @@ android:layout_height="wrap_content" android:layout_alignParentLeft="true" android:layout_below="@+id/startVPN" - android:text="Show my IP" /> + android:text="@string/show_my_ip" /> <Button android:id="@+id/disconnect" @@ -56,7 +56,7 @@ android:layout_height="wrap_content" android:layout_alignBottom="@+id/startVPN" android:layout_toRightOf="@+id/startVPN" - android:text="Disconnect" /> + android:text="@string/disconnect" /> <Button android:id="@+id/startembedded" @@ -65,6 +65,6 @@ android:layout_height="wrap_content" android:layout_alignParentLeft="true" android:layout_below="@+id/getMyIP" - android:text="Start embedded profile" /> + android:text="@string/start_embedded" /> </RelativeLayout> diff --git a/remoteExample/src/main/res/values/strings.xml b/remoteExample/src/main/res/values/strings.xml index a83b7642..bbaee226 100644 --- a/remoteExample/src/main/res/values/strings.xml +++ b/remoteExample/src/main/res/values/strings.xml @@ -5,6 +5,11 @@ <string name="hello_world">Hello world!</string> <string name="action_settings">Settings</string> <string name="permission_description">Allows another app to control OpenVPN</string> + <string name="no_status_yet">No Status yet</string> + <string name="no_now">Not now</string> + <string name="show_my_ip">Show my IP</string> + <string name="disconnect">Disconnect</string> + <string name="start_embedded">Start embedded profile</string> </resources> |