Skip to content

Commit fef2f6c

Browse files
committed
refactor
1 parent 8d26042 commit fef2f6c

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

app/src/main/res/values/styles.xml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,19 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<resources>
33

4-
<style name="game_btn">
4+
<style name="btn">
55
<item name="android:backgroundTint">@color/colorBtnGame</item>
66
<item name="android:textSize">50sp</item>
77
<item name="android:textStyle">bold</item>
8+
</style>
9+
10+
<style name="game_btn" parent="btn">
811
<item name="android:layout_width">100dp</item>
912
<item name="android:layout_height">100dp</item>
1013
<item name="android:layout_margin">5dp</item>
1114
</style>
1215

13-
<style name="game_btn_land">
14-
<item name="android:backgroundTint">@color/colorBtnGame</item>
15-
<item name="android:textSize">45sp</item>
16-
<item name="android:textStyle">bold</item>
16+
<style name="game_btn_land" parent="btn">
1717
<item name="android:layout_width">90dp</item>
1818
<item name="android:layout_height">90dp</item>
1919
<item name="android:layout_margin">3dp</item>

0 commit comments

Comments
 (0)