Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit ebdab615 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Automerger Merge Worker
Browse files

Merge "Controls on lockscreen" into sc-dev am: ec1a3f05

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/13494452

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I6ac522cdf3ab11e879235124102461c5bfb72f42
parents 0d47a5be ec1a3f05
Loading
Loading
Loading
Loading
+21 −0
Original line number Diff line number Diff line
<?xml version="1.0" encoding="utf-8"?>
<!--
     Copyright (C) 2021 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.
-->
<shape xmlns:android="http://schemas.android.com/apk/res/android"
       android:shape="rectangle">
    <solid android:color="?android:attr/colorBackgroundFloating" />
    <corners android:radius="@dimen/notification_corner_radius" />
</shape>
+45 −0
Original line number Diff line number Diff line
<?xml version="1.0" encoding="utf-8"?>
<!--
     Copyright (C) 2021 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/control_detail_root"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    android:layout_marginVertical="@dimen/controls_activity_view_top_offset"
    android:layout_marginHorizontal="@dimen/controls_activity_view_side_offset"
    android:padding="8dp"
    android:orientation="vertical"
    android:background="@drawable/controls_dialog_bg">

  <com.android.systemui.globalactions.MinHeightScrollView
      android:layout_width="match_parent"
      android:layout_height="0dp"
      android:layout_weight="1"
      android:orientation="vertical"
      android:scrollbars="none">

    <LinearLayout
        android:id="@+id/global_actions_controls"
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:clipChildren="false"
        android:orientation="vertical"
        android:clipToPadding="false" />

  </com.android.systemui.globalactions.MinHeightScrollView>
</LinearLayout>
+11 −0
Original line number Diff line number Diff line
@@ -81,6 +81,17 @@
        android:contentDescription="@string/accessibility_phone_button"
        android:tint="?attr/wallpaperTextColor" />

    <ImageView
        android:id="@+id/alt_left_button"
        android:layout_height="@dimen/keyguard_affordance_height"
        android:layout_width="@dimen/keyguard_affordance_width"
        android:layout_gravity="bottom|start"
        android:scaleType="center"
        android:tint="?attr/wallpaperTextColor"
        android:layout_marginStart="24dp"
        android:layout_marginBottom="48dp"
        android:visibility="gone" />

    <FrameLayout
        android:id="@+id/overlay_container"
        android:layout_width="match_parent"
+1 −0
Original line number Diff line number Diff line
@@ -264,6 +264,7 @@
    <color name="control_enabled_cool_foreground">@color/GM2_blue_300</color>
    <color name="control_thumbnail_tint">#33000000</color>
    <color name="control_thumbnail_shadow_color">@*android:color/black</color>
    <color name="controls_lockscreen_scrim">#AA000000</color>

    <!-- Docked misalignment message -->
    <color name="misalignment_text_color">#F28B82</color>
+1 −0
Original line number Diff line number Diff line
@@ -1260,6 +1260,7 @@

    <!-- Home Controls activity view detail panel-->
    <dimen name="controls_activity_view_top_offset">100dp</dimen>
    <dimen name="controls_activity_view_side_offset">12dp</dimen>
    <dimen name="controls_activity_view_text_size">17sp</dimen>
    <dimen name="controls_activity_view_corner_radius">@*android:dimen/config_bottomDialogCornerRadius</dimen>

Loading