mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-02-19 02:38:20 +00:00
Back feedback: - Too far from edge of screen - Cancelled (reversed gesture, swiped upwards, etc.) - Inside nav bar region - Demo: https://drive.google.com/open?id=1pc_hr7i-iZmgF37CN8oijPjhOvvsJoEG Home feedback: - Too far from edge of screen - Paused too long (Overview detected) - Swiped sideways instead of up - Demo: https://drive.google.com/open?id=1NGYAlqV2wJtM2DOJ1pZM-r8N1SYVtMos Bug: 148542211 Test: Manual Change-Id: I627ed7c6e9b005d35794e4ae568529b5613cbf70
80 lines
3.3 KiB
XML
80 lines
3.3 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<!--
|
|
Copyright (C) 2018 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.
|
|
-->
|
|
<resources>
|
|
<!-- Task Menu layout styles. -->
|
|
<style name="TaskMenu">
|
|
<item name="android:orientation">vertical</item>
|
|
</style>
|
|
|
|
<!-- Task Menu Option layout styles. -->
|
|
<style name="TaskMenu.Option">
|
|
<item name="android:layout_width">match_parent</item>
|
|
<item name="android:layout_height">wrap_content</item>
|
|
</style>
|
|
|
|
<style name="TextAppearance.GestureTutorial"
|
|
parent="android:TextAppearance.Material.Body1" />
|
|
|
|
<style name="TextAppearance.GestureTutorial.CallToAction"
|
|
parent="android:TextAppearance.Material.Body2" />
|
|
|
|
<style name="TextAppearance.GestureTutorial.Title"
|
|
parent="TextAppearance.GestureTutorial">
|
|
<item name="android:gravity">center</item>
|
|
<item name="android:textColor">@color/gesture_tutorial_title_color</item>
|
|
<item name="android:textSize">28sp</item>
|
|
</style>
|
|
|
|
<style name="TextAppearance.GestureTutorial.Subtitle"
|
|
parent="TextAppearance.GestureTutorial">
|
|
<item name="android:gravity">center</item>
|
|
<item name="android:textColor">@color/gesture_tutorial_subtitle_color</item>
|
|
<item name="android:letterSpacing">0.03</item>
|
|
<item name="android:textSize">21sp</item>
|
|
</style>
|
|
|
|
<style name="TextAppearance.GestureTutorial.Feedback"
|
|
parent="TextAppearance.GestureTutorial">
|
|
<item name="android:gravity">center</item>
|
|
<item name="android:textColor">@color/gesture_tutorial_feedback_color</item>
|
|
<item name="android:letterSpacing">0.03</item>
|
|
<item name="android:textSize">21sp</item>
|
|
</style>
|
|
|
|
<style name="TextAppearance.GestureTutorial.ButtonLabel"
|
|
parent="TextAppearance.GestureTutorial.CallToAction">
|
|
<item name="android:gravity">center</item>
|
|
<item name="android:textColor">@color/gesture_tutorial_action_button_label_color</item>
|
|
<item name="android:letterSpacing">0.02</item>
|
|
<item name="android:textSize">16sp</item>
|
|
<item name="android:textAllCaps">false</item>
|
|
</style>
|
|
|
|
<style name="TextAppearance.GestureTutorial.TextButtonLabel"
|
|
parent="TextAppearance.GestureTutorial.ButtonLabel">
|
|
<item name="android:textColor">@color/gesture_tutorial_primary_color</item>
|
|
</style>
|
|
|
|
<style name="OverviewActionButton"
|
|
parent="@android:style/Widget.DeviceDefault.Button.Borderless">
|
|
<item name="android:textColor">?attr/workspaceTextColor</item>
|
|
<item name="android:drawableTint">?attr/workspaceTextColor</item>
|
|
<item name="android:tint">?attr/workspaceTextColor</item>
|
|
<item name="android:drawablePadding">4dp</item>
|
|
<item name="android:textAllCaps">false</item>
|
|
</style>
|
|
</resources> |