summaryrefslogtreecommitdiff
path: root/taler-kotlin-android/src/main/res/values
diff options
context:
space:
mode:
Diffstat (limited to 'taler-kotlin-android/src/main/res/values')
-rw-r--r--taler-kotlin-android/src/main/res/values/dimens.xml20
-rw-r--r--taler-kotlin-android/src/main/res/values/strings.xml3
-rw-r--r--taler-kotlin-android/src/main/res/values/styles.xml27
3 files changed, 50 insertions, 0 deletions
diff --git a/taler-kotlin-android/src/main/res/values/dimens.xml b/taler-kotlin-android/src/main/res/values/dimens.xml
new file mode 100644
index 0000000..03c413d
--- /dev/null
+++ b/taler-kotlin-android/src/main/res/values/dimens.xml
@@ -0,0 +1,20 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+ ~ This file is part of GNU Taler
+ ~ (C) 2020 Taler Systems S.A.
+ ~
+ ~ GNU Taler is free software; you can redistribute it and/or modify it under the
+ ~ terms of the GNU General Public License as published by the Free Software
+ ~ Foundation; either version 3, or (at your option) any later version.
+ ~
+ ~ GNU Taler is distributed in the hope that it will be useful, but WITHOUT ANY
+ ~ WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
+ ~ A PARTICULAR PURPOSE. See the GNU General Public License for more details.
+ ~
+ ~ You should have received a copy of the GNU General Public License along with
+ ~ GNU Taler; see the file COPYING. If not, see <http://www.gnu.org/licenses/>
+ -->
+
+<resources>
+ <item name="bottom_sheet_peek_height" type="dimen">80dp</item>
+</resources>
diff --git a/taler-kotlin-android/src/main/res/values/strings.xml b/taler-kotlin-android/src/main/res/values/strings.xml
index a5b1df1..9903ada 100644
--- a/taler-kotlin-android/src/main/res/values/strings.xml
+++ b/taler-kotlin-android/src/main/res/values/strings.xml
@@ -18,4 +18,7 @@
<string name="version_invalid">Invalid version. Please try again later!</string>
<string name="version_too_old">App too old. Please upgrade!</string>
<string name="version_too_new">Service outdated. Please wait until it gets upgraded.</string>
+
+ <string name="close">Close</string>
+ <string name="share">Share</string>
</resources>
diff --git a/taler-kotlin-android/src/main/res/values/styles.xml b/taler-kotlin-android/src/main/res/values/styles.xml
new file mode 100644
index 0000000..af11cbd
--- /dev/null
+++ b/taler-kotlin-android/src/main/res/values/styles.xml
@@ -0,0 +1,27 @@
+<?xml version="1.0" encoding="utf-8"?><!--
+ ~ This file is part of GNU Taler
+ ~ (C) 2020 Taler Systems S.A.
+ ~
+ ~ GNU Taler is free software; you can redistribute it and/or modify it under the
+ ~ terms of the GNU General Public License as published by the Free Software
+ ~ Foundation; either version 3, or (at your option) any later version.
+ ~
+ ~ GNU Taler is distributed in the hope that it will be useful, but WITHOUT ANY
+ ~ WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
+ ~ A PARTICULAR PURPOSE. See the GNU General Public License for more details.
+ ~
+ ~ You should have received a copy of the GNU General Public License along with
+ ~ GNU Taler; see the file COPYING. If not, see <http://www.gnu.org/licenses/>
+ -->
+
+<resources>
+
+ <style name="ErrorBottomSheet" parent="Widget.MaterialComponents.BottomSheet.Modal">
+ <item name="behavior_peekHeight">@dimen/bottom_sheet_peek_height</item>
+ </style>
+
+ <style name="ErrorBottomSheetTheme" parent="Theme.MaterialComponents.BottomSheetDialog">
+ <item name="bottomSheetStyle">@style/ErrorBottomSheet</item>
+ </style>
+
+</resources> \ No newline at end of file