1<?xml version="1.0" encoding="utf-8"?> 2<!-- 3** 4** Copyright 2012, The Android Open Source Project 5** 6** Licensed under the Apache License, Version 2.0 (the "License"); 7** you may not use this file except in compliance with the License. 8** You may obtain a copy of the License at 9** 10** http://www.apache.org/licenses/LICENSE-2.0 11** 12** Unless required by applicable law or agreed to in writing, software 13** distributed under the License is distributed on an "AS IS" BASIS, 14** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 15** See the License for the specific language governing permissions and 16** limitations under the License. 17*/ 18--> 19 20<!-- This is the combined status bar / notification panel window. --> 21<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" 22 xmlns:systemui="http://schemas.android.com/apk/res/com.android.systemui" 23 xmlns:tools="http://schemas.android.com/tools" 24 android:id="@+id/status_bar_cling" 25 android:paddingStart="40dp" 26 android:paddingEnd="40dp" 27 android:background="#DD000000" 28 android:focusable="true" 29 android:orientation="horizontal" 30 android:gravity="top|start" 31 > 32 33 <ImageView 34 android:layout_width="wrap_content" 35 android:layout_weight="0" 36 android:layout_height="wrap_content" 37 android:layout_marginEnd="50dp" 38 android:gravity="center" 39 android:src="@drawable/arrow_dashed" 40 tools:ignore="ContentDescription" /> 41 42 <LinearLayout 43 android:layout_width="match_parent" 44 android:layout_height="wrap_content" 45 android:layout_weight="1" 46 android:orientation="vertical" 47 android:layout_marginTop="40dp" 48 > 49 <TextView 50 style="@style/ClingTitleText" 51 android:layout_width="match_parent" 52 android:layout_height="wrap_content" 53 android:text="@string/status_bar_help_title" /> 54 55 <TextView 56 style="@style/ClingText" 57 android:layout_width="match_parent" 58 android:layout_height="wrap_content" 59 android:layout_marginBottom="30dp" 60 android:text="@string/status_bar_help_text" /> 61 62 <Button 63 android:id="@+id/ok" 64 style="@style/ClingButton" 65 android:layout_width="wrap_content" 66 android:layout_height="wrap_content" 67 android:paddingStart="50dp" 68 android:paddingEnd="50dp" 69 android:text="@android:string/ok" /> 70 </LinearLayout> 71</LinearLayout> 72