diff options
author | John Heroy <johnheroy@gmail.com> | 2015-10-27 12:23:20 -0700 |
---|---|---|
committer | John Heroy <johnheroy@gmail.com> | 2015-10-27 12:23:20 -0700 |
commit | 438dafe7da010e70b1a41ed55054a9b5dfe7ac3c (patch) | |
tree | 20a7495f484a256f97a8a5acaa03288ed19fa06d | |
parent | e6e4236445ae01cb9d6c10e31a7b8595b73e233d (diff) | |
parent | 63a8a42db55fb9d6f101e5c77ec2d753e45b26c5 (diff) | |
download | connectbot-438dafe7da010e70b1a41ed55054a9b5dfe7ac3c.tar.gz connectbot-438dafe7da010e70b1a41ed55054a9b5dfe7ac3c.tar.bz2 connectbot-438dafe7da010e70b1a41ed55054a9b5dfe7ac3c.zip |
Merge branch 'master' into add-host-button2
-rw-r--r-- | app/src/main/res/drawable/ic_android.xml | 9 | ||||
-rw-r--r-- | app/src/main/res/drawable/ic_code.xml | 9 | ||||
-rw-r--r-- | app/src/main/res/drawable/ic_format_size.xml | 9 | ||||
-rw-r--r-- | app/src/main/res/drawable/ic_laptop.xml | 9 | ||||
-rw-r--r-- | app/src/main/res/drawable/ic_palette.xml | 9 | ||||
-rw-r--r-- | app/src/main/res/drawable/ic_person.xml | 9 | ||||
-rw-r--r-- | app/src/main/res/drawable/ic_sync.xml | 9 | ||||
-rw-r--r-- | app/src/main/res/drawable/ic_sync_disabled.xml | 9 | ||||
-rw-r--r-- | app/src/main/res/drawable/ic_vpn_key.xml | 9 | ||||
-rw-r--r-- | app/src/main/res/drawable/ic_vpn_lock.xml | 9 | ||||
-rw-r--r-- | app/src/main/res/drawable/ic_zip.xml | 9 | ||||
-rw-r--r-- | app/src/main/res/layout/fragment_host_editor.xml | 32 |
12 files changed, 119 insertions, 12 deletions
diff --git a/app/src/main/res/drawable/ic_android.xml b/app/src/main/res/drawable/ic_android.xml new file mode 100644 index 0000000..fde152b --- /dev/null +++ b/app/src/main/res/drawable/ic_android.xml @@ -0,0 +1,9 @@ +<vector xmlns:android="http://schemas.android.com/apk/res/android" + android:width="24dp" + android:height="24dp" + android:viewportWidth="24.0" + android:viewportHeight="24.0"> + <path + android:pathData="M6,18c0,0.55 0.45,1 1,1h1v3.5c0,0.83 0.67,1.5 1.5,1.5s1.5,-0.67 1.5,-1.5V19h2v3.5c0,0.83 0.67,1.5 1.5,1.5s1.5,-0.67 1.5,-1.5V19h1c0.55,0 1,-0.45 1,-1V8H6v10zM3.5,8C2.67,8 2,8.67 2,9.5v7c0,0.83 0.67,1.5 1.5,1.5S5,17.33 5,16.5v-7C5,8.67 4.33,8 3.5,8zm17,0c-0.83,0 -1.5,0.67 -1.5,1.5v7c0,0.83 0.67,1.5 1.5,1.5s1.5,-0.67 1.5,-1.5v-7c0,-0.83 -0.67,-1.5 -1.5,-1.5zm-4.97,-5.84l1.3,-1.3c0.2,-0.2 0.2,-0.51 0,-0.71 -0.2,-0.2 -0.51,-0.2 -0.71,0l-1.48,1.48C13.85,1.23 12.95,1 12,1c-0.96,0 -1.86,0.23 -2.66,0.63L7.85,0.15c-0.2,-0.2 -0.51,-0.2 -0.71,0 -0.2,0.2 -0.2,0.51 0,0.71l1.31,1.31C6.97,3.26 6,5.01 6,7h12c0,-1.99 -0.97,-3.75 -2.47,-4.84zM10,5H9V4h1v1zm5,0h-1V4h1v1z" + android:fillColor="#FFFFFF"/> +</vector> diff --git a/app/src/main/res/drawable/ic_code.xml b/app/src/main/res/drawable/ic_code.xml new file mode 100644 index 0000000..6dc41cf --- /dev/null +++ b/app/src/main/res/drawable/ic_code.xml @@ -0,0 +1,9 @@ +<vector xmlns:android="http://schemas.android.com/apk/res/android" + android:width="24dp" + android:height="24dp" + android:viewportWidth="24.0" + android:viewportHeight="24.0"> + <path + android:pathData="M9.4,16.6L4.8,12l4.6,-4.6L8,6l-6,6 6,6 1.4,-1.4zm5.2,0l4.6,-4.6 -4.6,-4.6L16,6l6,6 -6,6 -1.4,-1.4z" + android:fillColor="#FFFFFF"/> +</vector> diff --git a/app/src/main/res/drawable/ic_format_size.xml b/app/src/main/res/drawable/ic_format_size.xml new file mode 100644 index 0000000..760c272 --- /dev/null +++ b/app/src/main/res/drawable/ic_format_size.xml @@ -0,0 +1,9 @@ +<vector xmlns:android="http://schemas.android.com/apk/res/android" + android:width="24dp" + android:height="24dp" + android:viewportWidth="24.0" + android:viewportHeight="24.0"> + <path + android:pathData="M9,4v3h5v12h3V7h5V4H9zm-6,8h3v7h3v-7h3V9H3v3z" + android:fillColor="#FFFFFF"/> +</vector> diff --git a/app/src/main/res/drawable/ic_laptop.xml b/app/src/main/res/drawable/ic_laptop.xml new file mode 100644 index 0000000..d2e02b3 --- /dev/null +++ b/app/src/main/res/drawable/ic_laptop.xml @@ -0,0 +1,9 @@ +<vector xmlns:android="http://schemas.android.com/apk/res/android" + android:width="24dp" + android:height="24dp" + android:viewportWidth="24.0" + android:viewportHeight="24.0"> + <path + android:pathData="M22,18V3H2v15H0v2h24v-2h-2zm-8,0h-4v-1h4v1zm6,-3H4V5h16v10z" + android:fillColor="#FFFFFF"/> +</vector> diff --git a/app/src/main/res/drawable/ic_palette.xml b/app/src/main/res/drawable/ic_palette.xml new file mode 100644 index 0000000..046768c --- /dev/null +++ b/app/src/main/res/drawable/ic_palette.xml @@ -0,0 +1,9 @@ +<vector xmlns:android="http://schemas.android.com/apk/res/android" + android:width="24dp" + android:height="24dp" + android:viewportWidth="24.0" + android:viewportHeight="24.0"> + <path + android:pathData="M12,3c-4.97,0 -9,4.03 -9,9s4.03,9 9,9c0.83,0 1.5,-0.67 1.5,-1.5 0,-0.39 -0.15,-0.74 -0.39,-1.01 -0.23,-0.26 -0.38,-0.61 -0.38,-0.99 0,-0.83 0.67,-1.5 1.5,-1.5H16c2.76,0 5,-2.24 5,-5 0,-4.42 -4.03,-8 -9,-8zm-5.5,9c-0.83,0 -1.5,-0.67 -1.5,-1.5S5.67,9 6.5,9 8,9.67 8,10.5 7.33,12 6.5,12zm3,-4C8.67,8 8,7.33 8,6.5S8.67,5 9.5,5s1.5,0.67 1.5,1.5S10.33,8 9.5,8zm5,0c-0.83,0 -1.5,-0.67 -1.5,-1.5S13.67,5 14.5,5s1.5,0.67 1.5,1.5S15.33,8 14.5,8zm3,4c-0.83,0 -1.5,-0.67 -1.5,-1.5S16.67,9 17.5,9s1.5,0.67 1.5,1.5 -0.67,1.5 -1.5,1.5z" + android:fillColor="#FFFFFF"/> +</vector> diff --git a/app/src/main/res/drawable/ic_person.xml b/app/src/main/res/drawable/ic_person.xml new file mode 100644 index 0000000..727a3ae --- /dev/null +++ b/app/src/main/res/drawable/ic_person.xml @@ -0,0 +1,9 @@ +<vector xmlns:android="http://schemas.android.com/apk/res/android" + android:width="24dp" + android:height="24dp" + android:viewportWidth="24.0" + android:viewportHeight="24.0"> + <path + android:pathData="M12,12c2.21,0 4,-1.79 4,-4s-1.79,-4 -4,-4 -4,1.79 -4,4 1.79,4 4,4zm0,2c-2.67,0 -8,1.34 -8,4v2h16v-2c0,-2.66 -5.33,-4 -8,-4z" + android:fillColor="#FFFFFF"/> +</vector> diff --git a/app/src/main/res/drawable/ic_sync.xml b/app/src/main/res/drawable/ic_sync.xml new file mode 100644 index 0000000..fc41a67 --- /dev/null +++ b/app/src/main/res/drawable/ic_sync.xml @@ -0,0 +1,9 @@ +<vector xmlns:android="http://schemas.android.com/apk/res/android" + android:width="24dp" + android:height="24dp" + android:viewportWidth="24.0" + android:viewportHeight="24.0"> + <path + android:pathData="M12,4V1L8,5l4,4V6c3.31,0 6,2.69 6,6 0,1.01 -0.25,1.97 -0.7,2.8l1.46,1.46C19.54,15.03 20,13.57 20,12c0,-4.42 -3.58,-8 -8,-8zm0,14c-3.31,0 -6,-2.69 -6,-6 0,-1.01 0.25,-1.97 0.7,-2.8L5.24,7.74C4.46,8.97 4,10.43 4,12c0,4.42 3.58,8 8,8v3l4,-4 -4,-4v3z" + android:fillColor="#FFFFFF"/> +</vector> diff --git a/app/src/main/res/drawable/ic_sync_disabled.xml b/app/src/main/res/drawable/ic_sync_disabled.xml new file mode 100644 index 0000000..c6536bf --- /dev/null +++ b/app/src/main/res/drawable/ic_sync_disabled.xml @@ -0,0 +1,9 @@ +<vector xmlns:android="http://schemas.android.com/apk/res/android" + android:width="24dp" + android:height="24dp" + android:viewportWidth="24.0" + android:viewportHeight="24.0"> + <path + android:pathData="M10,6.35V4.26c-0.8,0.21 -1.55,0.54 -2.23,0.96l1.46,1.46c0.25,-0.12 0.5,-0.24 0.77,-0.33zm-7.14,-0.94l2.36,2.36C4.45,8.99 4,10.44 4,12c0,2.21 0.91,4.2 2.36,5.64L4,20h6v-6l-2.24,2.24C6.68,15.15 6,13.66 6,12c0,-1 0.25,-1.94 0.68,-2.77l8.08,8.08c-0.25,0.13 -0.5,0.25 -0.77,0.34v2.09c0.8,-0.21 1.55,-0.54 2.23,-0.96l2.36,2.36 1.27,-1.27L4.14,4.14 2.86,5.41zM20,4h-6v6l2.24,-2.24C17.32,8.85 18,10.34 18,12c0,1 -0.25,1.94 -0.68,2.77l1.46,1.46C19.55,15.01 20,13.56 20,12c0,-2.21 -0.91,-4.2 -2.36,-5.64L20,4z" + android:fillColor="#FFFFFF"/> +</vector> diff --git a/app/src/main/res/drawable/ic_vpn_key.xml b/app/src/main/res/drawable/ic_vpn_key.xml new file mode 100644 index 0000000..1e4af64 --- /dev/null +++ b/app/src/main/res/drawable/ic_vpn_key.xml @@ -0,0 +1,9 @@ +<vector xmlns:android="http://schemas.android.com/apk/res/android" + android:width="24dp" + android:height="24dp" + android:viewportWidth="24.0" + android:viewportHeight="24.0"> + <path + android:pathData="M12.65,10C11.83,7.67 9.61,6 7,6c-3.31,0 -6,2.69 -6,6s2.69,6 6,6c2.61,0 4.83,-1.67 5.65,-4H17v4h4v-4h2v-4H12.65zM7,14c-1.1,0 -2,-0.9 -2,-2s0.9,-2 2,-2 2,0.9 2,2 -0.9,2 -2,2z" + android:fillColor="#FFFFFF"/> +</vector> diff --git a/app/src/main/res/drawable/ic_vpn_lock.xml b/app/src/main/res/drawable/ic_vpn_lock.xml new file mode 100644 index 0000000..771bc73 --- /dev/null +++ b/app/src/main/res/drawable/ic_vpn_lock.xml @@ -0,0 +1,9 @@ +<vector xmlns:android="http://schemas.android.com/apk/res/android" + android:width="24dp" + android:height="24dp" + android:viewportWidth="24.0" + android:viewportHeight="24.0"> + <path + android:pathData="M22,4v-0.5C22,2.12 20.88,1 19.5,1S17,2.12 17,3.5V4c-0.55,0 -1,0.45 -1,1v4c0,0.55 0.45,1 1,1h5c0.55,0 1,-0.45 1,-1V5c0,-0.55 -0.45,-1 -1,-1zm-0.8,0h-3.4v-0.5c0,-0.94 0.76,-1.7 1.7,-1.7s1.7,0.76 1.7,1.7V4zm-2.28,8c0.04,0.33 0.08,0.66 0.08,1 0,2.08 -0.8,3.97 -2.1,5.39 -0.26,-0.81 -1,-1.39 -1.9,-1.39h-1v-3c0,-0.55 -0.45,-1 -1,-1H7v-2h2c0.55,0 1,-0.45 1,-1V8h2c1.1,0 2,-0.9 2,-2V3.46c-0.95,-0.3 -1.95,-0.46 -3,-0.46C5.48,3 1,7.48 1,13s4.48,10 10,10 10,-4.48 10,-10c0,-0.34 -0.02,-0.67 -0.05,-1h-2.03zM10,20.93c-3.95,-0.49 -7,-3.85 -7,-7.93 0,-0.62 0.08,-1.21 0.21,-1.79L8,16v1c0,1.1 0.9,2 2,2v1.93z" + android:fillColor="#FFFFFF"/> +</vector> diff --git a/app/src/main/res/drawable/ic_zip.xml b/app/src/main/res/drawable/ic_zip.xml new file mode 100644 index 0000000..e8d4a44 --- /dev/null +++ b/app/src/main/res/drawable/ic_zip.xml @@ -0,0 +1,9 @@ +<vector xmlns:android="http://schemas.android.com/apk/res/android" + android:width="24dp" + android:height="24dp" + android:viewportWidth="24.0" + android:viewportHeight="24.0"> + <path + android:pathData="M19,3H5c-1.1,0 -2,0.9 -2,2v14c0,1.1 0.9,2 2,2h14c1.1,0 2,-0.9 2,-2V5c0,-1.1 -0.9,-2 -2,-2zm-5,6h-2v2h2v2h-2v-2h-2V9h2V7h-2V5h2v2h2v2zm0,8h-2v-2h-2v-2h2v2h2v2z" + android:fillColor="#FFFFFF"/> +</vector> diff --git a/app/src/main/res/layout/fragment_host_editor.xml b/app/src/main/res/layout/fragment_host_editor.xml index d368d20..0f9139c 100644 --- a/app/src/main/res/layout/fragment_host_editor.xml +++ b/app/src/main/res/layout/fragment_host_editor.xml @@ -41,7 +41,7 @@ <ImageView android:layout_width="24dp" android:layout_height="24dp" - android:src="@drawable/icon" + android:src="@drawable/ic_laptop" android:contentDescription="@string/protocol_spinner_label" style="@style/ListItemIcon" /> @@ -178,6 +178,14 @@ android:layout_height="wrap_content" > + <ImageView + android:layout_width="24dp" + android:layout_height="24dp" + android:src="@drawable/ic_person" + android:contentDescription="@string/hostpref_color_title" + style="@style/ListItemIcon" + /> + <android.support.design.widget.TextInputLayout android:layout_width="match_parent" android:layout_height="wrap_content" @@ -209,7 +217,7 @@ <ImageView android:layout_width="24dp" android:layout_height="24dp" - android:src="@drawable/icon" + android:src="@drawable/ic_palette" android:contentDescription="@string/hostpref_color_title" style="@style/ListItemIcon" /> @@ -241,7 +249,7 @@ <ImageView android:layout_width="24dp" android:layout_height="24dp" - android:src="@drawable/icon" + android:src="@drawable/ic_format_size" android:contentDescription="@string/hostpref_fontsize_title" style="@style/ListItemIcon" /> @@ -297,7 +305,7 @@ <ImageView android:layout_width="24dp" android:layout_height="24dp" - android:src="@drawable/icon" + android:src="@drawable/ic_vpn_key" android:contentDescription="@string/hostpref_pubkeyid_title" style="@style/ListItemIcon" /> @@ -330,7 +338,7 @@ <ImageView android:layout_width="24dp" android:layout_height="24dp" - android:src="@drawable/icon" + android:src="@drawable/ic_keyboard" android:contentDescription="@string/hostpref_delkey_title" style="@style/ListItemIcon" /> @@ -363,7 +371,7 @@ <ImageView android:layout_width="24dp" android:layout_height="24dp" - android:src="@drawable/icon" + android:src="@drawable/ic_code" android:contentDescription="@string/hostpref_encoding_title" style="@style/ListItemIcon" /> @@ -402,7 +410,7 @@ <ImageView android:layout_width="24dp" android:layout_height="24dp" - android:src="@drawable/icon" + android:src="@drawable/ic_vpn_lock" android:contentDescription="@string/hostpref_authagent_title" style="@style/ListItemIcon" /> @@ -470,7 +478,7 @@ <ImageView android:layout_width="24dp" android:layout_height="24dp" - android:src="@drawable/icon" + android:src="@drawable/ic_zip" android:contentDescription="@string/hostpref_compression_title" style="@style/ListItemIcon" /> @@ -515,7 +523,7 @@ <ImageView android:layout_width="24dp" android:layout_height="24dp" - android:src="@drawable/icon" + android:src="@drawable/ic_laptop" android:contentDescription="@string/hostpref_wantsession_title" style="@style/ListItemIcon" /> @@ -560,7 +568,7 @@ <ImageView android:layout_width="24dp" android:layout_height="24dp" - android:src="@drawable/icon" + android:src="@drawable/ic_sync" android:contentDescription="@string/hostpref_stayconnected_title" style="@style/ListItemIcon" /> @@ -605,7 +613,7 @@ <ImageView android:layout_width="24dp" android:layout_height="24dp" - android:src="@drawable/icon" + android:src="@drawable/ic_sync_disabled" android:contentDescription="@string/hostpref_quickdisconnect_title" style="@style/ListItemIcon" /> @@ -650,7 +658,7 @@ <ImageView android:layout_width="24dp" android:layout_height="24dp" - android:src="@drawable/icon" + android:src="@drawable/ic_android" android:contentDescription="@string/hostpref_postlogin_title" style="@style/ListItemIcon" /> |