Home | History | Annotate | Download | only in layout
      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="vertical" 
     30     android:gravity="top|start"
     31     >
     32 
     33     <ImageView
     34         android:layout_width="match_parent"
     35         android:layout_height="wrap_content"
     36         android:layout_marginBottom="50dp"
     37         android:gravity="center"
     38         android:src="@drawable/arrow_dashed"
     39         tools:ignore="ContentDescription" />
     40 
     41     <TextView
     42         style="@style/ClingTitleText"
     43         android:layout_width="match_parent"
     44         android:layout_height="wrap_content"
     45         android:text="@string/status_bar_help_title" />
     46 
     47     <TextView
     48         style="@style/ClingText"
     49         android:layout_width="match_parent"
     50         android:layout_height="wrap_content"
     51         android:layout_marginBottom="30dp"
     52         android:text="@string/status_bar_help_text" />
     53 
     54     <Button
     55         android:id="@+id/ok"
     56         style="@style/ClingButton"
     57         android:layout_width="wrap_content"
     58         android:layout_height="wrap_content"
     59         android:paddingStart="50dp"
     60         android:paddingEnd="50dp"
     61         android:text="@android:string/ok" />
     62 
     63 </LinearLayout>