Skip to content

Commit

Permalink
[REFACTOR] [#192] Moved dimens to common res file.
Browse files Browse the repository at this point in the history
Also renamed all files in `core` to have `common_` prefix.
  • Loading branch information
hossain-khan committed Feb 15, 2018
1 parent 9096606 commit aa858f8
Show file tree
Hide file tree
Showing 5 changed files with 31 additions and 4 deletions.
File renamed without changes.
31 changes: 31 additions & 0 deletions core-lib/src/main/res/values/common_dimens.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
~ MIT License
~
~ Copyright (c) 2018 Hossain Khan
~
~ Permission is hereby granted, free of charge, to any person obtaining a copy
~ of this software and associated documentation files (the "Software"), to deal
~ in the Software without restriction, including without limitation the rights
~ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
~ copies of the Software, and to permit persons to whom the Software is
~ furnished to do so, subject to the following conditions:
~
~ The above copyright notice and this permission notice shall be included in all
~ copies or substantial portions of the Software.
~
~ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
~ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
~ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
~ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
~ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
~ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
~ SOFTWARE.
-->

<resources>
<!-- Default screen margins, per the Android Design guidelines. -->
<dimen name="activity_horizontal_margin">16dp</dimen>
<dimen name="activity_vertical_margin">16dp</dimen>

</resources>
File renamed without changes.
File renamed without changes.
4 changes: 0 additions & 4 deletions tv/src/main/res/values/dimens.xml
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,6 @@
-->

<resources>
<!-- Default screen margins, per the Android Design guidelines. -->
<dimen name="activity_horizontal_margin">16dp</dimen>
<dimen name="activity_vertical_margin">16dp</dimen>

<dimen name="card_text_container_width">420dp</dimen>
<dimen name="card_text_container_height">305dp</dimen>

Expand Down

0 comments on commit aa858f8

Please sign in to comment.