summaryrefslogtreecommitdiff
path: root/library/main/res
diff options
context:
space:
mode:
authorMaurice Lam <yukl@google.com>2017-11-02 20:52:08 -0700
committerMaurice Lam <yukl@google.com>2017-11-02 20:52:08 -0700
commit58195c5316855122593366bd867ed51a91bd5c11 (patch)
treeb4541ea8100f4e7c743845331c7648b8e52df353 /library/main/res
parent88d7f0d37007e13601b6ead3ca039ece20ef94d7 (diff)
downloadsetupwizard-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.xml3
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"