pull/199/head
M66B 4 years ago
parent 466877742f
commit 6389596ed7

@ -191,6 +191,8 @@ public class FragmentDialogOpenLink extends FragmentDialogBase {
cbSecure.setText(
secure ? R.string.title_link_https : R.string.title_link_http);
cbSecure.setCompoundDrawablesRelativeWithIntrinsicBounds(
0, 0, secure ? 0 : R.drawable.twotone_http_24, 0);
cbSecure.setTextColor(Helper.resolveColor(context,
secure ? android.R.attr.textColorSecondary : R.attr.colorWarning));
cbSecure.setTypeface(

@ -0,0 +1,10 @@
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="24dp"
android:height="24dp"
android:viewportWidth="24"
android:viewportHeight="24"
android:tint="?attr/colorControlNormal">
<path
android:fillColor="@android:color/white"
android:pathData="M4.5,11h-2L2.5,9L1,9v6h1.5v-2.5h2L4.5,15L6,15L6,9L4.5,9v2zM7,10.5h1.5L8.5,15L10,15v-4.5h1.5L11.5,9L7,9v1.5zM12.5,10.5L14,10.5L14,15h1.5v-4.5L17,10.5L17,9h-4.5v1.5zM21.5,9L18,9v6h1.5v-2h2c0.8,0 1.5,-0.7 1.5,-1.5v-1c0,-0.8 -0.7,-1.5 -1.5,-1.5zM21.5,11.5h-2v-1h2v1z"/>
</vector>

@ -157,6 +157,8 @@
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="12dp"
android:drawableEnd="@drawable/twotone_http_24"
android:drawablePadding="6dp"
android:text="@string/title_link_http"
android:textColor="?attr/colorWarning"
android:textStyle="bold"

Loading…
Cancel
Save