• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1<?xml version="1.0" encoding="utf-8"?>
2<!-- Copyright (C) 2011 The Android Open Source Project
3
4     Licensed under the Apache License, Version 2.0 (the "License");
5     you may not use this file except in compliance with the License.
6     You may obtain a copy of the License at
7
8          http://www.apache.org/licenses/LICENSE-2.0
9
10     Unless required by applicable law or agreed to in writing, software
11     distributed under the License is distributed on an "AS IS" BASIS,
12     WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13     See the License for the specific language governing permissions and
14     limitations under the License.
15-->
16
17<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
18        android:id="@+id/bg_replace_message_frame"
19        android:layout_height="match_parent"
20        android:layout_width="match_parent"
21        android:visibility="gone"
22        android:onClick="onProtectiveCurtainClick"
23        android:background="#77000000">
24    <com.android.camera.ui.RotateLayout
25            android:id="@+id/bg_replace_message"
26            android:layout_height="wrap_content"
27            android:layout_width="wrap_content"
28            android:layout_centerInParent="true">
29        <LinearLayout
30                android:layout_height="wrap_content"
31                android:layout_width="wrap_content"
32                android:orientation="vertical"
33                android:background="@drawable/dialog_full_holo_dark">
34            <TextView
35                    android:layout_width="wrap_content"
36                    android:layout_height="wrap_content"
37                    android:textAppearance="?android:attr/textAppearanceMedium"
38                    android:text="@string/bg_replacement_message"
39                    android:padding="32dp" />
40
41            <View
42                    android:layout_width="match_parent"
43                    android:layout_height="1px"
44                    android:background="#aaaaaa" />
45
46            <Button android:id="@+id/bg_replace_cancel_button"
47                    android:layout_width="match_parent"
48                    android:layout_height="48dip"
49                    android:layout_gravity="center"
50                    android:textAppearance="?android:attr/textAppearanceMedium"
51                    style="?android:attr/borderlessButtonStyle"
52                    android:text="@android:string/cancel"
53                    android:onClick="onCancelBgTraining"/>
54        </LinearLayout>
55    </com.android.camera.ui.RotateLayout>
56</RelativeLayout>
57