mirror of https://github.com/iSoron/uhabits.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
122 lines
5.2 KiB
122 lines
5.2 KiB
<?xml version="1.0" encoding="utf-8"?>
|
|
<!--
|
|
~ Copyright (C) 2016 Álinson Santos Xavier <isoron@gmail.com>
|
|
~
|
|
~ This file is part of Loop Habit Tracker.
|
|
~
|
|
~ Loop Habit Tracker is free software: you can redistribute it and/or modify
|
|
~ it under the terms of the GNU General Public License as published by the
|
|
~ Free Software Foundation, either version 3 of the License, or (at your
|
|
~ option) any later version.
|
|
~
|
|
~ Loop Habit Tracker is distributed in the hope that it will be useful, but
|
|
~ WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
|
|
~ or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
|
|
~ more details.
|
|
~
|
|
~ You should have received a copy of the GNU General Public License along
|
|
~ with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
-->
|
|
|
|
<resources>
|
|
|
|
<style name="dialogFormInputMultiline" parent="dialogFormInput">
|
|
<item name="android:layout_width">match_parent</item>
|
|
<item name="android:layout_height">wrap_content</item>
|
|
<item name="android:ems">10</item>
|
|
<item name="android:inputType">textMultiLine</item>
|
|
</style>
|
|
|
|
<style name="dialogFormInputColor">
|
|
<item name="android:layout_width">0dp</item>
|
|
<item name="android:layout_height">wrap_content</item>
|
|
<item name="android:layout_weight">1</item>
|
|
<item name="android:background">?android:attr/selectableItemBackground</item>
|
|
</style>
|
|
|
|
<style name="dialogFormInputSmallNumber" parent="dialogFormInput">
|
|
<item name="android:layout_width">wrap_content</item>
|
|
<item name="android:layout_height">wrap_content</item>
|
|
<item name="android:ems">2</item>
|
|
<item name="android:gravity">center</item>
|
|
<item name="android:inputType">number</item>
|
|
<item name="android:maxLength">2</item>
|
|
</style>
|
|
|
|
<style name="dialogFormText">
|
|
<item name="android:textSize">@dimen/regularTextSize</item>
|
|
<item name="android:textColor">?highContrastTextColor</item>
|
|
<item name="android:layout_width">wrap_content</item>
|
|
<item name="android:layout_height">wrap_content</item>
|
|
</style>
|
|
|
|
<style name="dialogFormSmallText">
|
|
<item name="android:textSize">@dimen/smallTextSize</item>
|
|
<item name="android:textColor">?mediumContrastTextColor</item>
|
|
</style>
|
|
|
|
<style name="dialogFormSpinnerDropDown" parent="dialogFormText">
|
|
<item name="android:padding">12dp</item>
|
|
<item name="android:textColor">?highContrastTextColor</item>
|
|
</style>
|
|
|
|
<style name="dialogFormInput" parent="dialogFormText">
|
|
<item name="android:layout_width">0dp</item>
|
|
<item name="android:layout_height">wrap_content</item>
|
|
<item name="android:layout_weight">10</item>
|
|
<item name="android:ems">10</item>
|
|
<item name="android:inputType">textCapSentences</item>
|
|
</style>
|
|
|
|
<style name="dialogFormLabel" parent="dialogFormText">
|
|
<item name="android:layout_width">wrap_content</item>
|
|
<item name="android:layout_height">wrap_content</item>
|
|
<item name="android:minWidth">100dp</item>
|
|
<item name="android:gravity">left</item>
|
|
<item name="android:paddingLeft">6dp</item>
|
|
<item name="android:textColor">?mediumContrastTextColor</item>
|
|
</style>
|
|
|
|
<style name="dialogFormSpinnerDark" parent="android:Widget.DeviceDefault.Spinner">
|
|
<item name="android:layout_width">match_parent</item>
|
|
<item name="android:layout_height">wrap_content</item>
|
|
<item name="android:paddingLeft">12dp</item>
|
|
<item name="android:textSize">@dimen/regularTextSize</item>
|
|
<item name="android:minWidth">400dp</item>
|
|
<item name="android:textColor">?highContrastTextColor</item>
|
|
</style>
|
|
|
|
<style name="dialogFormSpinnerLight" parent="android:Widget.DeviceDefault.Light.Spinner">
|
|
<item name="android:layout_width">match_parent</item>
|
|
<item name="android:layout_height">wrap_content</item>
|
|
<item name="android:paddingLeft">12dp</item>
|
|
<item name="android:textSize">@dimen/regularTextSize</item>
|
|
<item name="android:minWidth">400dp</item>
|
|
<item name="android:textColor">?highContrastTextColor</item>
|
|
</style>
|
|
|
|
<style name="dialogFormRow">
|
|
<item name="android:layout_width">match_parent</item>
|
|
<item name="android:layout_height">wrap_content</item>
|
|
<item name="android:layout_marginTop">12dp</item>
|
|
<item name="android:orientation">horizontal</item>
|
|
<item name="android:minWidth">300dp</item>
|
|
<item name="android:gravity">start|center_vertical</item>
|
|
</style>
|
|
|
|
<style name="dialogForm">
|
|
<item name="android:layout_width">match_parent</item>
|
|
<item name="android:layout_height">match_parent</item>
|
|
<item name="android:orientation">vertical</item>
|
|
</style>
|
|
|
|
<style name="dialogFormPanel">
|
|
<item name="android:layout_width">match_parent</item>
|
|
<item name="android:layout_height">wrap_content</item>
|
|
<item name="android:layout_marginBottom">8dp</item>
|
|
<item name="android:orientation">vertical</item>
|
|
<item name="android:paddingLeft">24dp</item>
|
|
<item name="android:paddingRight">24dp</item>
|
|
</style>
|
|
|
|
</resources> |