]> gitweb.fperrin.net Git - Dictionary.git/commitdiff
Dash between dictionary names.
authorthadh <thadh@localhost>
Tue, 18 Sep 2012 18:35:49 +0000 (11:35 -0700)
committerthadh <thadh@localhost>
Tue, 18 Sep 2012 18:35:49 +0000 (11:35 -0700)
src/com/hughes/android/dictionary/DictionaryActivity.java

index beed7aeb00bd4066ae0f594a3e50b46669544432..cdfe6f979a6d182aae1a34bd563c11af48d8cb19 100644 (file)
@@ -529,6 +529,12 @@ public class DictionaryActivity extends ListActivity {
                     layoutParams.weight = 1.0f;
                     button.setLayoutParams(layoutParams);
                     result.addView(button);
+                    
+                    if (i > 0) {
+                        final TextView dash = new TextView(parent.getContext());
+                        dash.setText("-");
+                        result.addView(dash);
+                    }
                 }
                 return result;
             }