diff options
Diffstat (limited to 'res/layout/security_hold_view.xml')
-rw-r--r-- | res/layout/security_hold_view.xml | 56 |
1 files changed, 56 insertions, 0 deletions
diff --git a/res/layout/security_hold_view.xml b/res/layout/security_hold_view.xml new file mode 100644 index 000000000..025fd40a5 --- /dev/null +++ b/res/layout/security_hold_view.xml @@ -0,0 +1,56 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- + Copyright (C) 2014 Google Inc. + Licensed to 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:id="@+id/security_hold_view" + android:layout_width="match_parent" + android:layout_height="match_parent" + android:gravity="center" + android:orientation="vertical" + android:visibility="invisible" > + + <ImageView + android:id="@+id/security_hold_icon" + android:layout_height="wrap_content" + android:layout_width="wrap_content" + android:src="@drawable/ic_warning_56dp"/> + + <TextView + android:id="@+id/security_hold_text" + android:fontFamily="sans-serif-light" + android:gravity="center" + android:layout_height="wrap_content" + android:layout_width="wrap_content" + android:layout_marginTop="20dp" + android:maxWidth="@dimen/security_hold_text_width" + android:textAllCaps="true" + android:textColor="#212121" + android:textSize="@dimen/security_hold_view_text_size"/> + + <TextView + android:id="@+id/security_hold_button" + android:fontFamily="sans-serif-light" + android:gravity="center" + android:layout_height="wrap_content" + android:layout_width="wrap_content" + android:layout_marginTop="60dp" + android:text="@string/update_security_text" + android:textColor="#00BFD8" + android:textSize="@dimen/security_hold_view_text_size"/> + +</LinearLayout> |