summaryrefslogtreecommitdiffstats
path: root/app/src/main/res
diff options
context:
space:
mode:
authortom79 <tschneider.ac@gmail.com>2019-05-11 19:58:41 +0200
committertom79 <tschneider.ac@gmail.com>2019-05-11 19:58:41 +0200
commit3629f4a137b356d3b0ef940d293984a92b479457 (patch)
tree18835b41d7c7f75a0a99313dc3190ce4b6acc0a9 /app/src/main/res
parentf8d823360e239232d2f8918365f6b5c39ce58d7c (diff)
Follow GNU Social instances
Diffstat (limited to 'app/src/main/res')
-rw-r--r--app/src/main/res/drawable/ic_gnu_social.xml13
-rw-r--r--app/src/main/res/layout/search_instance.xml5
-rw-r--r--app/src/main/res/values/strings.xml1
3 files changed, 19 insertions, 0 deletions
diff --git a/app/src/main/res/drawable/ic_gnu_social.xml b/app/src/main/res/drawable/ic_gnu_social.xml
new file mode 100644
index 000000000..a14c90623
--- /dev/null
+++ b/app/src/main/res/drawable/ic_gnu_social.xml
@@ -0,0 +1,13 @@
+<vector android:height="24dp" android:viewportHeight="50"
+ android:viewportWidth="46" android:width="24dp" xmlns:android="http://schemas.android.com/apk/res/android">
+ <path android:fillAlpha="1" android:fillColor="#a22430"
+ android:pathData="m35.7851,38.8496c-1.9018,11.0937 -19.5461,11.1503 -19.5461,11.1503 0,0 10.7949,-3.3447 10.0553,-11.3745 -0.6756,-7.3353 9.4908,0.2241 9.4908,0.2241z" android:strokeColor="#00000000"/>
+ <path android:fillAlpha="1" android:fillColor="#a22430"
+ android:pathData="M6.7862,-0L39.2138,-0A6.5744,6.5744 0,0 1,45.7882 6.5744L45.7882,32.857A6.5744,6.5744 0,0 1,39.2138 39.4314L6.7862,39.4314A6.5744,6.5744 0,0 1,0.2118 32.857L0.2118,6.5744A6.5744,6.5744 0,0 1,6.7862 -0z" android:strokeColor="#00000000"/>
+ <path android:fillAlpha="1" android:fillColor="#ffffff"
+ android:pathData="m24.6405,23.3869 l9.1892,0c0,0 0,-4.4078 0,0 0,4.4078 -1.8677,11.2811 -10.6087,10.8328 -8.741,-0.4483 -10.6834,-7.3215 -10.7581,-11.9535 -0.0747,-4.632 1.3478,-10.3478 11.6546,-10.0857 8.8157,0.2241 9.6375,8.2927 9.6375,8.2927l-4.2584,-0.0747c0,0 -0.9712,-4.4078 -6.1262,-4.1837 -5.1549,0.2241 -5.8273,1.1206 -5.8273,6.5744 0,5.4538 2.3904,7.3283 6.0514,7.4709 5.7526,0.2241 5.2296,-2.9884 5.2296,-2.9884l-2.6895,0.1494z" android:strokeColor="#00000000"/>
+ <path android:fillAlpha="1" android:fillColor="#ffffff"
+ android:pathData="m29.2795,5.3446c0.6983,-0.6228 3.6981,3.0257 3.7728,4.4452 0.1099,2.089 0.1653,5.8854 -6.0514,5.8273 -3.9969,-0.0374 -4.1837,-2.7642 -4.1837,-2.7642 0,0 -0.1121,-2.3533 2.0545,-2.3533 2.1666,0 1.4552,1.5315 3.1751,1.5315 2.5775,0 2.1757,-1.0455 2.2413,-2.3907 0.1494,-3.0631 -1.7068,-3.673 -1.0086,-4.2958z" android:strokeColor="#00000000"/>
+ <path android:fillAlpha="1" android:fillColor="#ffffff"
+ android:pathData="m16.5783,5.3446c-0.6983,-0.6228 -3.7728,2.3533 -3.7728,4.4452 0,2.0919 -0.1653,5.8854 6.0514,5.8273 3.9969,-0.0374 4.1837,-2.7642 4.1837,-2.7642 0,0 0.1121,-2.3533 -2.0545,-2.3533 -2.1666,0 -1.4552,1.5315 -3.1751,1.5315 -2.5775,0 -2.1757,-1.0455 -2.2413,-2.3907 -0.1494,-3.0631 1.7068,-3.673 1.0086,-4.2958z" android:strokeColor="#00000000"/>
+</vector>
diff --git a/app/src/main/res/layout/search_instance.xml b/app/src/main/res/layout/search_instance.xml
index ce2d5b894..81cca530c 100644
--- a/app/src/main/res/layout/search_instance.xml
+++ b/app/src/main/res/layout/search_instance.xml
@@ -36,5 +36,10 @@
android:layout_height="wrap_content"
android:text="@string/misskey_instance"
/>
+ <RadioButton android:id="@+id/gnu_instance"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:text="@string/gnu_instance"
+ />
</RadioGroup>
</LinearLayout> \ No newline at end of file
diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml
index fc6b2d299..59892bd9a 100644
--- a/app/src/main/res/values/strings.xml
+++ b/app/src/main/res/values/strings.xml
@@ -944,6 +944,7 @@
<string name="action_bbcode">BBCode</string>
<string name="add_timeline">Add a timeline</string>
<string name="set_sensitive_content">Always mark media as sensitive</string>
+ <string name="gnu_instance">GNU instance</string>
<plurals name="number_of_vote">
<item quantity="one">%d vote</item>