<?xml version="1.0" encoding="utf-8"?>
<!--
- Copyright © 2016-2017 Soren Stoutner <soren@stoutner.com>.
+ Copyright © 2016-2018 Soren Stoutner <soren@stoutner.com>.
This file is part of Privacy Browser <https://www.stoutner.com/privacy-browser>.
<ScrollView
xmlns:android="http://schemas.android.com/apk/res/android"
+ xmlns:tools="http://schemas.android.com/tools"
android:layout_height="wrap_content"
android:layout_width="match_parent" >
android:layout_width="wrap_content"
android:text="@string/database_id"
android:textSize="18sp"
- android:textColor="?attr/primaryTextColorSelector"
+ android:textColor="?android:textColorPrimary"
android:layout_marginEnd="8dp" />
<TextView
android:layout_marginBottom="4dp"
android:text="@string/current_bookmark_icon"
android:textSize="18sp"
- android:textColor="?attr/primaryTextColorSelector" />
+ android:textColor="?android:textColorPrimary" />
<RadioButton
android:id="@+id/edit_bookmark_webpage_favorite_icon_radiobutton"
android:layout_marginTop="5dp"
android:text="@string/web_page_favorite_icon"
android:textSize="18sp"
- android:textColor="?attr/primaryTextColorSelector" />
+ android:textColor="?android:textColorPrimary" />
</RadioGroup>
</LinearLayout>
android:layout_marginEnd="4dp" >
<!-- `android:imeOptions="actionGo"` sets the keyboard to have a `go` key instead of a `new line` key. `android:inputType="textUri"` disables spell check in the `EditText`. -->
- <EditText
+ <android.support.design.widget.TextInputEditText
android:id="@+id/edit_bookmark_url_edittext"
android:layout_height="wrap_content"
android:layout_width="match_parent"
android:layout_width="wrap_content"
android:text="@string/folder"
android:textSize="18sp"
- android:textColor="?attr/primaryTextColorSelector" />
+ android:textColor="?android:textColorPrimary" />
<Spinner
android:id="@+id/edit_bookmark_folder_spinner"
android:layout_width="wrap_content"
android:text="@string/display_order"
android:textSize="18sp"
- android:textColor="?attr/primaryTextColorSelector"
+ android:textColor="?android:textColorPrimary"
android:layout_marginEnd="6dp"
android:labelFor="@+id/edit_bookmark_display_order_edittext"/>
android:layout_width="match_parent"
android:imeOptions="actionGo"
android:inputType="number"
- android:selectAllOnFocus="true" />
+ android:selectAllOnFocus="true"
+ android:importantForAutofill="no"
+ tools:targetApi="26" />
</LinearLayout>
</LinearLayout>
</ScrollView>
\ No newline at end of file