diff options
Diffstat (limited to 'res')
-rw-r--r-- | res/drawable/blue.xml | 5 | ||||
-rw-r--r-- | res/drawable/bluebackground.xml | 9 | ||||
-rw-r--r-- | res/drawable/darkblue.xml | 5 | ||||
-rw-r--r-- | res/drawable/darkred.xml | 5 | ||||
-rw-r--r-- | res/drawable/red.xml | 5 | ||||
-rw-r--r-- | res/drawable/redbackground.xml | 9 | ||||
-rw-r--r-- | res/layout/fragment_conversation.xml | 8 |
7 files changed, 42 insertions, 4 deletions
diff --git a/res/drawable/blue.xml b/res/drawable/blue.xml new file mode 100644 index 00000000..5692154a --- /dev/null +++ b/res/drawable/blue.xml @@ -0,0 +1,5 @@ +<?xml version="1.0" encoding="utf-8"?> +<shape xmlns:android="http://schemas.android.com/apk/res/android" + android:shape="rectangle"> + <solid android:color="#FF1da9da" /> +</shape>
\ No newline at end of file diff --git a/res/drawable/bluebackground.xml b/res/drawable/bluebackground.xml new file mode 100644 index 00000000..fbf6d317 --- /dev/null +++ b/res/drawable/bluebackground.xml @@ -0,0 +1,9 @@ +<?xml version="1.0" encoding="utf-8"?> +<selector xmlns:android="http://schemas.android.com/apk/res/android" > + <item + android:state_pressed="false" + android:drawable="@drawable/blue" /> + <item + android:state_pressed="true" + android:drawable="@drawable/darkblue" /> +</selector> diff --git a/res/drawable/darkblue.xml b/res/drawable/darkblue.xml new file mode 100644 index 00000000..b33c38ce --- /dev/null +++ b/res/drawable/darkblue.xml @@ -0,0 +1,5 @@ +<?xml version="1.0" encoding="utf-8"?> +<shape xmlns:android="http://schemas.android.com/apk/res/android" + android:shape="rectangle"> + <solid android:color="#FF0099cc" /> +</shape>
\ No newline at end of file diff --git a/res/drawable/darkred.xml b/res/drawable/darkred.xml new file mode 100644 index 00000000..1313cc2f --- /dev/null +++ b/res/drawable/darkred.xml @@ -0,0 +1,5 @@ +<?xml version="1.0" encoding="utf-8"?> +<shape xmlns:android="http://schemas.android.com/apk/res/android" + android:shape="rectangle"> + <solid android:color="#ffcc0000" /> +</shape>
\ No newline at end of file diff --git a/res/drawable/red.xml b/res/drawable/red.xml new file mode 100644 index 00000000..abdc07d6 --- /dev/null +++ b/res/drawable/red.xml @@ -0,0 +1,5 @@ +<?xml version="1.0" encoding="utf-8"?> +<shape xmlns:android="http://schemas.android.com/apk/res/android" + android:shape="rectangle"> + <solid android:color="#FFe92727" /> +</shape>
\ No newline at end of file diff --git a/res/drawable/redbackground.xml b/res/drawable/redbackground.xml new file mode 100644 index 00000000..ddca66f4 --- /dev/null +++ b/res/drawable/redbackground.xml @@ -0,0 +1,9 @@ +<?xml version="1.0" encoding="utf-8"?> +<selector xmlns:android="http://schemas.android.com/apk/res/android" > + <item + android:state_pressed="false" + android:drawable="@drawable/red" /> + <item + android:state_pressed="true" + android:drawable="@drawable/darkred" /> +</selector> diff --git a/res/layout/fragment_conversation.xml b/res/layout/fragment_conversation.xml index 4e0d2030..cea2be1f 100644 --- a/res/layout/fragment_conversation.xml +++ b/res/layout/fragment_conversation.xml @@ -66,7 +66,7 @@ android:id="@+id/new_fingerprint" android:layout_width="fill_parent" android:layout_height="wrap_content" - android:background="#e92727" + android:background="@drawable/redbackground" android:orientation="vertical" android:visibility="gone" > @@ -94,7 +94,7 @@ android:id="@+id/pgp_keyentry" android:layout_width="fill_parent" android:layout_height="wrap_content" - android:background="#ffa713" + android:background="@drawable/bluebackground" android:orientation="vertical" android:visibility="gone" > @@ -103,14 +103,14 @@ android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="OpenPGP encrypted messages found" - android:textColor="#000" + android:textColor="#eee" android:textStyle="bold" android:padding="8dp" android:textSize="20sp"/> <TextView android:layout_width="wrap_content" android:layout_height="wrap_content" - android:textColor="#000" + android:textColor="#eee" android:text="Click here to enter passphrase and decrypt messages" android:paddingLeft="8dp" android:paddingBottom="8dp" |