Переглянути джерело

Sets the cursor colour on the passcode screen to grey.

Before this change, if the user has a custom colour set on their
nextcloud server, the cursor would be blue regardless of the custom
theme colour.
Daniel Bailey 6 роки тому
батько
коміт
9bc802dddf
1 змінених файлів з 8 додано та 4 видалено
  1. 8 4
      src/main/res/layout/passcodelock.xml

+ 8 - 4
src/main/res/layout/passcodelock.xml

@@ -56,7 +56,8 @@
             android:cursorVisible="true"
             android:imeOptions="flagNoExtractUi"
             android:importantForAutofill="no"
-            android:hint="@string/hidden_character">
+            android:hint="@string/hidden_character"
+            android:textCursorDrawable="@null">
             <requestFocus/>
         </EditText>
 
@@ -66,7 +67,8 @@
             android:cursorVisible="true"
             android:imeOptions="flagNoExtractUi"
             android:importantForAutofill="no"
-            android:hint="@string/hidden_character"/>
+            android:hint="@string/hidden_character"
+            android:textCursorDrawable="@null" />
 
         <EditText
             android:id="@+id/txt2"
@@ -74,7 +76,8 @@
             android:cursorVisible="true"
             android:imeOptions="flagNoExtractUi"
             android:importantForAutofill="no"
-            android:hint="@string/hidden_character"/>
+            android:hint="@string/hidden_character"
+            android:textCursorDrawable="@null" />
 
         <EditText
             android:id="@+id/txt3"
@@ -82,7 +85,8 @@
             android:cursorVisible="true"
             android:imeOptions="flagNoExtractUi"
             android:importantForAutofill="no"
-            android:hint="@string/hidden_character"/>
+            android:hint="@string/hidden_character"
+            android:textCursorDrawable="@null" />
     </LinearLayout>
 
     <android.support.v7.widget.AppCompatButton