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

Commit 838626ec authored by Matt Casey's avatar Matt Casey
Browse files

Simplifications for shelf_action_chip

Remove custom wrapper class, don't set alpha.

Bug: 329659738
Test: Manual verification
Flag: ACONFIG com.android.systemui.screenshot_shelf_ui DEVELOPMENT
Change-Id: Id1b0d9656b79180bf5489a848721ab4caa289c68
parent 3116b729
Loading
Loading
Loading
Loading
+16 −22
Original line number Diff line number Diff line
@@ -14,22 +14,17 @@
  ~ See the License for the specific language governing permissions and
  ~ limitations under the License.
  -->
<com.android.systemui.screenshot.OverlayActionChip
<LinearLayout
    xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:androidprv="http://schemas.android.com/apk/prv/res/android"
    android:id="@+id/overlay_action_chip"
    android:theme="@style/FloatingOverlay"
    android:layout_width="wrap_content"
    android:layout_height="wrap_content"
    android:layout_gravity="center"
    android:gravity="center"
    android:alpha="0.0">
    <LinearLayout
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
    android:orientation="horizontal"
    android:paddingVertical="@dimen/overlay_action_chip_padding_vertical"
    android:gravity="center"
    android:background="@drawable/shelf_action_chip_background"
        android:gravity="center">
    >
    <ImageView
        android:id="@+id/overlay_action_chip_icon"
        android:tint="?androidprv:attr/materialColorOnSecondary"
@@ -43,4 +38,3 @@
        android:textSize="@dimen/overlay_action_chip_text_size"
        android:textColor="?androidprv:attr/materialColorOnSecondary"/>
</LinearLayout>
</com.android.systemui.screenshot.OverlayActionChip>