summaryrefslogtreecommitdiffstats
path: root/third_party
diff options
context:
space:
mode:
authoraurimas <aurimas@chromium.org>2015-04-30 14:55:44 -0700
committerCommit bot <commit-bot@chromium.org>2015-04-30 21:56:22 +0000
commit3e3ec955253d32a854c441c412c0427cb5310fcb (patch)
tree53d06dde95b0a4c4789946b1200bbe0ca30d22ca /third_party
parentb356c585d9f6841dcc7df05b8e7cfad0a2b4bdf6 (diff)
downloadchromium_src-3e3ec955253d32a854c441c412c0427cb5310fcb.zip
chromium_src-3e3ec955253d32a854c441c412c0427cb5310fcb.tar.gz
chromium_src-3e3ec955253d32a854c441c412c0427cb5310fcb.tar.bz2
Suppress false possivite lint warnings in media_controller.xml
BUG=476686 TBR=aberent@chromium.org Review URL: https://codereview.chromium.org/1120803002 Cr-Commit-Position: refs/heads/master@{#327800}
Diffstat (limited to 'third_party')
-rw-r--r--third_party/android_media/java/res/layout/media_controller.xml7
1 files changed, 7 insertions, 0 deletions
diff --git a/third_party/android_media/java/res/layout/media_controller.xml b/third_party/android_media/java/res/layout/media_controller.xml
index 73cba27..734b4b9 100644
--- a/third_party/android_media/java/res/layout/media_controller.xml
+++ b/third_party/android_media/java/res/layout/media_controller.xml
@@ -29,22 +29,29 @@
android:paddingTop="4dip"
android:orientation="horizontal">
+ <!-- Android Lint is giving a false warning that layout_width and layout_height are not
+ set for buttons below, however MediaButton style sets the width and the height. -->
+ <!--suppress RequiredSize -->
<ImageButton
android:id="@+id/prev"
android:contentDescription="@null"
style="@android:style/MediaButton.Previous" />
+ <!--suppress RequiredSize -->
<ImageButton
android:id="@+id/rew"
android:contentDescription="@null"
style="@android:style/MediaButton.Rew" />
+ <!--suppress RequiredSize -->
<ImageButton
android:id="@+id/pause"
android:contentDescription="@null"
style="@android:style/MediaButton.Play" />
+ <!--suppress RequiredSize -->
<ImageButton
android:id="@+id/ffwd"
android:contentDescription="@null"
style="@android:style/MediaButton.Ffwd" />
+ <!--suppress RequiredSize -->
<ImageButton
android:id="@+id/next"
android:contentDescription="@null"