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

Commit d86a9948 authored by Vinit Nayak's avatar Vinit Nayak
Browse files

Add rounded corners to TaskMenu Items

Bug: 188168717
Test: Manual
Change-Id: I7cce42fb08f03a9689b4c5d56ed8208d6f60f7d7
parent bd51e6e3
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">
    <solid android:color="?android:attr/colorPrimary"/>
    <corners android:radius="@dimen/task_menu_item_corner_radius"/>
</shape>
+1 −1
Original line number Diff line number Diff line
@@ -25,7 +25,7 @@

    <TextView
        android:id="@+id/task_name"
        android:background="?android:attr/colorPrimary"
        android:background="@drawable/task_menu_item_bg"
        android:textColor="?android:attr/textColorPrimary"
        android:layout_width="match_parent"
        android:layout_height="match_parent"
+1 −1
Original line number Diff line number Diff line
@@ -21,7 +21,7 @@
    android:orientation="vertical"
    android:paddingTop="@dimen/task_card_menu_option_vertical_padding"
    android:paddingBottom="@dimen/task_card_menu_option_vertical_padding"
    android:background="?android:attr/colorPrimary"
    android:background="@drawable/task_menu_item_bg"
    android:theme="@style/PopupItem" >

    <View
+1 −0
Original line number Diff line number Diff line
@@ -24,6 +24,7 @@

    <!--  Task Menu View  -->
    <dimen name="task_menu_corner_radius">22dp</dimen>
    <dimen name="task_menu_item_corner_radius">4dp</dimen>
    <dimen name="overview_proactive_row_height">48dp</dimen>
    <dimen name="overview_proactive_row_bottom_margin">16dp</dimen>