summaryrefslogtreecommitdiff
path: root/src/ui/android/res
diff options
context:
space:
mode:
authoraarne <aarne@chalmers.se>2014-03-18 13:22:13 +0000
committeraarne <aarne@chalmers.se>2014-03-18 13:22:13 +0000
commitcbb538e170c9a7233e2ca438db8560d60fd91609 (patch)
treec44f9791764c8356553d7ce8c60311de10646995 /src/ui/android/res
parentb4a6e047e3642322a6d0ec47fb6dec1b7bfc9501 (diff)
a darker red in translation app: dictionary lookup for each word, identity if lookup fails
Diffstat (limited to 'src/ui/android/res')
-rw-r--r--src/ui/android/res/drawable/second_person_worst_utterance_bg.xml6
-rw-r--r--src/ui/android/res/layout/second_person_worst_utterance.xml12
2 files changed, 18 insertions, 0 deletions
diff --git a/src/ui/android/res/drawable/second_person_worst_utterance_bg.xml b/src/ui/android/res/drawable/second_person_worst_utterance_bg.xml
new file mode 100644
index 000000000..f4effe3bc
--- /dev/null
+++ b/src/ui/android/res/drawable/second_person_worst_utterance_bg.xml
@@ -0,0 +1,6 @@
+<?xml version="1.0" encoding="utf-8"?>
+<shape xmlns:android="http://schemas.android.com/apk/res/android"
+ android:shape="rectangle">
+ <corners android:radius="4dp" />
+ <solid android:color="#FF303e" />
+</shape> \ No newline at end of file
diff --git a/src/ui/android/res/layout/second_person_worst_utterance.xml b/src/ui/android/res/layout/second_person_worst_utterance.xml
new file mode 100644
index 000000000..12d33a24d
--- /dev/null
+++ b/src/ui/android/res/layout/second_person_worst_utterance.xml
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="utf-8"?>
+<TextView
+ xmlns:android="http://schemas.android.com/apk/res/android"
+ android:layout_height="wrap_content"
+ android:layout_width="wrap_content"
+ android:layout_marginBottom="16dp"
+ android:layout_marginLeft="32dp"
+ android:layout_gravity="right"
+ android:padding="8dp"
+ android:textSize="20sp"
+ android:background="@drawable/second_person_worst_utterance_bg"
+ />