Skip to content
This repository has been archived by the owner on Dec 14, 2021. It is now read-only.

Commit

Permalink
Remove color state change on hostname when clicking outside of the ca…
Browse files Browse the repository at this point in the history
…rdview. (#1030)
  • Loading branch information
Elise Richards authored Oct 28, 2019
1 parent fcbc5e2 commit 1576c08
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 11 deletions.
15 changes: 7 additions & 8 deletions app/src/main/res/layout/fragment_item_edit.xml
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,6 @@
android:fitsSystemWindows="true"
android:windowActionBarOverlay="true"
android:importantForAutofill="noExcludeDescendants"
android:clickable="true"
android:focusable="true"
android:focusableInTouchMode="true"
tools:ignore="UnusedAttribute"
style="@style/EditItemDetail">

Expand Down Expand Up @@ -150,7 +147,9 @@
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:paddingStart="16dp"
android:textColorHint="@color/hint_edit_text"
android:colorControlHighlight="@color/black_60_percent"
android:colorControlActivated="@color/black_60_percent"
android:textColorHint="@color/black_60_percent"
android:contentDescription="@string/web_address_description"
app:layout_constraintTop_toTopOf="parent"
card_view:layout_constraintStart_toStartOf="parent"
Expand All @@ -163,7 +162,7 @@
android:fontFamily="sans-serif"
android:textStyle="normal"
android:textColor="@color/gray_73_percent"
android:textColorHint="@color/hint_edit_text"
android:textColorHint="@color/black_60_percent"
android:letterSpacing="0.01"
android:lineSpacingExtra="8sp"
android:layout_width="match_parent"
Expand All @@ -173,8 +172,8 @@
android:ellipsize="end"
android:maxLines="1"
android:singleLine="true"
android:clickable="true"
android:focusable="true"
android:clickable="false"
android:focusable="false"
android:textCursorDrawable="@android:color/transparent"
app:backgroundTint="@color/gray_divider"
tools:ignore="Autofill"/>
Expand Down Expand Up @@ -289,7 +288,7 @@
android:background="@color/gray_divider"
android:layout_marginStart="18dp"
android:layout_marginEnd="2dp"
android:layout_marginTop="8dp"
android:layout_marginTop="9dp"
card_view:layout_constraintTop_toBottomOf="@id/btnPasswordToggle" />
</androidx.constraintlayout.widget.ConstraintLayout>
</androidx.constraintlayout.widget.ConstraintLayout>
Expand Down
3 changes: 0 additions & 3 deletions app/src/main/res/values/styles.xml
Original file line number Diff line number Diff line change
Expand Up @@ -57,10 +57,7 @@
<item name="android:popupBackground">@android:color/transparent</item>
<item name="android:background">@android:color/transparent</item>
<item name="android:textColorHint">@color/black_60_percent</item>
<item name="android:colorControlActivated">@color/violet_70</item>
<item name="android:colorControlNormal">@color/dark_grey</item>
<item name="android:colorControlHighlight">@color/violet_70</item>
<item name="colorAccent">@color/violet_70</item>
<item name="errorTextAppearance">@style/ErrorText</item>
</style>

Expand Down

0 comments on commit 1576c08

Please sign in to comment.