Skip to content

Instantly share code, notes, and snippets.

@Kuglll
Last active May 5, 2023 14:27

Revisions

  1. Kuglll revised this gist May 5, 2023. 1 changed file with 2 additions and 2 deletions.
    4 changes: 2 additions & 2 deletions attributes-example.xml
    Original file line number Diff line number Diff line change
    @@ -1,4 +1,4 @@
    <ConstraintLayout ...
    android:background="@color/blue" />
    android:background="?attr/colorPrimarySurface" />
    <TextView ...
    android:textColor="@color/black" />
    android:textColor="?attr/textColorPrimary" />
  2. Kuglll created this gist May 5, 2023.
    4 changes: 4 additions & 0 deletions attributes-example.xml
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,4 @@
    <ConstraintLayout ...
    android:background="@color/blue" />
    <TextView ...
    android:textColor="@color/black" />