diff options
author | Jorim Jaggi <jjaggi@google.com> | 2014-07-25 22:13:24 +0200 |
---|---|---|
committer | Jorim Jaggi <jjaggi@google.com> | 2014-07-25 22:13:24 +0200 |
commit | da1da5d52c5d37e7d9e18127a25199aa708c4253 (patch) | |
tree | 6ca92415a77e3f022dd82d949f4a24094e4c4989 /res | |
parent | 60e36d8b2bd1e9a4e5f1eb633a8c58d10f6a2ad4 (diff) |
Add preview layout for lockscreen phone affordance
With the new interaction to launch the phone from the lockscreen, Dialer needs
to provide a static layout which looks as close as possible to the screen after
Dialer is fully loaded.
Bug: 15126905
Change-Id: Ide1a54833ed00a9e8854408d7cb872d33633b6e5
Diffstat (limited to 'res')
-rw-r--r-- | res/layout/keyguard_preview.xml | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/res/layout/keyguard_preview.xml b/res/layout/keyguard_preview.xml new file mode 100644 index 000000000..0a552687e --- /dev/null +++ b/res/layout/keyguard_preview.xml @@ -0,0 +1,34 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- + ~ Copyright (C) 2014 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 + --> +<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" + android:orientation="vertical" + android:layout_height="match_parent" + android:layout_width="match_parent"> + <View + android:layout_width="match_parent" + android:layout_height="25dp" + android:background="@color/dialer_theme_color_dark" /> + <View + android:layout_width="match_parent" + android:layout_height="@dimen/actionbar_and_tab_height" + android:background="@color/dialer_theme_color" /> + <View + android:layout_width="match_parent" + android:layout_weight="1" + android:layout_height="0dp" + android:background="#ffffff" /> +</LinearLayout> |