Loading packages/CarSystemUI/res/drawable/system_bar_background_pill.xml +17 −6 Original line number Original line Diff line number Diff line Loading @@ -14,9 +14,20 @@ ~ See the License for the specific language governing permissions and ~ See the License for the specific language governing permissions and ~ limitations under the License. ~ limitations under the License. --> --> <layer-list <shape xmlns:android="http://schemas.android.com/apk/res/android" xmlns:android="http://schemas.android.com/apk/res/android" android:shape="rectangle"> xmlns:aapt="http://schemas.android.com/aapt"> <item> <aapt:attr name="android:drawable"> <shape android:shape="rectangle"> <solid android:color="@color/system_bar_background_pill_color"/> <solid android:color="@color/system_bar_background_pill_color"/> <corners android:radius="30dp"/> <corners android:radius="30dp"/> </shape> </shape> </aapt:attr> </item> <item> <aapt:attr name="android:drawable"> <ripple android:color="?android:attr/colorControlHighlight"/> </aapt:attr> </item> </layer-list> packages/CarSystemUI/res/values/styles.xml +1 −0 Original line number Original line Diff line number Diff line Loading @@ -49,5 +49,6 @@ <item name="android:padding">@dimen/system_bar_button_padding</item> <item name="android:padding">@dimen/system_bar_button_padding</item> <item name="android:gravity">center</item> <item name="android:gravity">center</item> <item name="android:background">?android:attr/selectableItemBackground</item> <item name="android:background">?android:attr/selectableItemBackground</item> <item name="unselectedAlpha">0.56</item> </style> </style> </resources> </resources> No newline at end of file Loading
packages/CarSystemUI/res/drawable/system_bar_background_pill.xml +17 −6 Original line number Original line Diff line number Diff line Loading @@ -14,9 +14,20 @@ ~ See the License for the specific language governing permissions and ~ See the License for the specific language governing permissions and ~ limitations under the License. ~ limitations under the License. --> --> <layer-list <shape xmlns:android="http://schemas.android.com/apk/res/android" xmlns:android="http://schemas.android.com/apk/res/android" android:shape="rectangle"> xmlns:aapt="http://schemas.android.com/aapt"> <item> <aapt:attr name="android:drawable"> <shape android:shape="rectangle"> <solid android:color="@color/system_bar_background_pill_color"/> <solid android:color="@color/system_bar_background_pill_color"/> <corners android:radius="30dp"/> <corners android:radius="30dp"/> </shape> </shape> </aapt:attr> </item> <item> <aapt:attr name="android:drawable"> <ripple android:color="?android:attr/colorControlHighlight"/> </aapt:attr> </item> </layer-list>
packages/CarSystemUI/res/values/styles.xml +1 −0 Original line number Original line Diff line number Diff line Loading @@ -49,5 +49,6 @@ <item name="android:padding">@dimen/system_bar_button_padding</item> <item name="android:padding">@dimen/system_bar_button_padding</item> <item name="android:gravity">center</item> <item name="android:gravity">center</item> <item name="android:background">?android:attr/selectableItemBackground</item> <item name="android:background">?android:attr/selectableItemBackground</item> <item name="unselectedAlpha">0.56</item> </style> </style> </resources> </resources> No newline at end of file