replicant-packages_apps_Set.../res/values/styles.xml
cretin45 c4584a78e3 SetupWizard: Ellipsize long text in button bar
Change-Id: Id71b60b449545aeb92bd2325c8ded769bee8e014
2015-02-23 13:46:35 -08:00

87 lines
3.6 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright (C) 2013 The CyanogenMod 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>
<style name="Theme.Setup" parent="@android:style/Theme.Material.Light">
<item name="android:windowActionBar">false</item>
<item name="android:windowNoTitle">true</item>
<item name="android:windowBackground">@color/page_background</item>
<item name="android:colorPrimary">@color/primary</item>
<item name="android:colorPrimaryDark">@color/primary</item>
<item name="android:colorAccent">@color/accent</item>
<item name="android:textColorLink">@color/accent</item>
<item name="android:statusBarColor">@android:color/transparent</item>
</style>
<style name="Header">
<item name="android:elevation">4dp</item>
</style>
<style name="PageContainer">
<item name="android:textColor">@color/primary_text</item>
</style>
<style name="PageContent">
<item name="android:background">@color/page_background</item>
<item name="android:paddingTop">@dimen/content_margin_top</item>
</style>
<style name="PageTitle">
<item name="android:id">@android:id/title</item>
<item name="android:textSize">22sp</item>
<item name="android:textColor">@color/white</item>
<item name="android:background">@color/primary_dark</item>
<item name="android:layout_alignParentBottom">true</item>
<item name="android:gravity">left|center_vertical</item>
<item name="android:paddingLeft">@dimen/header_title_margin_left</item>
</style>
<style name="PageSummaryText">
<item name="android:id">@android:id/summary</item>
<item name="android:lineSpacingExtra">@dimen/setup_line_spacing</item>
</style>
<style name="SpinnerItem">
<item name="android:textSize">15sp</item>
<item name="android:paddingLeft">@dimen/content_margin_left</item>
</style>
<style name="ButtonBar" parent="@android:style/Widget.Material.ActionButton">
<item name="android:layout_height">56dp</item>
<item name="android:textSize">16sp</item>
<item name="android:textAllCaps">true</item>
<item name="android:maxLines">1</item>
<item name="android:minWidth">15dp</item>
<item name="android:minHeight">15dp</item>
<item name="android:textColor">@color/primary_text</item>
<item name="android:fontFamily">sans-serif</item>
<item name="android:drawablePadding">6dp</item>
<item name="android:ellipsize">end</item>
</style>
<style name="ButtonBar.Left">
<item name="android:paddingStart">34dp</item>
<item name="android:gravity">center_vertical|start</item>
<item name="android:drawableLeft">@drawable/ic_chevron_left_dark</item>
</style>
<style name="ButtonBar.Right">
<item name="android:paddingEnd">34dp</item>
<item name="android:gravity">center_vertical|end</item>
<item name="android:drawableRight">@drawable/ic_chevron_right_dark</item>
</style>
</resources>