aboutsummaryrefslogtreecommitdiffstats
path: root/res/color
diff options
context:
space:
mode:
authorJeffrey Sharkey <jsharkey@jsharkey.org>2008-09-11 21:55:38 +0000
committerJeffrey Sharkey <jsharkey@jsharkey.org>2008-09-11 21:55:38 +0000
commit071e39dc7e7d06c021a6d65ae7a65242c8ea99ed (patch)
tree71ac1b00fa9fc45cf155021879ab55f1ff395611 /res/color
parent6681b4c809bf76cd558c5b314b6de9cfc98bc187 (diff)
downloadconnectbot-071e39dc7e7d06c021a6d65ae7a65242c8ea99ed.tar.gz
connectbot-071e39dc7e7d06c021a6d65ae7a65242c8ea99ed.tar.bz2
connectbot-071e39dc7e7d06c021a6d65ae7a65242c8ea99ed.zip
* WARNING: this build is broken lol
* moving more stuff over to new frontend gui in org.connectbot * found out that we dont need a contentprovider to make desktop shortcuts, will be easy to add ssh://user@host/ uri shortcut handling * new host-editing backend that uses preferences hack, will blog about this technique later today * using colors to categorize hosts (does this work?) * moved host-specific options (like disconnect/edit/delete) to long-tap menu instead of main menu
Diffstat (limited to 'res/color')
-rw-r--r--res/color/blue.xml6
-rw-r--r--res/color/green.xml6
-rw-r--r--res/color/red.xml6
3 files changed, 18 insertions, 0 deletions
diff --git a/res/color/blue.xml b/res/color/blue.xml
new file mode 100644
index 0000000..8111aeb
--- /dev/null
+++ b/res/color/blue.xml
@@ -0,0 +1,6 @@
+<selector xmlns:android="http://schemas.android.com/apk/res/android">
+ <item android:state_selected="true" android:color="#000" />
+ <item android:state_focused="true" android:color="#000" />
+ <item android:state_pressed="true" android:color="#000" />
+ <item android:color="#88f" />
+</selector>
diff --git a/res/color/green.xml b/res/color/green.xml
new file mode 100644
index 0000000..a8c12ab
--- /dev/null
+++ b/res/color/green.xml
@@ -0,0 +1,6 @@
+<selector xmlns:android="http://schemas.android.com/apk/res/android">
+ <item android:state_selected="true" android:color="#000" />
+ <item android:state_focused="true" android:color="#000" />
+ <item android:state_pressed="true" android:color="#000" />
+ <item android:color="#8f8" />
+</selector>
diff --git a/res/color/red.xml b/res/color/red.xml
new file mode 100644
index 0000000..2b5f6c6
--- /dev/null
+++ b/res/color/red.xml
@@ -0,0 +1,6 @@
+<selector xmlns:android="http://schemas.android.com/apk/res/android">
+ <item android:state_selected="true" android:color="#000" />
+ <item android:state_focused="true" android:color="#000" />
+ <item android:state_pressed="true" android:color="#000" />
+ <item android:color="#f00" />
+</selector>