aboutsummaryrefslogtreecommitdiff
path: root/subsonic-android/res/layout
diff options
context:
space:
mode:
authorScott Jackson <daneren2005@gmail.com>2013-03-09 10:03:23 -0800
committerScott Jackson <daneren2005@gmail.com>2013-03-09 10:03:23 -0800
commit613d6a816cb656007b067a85b72e684d3464595b (patch)
tree32b7aa694228713e2d5eb77ae4302ce33444cefa /subsonic-android/res/layout
parent5169f1181a45c0cefbb812c8a68f7e492dcef45f (diff)
downloaddsub-613d6a816cb656007b067a85b72e684d3464595b.tar.gz
dsub-613d6a816cb656007b067a85b72e684d3464595b.tar.bz2
dsub-613d6a816cb656007b067a85b72e684d3464595b.zip
Renamed main layout to home, music to main
Diffstat (limited to 'subsonic-android/res/layout')
-rw-r--r--subsonic-android/res/layout/home.xml28
-rw-r--r--subsonic-android/res/layout/main.xml53
-rw-r--r--subsonic-android/res/layout/music.xml25
3 files changed, 53 insertions, 53 deletions
diff --git a/subsonic-android/res/layout/home.xml b/subsonic-android/res/layout/home.xml
new file mode 100644
index 00000000..56b013fe
--- /dev/null
+++ b/subsonic-android/res/layout/home.xml
@@ -0,0 +1,28 @@
+<?xml version="1.0" encoding="utf-8"?>
+<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
+ android:orientation="vertical"
+ android:layout_width="fill_parent"
+ android:layout_height="fill_parent">
+
+ <View
+ android:layout_width="fill_parent"
+ android:layout_height="1px"
+ android:background="@color/dividerColor"/>
+
+ <ListView
+ android:id="@+id/main_list"
+ android:layout_width="fill_parent"
+ android:layout_height="0px"
+ android:layout_weight="1"/>
+
+ <View android:id="@+id/main_dummy"
+ android:layout_width="0px"
+ android:layout_height="0px"/>
+
+ <include
+ layout="@layout/button_bar"
+ android:layout_width="fill_parent"
+ android:layout_height="wrap_content"/>
+
+</LinearLayout>
+
diff --git a/subsonic-android/res/layout/main.xml b/subsonic-android/res/layout/main.xml
index 56b013fe..f5c95b3f 100644
--- a/subsonic-android/res/layout/main.xml
+++ b/subsonic-android/res/layout/main.xml
@@ -1,28 +1,25 @@
-<?xml version="1.0" encoding="utf-8"?>
-<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
- android:orientation="vertical"
- android:layout_width="fill_parent"
- android:layout_height="fill_parent">
-
- <View
- android:layout_width="fill_parent"
- android:layout_height="1px"
- android:background="@color/dividerColor"/>
-
- <ListView
- android:id="@+id/main_list"
- android:layout_width="fill_parent"
- android:layout_height="0px"
- android:layout_weight="1"/>
-
- <View android:id="@+id/main_dummy"
- android:layout_width="0px"
- android:layout_height="0px"/>
-
- <include
- layout="@layout/button_bar"
- android:layout_width="fill_parent"
- android:layout_height="wrap_content"/>
-
-</LinearLayout>
-
+<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
+ android:gravity="center_horizontal"
+ android:orientation="vertical" >
+
+ <android.support.v4.view.ViewPager
+ android:id="@+id/pager"
+ android:layout_width="match_parent"
+ android:layout_height="0px"
+ android:layout_weight="1" >
+
+ <!-- Optional page title view -->
+
+ <android.support.v4.view.PagerTitleStrip
+ android:id="@+id/pager_title_strip"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:layout_gravity="top"
+ android:background="#33b5e5"
+ android:paddingBottom="4dp"
+ android:paddingTop="4dp"
+ android:textColor="#fff" />
+ </android.support.v4.view.ViewPager>
+</LinearLayout> \ No newline at end of file
diff --git a/subsonic-android/res/layout/music.xml b/subsonic-android/res/layout/music.xml
deleted file mode 100644
index f5c95b3f..00000000
--- a/subsonic-android/res/layout/music.xml
+++ /dev/null
@@ -1,25 +0,0 @@
-<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:gravity="center_horizontal"
- android:orientation="vertical" >
-
- <android.support.v4.view.ViewPager
- android:id="@+id/pager"
- android:layout_width="match_parent"
- android:layout_height="0px"
- android:layout_weight="1" >
-
- <!-- Optional page title view -->
-
- <android.support.v4.view.PagerTitleStrip
- android:id="@+id/pager_title_strip"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_gravity="top"
- android:background="#33b5e5"
- android:paddingBottom="4dp"
- android:paddingTop="4dp"
- android:textColor="#fff" />
- </android.support.v4.view.ViewPager>
-</LinearLayout> \ No newline at end of file