Skip to content

Commit 938a75d

Browse files
author
Blanka Kulik
committed
Improve library layouts some more
1 parent a0087bc commit 938a75d

6 files changed

Lines changed: 8 additions & 8 deletions

File tree

androidtweakslibrary/src/main/res/layout/group_recycler_view_item.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
<View
2424
android:layout_width="match_parent"
2525
android:layout_height="1dp"
26-
android:background="@color/boarderGrey"
26+
android:background="@color/lightGrey"
2727
android:layout_marginLeft="16dp"
2828
android:layout_marginBottom="16dp"/>
2929

androidtweakslibrary/src/main/res/layout/tweak_item.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,14 +22,14 @@
2222
android:layout_width="wrap_content"
2323
android:layout_height="wrap_content"
2424
android:layout_weight="1"
25+
android:paddingRight="16dp"
2526
android:textSize="16sp"
2627
android:textColor="@android:color/black"/>
2728

2829
<android.support.v7.widget.SwitchCompat
2930
android:id="@+id/switch_button"
3031
android:layout_width="50dp"
3132
android:layout_height="30dp"
32-
android:paddingLeft="8dp"
3333
android:checked="false"
3434
android:text=""
3535
android:theme="@style/Switch"/>

androidtweakslibrary/src/main/res/layout/tweak_store_list_item.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
android:layout_width="wrap_content"
1515
android:layout_height="wrap_content"
1616
android:layout_weight="1"
17+
android:paddingRight="16dp"
1718
android:textSize="16sp"
1819
android:textColor="@android:color/black"/>
1920

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<resources>
33
<color name="lightGrey">#EEEEEE</color>
4-
<color name="boarderGrey">#BDBDBD</color>
54
<color name="colorPrimary">@android:color/white</color>
6-
<color name="colorPrimaryDark">#757575</color>
5+
<color name="colorPrimaryDark">#BDBDBD</color>
76
<color name="colorAccent">#3F51B5</color>
87
</resources>

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,14 +7,14 @@
77
<item name="colorPrimaryDark">@color/colorPrimaryDark</item>
88
<item name="colorAccent">@color/colorAccent</item>
99
</style>
10-
<style name="Switch" parent="AndroidTweaksTheme">
10+
<style name="Switch" parent="Theme.AppCompat.Light.DarkActionBar">
1111
<!-- active thumb & track color (30% transparency) -->
1212
<item name="colorControlActivated">#3F51B5</item>
1313

1414
<!-- inactive thumb color -->
15-
<item name="colorSwitchThumbNormal">#757575</item>
15+
<item name="colorSwitchThumbNormal">#BDBDBD</item>
1616

1717
<!-- inactive track color (30% transparency) -->
18-
<item name="android:colorForeground">#757575</item>
18+
<item name="android:colorForeground">#BDBDBD</item>
1919
</style>
2020
</resources>

app/src/main/java/no/agens/androidtweaks/MyTweaks.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ public class MyTweaks {
1414
public static final TweakBoolean newOne = new TweakBoolean("Paramppppppppppppppp", "Pampam", "Piggy", false);
1515
public static final TweakBoolean newTwo = new TweakBoolean("Paramppp", "Pampam", "Piggy", false);
1616
public static final TweakBoolean newThree = new TweakBoolean("P", "Pampam", "Piggy", false);
17-
public static final TweakBoolean newFour = new TweakBoolean("Parampppppppppppppppjjujjuhcxxgxxgxxgxgxxxx", "Pampam", "Piggy", true);
17+
public static final TweakBoolean newFour = new TweakBoolean("Parampppppppppppppppjjujjuhcxxgxxgxxgxgxxxx", "Pampam", "Piggyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy", true);
1818

1919
public static final List<Tweak> tweaks = new ArrayList<Tweak>() {{
2020
add(darkTheme);

0 commit comments

Comments
 (0)