[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-commits] [orbot/master] look and feel updates
commit 2c3b47eb16b941eb935a7607f8f1b3ae7f209058
Author: Nathan Freitas <nathan@xxxxxxxxxxx>
Date: Mon Feb 23 12:28:11 2015 -0500
look and feel updates
---
res/drawable/button_on.xml | 35 +++++++++++++++++++++++++++++++++++
res/drawable/toggle.xml | 2 +-
res/layout/layout_main.xml | 4 ++--
3 files changed, 38 insertions(+), 3 deletions(-)
diff --git a/res/drawable/button_on.xml b/res/drawable/button_on.xml
new file mode 100644
index 0000000..348a6df
--- /dev/null
+++ b/res/drawable/button_on.xml
@@ -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>
\ No newline at end of file
diff --git a/res/drawable/toggle.xml b/res/drawable/toggle.xml
index 6b29ea1..0f9a36e 100644
--- a/res/drawable/toggle.xml
+++ b/res/drawable/toggle.xml
@@ -4,5 +4,5 @@
android:drawable="@drawable/button_off" />
<item
android:state_checked="true"
- android:drawable="@drawable/button" />
+ android:drawable="@drawable/button_on" />
</selector>
\ No newline at end of file
diff --git a/res/layout/layout_main.xml b/res/layout/layout_main.xml
index 5ccc187..2576b27 100644
--- a/res/layout/layout_main.xml
+++ b/res/layout/layout_main.xml
@@ -101,7 +101,7 @@
>
<TextView
android:id="@+id/trafficDown"
- android:textColor="#ccff2a"
+ android:textColor="@color/bright_green"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentLeft="true"
@@ -112,7 +112,7 @@
<TextView
android:id="@+id/trafficUp"
- android:textColor="#ccff2a"
+ android:textColor="@color/bright_green"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentRight="true"
_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits