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

Commit de541612 authored by Treehugger Robot's avatar Treehugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Simplifications for shelf_action_chip" into main

parents c3dfd44e 838626ec
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>