+++ /dev/null
-<?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.
--->
-
-<animation-list
- xmlns:android="http://schemas.android.com/apk/res/android"
- android:oneshot="false">
- <item android:drawable="@drawable/appwidget_led1" android:duration="500" />
- <item android:drawable="@drawable/appwidget_led3" android:duration="500" />
- <item android:drawable="@drawable/appwidget_led2" android:duration="500" />
- <item android:drawable="@drawable/appwidget_led5" android:duration="500" />
- <item android:drawable="@drawable/appwidget_led4" android:duration="500" />
- <item android:drawable="@drawable/appwidget_led3" android:duration="500" />
-</animation-list>
android:id="@+id/control_play"
android:layout_width="48dip"
android:layout_height="fill_parent"
+ android:layout_marginLeft="2dip"
android:src="@drawable/appwidget_play"
android:background="@android:color/transparent"
android:scaleType="center"
android:scaleType="center"
/>
- <RelativeLayout
+ <LinearLayout
android:id="@+id/album_appwidget"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:layout_toRightOf="@id/control_play"
android:layout_toLeftOf="@id/control_next"
android:background="@drawable/appwidget_inner_dither"
+ android:orientation="vertical"
+ android:gravity="center_vertical"
>
- <com.android.server.status.AnimatedImageView
- android:id="@+id/led"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_marginBottom="5dip"
- android:layout_marginRight="10dip"
- android:layout_alignParentBottom="true"
- android:layout_alignParentRight="true"
- android:src="@drawable/appwidget_led0"
- />
-
- <ImageView
- android:visibility="invisible"
- android:id="@+id/anchor"
- android:layout_width="0dip"
- android:layout_height="7dip"
- android:layout_centerVertical="true"
- />
-
<TextView
android:id="@+id/title"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
- android:layout_alignBottom="@id/anchor"
android:layout_marginLeft="10dip"
android:layout_marginRight="20dip"
android:textColor="@color/appwidget_text"
android:id="@+id/artist"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
- android:layout_below="@id/anchor"
android:layout_marginLeft="10dip"
- android:layout_marginRight="40dip"
+ android:layout_marginRight="20dip"
android:textColor="@color/appwidget_text"
android:textSize="14sp"
android:singleLine="true"
android:ellipsize="none"
/>
- </RelativeLayout>
+ </LinearLayout>
</RelativeLayout>