aboutsummaryrefslogtreecommitdiffstats
path: root/res
diff options
context:
space:
mode:
Diffstat (limited to 'res')
-rw-r--r--res/drawable/bg.xml11
-rw-r--r--res/layout/main.xml11
2 files changed, 21 insertions, 1 deletions
diff --git a/res/drawable/bg.xml b/res/drawable/bg.xml
new file mode 100644
index 0000000..3fadd34
--- /dev/null
+++ b/res/drawable/bg.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="utf-8"?>
+<shape
+ xmlns:android="http://schemas.android.com/apk/res/android"
+ android:shape="rectangle">
+ <gradient
+ android:startColor="#acacac"
+ android:centerColor="#4f4f4f"
+ android:endColor="#3f3f3f"
+ android:angle="-90">
+ </gradient>
+</shape> \ No newline at end of file
diff --git a/res/layout/main.xml b/res/layout/main.xml
index 83899fc..a225cb7 100644
--- a/res/layout/main.xml
+++ b/res/layout/main.xml
@@ -2,12 +2,21 @@
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
+ android:background="@drawable/bg"
android:orientation="vertical" >
<FrameLayout
android:layout_width="fill_parent"
android:layout_height="0dp"
- android:layout_weight="1" >
+ android:layout_margin="10dp"
+ android:layout_weight="1"
+ android:background="#000" >
+
+ <com.pheelicks.visualizer.VisualizerView
+ android:id="@+id/visualizerView"
+ android:layout_width="fill_parent"
+ android:layout_height="fill_parent" >
+ </com.pheelicks.visualizer.VisualizerView>
</FrameLayout>
<LinearLayout