mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-02-27 23:36:47 +00:00
Adding support for overriding hotseat Widget
Bug: 131360075 Change-Id: I94151cb2987d7decea283790ab9e87cb4627d40c
This commit is contained in:
24
res/layout/hotseat.xml
Normal file
24
res/layout/hotseat.xml
Normal file
@@ -0,0 +1,24 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- Copyright (C) 2019 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.Hotseat
|
||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:launcher="http://schemas.android.com/apk/res-auto"
|
||||
android:id="@+id/hotseat"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:theme="@style/HomeScreenElementTheme"
|
||||
android:importantForAccessibility="no"
|
||||
launcher:containerType="hotseat" />
|
||||
@@ -39,13 +39,9 @@
|
||||
launcher:pageIndicator="@+id/page_indicator" />
|
||||
|
||||
<!-- DO NOT CHANGE THE ID -->
|
||||
<com.android.launcher3.Hotseat
|
||||
<include
|
||||
android:id="@+id/hotseat"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:theme="@style/HomeScreenElementTheme"
|
||||
android:importantForAccessibility="no"
|
||||
launcher:containerType="hotseat" />
|
||||
layout="@layout/hotseat" />
|
||||
|
||||
<include
|
||||
android:id="@+id/overview_panel"
|
||||
|
||||
Reference in New Issue
Block a user