Merge "Move bouncer to the bottom, but only on phones."

This commit is contained in:
Jorim Jaggi
2014-04-17 19:57:25 +00:00
committed by Android (Google) Code Review
3 changed files with 31 additions and 3 deletions

View File

@ -24,8 +24,10 @@
android:layout_width="match_parent"
android:layout_height="match_parent"/>
<include layout="@layout/keyguard_simple_host_view"
android:layout_width="match_parent"
android:layout_height="match_parent"/>
<include
style="@style/BouncerSecurityContainer"
layout="@layout/keyguard_simple_host_view"
android:layout_width="wrap_content"
android:layout_height="wrap_content"/>
</FrameLayout>

View File

@ -0,0 +1,21 @@
<!--
~ 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
-->
<resources>
<style name="BouncerSecurityContainer">
<item name="android:layout_gravity">center</item>
</style>
</resources>

View File

@ -81,4 +81,9 @@
<item name="android:mirrorForRtl">true</item>
</style>
<style name="BouncerSecurityContainer">
<item name="android:layout_marginBottom">32dp</item>
<item name="android:layout_gravity">center_horizontal|bottom</item>
</style>
</resources>