Add more padding in setup flow for wide screens
b/13728657 Change-Id: Ib7c996d188b9f70cc4adbd2a7545c5f8a2099d87
This commit is contained in:
parent
296cde5603
commit
5ee38b7444
@ -39,7 +39,7 @@
|
||||
<LinearLayout
|
||||
android:paddingTop="16dip"
|
||||
android:orientation="horizontal"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content" >
|
||||
<TextView
|
||||
android:layout_height="wrap_content"
|
||||
@ -50,7 +50,7 @@
|
||||
<EditText
|
||||
android:id="@+id/account_email"
|
||||
android:contentDescription="@string/account_setup_basics_email_label"
|
||||
android:layout_width="@dimen/setup_credentials_input_width"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:inputType="textEmailAddress" />
|
||||
</LinearLayout>
|
||||
|
@ -16,12 +16,10 @@
|
||||
|
||||
<LinearLayout
|
||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
style="@style/account_setup_fragment_container"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:orientation="vertical"
|
||||
android:paddingTop="@dimen/setup_fragment_padding_top"
|
||||
android:paddingLeft="@dimen/setup_fragment_padding_side"
|
||||
android:paddingRight="@dimen/setup_fragment_padding_side" >
|
||||
android:orientation="vertical" >
|
||||
|
||||
<FrameLayout
|
||||
android:id="@+id/account_credentials_fragment_container"
|
||||
|
@ -21,11 +21,21 @@
|
||||
<dimen name="settings_fragment_padding_side">32dp</dimen>
|
||||
<dimen name="settings_fragment_padding_bottom">24dp</dimen>
|
||||
|
||||
<!-- Account setup fragments -->
|
||||
<dimen name="setup_fragment_padding_top">16dp</dimen>
|
||||
<dimen name="setup_fragment_padding_side">64dp</dimen>
|
||||
<dimen name="setup_fragment_padding_bottom">16dp</dimen>
|
||||
|
||||
<!-- Account setup text buttons -->
|
||||
<dimen name="setup_text_button_width">208sp</dimen>
|
||||
<dimen name="setup_text_button_height">48sp</dimen>
|
||||
<dimen name="setup_text_button_text_size">20sp</dimen>
|
||||
|
||||
<!-- Account setup headline -->
|
||||
<dimen name="setup_headline_text_size">30sp</dimen>
|
||||
<dimen name="setup_headline_padding_top">24dp</dimen>
|
||||
<dimen name="setup_headline_padding_side">64dp</dimen>
|
||||
|
||||
<!-- In setup screens, the inset for all items below the headline+hairline -->
|
||||
<dimen name="setup_item_inset_start">16dip</dimen>
|
||||
<dimen name="setup_item_inset_end">64dip</dimen>
|
||||
|
@ -33,11 +33,13 @@
|
||||
<dimen name="setup_account_ab_button_height">54dp</dimen>
|
||||
|
||||
<!-- Account settings fragments -->
|
||||
<!-- See also w600dp -->
|
||||
<dimen name="settings_fragment_padding_top">16dp</dimen>
|
||||
<dimen name="settings_fragment_padding_side">16dp</dimen>
|
||||
<dimen name="settings_fragment_padding_bottom">24dp</dimen>
|
||||
|
||||
<!-- Account setup fragments -->
|
||||
<!-- See also w600dp -->
|
||||
<dimen name="setup_fragment_padding_top">16dp</dimen>
|
||||
<dimen name="setup_fragment_padding_side">16dp</dimen>
|
||||
<dimen name="setup_fragment_padding_bottom">16dp</dimen>
|
||||
@ -48,11 +50,13 @@
|
||||
<dimen name="setup_nav_button_padding_bottom">24dp</dimen>
|
||||
|
||||
<!-- Account setup text buttons -->
|
||||
<!-- See also w600dp -->
|
||||
<dimen name="setup_text_button_width">160sp</dimen>
|
||||
<dimen name="setup_text_button_height">40sp</dimen>
|
||||
<dimen name="setup_text_button_text_size">18sp</dimen>
|
||||
|
||||
<!-- Account setup headline -->
|
||||
<!-- See also w600dp -->
|
||||
<dimen name="setup_headline_text_size">30sp</dimen>
|
||||
<dimen name="setup_headline_padding_top">24dp</dimen>
|
||||
<dimen name="setup_headline_padding_side">24dp</dimen>
|
||||
@ -69,9 +73,6 @@
|
||||
<dimen name="setup_basics_logo_margin_top">28dp</dimen>
|
||||
<dimen name="setup_basics_logo_margin_bottom">56dp</dimen>
|
||||
|
||||
<!-- Username/password entry -->
|
||||
<dimen name="setup_credentials_input_width">340dp</dimen>
|
||||
|
||||
<!-- TODO: probably delete these -->
|
||||
<!-- Notification dialog -->
|
||||
<dimen name="dialog_text_size">10sp</dimen>
|
||||
|
Loading…
Reference in New Issue
Block a user