diff options
author | Adam Cohen <adamcohen@google.com> | 2014-10-16 09:49:24 -0700 |
---|---|---|
committer | Danesh M <daneshm90@gmail.com> | 2015-09-27 18:54:39 -0700 |
commit | 3eb06355e212fc442fc58f096276cd8b9ef2caa3 (patch) | |
tree | bfe407f0c37c2375533763d2b3e98f3dff3f0c6a /res/layout/launcher_overlay_example.xml | |
parent | e44e7153ffb24f612de69506979b61d4b48e2faf (diff) | |
download | android_packages_apps_Trebuchet-3eb06355e212fc442fc58f096276cd8b9ef2caa3.tar.gz android_packages_apps_Trebuchet-3eb06355e212fc442fc58f096276cd8b9ef2caa3.tar.bz2 android_packages_apps_Trebuchet-3eb06355e212fc442fc58f096276cd8b9ef2caa3.zip |
First pass of the Launcher Overlay interface / impl
-> Added simple reference launcher extension
-> Make launcher able to handle a null qsb
Change-Id: Ib1575243cac800a335e95bbf00cdc394bb4741c3
Diffstat (limited to 'res/layout/launcher_overlay_example.xml')
-rw-r--r-- | res/layout/launcher_overlay_example.xml | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/res/layout/launcher_overlay_example.xml b/res/layout/launcher_overlay_example.xml new file mode 100644 index 000000000..422f2811a --- /dev/null +++ b/res/layout/launcher_overlay_example.xml @@ -0,0 +1,37 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- Copyright (C) 2008 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. +--> + +<FrameLayout + xmlns:android="http://schemas.android.com/apk/res/android" + android:layout_width="match_parent" + android:layout_height="match_parent"> + + <FrameLayout + android:id="@+id/search_overlay" + android:layout_width="match_parent" + android:layout_height="match_parent" + android:background="#ff00ff00" + android:visibility="invisible" /> + + <FrameLayout + android:id="@+id/search_box" + android:layout_width="match_parent" + android:layout_height="48dp" + android:layout_marginLeft="8dp" + android:layout_marginRight="8dp" + android:layout_marginTop="36dp" + android:background="#ffff0000" /> +</FrameLayout> |