summaryrefslogtreecommitdiffstats
path: root/packages/SystemUI/res/layout/queue_adapter_row.xml
diff options
context:
space:
mode:
Diffstat (limited to 'packages/SystemUI/res/layout/queue_adapter_row.xml')
-rw-r--r--packages/SystemUI/res/layout/queue_adapter_row.xml56
1 files changed, 56 insertions, 0 deletions
diff --git a/packages/SystemUI/res/layout/queue_adapter_row.xml b/packages/SystemUI/res/layout/queue_adapter_row.xml
new file mode 100644
index 0000000..1096066
--- /dev/null
+++ b/packages/SystemUI/res/layout/queue_adapter_row.xml
@@ -0,0 +1,56 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+ Copyright (C) 2015 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.
+-->
+<com.android.systemui.statusbar.QueueViewRow
+ xmlns:android="http://schemas.android.com/apk/res/android"
+ android:layout_width="match_parent"
+ android:background="@drawable/queue_bg"
+ android:layout_height="@dimen/queue_row_height"
+ android:paddingTop="4dp"
+ android:paddingBottom="4dp"
+ android:paddingStart="8dp"
+ android:paddingEnd="8dp">
+
+ <ImageView
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:id="@+id/art"
+ android:layout_alignParentStart="true"
+ android:layout_centerVertical="true"/>
+
+ <LinearLayout
+ android:orientation="vertical"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_toEndOf="@+id/action"
+ android:layout_centerVertical="true">
+
+ <TextView
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:textSize="@*android:dimen/notification_title_text_size"
+ android:color="@color/notification_guts_title_color"
+ android:id="@+id/title"/>
+
+ <TextView
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:textSize="@*android:dimen/notification_subtext_size"
+ android:color="@color/notification_guts_text_color"
+ android:id="@+id/summary"/>
+ </LinearLayout>
+
+</com.android.systemui.statusbar.QueueViewRow>