]> git.ktnx.net Git - mobile-ledger-staging.git/blobdiff - app/src/main/res/values/styles.xml
yet another attempt to improve layout of transaction list
[mobile-ledger-staging.git] / app / src / main / res / values / styles.xml
index 28486aec7f8ce9344a853f56aa4cb01ba3f616bb..be6a9026ff9d3ee439c5cee2f1e36819931fba0c 100644 (file)
@@ -1,5 +1,5 @@
 <!--
-  ~ Copyright © 2019 Damyan Ivanov.
+  ~ Copyright © 2020 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
@@ -17,8 +17,6 @@
 
 <resources>
 
-    <style name="StretchedTextView" parent="Widget.AppCompat.TextView"></style>
-
     <style name="myFabStyle" parent="Widget.MaterialComponents.FloatingActionButton">
         <item name="tint" state="disabled">?android:attr/colorBackground</item>
     </style>
         <item name="table_row_light_bg">#28ddcbff</item>
         <item name="windowActionBar">false</item>
         <item name="windowNoTitle">true</item>
-        <item name="textColor">#707070</item>
+        <item name="textColor">#686868</item>
+        <item name="commentColor">#909090</item>
         <item name="colorOnSecondary">@android:color/white</item>
-        <item name="textInputStyle">@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox.Dense</item>
+        <item name="textInputStyle">
+            @style/Widget.MaterialComponents.TextInputLayout.OutlinedBox.Dense
+        </item>
         <item name="colorError">#FFE1E2</item>
         <item name="colorOnError">#CD1609</item>
         <item name="floatingActionButtonStyle">@style/myFabStyle</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>