Graphical improvements to radical selection
app/src/main/java/eu/lepiller/nani/RadicalSelectorView.java
79 | 79 | radicalButton.setTextOff(radical); | |
80 | 80 | radicalButton.setTextOn(radical); | |
81 | 81 | radicalButton.setText(radical); | |
82 | + | radicalButton.setLayoutParams(new TableRow.LayoutParams(122, 122)); | |
82 | 83 | ||
83 | 84 | radicalButton.setOnClickListener(new OnClickListener() { | |
84 | 85 | @Override |
app/src/main/res/layout/content_main.xml
86 | 86 | android:id="@+id/radical_button" | |
87 | 87 | android:layout_width="wrap_content" | |
88 | 88 | android:layout_height="wrap_content" | |
89 | - | android:text="???" /> | |
89 | + | android:minWidth="0dp" | |
90 | + | android:text="???" /> | |
90 | 91 | </LinearLayout> | |
91 | 92 | ||
92 | 93 | </LinearLayout> |