| <?xml version="1.0" encoding="utf-8"?> |
| <!-- |
| /* |
| * Copyright (C) 2008 Esmertec AG. |
| * Copyright (C) 2008 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:orientation="vertical"> |
| |
| <LinearLayout |
| android:layout_width="match_parent" |
| android:layout_height="wrap_content" |
| android:orientation="vertical" |
| android:layout_marginLeft="14dip" |
| android:layout_marginRight="14dip"> |
| <LinearLayout |
| android:layout_width="match_parent" |
| android:layout_height="wrap_content" |
| android:orientation="horizontal" |
| android:gravity="center_vertical" |
| android:layout_marginTop="2dip" |
| android:layout_marginBottom="5dip" |
| android:layout_marginLeft="2dip" |
| android:layout_marginRight="5dip"> |
| <ImageView |
| android:layout_width="wrap_content" |
| android:layout_height="wrap_content" |
| android:paddingLeft="10dip" |
| android:src="@android:drawable/ic_dialog_alert"/> |
| <TextView |
| style="?android:attr/textAppearanceLarge" |
| android:paddingLeft="10dip" |
| android:paddingTop="10dip" |
| android:paddingBottom="10dip" |
| android:layout_width="match_parent" |
| android:layout_height="wrap_content" |
| android:gravity="center_vertical" |
| android:text="@string/rate_limit_surpassed" /> |
| </LinearLayout> |
| <ImageView |
| android:layout_width="match_parent" |
| android:layout_height="wrap_content" |
| android:src="@android:drawable/divider_horizontal_dark"/> |
| </LinearLayout> |
| |
| <LinearLayout |
| android:layout_width="match_parent" |
| android:layout_height="0dip" |
| android:layout_weight="1" |
| android:orientation="vertical" |
| android:layout_marginLeft="14dip" |
| android:layout_marginRight="14dip"> |
| <TextView |
| style="?android:attr/textAppearanceMedium" |
| android:layout_width="match_parent" |
| android:layout_height="wrap_content" |
| android:padding="5dip" |
| android:text="@string/confirm_rate_limit" /> |
| </LinearLayout> |
| |
| <LinearLayout android:id="@+id/buttonPanel" |
| android:layout_width="match_parent" |
| android:layout_height="wrap_content" |
| android:layout_marginLeft="14dip" |
| android:layout_marginRight="14dip" |
| android:orientation="vertical" > |
| |
| <LinearLayout |
| android:layout_width="match_parent" |
| android:layout_height="1dip" |
| android:layout_marginBottom="2dip" |
| android:background="@android:drawable/divider_horizontal_bright" |
| android:orientation="vertical" /> |
| <LinearLayout |
| android:layout_width="match_parent" |
| android:layout_height="wrap_content" |
| android:orientation="horizontal" > |
| <Button android:id="@+id/btn_yes" |
| android:layout_width="0dip" |
| android:layout_gravity="left" |
| android:layout_weight="1" |
| android:maxLines="2" |
| android:layout_height="wrap_content" |
| android:text="@android:string/yes" /> |
| <Button android:id="@+id/btn_no" |
| android:layout_width="0dip" |
| android:layout_gravity="right" |
| android:layout_weight="1" |
| android:maxLines="2" |
| android:layout_height="wrap_content" |
| android:text="@android:string/no"> |
| </Button> |
| </LinearLayout> |
| </LinearLayout> |
| </LinearLayout> |