]> git.ktnx.net Git - mobile-ledger.git/blobdiff - app/src/main/res/values/styles.xml
note the 'Account summary' item in the navigation drawer when the Account summary...
[mobile-ledger.git] / app / src / main / res / values / styles.xml
index 545b9c6d2c45df7938f8ffd5ac2d806dec36f122..cbd324f203ef92626d2ece88ee8904c11e82fc4a 100644 (file)
 
     <style name="AppTheme.PopupOverlay" parent="ThemeOverlay.AppCompat.Light" />
 
+    <style name="nav_button">
+        <item name="android:layout_width">match_parent</item>
+        <item name="android:layout_height">48dp</item>
+        <item name="android:clickable">true</item>
+        <item name="android:drawablePadding">32dp</item>
+        <item name="android:focusable">auto</item>
+        <item name="android:gravity">center_vertical|start</item>
+        <item name="android:paddingStart">@dimen/activity_horizontal_margin</item>
+        <item name="android:paddingEnd">@dimen/activity_horizontal_margin</item>
+        <item name="android:textAppearance">@style/TextAppearance.AppCompat.Body1</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>