summaryrefslogtreecommitdiffstats
path: root/res
diff options
context:
space:
mode:
authorWinson Chung <winsonc@google.com>2013-07-26 15:07:49 -0700
committerWinson Chung <winsonc@google.com>2013-07-26 15:07:49 -0700
commit82dfe585143b8cc8b082e4ba42c58a66187994dd (patch)
tree86efd15f64c0534e8a4038c15295bd0a4ac24ffd /res
parentbffe745b1e195deedc1dcc60f37950b3b0b4c652 (diff)
downloadandroid_packages_apps_Trebuchet-82dfe585143b8cc8b082e4ba42c58a66187994dd.tar.gz
android_packages_apps_Trebuchet-82dfe585143b8cc8b082e4ba42c58a66187994dd.tar.bz2
android_packages_apps_Trebuchet-82dfe585143b8cc8b082e4ba42c58a66187994dd.zip
Adding support for custom page indicator markers.
Change-Id: I057b0cccc4194157d92ebb123af2afaf94fb5415
Diffstat (limited to 'res')
-rw-r--r--res/drawable-hdpi/now_page.pngbin0 -> 1353 bytes
-rw-r--r--res/drawable-mdpi/now_page.pngbin0 -> 1227 bytes
-rw-r--r--res/drawable-xhdpi/now_page.pngbin0 -> 1297 bytes
-rw-r--r--res/layout/now_page_indicator_marker.xml34
4 files changed, 34 insertions, 0 deletions
diff --git a/res/drawable-hdpi/now_page.png b/res/drawable-hdpi/now_page.png
new file mode 100644
index 000000000..9eef50c92
--- /dev/null
+++ b/res/drawable-hdpi/now_page.png
Binary files differ
diff --git a/res/drawable-mdpi/now_page.png b/res/drawable-mdpi/now_page.png
new file mode 100644
index 000000000..cc4005ded
--- /dev/null
+++ b/res/drawable-mdpi/now_page.png
Binary files differ
diff --git a/res/drawable-xhdpi/now_page.png b/res/drawable-xhdpi/now_page.png
new file mode 100644
index 000000000..e1da91c61
--- /dev/null
+++ b/res/drawable-xhdpi/now_page.png
Binary files differ
diff --git a/res/layout/now_page_indicator_marker.xml b/res/layout/now_page_indicator_marker.xml
new file mode 100644
index 000000000..7d0562743
--- /dev/null
+++ b/res/layout/now_page_indicator_marker.xml
@@ -0,0 +1,34 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Copyright (C) 2013 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.
+-->
+<com.android.launcher3.PageIndicatorMarker
+ xmlns:android="http://schemas.android.com/apk/res/android"
+ xmlns:launcher="http://schemas.android.com/apk/res-auto/com.android.launcher3"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content">
+ <ImageView
+ android:id="@+id/inactive"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:src="@drawable/now_page"
+ />
+ <ImageView
+ android:id="@+id/active"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:src="@drawable/now_page"
+ android:alpha="0"
+ />
+</com.android.launcher3.PageIndicatorMarker>