diff options
author | Adam Lesinski <adamlesinski@google.com> | 2017-04-26 16:49:36 -0700 |
---|---|---|
committer | Adam Lesinski <adamlesinski@google.com> | 2017-04-26 16:49:36 -0700 |
commit | e8a62893189a52b1485d92972accb3bd5fabc1d0 (patch) | |
tree | fcb1f7b4553d6c21c19e23faba249da8e9f178aa | |
parent | 2b63d39bc586a6359957ea716883a55fd489aa7d (diff) | |
download | Camera2-e8a62893189a52b1485d92972accb3bd5fabc1d0.tar.gz |
Remove illegal @+ use with dimen type
@+id/foo is a way to specify an ID or create one if it doesn't exist.
This is fine to do because an ID is simply a placeholder value that is
assigned a resource ID.
@+dimen/foo doesn't make sense because there is no implicit value to
create if the resource doesn't exist.
Bug: 37716235
Test: builds
Change-Id: Ic897b208fd338bc00ac47de04ea74f0993e6a052
-rw-r--r-- | res/layout/sticky_bottom_capture_layout.xml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/res/layout/sticky_bottom_capture_layout.xml b/res/layout/sticky_bottom_capture_layout.xml index 6d98c30f3..fe0d31617 100644 --- a/res/layout/sticky_bottom_capture_layout.xml +++ b/res/layout/sticky_bottom_capture_layout.xml @@ -23,8 +23,8 @@ <com.android.camera.widget.RoundedThumbnailView android:id="@+id/rounded_thumbnail_view" - android:layout_width="@+dimen/rounded_thumbnail_ripple_ring_diameter_max" - android:layout_height="@+dimen/rounded_thumbnail_ripple_ring_diameter_max" + android:layout_width="@dimen/rounded_thumbnail_ripple_ring_diameter_max" + android:layout_height="@dimen/rounded_thumbnail_ripple_ring_diameter_max" android:visibility="invisible" /> <include layout="@layout/mode_options_overlay" /> |