Merge "Fix 5288804: Make music trasports in lockscreen more closely match design" into ics-mr0
This commit is contained in:
Binary file not shown.
|
Before Width: | Height: | Size: 243 B After Width: | Height: | Size: 129 B |
Binary file not shown.
|
Before Width: | Height: | Size: 230 B After Width: | Height: | Size: 118 B |
Binary file not shown.
|
Before Width: | Height: | Size: 245 B After Width: | Height: | Size: 144 B |
@@ -19,23 +19,28 @@
|
||||
but rather as include tags for this file or the layout will break. -->
|
||||
<com.android.internal.widget.TransportControlView
|
||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:id="@+id/transport_controls"
|
||||
android:background="@drawable/ic_lockscreen_player_background">
|
||||
android:id="@+id/transport_controls">
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/albumart"
|
||||
<!-- FrameLayout used as scrim to show between album art and buttons -->
|
||||
<FrameLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_gravity="fill"
|
||||
android:scaleType="centerCrop"
|
||||
android:adjustViewBounds="false"
|
||||
android:foreground="@drawable/ic_lockscreen_player_background">
|
||||
<!-- We use ImageView for its cropping features, otherwise could be android:background -->
|
||||
<ImageView
|
||||
android:id="@+id/albumart"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_gravity="fill"
|
||||
android:scaleType="centerCrop"
|
||||
android:adjustViewBounds="false"
|
||||
/>
|
||||
</FrameLayout>
|
||||
|
||||
<LinearLayout
|
||||
android:orientation="vertical"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:background="#c8000000"
|
||||
android:layout_gravity="bottom">
|
||||
<TextView
|
||||
android:id="@+id/title"
|
||||
|
||||
Reference in New Issue
Block a user