Xml文件  |  121行  |  6.42 KB

<?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 xmlns:android="http://schemas.android.com/apk/res/android">
    <style name="ut_guidance_anchor">
        <item name="android:layout_width">match_parent</item>
        <item name="android:layout_height">@dimen/ut_guidance_anchor_height</item>
    </style>
    <style name="ut_guidance_container">
        <item name="android:layout_width">match_parent</item>
        <item name="android:layout_height">match_parent</item>
        <item name="android:background">@null</item>
        <item name="android:clipToPadding">false</item>
        <item name="android:clipChildren">false</item>
    </style>
    <style name="ut_guidance_title">
        <item name="android:layout_width">wrap_content</item>
        <item name="android:layout_height">wrap_content</item>
        <item name="android:layout_alignWithParentIfMissing">true</item>
        <item name="android:layout_below">@id/guidance_anchor_space</item>
        <item name="android:ellipsize">end</item>
        <item name="android:fontFamily">sans-serif-light</item>
        <item name="android:maxLines">@integer/ut_guidance_title_max_lines</item>
        <item name="android:textColor">@color/ut_guidance_title_text</item>
        <item name="android:textSize">@dimen/ut_guidance_title_text_size</item>
    </style>
    <style name="ut_guidance_breadcrumb">
        <item name="android:layout_above">@id/guidance_title</item>
        <item name="android:layout_width">wrap_content</item>
        <item name="android:layout_height">wrap_content</item>
        <item name="android:layout_alignWithParentIfMissing">true</item>
        <item name="android:ellipsize">end</item>
        <item name="android:fontFamily">sans-serif-condensed</item>
        <item name="android:singleLine">true</item>
        <item name="android:textColor">@color/ut_guidance_breadcrumb_text</item>
        <item name="android:textSize">@dimen/ut_guidance_breadcrumb_text_size</item>
    </style>
    <style name="ut_guidance_desc">
        <item name="android:layout_below">@id/guidance_title</item>
        <item name="android:layout_width">wrap_content</item>
        <item name="android:layout_height">wrap_content</item>
        <item name="android:layout_marginTop">@dimen/ut_guidance_description_margin_top</item>
        <item name="android:layout_alignWithParentIfMissing">true</item>
        <item name="android:ellipsize">end</item>
        <item name="android:fontFamily">sans-serif</item>
        <item name="android:maxLines">@integer/ut_guidance_description_max_lines</item>
        <item name="android:textColor">@color/ut_guidance_description_text</item>
        <item name="android:textSize">@dimen/ut_guidance_description_text_size</item>
    </style>
    <style name="ut_guidedactions_container">
        <item name="android:layout_width">match_parent</item>
        <item name="android:layout_height">match_parent</item>
        <item name="android:background">@null</item>
        <item name="android:clipToPadding">false</item>
        <item name="android:clipChildren">false</item>
    </style>
    <style name="ut_guidedactions_anchor">
        <item name="android:layout_width">match_parent</item>
        <item name="android:layout_height">@dimen/ut_guidedactions_anchor_height</item>
    </style>
    <style name="ut_guidedactions_null_selector">
        <item name="android:layout_width">match_parent</item>
        <item name="android:layout_height">@dimen/ut_guidedactions_selector_height</item>
        <item name="android:layout_below">@id/guidedactions_anchor_space</item>
        <item name="android:background">@null</item>
    </style>
    <style name="ut_guidedactions_list">
        <item name="android:layout_width">match_parent</item>
        <item name="android:layout_height">match_parent</item>
        <item name="android:layout_below">@id/guidedactions_anchor_space</item>
        <item name="android:background">@null</item>
        <item name="android:clipToPadding">false</item>
        <item name="android:clipChildren">false</item>
        <item name="android:focusable">true</item>
    </style>
    <style name="ut_guidedactions_item_container">
        <item name="android:layout_width">match_parent</item>
        <item name="android:layout_height">@dimen/ut_guidedactions_item_height</item>
        <item name="android:background">@drawable/ut_selector_background</item>
        <item name="android:focusable">true</item>
        <item name="android:paddingStart">@dimen/ut_guidedactions_item_padding_start</item>
        <item name="android:paddingEnd">@dimen/ut_guidedactions_item_padding_end</item>
        <item name="android:paddingTop">@dimen/ut_guidedactions_item_padding_top</item>
        <item name="android:paddingBottom">@dimen/ut_guidedactions_item_padding_bottom</item>
    </style>
    <style name="ut_guidedactions_item_checkmark">
        <item name="android:layout_width">@dimen/lb_guidedactions_item_checkmark_diameter</item>
        <item name="android:layout_height">@dimen/lb_guidedactions_item_checkmark_diameter</item>
        <item name="android:visibility">gone</item>
    </style>
    <style name="ut_guidedactions_item_title">
        <item name="android:layout_width">match_parent</item>
        <item name="android:layout_height">wrap_content</item>
        <item name="android:ellipsize">end</item>
        <item name="android:fontFamily">sans-serif-condensed</item>
        <item name="android:singleLine">true</item>
        <item name="android:textColor">@color/ut_guidedactions_title_text</item>
        <item name="android:textSize">14sp</item>
        <item name="android:background">@null</item>
    </style>
    <style name="ut_guidedactions_item_chevron">
        <item name="android:layout_width">wrap_content</item>
        <item name="android:layout_height">wrap_content</item>
        <item name="android:visibility">gone</item>
    </style>
</resources>