Update TabLayout background to align the latest spec

Bug: 226554352
Test: visual
Change-Id: Ibe54586033332e8d793fb1d6bd5cc858bd03ac4b
This commit is contained in:
Edgar Wang
2022-04-01 02:18:35 +08:00
parent 883190cdb3
commit d410029469
2 changed files with 8 additions and 2 deletions

View File

@@ -18,6 +18,8 @@
android:color="?android:colorControlHighlight">
<item android:id="@android:id/mask">
<inset
android:insetTop="6dp"
android:insetBottom="6dp"
android:insetLeft="4dp"
android:insetRight="4dp">
<shape android:shape="rectangle">
@@ -29,8 +31,10 @@
<item android:id="@android:id/background">
<inset
android:insetLeft="4dp"
android:insetRight="4dp">
android:insetTop="6dp"
android:insetBottom="6dp"
android:insetLeft="4dp"
android:insetRight="4dp">
<shape android:shape="rectangle">
<solid android:color="@color/settingslib_colorSurface" />
<corners android:radius="12dp" />

View File

@@ -15,6 +15,8 @@
limitations under the License.
-->
<inset xmlns:android="http://schemas.android.com/apk/res/android"
android:insetTop="6dp"
android:insetBottom="6dp"
android:insetLeft="4dp"
android:insetRight="4dp">
<shape android:shape="rectangle">