forked from upstream-mirrors/quik
472a36ec3b
commit 6bb74ca5201cba2fc5de2db349bb7627c028b617 Author: Moez Bhatti <moez.bhatti@gmail.com> Date: Sun May 27 15:15:27 2018 -0400 Fix crash when tapping on selected contact commit f5a45e2a600a8d373160dcb0273bab232e6cc0c5 Author: Moez Bhatti <moez.bhatti@gmail.com> Date: Sun May 27 15:10:44 2018 -0400 Add missing attributes for dialog themes commit 2188adbe5948b9b71f816dad5fb115829ba57e30 Author: Moez Bhatti <moez.bhatti@gmail.com> Date: Sun May 27 14:59:39 2018 -0400 Refresh settings activity when theme changed commit a9541019c566a3a6e41e64ea8136f7fd50a6d364 Author: Moez Bhatti <moez.bhatti@gmail.com> Date: Sun May 27 14:56:33 2018 -0400 Don't use themed attributes in widget commit 4823a3034848efac624eb82856f692c7f9e775a5 Author: Moez Bhatti <moez.bhatti@gmail.com> Date: Sun May 27 14:29:00 2018 -0400 Refresh adapter in conversation info when theme changed commit 7ea5837b99c2b6eac547dad383515ee7b79ff6e4 Author: Moez Bhatti <moez.bhatti@gmail.com> Date: Fri May 25 18:27:08 2018 -0400 Bundle theme colors into data class commit 6a832fdde98622c5a252aca0cac3150a6eb0f554 Author: Moez Bhatti <moez.bhatti@gmail.com> Date: Fri May 25 17:16:21 2018 -0400 Update conversation UI when theme changed commit ef6948e80ed8734a7fefbec1b00f1b32e8209072 Author: Moez Bhatti <moez.bhatti@gmail.com> Date: Fri May 25 16:15:39 2018 -0400 Fix avatar not respecting theme commit 4ea21b6a9963f91d3b9cdaf0ba4749a6f24e8a74 Author: Moez Bhatti <moez.bhatti@gmail.com> Date: Fri May 25 15:52:40 2018 -0400 Fix checkmark color in theme picker commit 270a9d3037439f165a110c7d7dcaf7dd84dad29f Author: Moez Bhatti <moez.bhatti@gmail.com> Date: Fri May 25 13:39:12 2018 -0400 Update views in MainActivity when theme changed commit cdc1187ccaee800e4305da5fab5d22220d04440f Author: Moez Bhatti <moez.bhatti@gmail.com> Date: Thu May 24 23:36:17 2018 -0400 Remove unnecessary programmatic creation of drawer item background commit bc6fbfa75c66bb81db9591617f8c1de4c0f2746f Author: Moez Bhatti <moez.bhatti@gmail.com> Date: Thu May 24 23:28:44 2018 -0400 Temporarily disable RxJava2Debug commit eae422be0bab8cedb3cb5ddf5f4ae61368ab5d1e Author: Moez Bhatti <moez.bhatti@gmail.com> Date: Thu May 24 21:16:46 2018 -0400 Remove observable usage inside of custom views commit 2e65d55b9b283e74fb395d4828eb310395b4902b Author: Moez Bhatti <moez.bhatti@gmail.com> Date: Thu May 24 02:27:26 2018 -0400 Migrate ripple and text size to no longer use observables
114 lines
4.3 KiB
XML
114 lines
4.3 KiB
XML
<!--
|
|
~ Copyright (C) 2017 Moez Bhatti <moez.bhatti@gmail.com>
|
|
~
|
|
~ This file is part of QKSMS.
|
|
~
|
|
~ QKSMS 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.
|
|
~
|
|
~ QKSMS 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 QKSMS. If not, see <http://www.gnu.org/licenses/>.
|
|
-->
|
|
<resources>
|
|
|
|
<style name="TextPrimary">
|
|
<item name="textColor">primary</item>
|
|
<item name="textSize">primary</item>
|
|
</style>
|
|
|
|
<style name="TextSecondary">
|
|
<item name="textColor">tertiary</item>
|
|
<item name="textSize">secondary</item>
|
|
</style>
|
|
|
|
<style name="TextTertiary">
|
|
<item name="textColor">tertiary</item>
|
|
<item name="textSize">tertiary</item>
|
|
</style>
|
|
|
|
<style name="TextButton">
|
|
<item name="android:layout_height">36dp</item>
|
|
<item name="android:layout_width">wrap_content</item>
|
|
<item name="android:minWidth">88dp</item>
|
|
<item name="android:paddingLeft">16dp</item>
|
|
<item name="android:paddingRight">16dp</item>
|
|
<item name="android:gravity">center</item>
|
|
<item name="android:textStyle">bold</item>
|
|
<item name="textSize">secondary</item>
|
|
</style>
|
|
|
|
<style name="Toolbar">
|
|
<item name="android:layout_width">match_parent</item>
|
|
<item name="android:layout_height">56dp</item>
|
|
|
|
<!-- This needs to be set so that we can tint the toolbar and not change the background
|
|
resource. This is mainly so that QkReplyActivity can call setClipToOutline -->
|
|
<item name="android:background">?attr/colorPrimary</item>
|
|
<item name="android:gravity">center_vertical</item>
|
|
</style>
|
|
|
|
<style name="ToolbarText">
|
|
<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:gravity">start|center_vertical</item>
|
|
<item name="android:maxLines">1</item>
|
|
<item name="android:singleLine">true</item>
|
|
<item name="textColor">primary</item>
|
|
<item name="textSize">toolbar</item>
|
|
</style>
|
|
|
|
<style name="PreferenceCategory">
|
|
<item name="android:layout_width">wrap_content</item>
|
|
<item name="android:layout_height">wrap_content</item>
|
|
<item name="android:layout_marginBottom">16dp</item>
|
|
<item name="android:layout_marginEnd">24dp</item>
|
|
<item name="android:layout_marginStart">72dp</item>
|
|
<item name="android:layout_marginTop">16dp</item>
|
|
<item name="android:textStyle">bold</item>
|
|
<item name="textColor">theme</item>
|
|
<item name="textSize">secondary</item>
|
|
</style>
|
|
|
|
<style name="CollapsingToolbarCollapsedText">
|
|
<item name="textSize">toolbar</item>
|
|
</style>
|
|
|
|
<style name="CollapsingToolbarExpandedText">
|
|
<item name="android:textSize">48sp</item>
|
|
</style>
|
|
|
|
<style name="DrawerRow">
|
|
<item name="android:layout_height">48dp</item>
|
|
<item name="android:layout_width">match_parent</item>
|
|
<item name="android:background">?attr/selectableItemBackground</item>
|
|
<item name="android:gravity">center_vertical</item>
|
|
<item name="android:paddingStart">16dp</item>
|
|
<item name="android:paddingEnd">16dp</item>
|
|
</style>
|
|
|
|
<style name="DrawerText">
|
|
<item name="android:layout_height">wrap_content</item>
|
|
<item name="android:layout_width">0dp</item>
|
|
<item name="android:layout_weight">1</item>
|
|
<item name="android:lines">1</item>
|
|
<item name="android:textStyle">bold</item>
|
|
<item name="textColor">primary</item>
|
|
<item name="textSize">secondary</item>
|
|
</style>
|
|
|
|
<style name="DrawerIcon">
|
|
<item name="android:layout_height">24dp</item>
|
|
<item name="android:layout_width">24dp</item>
|
|
<item name="android:layout_marginEnd">32dp</item>
|
|
</style>
|
|
|
|
</resources>
|