summaryrefslogtreecommitdiffstats
path: root/res
diff options
context:
space:
mode:
authorRoman Birg <roman@cyngn.com>2015-05-06 18:38:12 -0700
committerRoman Birg <roman@cyngn.com>2015-05-07 10:34:08 -0700
commitba676f967d56e09c573fba554ea6833caa38ae75 (patch)
tree58a3af8282859250508d70f3ce372d01453eb519 /res
parent88ea93048079f2b82122ac673dd6d7fe65bb569b (diff)
downloadandroid_packages_apps_AudioFX-ba676f967d56e09c573fba554ea6833caa38ae75.tar.gz
android_packages_apps_AudioFX-ba676f967d56e09c573fba554ea6833caa38ae75.tar.bz2
android_packages_apps_AudioFX-ba676f967d56e09c573fba554ea6833caa38ae75.zip
AudioFX: improve initial opening state behavior
- make eq bars start at 0, then animate to their previous state - open up a single instance of the primary AudioFX app - setup knob area in onCreate() so it looks more seamless to the user - move debugging statements to Log.isLoggable() Change-Id: I2f46ecf7ac606afa94098df573f0ccd3db598ac9 Signed-off-by: Roman Birg <roman@cyngn.com>
Diffstat (limited to 'res')
-rw-r--r--res/layout/activity_main_generic.xml2
-rw-r--r--res/layout/activity_main_maxx_audio.xml2
2 files changed, 4 insertions, 0 deletions
diff --git a/res/layout/activity_main_generic.xml b/res/layout/activity_main_generic.xml
index 9902533..ca407f4 100644
--- a/res/layout/activity_main_generic.xml
+++ b/res/layout/activity_main_generic.xml
@@ -147,6 +147,7 @@
android:layout_width="wrap_content"
android:layout_height="match_parent"
android:layout_gravity="center_horizontal"
+ android:visibility="gone"
android:paddingBottom="@dimen/knob_container_padding_bottom">
<com.cyngn.audiofx.knobs.RadialKnob
@@ -168,6 +169,7 @@
</RelativeLayout>
<Space
+ android:visibility="gone"
android:layout_weight="0.1"
android:layout_width="0dp"
android:layout_height="match_parent"/>
diff --git a/res/layout/activity_main_maxx_audio.xml b/res/layout/activity_main_maxx_audio.xml
index c8da551..d6e5368 100644
--- a/res/layout/activity_main_maxx_audio.xml
+++ b/res/layout/activity_main_maxx_audio.xml
@@ -179,6 +179,7 @@
android:layout_height="match_parent"/>
<RelativeLayout
+ android:visibility="gone"
android:id="@+id/virtualizer_knob_container"
android:layout_width="wrap_content"
android:layout_height="match_parent"
@@ -206,6 +207,7 @@
</RelativeLayout>
<Space
+ android:visibility="gone"
android:layout_weight="0.1"
android:layout_width="0dp"
android:layout_height="match_parent"/>