Merge "Make switching dialog full screen and change "Loading" text color." into qt-qpr1-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
c2daf3cbb2
@@ -16,25 +16,22 @@
|
|||||||
-->
|
-->
|
||||||
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
android:fitsSystemWindows="true"
|
android:fitsSystemWindows="true"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="match_parent"
|
android:layout_height="wrap_content">
|
||||||
>
|
|
||||||
|
|
||||||
<ImageView
|
<ImageView
|
||||||
android:id="@+id/user_loading_avatar"
|
android:id="@+id/user_loading_avatar"
|
||||||
android:layout_width="@dimen/car_fullscreen_user_pod_image_avatar_width"
|
android:layout_width="@dimen/car_fullscreen_user_pod_image_avatar_width"
|
||||||
android:layout_height="@dimen/car_fullscreen_user_pod_image_avatar_height"
|
android:layout_height="@dimen/car_fullscreen_user_pod_image_avatar_height"
|
||||||
android:layout_centerHorizontal="true"
|
android:layout_centerHorizontal="true"/>
|
||||||
/>
|
|
||||||
|
|
||||||
<TextView android:id="@+id/user_loading"
|
<TextView android:id="@+id/user_loading"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_marginTop="@dimen/car_padding_4"
|
android:layout_marginTop="@dimen/car_padding_4"
|
||||||
android:textSize="@dimen/car_body1_size"
|
android:textSize="@dimen/car_body1_size"
|
||||||
android:textColor="@color/car_body1_light"
|
android:textColor="@color/car_body1"
|
||||||
android:layout_below="@id/user_loading_avatar"
|
android:layout_below="@id/user_loading_avatar"
|
||||||
android:gravity="center"
|
android:gravity="center"/>
|
||||||
/>
|
|
||||||
|
|
||||||
</RelativeLayout>
|
</RelativeLayout>
|
||||||
@@ -30,7 +30,6 @@ import android.graphics.PorterDuff;
|
|||||||
import android.graphics.PorterDuffXfermode;
|
import android.graphics.PorterDuffXfermode;
|
||||||
import android.graphics.Rect;
|
import android.graphics.Rect;
|
||||||
import android.graphics.RectF;
|
import android.graphics.RectF;
|
||||||
import android.graphics.drawable.ColorDrawable;
|
|
||||||
import android.graphics.drawable.Drawable;
|
import android.graphics.drawable.Drawable;
|
||||||
import android.os.UserManager;
|
import android.os.UserManager;
|
||||||
import android.provider.Settings;
|
import android.provider.Settings;
|
||||||
@@ -57,8 +56,6 @@ final class CarUserSwitchingDialog extends UserSwitchingDialog {
|
|||||||
String switchingToSystemUserMessage) {
|
String switchingToSystemUserMessage) {
|
||||||
super(service, context, oldUser, newUser, aboveSystem, switchingFromSystemUserMessage,
|
super(service, context, oldUser, newUser, aboveSystem, switchingFromSystemUserMessage,
|
||||||
switchingToSystemUserMessage);
|
switchingToSystemUserMessage);
|
||||||
|
|
||||||
getWindow().setBackgroundDrawable(new ColorDrawable(Color.TRANSPARENT));
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|||||||
Reference in New Issue
Block a user