<?xml version="1.0" encoding="utf-8"?><!--
- Copyright (C) 2014 Cyanogen, Inc.
+ Copyright (C) 2014 The CyanogenMod 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.
-->
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:gravity="center_vertical"
android:minHeight="@dimen/item_normal_height"
android:paddingTop="@dimen/list_item_padding_top"
- android:paddingBottom="@dimen/list_item_padding_bottom">
+ android:paddingBottom="@dimen/list_item_padding_bottom"
+ android:background="@android:color/transparent">
- <com.cyngn.eleven.widgets.SquareImageView
+ <ImageView
android:id="@+id/image"
android:layout_width="@dimen/list_item_image_width"
android:layout_height="@dimen/list_item_image_height"
- android:layout_alignParentLeft="true"
- android:layout_alignParentTop="true"
+ android:layout_centerVertical="true"
android:scaleType="centerCrop" />
<!-- center the text views vertically -->
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_centerVertical="true"
- android:layout_alignParentRight="true"
+ android:layout_toLeftOf="@+id/popup_menu_button"
android:paddingLeft="@dimen/list_item_progress_padding_left"
android:paddingRight="@dimen/list_item_progress_padding_right">
<include
android:layout_centerVertical="true"
layout="@layout/play_pause_progress_button"/>
</FrameLayout>
-</RelativeLayout>
\ No newline at end of file
+
+ <com.cyanogenmod.eleven.widgets.PopupMenuButton
+ android:id="@id/popup_menu_button"
+ android:layout_width="@dimen/overflow_width"
+ android:layout_height="@dimen/overflow_height"
+ android:layout_alignParentRight="true"
+ android:layout_centerVertical="true"
+ android:src="@drawable/menu_button_light" />
+</RelativeLayout>