Merge "Use layout weight attr and scrollview in lock pattern screen."
This commit is contained in:
@@ -29,6 +29,16 @@
|
|||||||
android:layout_gravity="top|center_horizontal"
|
android:layout_gravity="top|center_horizontal"
|
||||||
android:paddingTop="@dimen/confirm_credentials_top_padding">
|
android:paddingTop="@dimen/confirm_credentials_top_padding">
|
||||||
|
|
||||||
|
<ScrollView
|
||||||
|
android:layout_width="match_parent"
|
||||||
|
android:layout_height="0dp"
|
||||||
|
android:layout_weight="2">
|
||||||
|
|
||||||
|
<LinearLayout
|
||||||
|
android:layout_width="match_parent"
|
||||||
|
android:layout_height="match_parent"
|
||||||
|
android:orientation="vertical">
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
style="@android:style/TextAppearance.Material.Headline"
|
style="@android:style/TextAppearance.Material.Headline"
|
||||||
android:id="@+id/headerText"
|
android:id="@+id/headerText"
|
||||||
@@ -46,8 +56,7 @@
|
|||||||
android:layout_marginEnd="?attr/confirmDeviceCredentialsSideMargin"
|
android:layout_marginEnd="?attr/confirmDeviceCredentialsSideMargin"
|
||||||
android:layout_marginTop="12dp"
|
android:layout_marginTop="12dp"
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"/>
|
||||||
/>
|
|
||||||
|
|
||||||
<Button
|
<Button
|
||||||
style="@android:style/Widget.Material.Button.Borderless"
|
style="@android:style/Widget.Material.Button.Borderless"
|
||||||
@@ -58,18 +67,16 @@
|
|||||||
android:layout_marginStart="16dp"
|
android:layout_marginStart="16dp"
|
||||||
android:layout_marginEnd="16dp"
|
android:layout_marginEnd="16dp"
|
||||||
android:layout_marginTop="16dp"/>
|
android:layout_marginTop="16dp"/>
|
||||||
|
</LinearLayout>
|
||||||
|
|
||||||
<View android:layout_width="match_parent"
|
</ScrollView>
|
||||||
android:layout_height="0dp"
|
|
||||||
android:layout_weight="0.5"/>
|
|
||||||
|
|
||||||
<com.android.internal.widget.LockPatternView
|
<com.android.internal.widget.LockPatternView
|
||||||
android:id="@+id/lockPattern"
|
android:id="@+id/lockPattern"
|
||||||
android:layout_width="312dp"
|
android:layout_width="312dp"
|
||||||
android:layout_height="312dp"
|
android:layout_height="0dp"
|
||||||
android:layout_gravity="center_horizontal"
|
android:layout_weight="3"
|
||||||
android:layout_marginTop="-46dp"
|
android:layout_gravity="center_horizontal"/>
|
||||||
android:layout_marginBottom="-46dp"/>
|
|
||||||
|
|
||||||
<LinearLayout
|
<LinearLayout
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
|
|||||||
Reference in New Issue
Block a user