fix: 首次提交
This commit is contained in:
23
setupdesign/main/res/values-sw600dp/config.xml
Normal file
23
setupdesign/main/res/values-sw600dp/config.xml
Normal file
@@ -0,0 +1,23 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
Copyright (C) 2015 The Android Open Source Project
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
You may obtain a copy of the License at
|
||||
|
||||
http://www.apache.org/licenses/LICENSE-2.0
|
||||
|
||||
Unless required by applicable law or agreed to in writing, software
|
||||
distributed under the License is distributed on an "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
-->
|
||||
|
||||
<resources>
|
||||
|
||||
<!-- Whether to use tablet layout -->
|
||||
<bool name="sudUseTabletLayout">true</bool>
|
||||
|
||||
</resources>
|
||||
67
setupdesign/main/res/values-sw600dp/dimens.xml
Normal file
67
setupdesign/main/res/values-sw600dp/dimens.xml
Normal file
@@ -0,0 +1,67 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
Copyright (C) 2015 The Android Open Source Project
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
You may obtain a copy of the License at
|
||||
|
||||
http://www.apache.org/licenses/LICENSE-2.0
|
||||
|
||||
Unless required by applicable law or agreed to in writing, software
|
||||
distributed under the License is distributed on an "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
-->
|
||||
|
||||
<resources>
|
||||
|
||||
<!-- General -->
|
||||
<!-- Calculated by (sud_glif_margin_start - sud_glif_button_padding) -->
|
||||
<dimen name="sud_glif_button_margin_start">24dp</dimen>
|
||||
<!-- Calculated by (sud_glif_margin_start - 4dp internal padding of button) -->
|
||||
<dimen name="sud_glif_button_margin_end">36dp</dimen>
|
||||
<!-- Calculated by (sud_glif_margin_start - sud_glif_button_padding) -->
|
||||
<dimen name="sud_glif_footer_padding_start">24dp</dimen>
|
||||
<!-- Calculated by (sud_glif_margin_end - 4dp internal padding of button) -->
|
||||
<dimen name="sud_glif_footer_padding_end">36dp</dimen>
|
||||
<dimen name="sud_glif_margin_start">40dp</dimen>
|
||||
<dimen name="sud_glif_margin_end">40dp</dimen>
|
||||
|
||||
<!-- Decor view (illustration or the header without illustration) -->
|
||||
<dimen name="sud_decor_padding_top">256dp</dimen>
|
||||
|
||||
<!-- Illustration -->
|
||||
<item name="sud_illustration_aspect_ratio" format="float" type="dimen">0</item>
|
||||
<dimen name="sud_header_title_size">34sp</dimen>
|
||||
|
||||
<!-- Items -->
|
||||
<dimen name="sud_items_icon_divider_inset">88dp</dimen>
|
||||
<dimen name="sud_items_text_divider_inset">40dp</dimen>
|
||||
<dimen name="sud_items_glif_icon_divider_inset">88dp</dimen>
|
||||
<dimen name="sud_items_glif_text_divider_inset">40dp</dimen>
|
||||
|
||||
<!-- General Material You -->
|
||||
<dimen name="sud_glif_content_padding_top_material_you">0dp</dimen>
|
||||
|
||||
<!-- Items Material You -->
|
||||
<dimen name="sud_items_summary_text_size_material_you">16sp</dimen>
|
||||
|
||||
<!-- Page Margins Material You -->
|
||||
<dimen name="sud_glif_margin_start_material_you">120dp</dimen>
|
||||
<dimen name="sud_glif_margin_end_material_you">120dp</dimen>
|
||||
|
||||
<!-- Footer Button Material You-->
|
||||
<dimen name="sud_glif_primary_button_button_margin_start_material_you">24dp</dimen>
|
||||
|
||||
<!-- Footer Bar Material You -->
|
||||
<dimen name="sud_glif_footer_bar_padding_start_material_you">104dp</dimen>
|
||||
<!-- Calculated by (sud_glif_margin_end - 4dp internal padding of button) -->
|
||||
<dimen name="sud_glif_footer_bar_padding_end_material_you">116dp</dimen>
|
||||
|
||||
<!-- Header Area Material You -->
|
||||
<dimen name="sud_glif_header_title_size_material_you">44sp</dimen>
|
||||
<dimen name="sud_glif_icon_margin_top_material_you">24dp</dimen>
|
||||
|
||||
</resources>
|
||||
44
setupdesign/main/res/values-sw600dp/layouts.xml
Normal file
44
setupdesign/main/res/values-sw600dp/layouts.xml
Normal file
@@ -0,0 +1,44 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!--
|
||||
Copyright (C) 2015 The Android Open Source Project
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
You may obtain a copy of the License at
|
||||
|
||||
http://www.apache.org/licenses/LICENSE-2.0
|
||||
|
||||
Unless required by applicable law or agreed to in writing, software
|
||||
distributed under the License is distributed on an "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
-->
|
||||
|
||||
<resources>
|
||||
|
||||
<item name="sud_template" type="layout">@layout/sud_template_card</item>
|
||||
<item name="sud_template_short" type="layout">@layout/sud_template_card</item>
|
||||
<item name="sud_list_template" type="layout">@layout/sud_list_template_card</item>
|
||||
<item name="sud_list_template_short" type="layout">@layout/sud_list_template_card</item>
|
||||
<item name="sud_no_scroll_template" type="layout">@layout/sud_no_scroll_template_card</item>
|
||||
<item name="sud_no_scroll_template_short" type="layout">@layout/sud_no_scroll_template_card</item>
|
||||
|
||||
<item name="sud_glif_template" type="layout">@layout/sud_glif_template_card</item>
|
||||
<item name="sud_glif_embedded_template" type="layout">@layout/sud_glif_embedded_template_card</item>
|
||||
<item name="sud_glif_list_template" type="layout">@layout/sud_glif_list_template_card</item>
|
||||
<item name="sud_glif_list_embedded_template" type="layout">@layout/sud_glif_list_embedded_template_card</item>
|
||||
<item name="sud_glif_blank_template" type="layout">@layout/sud_glif_blank_template_card</item>
|
||||
|
||||
<item name="sud_preference_recycler_view" type="layout">@layout/sud_preference_recycler_view_normal</item>
|
||||
<item name="sud_preference_template" type="layout">@layout/sud_no_scroll_template_card</item>
|
||||
<item name="sud_recycler_template" type="layout">@layout/sud_recycler_template_card</item>
|
||||
<item name="sud_recycler_template_short" type="layout">@layout/sud_recycler_template_card</item>
|
||||
|
||||
<item name="sud_glif_preference_template" type="layout">@layout/sud_glif_blank_template_card</item>
|
||||
<item name="sud_glif_preference_embedded_template" type="layout">@layout/sud_glif_blank_embedded_template_card</item>
|
||||
<item name="sud_glif_recycler_template" type="layout">@layout/sud_glif_recycler_template_card</item>
|
||||
<item name="sud_glif_recycler_embedded_template" type="layout">@layout/sud_glif_recycler_embedded_template_card</item>
|
||||
|
||||
</resources>
|
||||
|
||||
Reference in New Issue
Block a user