Skip to content

Commit

Permalink
layouts.xml: Base wallet layout on screen width and height, rather th…
Browse files Browse the repository at this point in the history
…an screen size qualifier.
  • Loading branch information
Andreas Schildbach committed Dec 12, 2019
1 parent d0a44a2 commit d6da72d
Show file tree
Hide file tree
Showing 8 changed files with 4 additions and 20 deletions.
1 change: 1 addition & 0 deletions wallet/res/values-h400dp/layouts.xml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<item name="show_local_balance" type="bool">true</item>
<bool name="show_wallet_address_dialog_hint">true</bool>
</resources>
File renamed without changes.
5 changes: 0 additions & 5 deletions wallet/res/values-large-land/layouts.xml

This file was deleted.

5 changes: 0 additions & 5 deletions wallet/res/values-normal-land/layouts.xml

This file was deleted.

4 changes: 0 additions & 4 deletions wallet/res/values-small/layouts.xml

This file was deleted.

2 changes: 2 additions & 0 deletions wallet/res/values-w720dp/layouts.xml
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<item name="wallet_content" type="layout">@layout/wallet_activity_twopanes</item>
<item name="show_exchange_rates_option" type="bool">false</item>
<item name="wallet_actions_top" type="bool">true</item>
</resources>
5 changes: 0 additions & 5 deletions wallet/res/values-xlarge/layouts.xml

This file was deleted.

2 changes: 1 addition & 1 deletion wallet/res/values/layouts.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
<resources>
<item name="wallet_content" type="layout">@layout/wallet_activity_onepane_vertical</item>
<item name="wallet_actions_top" type="bool">false</item>
<item name="show_local_balance" type="bool">false</item>
<bool name="show_wallet_address_dialog_hint">false</bool>
<item name="address_book_content" type="layout">@layout/address_book_onepane</item>
<item name="network_monitor_content" type="layout">@layout/network_monitor_onepane</item>
<item name="show_exchange_rates_option" type="bool">true</item>
<item name="show_local_balance" type="bool">true</item>
</resources>

0 comments on commit d6da72d

Please sign in to comment.