- Implement a tips card UI in Battery Usage. [Screenshot]: - Tips Card with thumbs-up/down feedback in dark mode https://screenshot.googleplex.com/3nRCFYvLTWfiYYT - Tips Card without feedback https://screenshot.googleplex.com/B7QGRJZAHzgWpCP - Tips Card in Force RTL layout https://screenshot.googleplex.com/8crQdj8ao26pKpH - Tips Card in light mode https://screenshot.googleplex.com/885aVvZm8xmhK2S [TODO]: - Add accessibility - Localization Bug: 291689623 Test: Manual Change-Id: I4443cdb21b3ba30900fc2f6fcc21c4c56dc1293f Merged-In: I4443cdb21b3ba30900fc2f6fcc21c4c56dc1293f
		
			
				
	
	
		
			32 lines
		
	
	
		
			1.1 KiB
		
	
	
	
		
			XML
		
	
	
	
	
	
			
		
		
	
	
			32 lines
		
	
	
		
			1.1 KiB
		
	
	
	
		
			XML
		
	
	
	
	
	
<!--
 | 
						|
  Copyright (C) 2023 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.
 | 
						|
  -->
 | 
						|
 | 
						|
<layer-list xmlns:android="http://schemas.android.com/apk/res/android"
 | 
						|
    android:width="24dp"
 | 
						|
    android:height="24dp">
 | 
						|
    <item>
 | 
						|
        <shape android:shape="oval">
 | 
						|
            <size
 | 
						|
                android:width="24dp"
 | 
						|
                android:height="24dp" />
 | 
						|
            <solid android:color="?android:attr/colorBackground" />
 | 
						|
        </shape>
 | 
						|
    </item>
 | 
						|
    <item android:drawable="@drawable/ic_battery_tips_close"
 | 
						|
        android:gravity="center"
 | 
						|
        android:width="16dp"
 | 
						|
        android:height="16dp"/>
 | 
						|
</layer-list> |