62 lines
2.6 KiB
XML
62 lines
2.6 KiB
XML
<?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.
|
|
-->
|
|
<com.android.launcher3.DropTargetBar
|
|
android:theme="@style/HomeScreenElementTheme"
|
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
|
android:layout_width="@dimen/dynamic_grid_drop_target_size"
|
|
android:orientation="vertical"
|
|
android:layout_height="match_parent"
|
|
android:layout_gravity="left"
|
|
android:visibility="invisible"
|
|
android:focusable="false"
|
|
android:paddingTop="@dimen/vert_drop_target_vertical_gap" >
|
|
|
|
<!-- Delete target -->
|
|
<com.android.launcher3.DeleteDropTarget
|
|
android:layout_width="match_parent"
|
|
android:layout_height="@dimen/dynamic_grid_drop_target_size"
|
|
android:gravity="center"
|
|
android:paddingLeft="@dimen/vert_drop_target_horizontal_gap"
|
|
android:paddingRight="@dimen/vert_drop_target_horizontal_gap"
|
|
android:id="@+id/delete_target_text" />
|
|
|
|
<!-- Uninstall target -->
|
|
<com.android.launcher3.UninstallDropTarget
|
|
android:layout_width="match_parent"
|
|
android:layout_height="@dimen/dynamic_grid_drop_target_size"
|
|
android:gravity="center"
|
|
android:paddingLeft="@dimen/vert_drop_target_horizontal_gap"
|
|
android:paddingRight="@dimen/vert_drop_target_horizontal_gap"
|
|
android:id="@+id/uninstall_target_text"
|
|
android:layout_marginTop="@dimen/vert_drop_target_vertical_gap"/>
|
|
|
|
<Space
|
|
android:layout_width="match_parent"
|
|
android:layout_height="0dp"
|
|
android:layout_weight="1" />
|
|
|
|
<!-- App Info -->
|
|
<com.android.launcher3.InfoDropTarget
|
|
android:layout_width="match_parent"
|
|
android:layout_height="@dimen/dynamic_grid_drop_target_size"
|
|
android:gravity="center"
|
|
android:paddingLeft="@dimen/vert_drop_target_horizontal_gap"
|
|
android:paddingRight="@dimen/vert_drop_target_horizontal_gap"
|
|
android:id="@+id/info_target_text"
|
|
android:layout_marginBottom="64dp"/>
|
|
|
|
</com.android.launcher3.DropTargetBar> |