Chnage materialColorPrimaryContainer to materialColorPrimary Change materialColorSurfaceContainerHigh to materialColorSurfaceContainerHighest Bug: 277712746 Test: manual Change-Id: I7b23850a24718d28020f6a7b13119c69f50861b1
		
			
				
	
	
		
			50 lines
		
	
	
		
			2.0 KiB
		
	
	
	
		
			XML
		
	
	
	
	
	
			
		
		
	
	
			50 lines
		
	
	
		
			2.0 KiB
		
	
	
	
		
			XML
		
	
	
	
	
	
<?xml version="1.0" encoding="utf-8"?>
 | 
						|
<!-- Copyright (C) 2022 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.
 | 
						|
-->
 | 
						|
 | 
						|
<RelativeLayout
 | 
						|
    xmlns:android="http://schemas.android.com/apk/res/android"
 | 
						|
    xmlns:androidprv="http://schemas.android.com/apk/prv/res/android"
 | 
						|
    android:layout_width="match_parent"
 | 
						|
    android:layout_height="wrap_content"
 | 
						|
    android:layout_marginTop="8dip"
 | 
						|
    android:layout_marginBottom="8dip"
 | 
						|
    android:minHeight="?android:attr/listPreferredItemHeight"
 | 
						|
    android:paddingEnd="?android:attr/scrollbarSize"
 | 
						|
    android:layout_weight="1">
 | 
						|
 | 
						|
    <ImageView
 | 
						|
        android:id="@+id/modifier_key_check_icon"
 | 
						|
        android:layout_width="wrap_content"
 | 
						|
        android:layout_height="wrap_content"
 | 
						|
        android:layout_centerVertical="true"
 | 
						|
        android:layout_alignParentStart="true"
 | 
						|
        android:layout_marginStart="24dip"
 | 
						|
        android:ellipsize="marquee"
 | 
						|
        android:fadingEdge="horizontal"
 | 
						|
        android:src="@drawable/ic_check_24dp"
 | 
						|
        android:tint="?androidprv:attr/materialColorPrimary"/>
 | 
						|
 | 
						|
    <TextView
 | 
						|
        android:id="@+id/modifier_key_text"
 | 
						|
        android:layout_width="match_parent"
 | 
						|
        android:layout_height="wrap_content"
 | 
						|
        android:layout_centerVertical="true"
 | 
						|
        android:textDirection="locale"
 | 
						|
        android:padding="16dp"
 | 
						|
        android:textAppearance="?android:attr/textAppearanceMedium"
 | 
						|
        android:layout_toEndOf="@+id/modifier_key_check_icon"
 | 
						|
        android:ellipsize="marquee"
 | 
						|
        android:fadingEdge="horizontal" />
 | 
						|
 | 
						|
</RelativeLayout>
 |