From: Nathaniel McCallum Date: Thu, 4 Jul 2013 21:57:20 +0000 (-0400) Subject: Display text when no keys are installed. X-Git-Url: http://pileus.org/git/?p=~andy%2Ffreeotp;a=commitdiff_plain;h=f68638fa173c3256e5ebbb9cf42a927c01ee1ead Display text when no keys are installed. --- diff --git a/res/layout/main.xml b/res/layout/main.xml new file mode 100644 index 0000000..e89c1b4 --- /dev/null +++ b/res/layout/main.xml @@ -0,0 +1,24 @@ + + + + + + + \ No newline at end of file diff --git a/res/values/strings.xml b/res/values/strings.xml index bece3d2..c003408 100644 --- a/res/values/strings.xml +++ b/res/values/strings.xml @@ -9,4 +9,5 @@ No Install Barcode Scanner? Barcode Scanner is required. Would you like to install it? + No OTP keys installed. diff --git a/src/org/fedorahosted/freeotp/MainActivity.java b/src/org/fedorahosted/freeotp/MainActivity.java index c54950c..e8451d0 100644 --- a/src/org/fedorahosted/freeotp/MainActivity.java +++ b/src/org/fedorahosted/freeotp/MainActivity.java @@ -85,7 +85,7 @@ public class MainActivity extends ListActivity { @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); - + setContentView(R.layout.main); ta = new TokenAdapter(this); setListAdapter(ta); }