]> git.ktnx.net Git - mobile-ledger.git/blobdiff - app/src/main/res/layout/profile_detail.xml
profile editor: consistent item colors in the profile details screen
[mobile-ledger.git] / app / src / main / res / layout / profile_detail.xml
index 49068d47741c487e49f10906cda346ff75c49d21..4c8bba39bcf7ed4c6bec1624c01cc96a9f738d39 100644 (file)
             android:layout_width="match_parent"
             android:layout_height="wrap_content"
             android:layout_marginBottom="16dp"
+            android:textAppearance="?android:textAppearanceListItem"
             android:text="@string/posting_permitted" />
 
+        <LinearLayout
+            android:id="@+id/future_dates_layout"
+            android:layout_width="match_parent"
+            android:layout_marginBottom="16dp"
+            android:layout_height="wrap_content"
+            android:orientation="vertical">
+
+            <TextView
+                android:id="@+id/future_dates_title"
+                android:textAppearance="?android:textAppearanceListItem"
+                android:layout_width="match_parent"
+                android:layout_height="wrap_content"
+                android:text="@string/profile_future_dates_label" />
+
+            <TextView
+                android:id="@+id/future_dates_text"
+                android:textAppearance="?android:textAppearanceListItemSecondary"
+                android:layout_width="match_parent"
+                android:layout_height="wrap_content"
+                android:textColor="?attr/textColor"/>
+        </LinearLayout>
+
         <Switch
             android:id="@+id/enable_http_auth"
             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