Experimental: Use accent color on Headers
This commit is contained in:
@@ -23,8 +23,7 @@
|
|||||||
android:id="@+id/layout"
|
android:id="@+id/layout"
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:padding="@dimen/padding_xsmall"
|
android:padding="@dimen/padding_xsmall">
|
||||||
>
|
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:id="@+id/txt_title"
|
android:id="@+id/txt_title"
|
||||||
@@ -35,6 +34,7 @@
|
|||||||
android:layout_toStartOf="@id/img_action"
|
android:layout_toStartOf="@id/img_action"
|
||||||
android:ellipsize="end"
|
android:ellipsize="end"
|
||||||
android:maxLines="1"
|
android:maxLines="1"
|
||||||
|
android:textColor="?colorAccent"
|
||||||
tools:text="Header" />
|
tools:text="Header" />
|
||||||
|
|
||||||
<androidx.appcompat.widget.AppCompatImageView
|
<androidx.appcompat.widget.AppCompatImageView
|
||||||
@@ -43,10 +43,11 @@
|
|||||||
android:layout_height="@dimen/icon_size_category"
|
android:layout_height="@dimen/icon_size_category"
|
||||||
android:layout_alignParentEnd="true"
|
android:layout_alignParentEnd="true"
|
||||||
android:layout_centerVertical="true"
|
android:layout_centerVertical="true"
|
||||||
|
android:layout_marginStart="@dimen/margin_small"
|
||||||
android:background="?selectableItemBackgroundBorderless"
|
android:background="?selectableItemBackgroundBorderless"
|
||||||
android:contentDescription="@string/expand"
|
android:contentDescription="@string/expand"
|
||||||
android:padding="@dimen/padding_xsmall"
|
android:padding="@dimen/padding_xsmall"
|
||||||
android:visibility="invisible"
|
android:visibility="invisible"
|
||||||
app:srcCompat="@drawable/ic_arrow_right"
|
app:srcCompat="@drawable/ic_arrow_right"
|
||||||
app:tint="?android:textColorPrimary" />
|
app:tint="?android:colorAccent" />
|
||||||
</RelativeLayout>
|
</RelativeLayout>
|
||||||
|
|||||||
@@ -37,6 +37,7 @@
|
|||||||
android:layout_toStartOf="@id/img_action"
|
android:layout_toStartOf="@id/img_action"
|
||||||
android:ellipsize="end"
|
android:ellipsize="end"
|
||||||
android:maxLines="1"
|
android:maxLines="1"
|
||||||
|
android:textColor="?colorAccent"
|
||||||
tools:text="Header" />
|
tools:text="Header" />
|
||||||
|
|
||||||
<androidx.appcompat.widget.AppCompatImageView
|
<androidx.appcompat.widget.AppCompatImageView
|
||||||
@@ -50,5 +51,5 @@
|
|||||||
android:contentDescription="@string/expand"
|
android:contentDescription="@string/expand"
|
||||||
android:padding="@dimen/padding_xsmall"
|
android:padding="@dimen/padding_xsmall"
|
||||||
app:srcCompat="@drawable/ic_arrow_right"
|
app:srcCompat="@drawable/ic_arrow_right"
|
||||||
app:tint="?android:textColorPrimary" />
|
app:tint="?android:colorAccent" />
|
||||||
</RelativeLayout>
|
</RelativeLayout>
|
||||||
|
|||||||
Reference in New Issue
Block a user