1<?xml version="1.0" encoding="utf-8"?> 2<!-- 3~ Copyright (C) 2013 The Android Open Source Project 4~ 5~ Licensed under the Apache License, Version 2.0 (the "License"); 6~ you may not use this file except in compliance with the License. 7~ You may obtain a copy of the License at 8~ 9~ http://www.apache.org/licenses/LICENSE-2.0 10~ 11~ Unless required by applicable law or agreed to in writing, software 12~ distributed under the License is distributed on an "AS IS" BASIS, 13~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14~ See the License for the specific language governing permissions and 15~ limitations under the License 16--> 17<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" 18 android:layout_width="match_parent" 19 android:layout_height="match_parent" 20 android:gravity="center_horizontal" 21 android:background="@color/glowpad_background_color"> 22 <RelativeLayout 23 android:id="@+id/accessible_answer_fragment_answer" 24 android:orientation="vertical" 25 android:layout_width="120dp" 26 android:layout_height="120dp" 27 android:focusable="true" 28 android:focusableInTouchMode="true" 29 android:clickable="true" 30 android:layout_alignParentRight="true" 31 android:layout_centerVertical="true" 32 android:layout_marginLeft="16dp" 33 android:layout_marginRight="16dp"> 34 <ImageView 35 android:layout_width="64dp" 36 android:layout_height="64dp" 37 android:src="@drawable/ic_lockscreen_answer_activated_layer" 38 android:layout_centerInParent="true"> 39 </ImageView> 40 <TextView 41 android:layout_width="wrap_content" 42 android:layout_height="wrap_content" 43 android:text="@string/description_target_answer" 44 android:textSize="12sp" 45 android:textColor="@color/accessible_answer_hint_text_color" 46 android:layout_alignParentBottom="true" 47 android:layout_centerHorizontal="true" 48 android:layout_marginBottom="8dp"/> 49 </RelativeLayout> 50 <RelativeLayout 51 android:id="@+id/accessible_answer_fragment_decline" 52 android:orientation="vertical" 53 android:layout_width="120dp" 54 android:layout_height="120dp" 55 android:focusable="true" 56 android:focusableInTouchMode="true" 57 android:clickable="true" 58 android:layout_alignParentLeft="true" 59 android:layout_centerVertical="true" 60 android:layout_marginLeft="16dp" 61 android:layout_marginRight="16dp"> 62 <ImageView 63 android:layout_width="64dp" 64 android:layout_height="64dp" 65 android:src="@drawable/ic_lockscreen_decline_activated_layer" 66 android:layout_centerInParent="true"> 67 </ImageView> 68 <TextView 69 android:layout_width="wrap_content" 70 android:layout_height="wrap_content" 71 android:text="@string/description_target_decline" 72 android:textSize="12sp" 73 android:textColor="@color/accessible_answer_hint_text_color" 74 android:layout_alignParentBottom="true" 75 android:layout_centerHorizontal="true" 76 android:layout_marginBottom="8dp"/> 77 </RelativeLayout> 78 <LinearLayout 79 android:id="@+id/accessible_answer_fragment_text" 80 android:orientation="vertical" 81 android:layout_width="92dp" 82 android:layout_height="92dp" 83 android:focusable="true" 84 android:focusableInTouchMode="true" 85 android:clickable="true" 86 android:layout_alignParentEnd="false" 87 android:layout_alignParentStart="false" 88 android:layout_above="@+id/accessible_answer_fragment_decline" 89 android:layout_alignWithParentIfMissing="false" 90 android:layout_alignParentTop="false" 91 android:layout_alignParentLeft="false" 92 android:layout_alignParentBottom="false" 93 android:layout_alignParentRight="false" 94 android:layout_centerHorizontal="true" 95 android:contentDescription="@string/description_target_send_sms" 96 android:gravity="center"> 97 <ImageView 98 android:layout_width="64dp" 99 android:layout_height="64dp" 100 android:src="@drawable/ic_lockscreen_text"> 101 </ImageView> 102 </LinearLayout> 103 104</RelativeLayout>