summaryrefslogtreecommitdiffstats
path: root/res/drawable
diff options
context:
space:
mode:
authorSunny Goyal <sunnygoyal@google.com>2017-12-05 16:56:18 -0800
committerSunny Goyal <sunnygoyal@google.com>2017-12-05 16:57:48 -0800
commite969c68c7e8e96e9ce501138868226bcbf2307f7 (patch)
tree510f894569684fbe8e7dd715c9e47eb00391afc6 /res/drawable
parent7d6b4fa47cbbb2e0c0dd8bdc01f2d0d61fb1dad4 (diff)
downloadandroid_packages_apps_Trebuchet-e969c68c7e8e96e9ce501138868226bcbf2307f7.tar.gz
android_packages_apps_Trebuchet-e969c68c7e8e96e9ce501138868226bcbf2307f7.tar.bz2
android_packages_apps_Trebuchet-e969c68c7e8e96e9ce501138868226bcbf2307f7.zip
Removing horizontal bar from page indicator
> Removing the clickable bar from pageIndicator in portrait view > Moving onClick logic to respective classes Change-Id: I83a8df90d8c5442890bc09fdda17a82b9d134b8a
Diffstat (limited to 'res/drawable')
-rw-r--r--res/drawable/all_apps_handle_landscape.xml37
-rw-r--r--res/drawable/all_apps_handle_portrait.xml34
2 files changed, 20 insertions, 51 deletions
diff --git a/res/drawable/all_apps_handle_landscape.xml b/res/drawable/all_apps_handle_landscape.xml
index 23826ab06..15518ffaa 100644
--- a/res/drawable/all_apps_handle_landscape.xml
+++ b/res/drawable/all_apps_handle_landscape.xml
@@ -15,23 +15,26 @@
-->
<vector xmlns:android="http://schemas.android.com/apk/res/android"
- android:width="13dp"
- android:height="13dp"
- android:viewportWidth="13.0"
- android:viewportHeight="13.0" >
+ android:width="@dimen/dynamic_grid_min_page_indicator_size"
+ android:height="@dimen/dynamic_grid_min_page_indicator_size"
+ android:viewportWidth="48.0"
+ android:viewportHeight="48.0" >
- <path
- android:pathData="M2 8.5L6.5 4L11 8.5"
- android:strokeColor="?attr/workspaceAmbientShadowColor"
- android:strokeWidth="4"
- android:strokeLineCap="round"
- android:strokeLineJoin="round" />
-
- <path
- android:pathData="M2 8.5L6.5 4L11 8.5"
- android:strokeColor="?attr/workspaceTextColor"
- android:strokeWidth="2"
- android:strokeLineCap="round"
- android:strokeLineJoin="round" />
+ <group
+ android:translateX="17.5"
+ android:translateY="17.5">
+ <path
+ android:pathData="M2 8.5L6.5 4L11 8.5"
+ android:strokeColor="?attr/workspaceAmbientShadowColor"
+ android:strokeWidth="4"
+ android:strokeLineCap="round"
+ android:strokeLineJoin="round" />
+ <path
+ android:pathData="M2 8.5L6.5 4L11 8.5"
+ android:strokeColor="?attr/workspaceTextColor"
+ android:strokeWidth="2"
+ android:strokeLineCap="round"
+ android:strokeLineJoin="round" />
+ </group>
</vector>
diff --git a/res/drawable/all_apps_handle_portrait.xml b/res/drawable/all_apps_handle_portrait.xml
deleted file mode 100644
index 75aa44853..000000000
--- a/res/drawable/all_apps_handle_portrait.xml
+++ /dev/null
@@ -1,34 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!-- Copyright (C) 2017 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.
- You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
- Unless required by applicable law or agreed to in writing, software
- distributed under the License is distributed on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- See the License for the specific language governing permissions and
- limitations under the License.
--->
-
-<vector xmlns:android="http://schemas.android.com/apk/res/android"
- android:width="16dp"
- android:height="13dp"
- android:viewportWidth="16.0"
- android:viewportHeight="13.0" >
-
- <path
- android:pathData="M2 6h12"
- android:strokeColor="?attr/workspaceAmbientShadowColor"
- android:strokeWidth="4"
- android:strokeLineCap="round" />
-
- <path
- android:pathData="M2 6h12"
- android:strokeColor="?attr/workspaceTextColor"
- android:strokeWidth="2"
- android:strokeLineCap="round" />
-</vector> \ No newline at end of file