Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit c0ae9e67 authored by Chris Wren's avatar Chris Wren
Browse files

bouncer: hide more text and frame less.

Bug: 7464865
Change-Id: Ic8dac2582c014922143919f142fd36eb720dd3a9
Proto-Id: Id80601c9ffbdc34669b485e943b42cee237898f3
parent 08898375
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -64,7 +64,6 @@
            android:layout_width="wrap_content"
            android:layout_height="@dimen/keyguard_security_height"
            androidprv:layout_childType="challenge"
            android:background="@drawable/kg_bouncer_bg_white"
            android:padding="0dp"
            android:gravity="bottom|center_horizontal">
            <com.android.internal.policy.impl.keyguard.KeyguardSecurityViewFlipper
+31 −24
Original line number Diff line number Diff line
@@ -31,13 +31,19 @@
        android:layout_height="wrap_content"
        />

    <FrameLayout
       android:id="@+id/keyguard_bouncer_frame"
       android:background="@*android:drawable/kg_bouncer_bg_white"
       android:layout_width="match_parent"
       android:layout_height="0dp"
       android:layout_weight="1"
       >
       <com.android.internal.widget.FaceUnlockView
           android:id="@+id/face_unlock_area_view"
           android:layout_width="match_parent"
        android:layout_height="0dp"
           android:layout_height="match_parent"
           android:background="@*android:drawable/intro_bg"
        android:gravity="center"
        android:layout_weight="1">
           android:gravity="center">

           <View
               android:id="@+id/spotlightMask"
@@ -57,6 +63,7 @@
               android:src="@*android:drawable/ic_facial_backup"
           />
       </com.android.internal.widget.FaceUnlockView>
    </FrameLayout>

    <include layout="@layout/keyguard_emergency_carrier_area"
        android:id="@+id/keyguard_selector_fade_container"
+38 −32
Original line number Diff line number Diff line
@@ -39,6 +39,12 @@
    <!-- Password entry field -->
    <!-- Note: the entire container is styled to look like the edit field,
         since the backspace/IME switcher looks better inside -->
      <FrameLayout
         android:id="@+id/keyguard_bouncer_frame"
         android:background="@*android:drawable/kg_bouncer_bg_white"
         android:layout_height="wrap_content"
         android:layout_width="match_parent"
         >
         <LinearLayout
             android:layout_height="wrap_content"
             android:layout_width="match_parent"
@@ -77,7 +83,7 @@
                 />

            </LinearLayout>

       </FrameLayout>
    <include layout="@layout/keyguard_emergency_carrier_area"
             android:id="@+id/keyguard_selector_fade_container"
             android:layout_width="match_parent"
+17 −15
Original line number Diff line number Diff line
@@ -43,14 +43,17 @@
            android:orientation="vertical"
            android:layout_gravity="center">

            <!-- We need MATCH_PARENT here only to force the size of the parent to be passed to
            the pattern view for it to compute its size. This is an unusual case, caused by
            LockPatternView's requirement to maintain a square aspect ratio based on the width
            of the screen. -->
          <FrameLayout
             android:id="@+id/keyguard_bouncer_frame"
             android:background="@*android:drawable/kg_bouncer_bg_white"
             android:layout_width="match_parent"
             android:layout_height="0dp"
             android:layout_weight="1"
             >
            <com.android.internal.widget.LockPatternView
                android:id="@+id/lockPatternView"
                android:layout_width="wrap_content"
                android:layout_height="0dp"
                android:layout_width="match_parent"
                android:layout_height="match_parent"
                android:layout_weight="1"
                android:layout_marginEnd="8dip"
                android:layout_marginBottom="4dip"
@@ -58,7 +61,7 @@
                android:layout_gravity="center_horizontal"
                android:gravity="center"
                android:contentDescription="@string/keyguard_accessibility_pattern_area" />

          </FrameLayout>
          <include layout="@layout/keyguard_emergency_carrier_area"
              android:id="@+id/keyguard_selector_fade_container"
              android:layout_width="match_parent"
@@ -66,7 +69,6 @@
              android:orientation="vertical"
              android:layout_gravity="bottom|center_horizontal"
              android:gravity="center_horizontal" />

        </LinearLayout>
    </FrameLayout>

+178 −170
Original line number Diff line number Diff line
@@ -30,6 +30,14 @@
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        />
    <LinearLayout
       android:id="@+id/keyguard_bouncer_frame"
       android:background="@*android:drawable/kg_bouncer_bg_white"
       android:layout_width="match_parent"
       android:layout_height="0dp"
       android:orientation="vertical"
       android:layout_weight="1"
       >
       <LinearLayout
          android:layout_width="match_parent"
          android:layout_height="0dp"
@@ -46,7 +54,7 @@
               android:singleLine="true"
               android:cursorVisible="false"
               android:background="@null"
            android:textAppearance="@android:style/TextAppearance.NumPadKey"
               android:textAppearance="@style/TextAppearance.NumPadKey"
               android:imeOptions="flagForceAscii|actionDone"
               />
           <ImageButton android:id="@+id/delete_button"
@@ -201,7 +209,7 @@
               android:contentDescription="@string/keyboardview_keycode_enter"
               />
       </LinearLayout>

    </LinearLayout>
    <include layout="@layout/keyguard_emergency_carrier_area"
                   android:id="@+id/keyguard_selector_fade_container"
                   android:layout_width="match_parent"
Loading