diff options
Diffstat (limited to 'res/xml/uninstall_button_preference_widget.xml')
-rw-r--r-- | res/xml/uninstall_button_preference_widget.xml | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/res/xml/uninstall_button_preference_widget.xml b/res/xml/uninstall_button_preference_widget.xml new file mode 100644 index 000000000..13c86f861 --- /dev/null +++ b/res/xml/uninstall_button_preference_widget.xml @@ -0,0 +1,41 @@ +<!-- + ~ Copyright (C) 2020 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:id="@+id/widget_frame" + android:layout_width="match_parent" + android:layout_height="match_parent" + android:orientation="horizontal" > + <View + android:id="@+id/divider" + android:layout_width="1dp" + android:layout_height="24dp" + android:layout_marginLeft="16dp" + android:layout_marginRight="16dp" + android:layout_gravity="end|center_vertical" + android:theme="@style/AutoRevokeDivider"/> + + <ImageButton + android:id="@+id/uninstall_button" + style="@style/SettingsActionButton" + android:layout_width="24dp" + android:layout_height="24dp" + android:layout_gravity="end|center_vertical" + android:contentDescription="@string/uninstall_or_disable" + android:src="@drawable/ic_settings_delete" + /> + +</LinearLayout>
\ No newline at end of file |