- background-color: black;
- color: white;
+ background-color: white;
+ color: black;
font-family: Arial sans-serif;
font-size: 14pt;
}
font-family: Arial sans-serif;
font-size: 14pt;
}
-a:link, a:visited, a:active {
- color: white;
-}
ul.touchable li {
padding-top:8px;
padding-bottom:8px;
ul.touchable li {
padding-top:8px;
padding-bottom:8px;
<color name="sbc_layout_view">#ffffffff</color>
<color name="sbc_page_number_text">#ff000000</color>
<color name="sbc_snippet_text">#ff4b4b4b</color>
<color name="sbc_layout_view">#ffffffff</color>
<color name="sbc_page_number_text">#ff000000</color>
<color name="sbc_snippet_text">#ff4b4b4b</color>
- <color name="share_text">#ffffffff</color>
- <color name="share_view">#ff000000</color>
+ <color name="share_text">#ff000000</color>
+ <color name="share_view">#ffffffff</color>
<color name="status_view">#50000000</color>
<color name="status_text">#ffffffff</color>
<color name="transparent">#00000000</color>
<color name="status_view">#50000000</color>
<color name="status_text">#ffffffff</color>
<color name="transparent">#00000000</color>
private String characterSet;
private String versionName;
private HistoryManager historyManager;
private String characterSet;
private String versionName;
private HistoryManager historyManager;
+ private boolean firstLaunch;
private final OnCompletionListener beepListener = new BeepListener();
private final OnCompletionListener beepListener = new BeepListener();
historyManager = new HistoryManager(this);
historyManager.trimHistory();
historyManager = new HistoryManager(this);
historyManager.trimHistory();
- showHelpOnFirstLaunch();
-
- Toast.makeText(this, R.string.msg_default_status, Toast.LENGTH_LONG).show();
+ firstLaunch = showHelpOnFirstLaunch();
vibrate = prefs.getBoolean(PreferencesActivity.KEY_VIBRATE, false);
copyToClipboard = prefs.getBoolean(PreferencesActivity.KEY_COPY_TO_CLIPBOARD, true);
initBeepSound();
vibrate = prefs.getBoolean(PreferencesActivity.KEY_VIBRATE, false);
copyToClipboard = prefs.getBoolean(PreferencesActivity.KEY_COPY_TO_CLIPBOARD, true);
initBeepSound();
+
+ if (!firstLaunch) {
+ Toast.makeText(this, R.string.msg_default_status, Toast.LENGTH_SHORT).show();
+ }
}
private static Vector<BarcodeFormat> parseDecodeFormats(Intent intent) {
}
private static Vector<BarcodeFormat> parseDecodeFormats(Intent intent) {
TextView contentsTextView = (TextView) findViewById(R.id.contents_text_view);
CharSequence displayContents = resultHandler.getDisplayContents();
contentsTextView.setText(displayContents);
TextView contentsTextView = (TextView) findViewById(R.id.contents_text_view);
CharSequence displayContents = resultHandler.getDisplayContents();
contentsTextView.setText(displayContents);
- // Crudely scale betweeen 22 and 48 -- bigger font for shorter text
- int scaledSize = Math.max(22, 48 - displayContents.length() / 4);
+ // Crudely scale betweeen 22 and 42 -- bigger font for shorter text
+ int scaledSize = Math.max(22, 42 - displayContents.length() / 4);
contentsTextView.setTextSize(TypedValue.COMPLEX_UNIT_SP, scaledSize);
int buttonCount = resultHandler.getButtonCount();
contentsTextView.setTextSize(TypedValue.COMPLEX_UNIT_SP, scaledSize);
int buttonCount = resultHandler.getButtonCount();