Merge "add changes to make the add user button up to spec" into pi-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
5b510f5c7b
15
packages/SystemUI/res/drawable/car_add_circle_round.xml
Normal file
15
packages/SystemUI/res/drawable/car_add_circle_round.xml
Normal file
@@ -0,0 +1,15 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<layer-list xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<item>
|
||||
<shape android:shape="oval">
|
||||
<solid
|
||||
android:color="@color/car_dark_blue_grey_600"/>
|
||||
<size
|
||||
android:width="@dimen/car_fullscreen_user_pod_image_avatar_width"
|
||||
android:height="@dimen/car_fullscreen_user_pod_image_avatar_height"/>
|
||||
</shape>
|
||||
</item>
|
||||
<item
|
||||
android:drawable="@drawable/car_ic_add_white"
|
||||
android:gravity="center"/>
|
||||
</layer-list>
|
||||
9
packages/SystemUI/res/drawable/car_ic_add_white.xml
Normal file
9
packages/SystemUI/res/drawable/car_ic_add_white.xml
Normal file
@@ -0,0 +1,9 @@
|
||||
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:width="@dimen/car_touch_target_size"
|
||||
android:height="@dimen/car_touch_target_size"
|
||||
android:viewportWidth="24.0"
|
||||
android:viewportHeight="24.0">
|
||||
<path
|
||||
android:fillColor="@color/car_body1_light"
|
||||
android:pathData="M19,13h-6v6h-2v-6H5v-2h6V5h2v6h6v2z"/>
|
||||
</vector>
|
||||
@@ -185,7 +185,7 @@ public class UserGridRecyclerView extends PagedListView implements
|
||||
.getUserIcon(userRecord.mInfo));
|
||||
} else {
|
||||
holder.mUserAvatarImageView.setImageDrawable(mContext
|
||||
.getDrawable(R.drawable.ic_add_circle_qs));
|
||||
.getDrawable(R.drawable.car_add_circle_round));
|
||||
}
|
||||
holder.mUserNameTextView.setText(userRecord.mInfo.name);
|
||||
holder.mView.setOnClickListener(v -> {
|
||||
|
||||
Reference in New Issue
Block a user