fix: 首次提交
This commit is contained in:
61
setupdesign/main/res/values-land/dimens.xml
Normal file
61
setupdesign/main/res/values-land/dimens.xml
Normal file
@@ -0,0 +1,61 @@
|
||||
<?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 -->
|
||||
<dimen name="sud_glif_button_min_height">36dp</dimen>
|
||||
<dimen name="sud_glif_footer_bar_min_height">52dp</dimen>
|
||||
<dimen name="sud_glif_footer_padding_vertical">0dp</dimen>
|
||||
|
||||
<!-- Card layout (for tablets) -->
|
||||
<dimen name="sud_card_title_padding_end">32dp</dimen>
|
||||
<dimen name="sud_card_title_padding_start">56dp</dimen>
|
||||
<dimen name="sud_card_title_padding_top">24dp</dimen>
|
||||
<dimen name="sud_card_title_padding_bottom">0dp</dimen>
|
||||
|
||||
<!-- Decor view (illustration or the header without illustration) -->
|
||||
<dimen name="sud_decor_padding_top">0dp</dimen>
|
||||
|
||||
<!-- GLIF card layout (for tablets) -->
|
||||
<dimen name="sud_glif_card_width">672dp</dimen>
|
||||
<dimen name="sud_glif_card_height">560dp</dimen>
|
||||
|
||||
<!-- Illustration -->
|
||||
<item name="sud_illustration_aspect_ratio" format="float" type="dimen">0</item>
|
||||
|
||||
<!-- TODO: Add testcase for testing padding value in landscape mode -->
|
||||
<!-- Loading content styles -->
|
||||
<dimen name="sud_content_loading_frame_padding_top">0dp</dimen>
|
||||
<dimen name="sud_content_loading_frame_padding_start">0dp</dimen>
|
||||
<dimen name="sud_content_loading_frame_padding_end">0dp</dimen>
|
||||
<dimen name="sud_content_loading_frame_padding_bottom">24dp</dimen>
|
||||
|
||||
<!-- General Material You -->
|
||||
<dimen name="sud_glif_content_padding_top_material_you">32dp</dimen>
|
||||
|
||||
<!-- Page Margins Material You -->
|
||||
<dimen name="sud_glif_margin_start_material_you">32dp</dimen>
|
||||
<dimen name="sud_glif_margin_end_material_you">32dp</dimen>
|
||||
<!-- Footer Bar Material You -->
|
||||
<dimen name="sud_glif_footer_bar_padding_vertical_material_you">0dp</dimen>
|
||||
<dimen name="sud_glif_footer_bar_padding_start_material_you">16dp</dimen>
|
||||
<!-- Calculated by (sud_glif_margin_end - 4dp internal padding of button) -->
|
||||
<dimen name="sud_glif_footer_bar_padding_end_material_you">28dp</dimen>
|
||||
<dimen name="sud_glif_footer_bar_min_height_material_you">52dp</dimen>
|
||||
|
||||
</resources>
|
||||
32
setupdesign/main/res/values-land/layouts.xml
Normal file
32
setupdesign/main/res/values-land/layouts.xml
Normal file
@@ -0,0 +1,32 @@
|
||||
<?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_header_collapsed</item>
|
||||
<item name="sud_template_short" type="layout">@layout/sud_template_header_collapsed</item>
|
||||
<item name="sud_list_template" type="layout">@layout/sud_list_template_header_collapsed</item>
|
||||
<item name="sud_list_template_short" type="layout">@layout/sud_list_template_header_collapsed</item>
|
||||
<item name="sud_no_scroll_template" type="layout">@layout/sud_no_scroll_template_header_collapsed</item>
|
||||
<item name="sud_no_scroll_template_short" type="layout">@layout/sud_no_scroll_template_header_collapsed</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_header_collapsed</item>
|
||||
<item name="sud_recycler_template" type="layout">@layout/sud_recycler_template_header_collapsed</item>
|
||||
<item name="sud_recycler_template_short" type="layout">@layout/sud_recycler_template_header_collapsed</item>
|
||||
|
||||
</resources>
|
||||
|
||||
26
setupdesign/main/res/values-land/styles.xml
Normal file
26
setupdesign/main/res/values-land/styles.xml
Normal file
@@ -0,0 +1,26 @@
|
||||
<?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>
|
||||
|
||||
<!-- Card layout (for tablets) -->
|
||||
|
||||
<style name="SudCardTitle" parent="SudBaseCardTitle">
|
||||
<item name="android:maxLines">6</item>
|
||||
</style>
|
||||
|
||||
</resources>
|
||||
Reference in New Issue
Block a user