| <?xml version="1.0" encoding="UTF-8"?> |
| <!-- |
| Copyright (C) 2011 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:layout_width="match_parent" |
| android:layout_height="wrap_content" |
| android:layout_gravity="center_vertical" |
| android:orientation="horizontal" |
| android:layout_marginTop="10dip" |
| android:layout_marginLeft="5dip" |
| android:layout_marginRight="5dip" |
| android:layout_marginBottom="15dip"> |
| |
| <LinearLayout |
| android:layout_width="wrap_content" |
| android:layout_height="wrap_content" |
| android:layout_gravity="center_vertical" |
| android:orientation="vertical"> |
| <RelativeLayout |
| android:layout_width="wrap_content" |
| android:layout_height="wrap_content" |
| android:layout_gravity="center_vertical" |
| android:layout_marginLeft="5dip" |
| android:layout_marginRight="10dip"> |
| <ImageView android:id="@+id/overlay_generic" |
| android:layout_width="wrap_content" |
| android:layout_height="wrap_content" |
| android:src="@drawable/effects_generic"/> |
| <ImageView android:id="@+id/overlay_preview" |
| android:layout_width="wrap_content" |
| android:layout_height="wrap_content"/> |
| </RelativeLayout> |
| |
| <Button android:id="@+id/overlay_change_title_template" |
| android:layout_width="wrap_content" |
| android:layout_height="wrap_content" |
| android:layout_marginTop="10dip" |
| android:text="@string/overlay_change_title_template_button_text" /> |
| </LinearLayout>> |
| |
| <LinearLayout |
| android:layout_width="wrap_content" |
| android:layout_height="wrap_content" |
| android:layout_gravity="center_vertical" |
| android:orientation="vertical" |
| android:layout_marginLeft="30dip" |
| android:layout_marginTop="5dip"> |
| <EditText android:id="@+id/overlay_title" |
| android:layout_width="192dip" |
| android:layout_height="wrap_content" |
| android:layout_marginLeft="10dip" |
| android:layout_marginRight="10dip" |
| android:hint="@string/overlay_title_label" |
| android:singleLine="true"/> |
| |
| <EditText android:id="@+id/overlay_subtitle" |
| android:layout_width="192dip" |
| android:layout_height="wrap_content" |
| android:layout_marginTop="5dip" |
| android:layout_marginLeft="10dip" |
| android:layout_marginRight="10dip" |
| android:hint="@string/overlay_subtitle_label" |
| android:singleLine="true"/> |
| |
| <LinearLayout |
| android:layout_width="match_parent" |
| android:layout_height="wrap_content" |
| android:orientation="horizontal" |
| android:layout_gravity="center_horizontal" |
| android:layout_marginTop="20dip"> |
| |
| <Button android:id="@+id/overlay_ok" |
| android:onClick="onClickHandler" |
| android:layout_width="match_parent" |
| android:layout_height="wrap_content" |
| android:layout_weight="1.0" |
| android:text="@android:string/ok"/> |
| <Button android:id="@+id/overlay_cancel" |
| android:onClick="onClickHandler" |
| android:layout_width="match_parent" |
| android:layout_height="wrap_content" |
| android:layout_weight="1.0" |
| android:text="@android:string/cancel"/> |
| </LinearLayout> |
| </LinearLayout> |
| </LinearLayout> |