look and feel updates

This commit is contained in:
Nathan Freitas 2015-02-23 12:28:11 -05:00
parent 31053adf67
commit 2c3b47eb16
3 changed files with 38 additions and 3 deletions

View File

@ -0,0 +1,35 @@
<?xml version="1.0" encoding="utf-8" ?>
<selector xmlns:android="http://schemas.android.com/apk/res/android">
<item android:state_pressed="true" >
<shape>
<solid
android:color="@color/bright_green" />
<stroke
android:width="1dp"
android:color="#ffffff" />
<corners
android:radius="6dp" />
<padding
android:left="10dp"
android:top="10dp"
android:right="10dp"
android:bottom="10dp" />
</shape>
</item>
<item>
<shape>
<solid
android:color="@color/dark_green" />
<stroke
android:width="1dp"
android:color="#ffffff" />
<corners
android:radius="6dp" />
<padding
android:left="10dp"
android:top="10dp"
android:right="10dp"
android:bottom="10dp" />
</shape>
</item>
</selector>

View File

@ -4,5 +4,5 @@
android:drawable="@drawable/button_off" /> android:drawable="@drawable/button_off" />
<item <item
android:state_checked="true" android:state_checked="true"
android:drawable="@drawable/button" /> android:drawable="@drawable/button_on" />
</selector> </selector>

View File

@ -101,7 +101,7 @@
> >
<TextView <TextView
android:id="@+id/trafficDown" android:id="@+id/trafficDown"
android:textColor="#ccff2a" android:textColor="@color/bright_green"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_alignParentLeft="true" android:layout_alignParentLeft="true"
@ -112,7 +112,7 @@
<TextView <TextView
android:id="@+id/trafficUp" android:id="@+id/trafficUp"
android:textColor="#ccff2a" android:textColor="@color/bright_green"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_alignParentRight="true" android:layout_alignParentRight="true"