profile editor: consistent item colors in the profile details screen
authorDamyan Ivanov <dam+mobileledger@ktnx.net>
Tue, 17 Dec 2019 19:29:54 +0000 (21:29 +0200)
committerDamyan Ivanov <dam+mobileledger@ktnx.net>
Tue, 17 Dec 2019 19:29:54 +0000 (21:29 +0200)
app/src/main/res/layout/profile_detail.xml

index 6a0d9ca..4c8bba3 100644 (file)
@@ -69,6 +69,7 @@
             android:layout_width="match_parent"
             android:layout_height="wrap_content"
             android:layout_marginBottom="16dp"
+            android:textAppearance="?android:textAppearanceListItem"
             android:text="@string/posting_permitted" />
 
         <LinearLayout
@@ -98,6 +99,7 @@
             android:layout_width="match_parent"
             android:layout_height="wrap_content"
             android:layout_marginBottom="16dp"
+            android:textAppearance="?android:textAppearanceListItem"
             android:text="@string/pref_title_use_http_auth" />
 
         <LinearLayout
                 android:ems="10"
                 android:fontFamily="monospace"
                 android:hint="@string/pref_preferred_autocompletion_account_filter_hint"
-                android:inputType="text" />
+                android:inputType="text"
+                android:textColor="?attr/editTextColor" />
         </com.google.android.material.textfield.TextInputLayout>
 
         <LinearLayout
                 android:layout_height="match_parent"
                 android:layout_weight="100"
                 android:gravity="center_vertical"
+                android:textAppearance="?android:textAppearanceListItem"
                 android:text="@string/profile_color_label" />
 
             <ImageButton