[FM] Unable to save recorded audio from FM radio when a channel has a very long name

    Launch FM app and search for FM channels -> Add one of
    the channels to Favorite and rename the channel with a
    long name (60 characters or more) -> Now play the renamed
    channel and start recording the audio, stop recording and
    tap on the save button on the pop up to save the audio ->
    Start recording the audio again from the same channel, stop
    recording and tap on the save button on the pop up to save
    the audio, "<audio file name> already exists" and audio is
    not saved.

    The CL is to limit the maximum length for renaming a station
    and fix the layout issue when the station name is too long.

    Bug 18844225

    Review: https://partner-android-review.git.corp.google.com/#/c/192386

    Signed-off-by: Benson Huang <benson.huang@mediatek.com>

Change-Id: I30eb19497e3181efe5143a39b84d9c25c3ee37a6
diff --git a/res/layout/editstation.xml b/res/layout/editstation.xml
index 784fc27..3978449 100644
--- a/res/layout/editstation.xml
+++ b/res/layout/editstation.xml
@@ -32,6 +32,7 @@
         android:singleLine="true"
         android:alpha="0.87"
         android:hint="@string/station_rename_hint"
+        android:maxLength="60"
         android:textSize="16dp"
         android:textColor="@color/black_color" />
-</LinearLayout>
\ No newline at end of file
+</LinearLayout>
diff --git a/res/layout/fm_record_activity.xml b/res/layout/fm_record_activity.xml
index ca241d7..fdd32e9 100644
--- a/res/layout/fm_record_activity.xml
+++ b/res/layout/fm_record_activity.xml
@@ -123,6 +123,7 @@
                 android:layout_height="wrap_content"
                 android:layout_marginTop="12dip"
                 android:layout_marginBottom="-2dip"
+                android:layout_marginRight="24dip"
                 android:visibility="gone"
                 android:orientation="horizontal" >
 
@@ -193,4 +194,4 @@
             android:textSize="14sp" />
     </LinearLayout>
 
-</LinearLayout>
\ No newline at end of file
+</LinearLayout>