Skip to content

Commit

Permalink
Improve library layouts some more
Browse files Browse the repository at this point in the history
  • Loading branch information
Blanka Kulik committed Sep 11, 2017
1 parent a0087bc commit 938a75d
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
<View
android:layout_width="match_parent"
android:layout_height="1dp"
android:background="@color/boarderGrey"
android:background="@color/lightGrey"
android:layout_marginLeft="16dp"
android:layout_marginBottom="16dp"/>

Expand Down
2 changes: 1 addition & 1 deletion androidtweakslibrary/src/main/res/layout/tweak_item.xml
Original file line number Diff line number Diff line change
Expand Up @@ -22,14 +22,14 @@
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_weight="1"
android:paddingRight="16dp"
android:textSize="16sp"
android:textColor="@android:color/black"/>

<android.support.v7.widget.SwitchCompat
android:id="@+id/switch_button"
android:layout_width="50dp"
android:layout_height="30dp"
android:paddingLeft="8dp"
android:checked="false"
android:text=""
android:theme="@style/Switch"/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_weight="1"
android:paddingRight="16dp"
android:textSize="16sp"
android:textColor="@android:color/black"/>

Expand Down
3 changes: 1 addition & 2 deletions androidtweakslibrary/src/main/res/values/colors.xml
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<color name="lightGrey">#EEEEEE</color>
<color name="boarderGrey">#BDBDBD</color>
<color name="colorPrimary">@android:color/white</color>
<color name="colorPrimaryDark">#757575</color>
<color name="colorPrimaryDark">#BDBDBD</color>
<color name="colorAccent">#3F51B5</color>
</resources>
6 changes: 3 additions & 3 deletions androidtweakslibrary/src/main/res/values/styles.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,14 @@
<item name="colorPrimaryDark">@color/colorPrimaryDark</item>
<item name="colorAccent">@color/colorAccent</item>
</style>
<style name="Switch" parent="AndroidTweaksTheme">
<style name="Switch" parent="Theme.AppCompat.Light.DarkActionBar">
<!-- active thumb & track color (30% transparency) -->
<item name="colorControlActivated">#3F51B5</item>

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

<!-- inactive track color (30% transparency) -->
<item name="android:colorForeground">#757575</item>
<item name="android:colorForeground">#BDBDBD</item>
</style>
</resources>
2 changes: 1 addition & 1 deletion app/src/main/java/no/agens/androidtweaks/MyTweaks.java
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ public class MyTweaks {
public static final TweakBoolean newOne = new TweakBoolean("Paramppppppppppppppp", "Pampam", "Piggy", false);
public static final TweakBoolean newTwo = new TweakBoolean("Paramppp", "Pampam", "Piggy", false);
public static final TweakBoolean newThree = new TweakBoolean("P", "Pampam", "Piggy", false);
public static final TweakBoolean newFour = new TweakBoolean("Parampppppppppppppppjjujjuhcxxgxxgxxgxgxxxx", "Pampam", "Piggy", true);
public static final TweakBoolean newFour = new TweakBoolean("Parampppppppppppppppjjujjuhcxxgxxgxxgxgxxxx", "Pampam", "Piggyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy", true);

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

0 comments on commit 938a75d

Please sign in to comment.