diff options
author | Maurice Lam <yukl@google.com> | 2017-11-02 20:52:08 -0700 |
---|---|---|
committer | Maurice Lam <yukl@google.com> | 2017-11-02 20:52:08 -0700 |
commit | 58195c5316855122593366bd867ed51a91bd5c11 (patch) | |
tree | b4541ea8100f4e7c743845331c7648b8e52df353 /library/main/res | |
parent | 88d7f0d37007e13601b6ead3ca039ece20ef94d7 (diff) | |
download | setupwizard-58195c5316855122593366bd867ed51a91bd5c11.tar.gz |
Hide icon view if icon is null
To remove the extra margin when the icon is not used.
Test: ./gradlew connectedAndroidTest
Bug: 68826871
Change-Id: Ic23307a28b2829fdbe029c61f912f04bab90ca13
Diffstat (limited to 'library/main/res')
-rw-r--r-- | library/main/res/layout/suw_glif_header.xml | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/library/main/res/layout/suw_glif_header.xml b/library/main/res/layout/suw_glif_header.xml index b090f79..cfabcb1 100644 --- a/library/main/res/layout/suw_glif_header.xml +++ b/library/main/res/layout/suw_glif_header.xml @@ -26,7 +26,8 @@ style="@style/SuwGlifIcon" android:layout_width="wrap_content" android:layout_height="wrap_content" - android:contentDescription="@null" /> + android:contentDescription="@null" + android:visibility="gone" /> <TextView android:id="@+id/suw_layout_title" |