diff options
author | Dan Pasanen <dan.pasanen@gmail.com> | 2017-04-05 07:26:34 -0500 |
---|---|---|
committer | Dan Pasanen <dan.pasanen@gmail.com> | 2017-04-05 07:26:34 -0500 |
commit | 4f8e6f18ca8790d99ad6a961d40749bb85401dac (patch) | |
tree | 82e25618e66133c4d5b7bcb92bb63318c32dfe80 /res/layout-watch/accept_deny_dialog.xml | |
parent | 0fc5fe15f2571c7b117e87737b633ad9cc2aaf08 (diff) | |
parent | e1dbf0e2600ab6c7f5cc47621d85d0c38a27f5ff (diff) | |
download | android_packages_apps_PackageInstaller-staging/cm-14.1_android-7.1.2_r2.tar.gz android_packages_apps_PackageInstaller-staging/cm-14.1_android-7.1.2_r2.tar.bz2 android_packages_apps_PackageInstaller-staging/cm-14.1_android-7.1.2_r2.zip |
Merge tag 'android-7.1.2_r2' into cm-14.1staging/cm-14.1_android-7.1.2_r2
Android 7.1.2 Release 2 (N2G47E)
# gpg: Signature made Mon 03 Apr 2017 01:41:50 AM CDT
# gpg: using DSA key E8AD3F819AB10E78
# gpg: Can't check signature: No public key
Diffstat (limited to 'res/layout-watch/accept_deny_dialog.xml')
-rw-r--r-- | res/layout-watch/accept_deny_dialog.xml | 111 |
1 files changed, 111 insertions, 0 deletions
diff --git a/res/layout-watch/accept_deny_dialog.xml b/res/layout-watch/accept_deny_dialog.xml new file mode 100644 index 00000000..1a0509ee --- /dev/null +++ b/res/layout-watch/accept_deny_dialog.xml @@ -0,0 +1,111 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- Copyright (C) 2016 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. +--> +<ScrollView + xmlns:android="http://schemas.android.com/apk/res/android" + android:fillViewport="true" + android:layout_width="match_parent" + android:layout_height="match_parent"> + <LinearLayout + android:id="@android:id/content" + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:orientation="vertical"> + + <FrameLayout + android:adjustViewBounds="true" + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:minHeight="@dimen/diag_preferred_padding"> + <ImageView android:id="@android:id/icon" + android:adjustViewBounds="true" + android:maxHeight="24dp" + android:maxWidth="24dp" + android:layout_marginTop="@dimen/diag_icon_margin_top" + android:layout_marginBottom="8dp" + android:layout_gravity="center_horizontal" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:scaleType="centerInside" + android:visibility="gone" + android:src="@null" /> + </FrameLayout> + + <TextView android:id="@android:id/title" + android:gravity="center" + android:layout_marginBottom="8dp" + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:paddingLeft="@dimen/diag_preferred_padding" + android:paddingRight="@dimen/diag_preferred_padding" + android:textAppearance="@android:style/TextAppearance.Material.Title" /> + + <TextView + android:id="@android:id/message" + android:gravity="center" + android:layout_marginBottom="8dp" + android:layout_height="wrap_content" + android:layout_width="match_parent" + android:paddingLeft="@dimen/diag_preferred_padding" + android:paddingRight="@dimen/diag_preferred_padding" + android:textAppearance="@android:style/TextAppearance.Material.Subhead" + android:visibility="gone" /> + + <FrameLayout + android:id="@+id/buttonPanel" + android:layout_weight="1" + android:layout_width="match_parent" + android:layout_height="wrap_content"> + <LinearLayout + android:id="@+id/buttonContainer" + android:orientation="horizontal" + android:gravity="center_horizontal|top" + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:layout_gravity="bottom" + android:paddingTop="8dp" + android:paddingBottom="@dimen/diag_button_padding_bottom" + android:paddingLeft="@dimen/diag_button_padding_horizontal" + android:paddingRight="@dimen/diag_button_padding_horizontal" + style="?android:attr/buttonBarStyle"> + + <ImageButton + android:id="@android:id/button2" + android:src="@drawable/ic_cc_clear" + android:background="@drawable/accept_deny_dialog_negative_bg" + android:contentDescription="@string/generic_cancel" + android:layout_width="@dimen/diag_button_size" + android:layout_height="@dimen/diag_button_size" + android:visibility="gone" /> + + <Space + android:id="@+id/spacer" + android:layout_width="0dp" + android:layout_height="0dp" + android:visibility="gone" + android:layout_weight="1" /> + + <ImageButton + android:id="@android:id/button1" + android:src="@drawable/ic_cc_checkmark" + android:background="@drawable/accept_deny_dialog_positive_bg" + android:contentDescription="@string/generic_yes" + android:layout_width="@dimen/diag_button_size" + android:layout_height="@dimen/diag_button_size" + android:visibility="gone" /> + </LinearLayout> + </FrameLayout> + </LinearLayout> +</ScrollView> |