FM: Setting the height of the button as match_parent
- When Chinese characters entering in the button
the height of the button getting reduced.
- After fill the characters in the button,
make the height as match_parent.
Change-Id: Ibb94828e5ce9e54459a00b2c879b9a6de713b479
CRs-Fixed: 526056
diff --git a/fmapp2/src/com/caf/fmradio/FMRadio.java b/fmapp2/src/com/caf/fmradio/FMRadio.java
index df97413..c5bd654 100644
--- a/fmapp2/src/com/caf/fmradio/FMRadio.java
+++ b/fmapp2/src/com/caf/fmradio/FMRadio.java
@@ -2048,6 +2048,7 @@
display = station.getName();
mPresetButtons[buttonIndex].setText(display);
mPresetButtons[buttonIndex].setTag(station);
+ mPresetButtons[buttonIndex].setHeight(-1);
addedStations++;
}else {
mPresetButtons[buttonIndex].setText(R.string.add_station);