From f4aae4cd3cc8e91f9f8ddd1fe46e42e1a50ac4e7 Mon Sep 17 00:00:00 2001 From: afohrman Date: Wed, 28 Nov 2018 16:32:43 -0500 Subject: [PATCH] Use string resources for slider labels. Also organize the strings a bit. PiperOrigin-RevId: 223226182 --- .../cat_bottom_navs_label_visibility_controls.xml | 4 ++-- .../catalog/bottomnav/res/values/strings.xml | 12 +++++++++--- 2 files changed, 11 insertions(+), 5 deletions(-) diff --git a/catalog/java/io/material/catalog/bottomnav/res/layout/cat_bottom_navs_label_visibility_controls.xml b/catalog/java/io/material/catalog/bottomnav/res/layout/cat_bottom_navs_label_visibility_controls.xml index 94513d427..1505ee995 100644 --- a/catalog/java/io/material/catalog/bottomnav/res/layout/cat_bottom_navs_label_visibility_controls.xml +++ b/catalog/java/io/material/catalog/bottomnav/res/layout/cat_bottom_navs_label_visibility_controls.xml @@ -50,13 +50,13 @@ android:layout_height="wrap_content" android:layout_gravity="start" android:padding="@dimen/cat_bottom_nav_standard_spacing" - android:text="0dp"/> + android:text="@string/cat_bottom_nav_slider_min"/> + android:text="@string/cat_bottom_nav_slider_max"/> + Legacy Bottom Nav + Default Colored Bottom Nav + Colored Bottom Nav + Item %1$d Page 1 Page 2 Page 3 Page 4 Page 5 + Add nav item Remove nav item Icon size: Label visibility mode: + Auto Selected Labeled Unlabeled - Legacy Bottom Nav - Default Colored Bottom Nav - Colored Bottom Nav + + 48dp + 0dp