instead of chaning the layouts in DeviceProfile Bug: 27721989 Change-Id: I9a22c21e643f4fd0058c9be5e9d705aaf7649204
39 lines
1.5 KiB
XML
39 lines
1.5 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.AppInfoDropTargetBar xmlns:android="http://schemas.android.com/apk/res/android"
|
|
android:layout_width="48dp"
|
|
android:layout_height="match_parent"
|
|
android:focusable="false" >
|
|
|
|
<FrameLayout
|
|
android:id="@+id/drag_target_bar"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent">
|
|
|
|
<!-- Info target -->
|
|
<com.android.launcher3.InfoDropTarget
|
|
android:layout_width="48dp"
|
|
android:layout_height="48dp"
|
|
android:layout_gravity="center_horizontal|bottom"
|
|
android:gravity="center"
|
|
android:paddingLeft="14dp"
|
|
android:paddingRight="14dp"
|
|
android:textColor="@android:color/white"
|
|
android:id="@+id/info_target_text" />
|
|
</FrameLayout>
|
|
|
|
</com.android.launcher3.AppInfoDropTargetBar> |