]> git.ktnx.net Git - mobile-ledger.git/blobdiff - app/src/main/res/values/styles.xml
Rename to MoLe
[mobile-ledger.git] / app / src / main / res / values / styles.xml
index 2ed9b11029451526ac37408e4589e56f0cc727c5..4622e2a9962e3a38805b64fb15e0fd7b622c4032 100644 (file)
@@ -1,3 +1,20 @@
+<!--
+  ~ Copyright © 2019 Damyan Ivanov.
+  ~ This file is part of MoLe.
+  ~ MoLe is free software: you can distribute it and/or modify it
+  ~ under the term of the GNU General Public License as published by
+  ~ the Free Software Foundation, either version 3 of the License, or
+  ~ (at your opinion), any later version.
+  ~
+  ~ MoLe 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 terms for details.
+  ~
+  ~ You should have received a copy of the GNU General Public License
+  ~ along with MoLe. If not, see <https://www.gnu.org/licenses/>.
+  -->
+
 <resources>
 
     <!-- Base application theme. -->
 
     <style name="nav_button">
         <item name="android:layout_width">match_parent</item>
-        <item name="android:layout_height">48dp</item>
+        <item name="android:layout_height">40dp</item>
         <item name="android:clickable">true</item>
-        <item name="android:drawablePadding">32dp</item>
+        <item name="android:drawablePadding">24dp</item>
         <item name="android:focusable">auto</item>
         <item name="android:gravity">center_vertical|start</item>
-        <item name="android:textAppearance">@style/TextAppearance.AppCompat.Body1</item>
+        <item name="android:paddingStart">@dimen/activity_horizontal_margin</item>
+        <item name="android:paddingEnd">@dimen/activity_horizontal_margin</item>
+    </style>
+
+    <style name="account_summary_account_name">
+        <item name="android:layout_width">wrap_content</item>
+        <item name="android:layout_height">wrap_content</item>
+        <item name="android:layout_weight">5</item>
+    </style>
+
+    <style name="account_summary_amounts">
+        <item name="android:layout_width">wrap_content</item>
+        <item name="android:layout_height">wrap_content</item>
+        <item name="android:layout_marginEnd">0dp</item>
+        <item name="android:layout_weight">1</item>
+        <item name="android:minWidth">60dp</item>
+        <item name="android:textAlignment">viewEnd</item>
+    </style>
+
+    <style name="account_summary_account_entry_table">
+        <item name="android:layout_width">match_parent</item>
+        <item name="android:layout_height">match_parent</item>
     </style>
 
 </resources>