summaryrefslogtreecommitdiffstats
path: root/res/layout/album_appwidget4x1.xml
diff options
context:
space:
mode:
Diffstat (limited to 'res/layout/album_appwidget4x1.xml')
-rw-r--r--res/layout/album_appwidget4x1.xml93
1 files changed, 93 insertions, 0 deletions
diff --git a/res/layout/album_appwidget4x1.xml b/res/layout/album_appwidget4x1.xml
new file mode 100644
index 0000000..f4676e5
--- /dev/null
+++ b/res/layout/album_appwidget4x1.xml
@@ -0,0 +1,93 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+ Copyright (C) 2009 The Android Open Source Project
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+
+<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
+ android:background="@drawable/appwidget_bg"
+ android:orientation="horizontal" >
+
+ <ImageView
+ android:id="@+id/albumart"
+ android:layout_width="wrap_content"
+ android:layout_height="match_parent"
+ android:adjustViewBounds="true"
+ android:scaleType="fitXY" />
+
+ <LinearLayout
+ android:id="@+id/album_appwidget"
+ android:layout_width="0dip"
+ android:layout_height="match_parent"
+ android:layout_weight="2"
+ android:background="@drawable/btn_bg"
+ android:clickable="true"
+ android:focusable="true"
+ android:gravity="center"
+ android:orientation="vertical"
+ android:paddingLeft="4dip" >
+
+ <TextView
+ android:id="@+id/title"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:ellipsize="end"
+ android:fadingEdge="horizontal"
+ android:fadingEdgeLength="10dip"
+ android:singleLine="true"
+ android:textSize="18sp"
+ android:textStyle="bold" />
+
+ <TextView
+ android:id="@+id/artist"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:ellipsize="end"
+ android:fadingEdge="horizontal"
+ android:fadingEdgeLength="10dip"
+ android:singleLine="true"
+ android:textSize="14sp" />
+ </LinearLayout>
+
+ <ImageView
+ android:layout_width="1dip"
+ android:layout_height="match_parent"
+ android:background="@drawable/appwidget_divider" />
+
+ <ImageButton
+ android:id="@+id/control_play"
+ android:layout_width="0dip"
+ android:layout_height="match_parent"
+ android:layout_weight="1"
+ android:background="@drawable/btn_bg"
+ android:scaleType="center"
+ android:src="@drawable/ic_appwidget_music_play" />
+
+ <ImageView
+ android:layout_width="1dip"
+ android:layout_height="match_parent"
+ android:background="@drawable/appwidget_divider" />
+
+ <ImageButton
+ android:id="@+id/control_next"
+ android:layout_width="0dip"
+ android:layout_height="match_parent"
+ android:layout_weight="1"
+ android:background="@drawable/btn_bg"
+ android:scaleType="center"
+ android:src="@drawable/ic_appwidget_music_next" />
+
+</LinearLayout> \ No newline at end of file