summaryrefslogtreecommitdiff
path: root/java/com/android/dialer/main/impl/res/layout/bottom_nav_item.xml
diff options
context:
space:
mode:
authorcalderwoodra <calderwoodra@google.com>2018-01-12 12:25:48 -0800
committerCopybara-Service <copybara-piper@google.com>2018-01-12 12:27:26 -0800
commit4d881e4b22e61913bd2439fba6901bf6cc0e98c5 (patch)
treec25ff019bf3b4ce6eb7b37483bde4bc6c63876a5 /java/com/android/dialer/main/impl/res/layout/bottom_nav_item.xml
parentaa280fa887ee877e6faff55ce3c1c406f113d559 (diff)
Added Dialpad to NUI.
This change adds the existing dialpad to the new UI and the animation logic required to show/hide it along with the toolbar. A follow up CL will come afterwards to combine these animations with the toolbar expanding/collapsing. known issue: bottom nav appears over the dialpad. Bug: 181512198 Test: MainActivityTest PiperOrigin-RevId: 181777370 Change-Id: Ief1591174ebca3a709df6d1d38c8b8ecbdc1878e
Diffstat (limited to 'java/com/android/dialer/main/impl/res/layout/bottom_nav_item.xml')
-rw-r--r--java/com/android/dialer/main/impl/res/layout/bottom_nav_item.xml3
1 files changed, 2 insertions, 1 deletions
diff --git a/java/com/android/dialer/main/impl/res/layout/bottom_nav_item.xml b/java/com/android/dialer/main/impl/res/layout/bottom_nav_item.xml
index 28ad964dd..f9f2b6102 100644
--- a/java/com/android/dialer/main/impl/res/layout/bottom_nav_item.xml
+++ b/java/com/android/dialer/main/impl/res/layout/bottom_nav_item.xml
@@ -37,5 +37,6 @@
android:id="@+id/bottom_nav_item_text"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
- android:textSize="12sp"/>
+ android:textSize="12sp"
+ android:gravity="center_horizontal"/>
</com.android.dialer.main.impl.BottomNavItem> \ No newline at end of file