summaryrefslogtreecommitdiffstats
path: root/res/layout/audio_effects_dialog.xml
diff options
context:
space:
mode:
authorwjiang <wjiang@codeaurora.org>2014-02-14 17:45:53 +0800
committeremancebo <emancebo@cyngn.com>2014-09-04 10:40:18 -0700
commita92b9d9f030cf1a9c74ac410a30a5d264743f51e (patch)
treea9a87517af3942652d47f943f85ac02b3cbc4631 /res/layout/audio_effects_dialog.xml
parentf919dbf15fb9d3894a4235f6cf0b1d3511124686 (diff)
downloadandroid_packages_apps_Gallery2-a92b9d9f030cf1a9c74ac410a30a5d264743f51e.tar.gz
android_packages_apps_Gallery2-a92b9d9f030cf1a9c74ac410a30a5d264743f51e.tar.bz2
android_packages_apps_Gallery2-a92b9d9f030cf1a9c74ac410a30a5d264743f51e.zip
Gallery2: Fix batches of issues in movie effects
Fix following issues: - All settings aren't restored to previous state when user cancel his operations. - Check the validity to avoid calling member function of an already released object. - Recycle effect instance when MovieActivity pauses. - Don't restore strength from pref when toggling switch. - Force the Effect's dialog to be uncancelable. - Fix null pointer and effect leak issue due to CMCC features. - Fix audio effects dialog display on small screens - Recognize bluetooth headset. Change-Id: I803897508c0c1a6723170b7691e3ece03680e4f1
Diffstat (limited to 'res/layout/audio_effects_dialog.xml')
-rw-r--r--res/layout/audio_effects_dialog.xml4
1 files changed, 2 insertions, 2 deletions
diff --git a/res/layout/audio_effects_dialog.xml b/res/layout/audio_effects_dialog.xml
index 83892c224..4715d54b8 100644
--- a/res/layout/audio_effects_dialog.xml
+++ b/res/layout/audio_effects_dialog.xml
@@ -65,16 +65,16 @@ IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
android:id="@+id/bBStrengthKnob"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
+ android:layout_weight="1"
custom:label="@string/bass_boost_strength"
- custom:background="@drawable/knob_bg"
custom:foreground="@drawable/knob" />
<com.android.gallery3d.ui.Knob
android:id="@+id/vIStrengthKnob"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
+ android:layout_weight="1"
custom:label="@string/virtualizer_strength"
- custom:background="@drawable/knob_bg"
custom:foreground="@drawable/knob" />
</LinearLayout>