Repo created
This commit is contained in:
parent
c49f951a12
commit
9d6cbf6fba
323 changed files with 41128 additions and 0 deletions
138
res/layout/app_widget_large_alternate.xml
Normal file
138
res/layout/app_widget_large_alternate.xml
Normal file
|
|
@ -0,0 +1,138 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
Copyright (C) 2012 Andrew Neal
|
||||
|
||||
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"
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="@dimen/app_widget_large_min_height"
|
||||
android:background="@drawable/appwidget_bg"
|
||||
tools:ignore="ContentDescription" >
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/app_widget_large_alternate_image"
|
||||
android:layout_width="@dimen/app_widget_large_alternate_artwork_size"
|
||||
android:layout_height="@dimen/app_widget_large_alternate_artwork_size"
|
||||
android:layout_above="@+id/app_widget_large_alternate_buttons"
|
||||
android:layout_alignParentLeft="true"
|
||||
android:background="@drawable/default_artwork"
|
||||
android:scaleType="fitXY" />
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/app_widget_large_alternate_buttons"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_alignParentBottom="true"
|
||||
android:divider="?android:listDivider"
|
||||
android:dividerPadding="@dimen/notification_expanded_buttons_divider_padding"
|
||||
android:gravity="center_vertical"
|
||||
android:orientation="horizontal"
|
||||
android:showDividers="middle" >
|
||||
|
||||
<ImageButton
|
||||
android:id="@+id/app_widget_large_alternate_shuffle"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="@dimen/notification_expanded_button_height"
|
||||
android:layout_weight="1"
|
||||
android:background="?android:selectableItemBackground"
|
||||
android:contentDescription="@string/accessibility_shuffle"
|
||||
android:padding="@dimen/notification_expanded_button_padding"
|
||||
android:scaleType="fitCenter"
|
||||
android:src="@drawable/btn_playback_shuffle" />
|
||||
|
||||
<ImageButton
|
||||
android:id="@+id/app_widget_large_alternate_previous"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="@dimen/notification_expanded_button_height"
|
||||
android:layout_weight="1"
|
||||
android:background="?android:selectableItemBackground"
|
||||
android:contentDescription="@string/accessibility_prev"
|
||||
android:padding="@dimen/notification_expanded_button_padding"
|
||||
android:scaleType="fitCenter"
|
||||
android:src="@drawable/btn_playback_previous" />
|
||||
|
||||
<ImageButton
|
||||
android:id="@+id/app_widget_large_alternate_play"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="@dimen/notification_expanded_button_height"
|
||||
android:layout_weight="1"
|
||||
android:background="?android:selectableItemBackground"
|
||||
android:padding="@dimen/notification_expanded_button_padding"
|
||||
android:scaleType="fitCenter"
|
||||
android:src="@drawable/btn_playback_pause" />
|
||||
|
||||
<ImageButton
|
||||
android:id="@+id/app_widget_large_alternate_next"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="@dimen/notification_expanded_button_height"
|
||||
android:layout_weight="1"
|
||||
android:background="?android:selectableItemBackground"
|
||||
android:contentDescription="@string/accessibility_next"
|
||||
android:padding="@dimen/notification_expanded_button_padding"
|
||||
android:scaleType="fitCenter"
|
||||
android:src="@drawable/btn_playback_next" />
|
||||
|
||||
<ImageButton
|
||||
android:id="@+id/app_widget_large_alternate_repeat"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="@dimen/notification_expanded_button_height"
|
||||
android:layout_weight="1"
|
||||
android:background="?android:selectableItemBackground"
|
||||
android:contentDescription="@string/accessibility_repeat"
|
||||
android:padding="@dimen/notification_expanded_button_padding"
|
||||
android:scaleType="fitCenter"
|
||||
android:src="@drawable/btn_playback_repeat" />
|
||||
</LinearLayout>
|
||||
|
||||
<ImageView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="1dp"
|
||||
android:layout_above="@+id/app_widget_large_alternate_buttons"
|
||||
android:layout_alignParentRight="true"
|
||||
android:layout_toRightOf="@+id/app_widget_large_alternate_image"
|
||||
android:background="?android:dividerHorizontal" />
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/app_widget_large_alternate_info_container"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_alignParentTop="true"
|
||||
android:layout_gravity="center_vertical"
|
||||
android:layout_toRightOf="@+id/app_widget_large_alternate_image"
|
||||
android:orientation="vertical"
|
||||
android:paddingLeft="@dimen/notification_info_container_padding_left"
|
||||
android:paddingTop="@dimen/notification_expanded_content_padding_top" >
|
||||
|
||||
<TextView
|
||||
android:id="@+id/app_widget_large_alternate_line_one"
|
||||
style="@style/NotificationText"
|
||||
android:textColor="@color/white"
|
||||
android:textSize="@dimen/text_size_medium"
|
||||
android:textStyle="bold" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/app_widget_large_alternate_line_two"
|
||||
style="@style/NotificationText"
|
||||
android:textColor="@color/transparent_white"
|
||||
android:textSize="@dimen/text_size_small" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/app_widget_large_alternate_line_three"
|
||||
style="@style/NotificationText"
|
||||
android:textColor="@color/transparent_white"
|
||||
android:textSize="@dimen/text_size_small" />
|
||||
</LinearLayout>
|
||||
|
||||
</RelativeLayout>
|
||||
Loading…
Add table
Add a link
Reference in a new issue