b59b94456b
(Updated test app to confirm the fix.) Change-Id: Ife56cf07f282786162e2ebc5aaddbb24dac6cafd
59 lines
2.0 KiB
XML
59 lines
2.0 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<!--
|
|
/* apps/common/assets/default/default/skins/StatusBar.xml
|
|
**
|
|
** Copyright 2006, 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.
|
|
*/
|
|
-->
|
|
|
|
<!-- android:background="@drawable/status_bar_closed_default_background" -->
|
|
<FrameLayout
|
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
|
android:layout_height="32dip"
|
|
android:layout_width="match_parent"
|
|
android:paddingLeft="8dip"
|
|
android:paddingRight="8dip"
|
|
>
|
|
|
|
<LinearLayout
|
|
android:id="@+id/intruder_alert_content"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:gravity="center"
|
|
android:animationCache="false"
|
|
android:orientation="horizontal"
|
|
android:background="@drawable/alert_bar_background"
|
|
android:clickable="true"
|
|
android:focusable="true"
|
|
android:descendantFocusability="afterDescendants"
|
|
>
|
|
|
|
<ImageView
|
|
android:id="@+id/alertIcon"
|
|
android:layout_width="25dip"
|
|
android:layout_height="25dip"
|
|
android:layout_marginLeft="6dip"
|
|
android:layout_marginRight="8dip"
|
|
/>
|
|
<TextView
|
|
android:id="@+id/alertText"
|
|
android:textAppearance="@style/TextAppearance.StatusBar.IntruderAlert"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:singleLine="true"
|
|
/>
|
|
</LinearLayout>
|
|
</FrameLayout>
|