summaryrefslogtreecommitdiffstats
path: root/res/layout
diff options
context:
space:
mode:
authorSunny Goyal <sunnygoyal@google.com>2016-05-27 10:37:38 -0700
committerSunny Goyal <sunnygoyal@google.com>2016-06-03 11:21:47 -0700
commite7d7304fcbb5e5dcb2ac7798c1d246f951b05029 (patch)
treebe645c2fe862c649600f5de7eccfe12ae2a617ff /res/layout
parentff4ba2d99593ed84963b3f71c555b529dd905835 (diff)
downloadandroid_packages_apps_Trebuchet-e7d7304fcbb5e5dcb2ac7798c1d246f951b05029.tar.gz
android_packages_apps_Trebuchet-e7d7304fcbb5e5dcb2ac7798c1d246f951b05029.tar.bz2
android_packages_apps_Trebuchet-e7d7304fcbb5e5dcb2ac7798c1d246f951b05029.zip
Replacing overview panel icons with vector drawables
Change-Id: I3ca6662a75ba8b07e817a7a5681ede79d305c41a
Diffstat (limited to 'res/layout')
-rw-r--r--res/layout/all_apps_search_market.xml2
-rw-r--r--res/layout/overview_panel.xml30
2 files changed, 16 insertions, 16 deletions
diff --git a/res/layout/all_apps_search_market.xml b/res/layout/all_apps_search_market.xml
index 2e38ea09d..ef5e76c20 100644
--- a/res/layout/all_apps_search_market.xml
+++ b/res/layout/all_apps_search_market.xml
@@ -26,4 +26,4 @@
android:textColor="@color/launcher_accent_color"
android:textAllCaps="true"
android:focusable="true"
- android:background="@drawable/all_apps_search_market_bg" />
+ android:background="?android:selectableItemBackground" />
diff --git a/res/layout/overview_panel.xml b/res/layout/overview_panel.xml
index 4f54f1dfc..9ba3f09ae 100644
--- a/res/layout/overview_panel.xml
+++ b/res/layout/overview_panel.xml
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
- Copyright (C) 2013 The Android Open Source Project
+ Copyright (C) 2016 The Android Open Source Project
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
@@ -15,11 +15,11 @@
limitations under the License.
-->
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_gravity="center_horizontal|bottom"
- android:gravity="top"
- android:orientation="horizontal" >
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:layout_gravity="center_horizontal|bottom"
+ android:gravity="top"
+ android:orientation="horizontal" >
<TextView
android:id="@+id/wallpaper_button"
@@ -27,14 +27,14 @@
android:layout_height="wrap_content"
android:layout_weight="1"
android:drawablePadding="4dp"
- android:drawableTop="@drawable/wallpaper_button"
+ android:drawableTop="@drawable/ic_wallpaper"
android:fontFamily="sans-serif-condensed"
android:gravity="center_horizontal"
+ android:stateListAnimator="@animator/overview_button_anim"
android:text="@string/wallpaper_button_text"
android:textAllCaps="true"
android:textColor="@android:color/white"
- android:textSize="12sp"
- android:focusable="true" />
+ android:textSize="12sp" />
<TextView
android:id="@+id/widget_button"
@@ -42,14 +42,14 @@
android:layout_height="wrap_content"
android:layout_weight="1"
android:drawablePadding="4dp"
- android:drawableTop="@drawable/widget_button"
+ android:drawableTop="@drawable/ic_widget"
android:fontFamily="sans-serif-condensed"
android:gravity="center_horizontal"
+ android:stateListAnimator="@animator/overview_button_anim"
android:text="@string/widget_button_text"
android:textAllCaps="true"
android:textColor="@android:color/white"
- android:textSize="12sp"
- android:focusable="true" />
+ android:textSize="12sp" />
<TextView
android:id="@+id/settings_button"
@@ -57,13 +57,13 @@
android:layout_height="wrap_content"
android:layout_weight="1"
android:drawablePadding="4dp"
- android:drawableTop="@drawable/setting_button"
+ android:drawableTop="@drawable/ic_setting"
android:fontFamily="sans-serif-condensed"
android:gravity="center_horizontal"
+ android:stateListAnimator="@animator/overview_button_anim"
android:text="@string/settings_button_text"
android:textAllCaps="true"
android:textColor="@android:color/white"
- android:textSize="12sp"
- android:focusable="true" />
+ android:textSize="12sp" />
</LinearLayout> \ No newline at end of file