mirror of
https://github.com/lacerta-doc/Lacerta.git
synced 2024-11-27 01:53:15 +00:00
色変更
This commit is contained in:
parent
038c526652
commit
eab00983a8
|
@ -32,6 +32,7 @@
|
||||||
android:textSize="16sp"
|
android:textSize="16sp"
|
||||||
android:layout_marginEnd="8dp"
|
android:layout_marginEnd="8dp"
|
||||||
android:text="Placeholder Title"
|
android:text="Placeholder Title"
|
||||||
|
android:textColor="@color/colorOnSurface"
|
||||||
app:layout_constraintStart_toStartOf="parent"
|
app:layout_constraintStart_toStartOf="parent"
|
||||||
app:layout_constraintTop_toTopOf="parent" />
|
app:layout_constraintTop_toTopOf="parent" />
|
||||||
|
|
||||||
|
@ -41,6 +42,7 @@
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:textSize="14sp"
|
android:textSize="14sp"
|
||||||
android:text="Placeholder Description"
|
android:text="Placeholder Description"
|
||||||
|
android:textColor="@color/colorOnSurface"
|
||||||
app:layout_constraintEnd_toEndOf="parent"
|
app:layout_constraintEnd_toEndOf="parent"
|
||||||
app:layout_constraintStart_toStartOf="parent"
|
app:layout_constraintStart_toStartOf="parent"
|
||||||
app:layout_constraintTop_toBottomOf="@+id/item_title" />
|
app:layout_constraintTop_toBottomOf="@+id/item_title" />
|
||||||
|
|
|
@ -33,7 +33,7 @@ public class ListItemAdapter extends RecyclerView.Adapter<ListItemAdapter.ListIt
|
||||||
public void onBindViewHolder(@NonNull ListItemAdapter.ListItemViewHolder holder, int position) {
|
public void onBindViewHolder(@NonNull ListItemAdapter.ListItemViewHolder holder, int position) {
|
||||||
ListItem listItem = listItems.get(position);
|
ListItem listItem = listItems.get(position);
|
||||||
holder.icon.setImageResource(listItem.getItemType().getIconId());
|
holder.icon.setImageResource(listItem.getItemType().getIconId());
|
||||||
holder.icon.setColorFilter(one.nem.lacerta.shared.ui.R.color.colorOnBackground);
|
holder.icon.setColorFilter(one.nem.lacerta.shared.ui.R.color.colorOnSurface);
|
||||||
holder.title.setText(listItem.getTitle());
|
holder.title.setText(listItem.getTitle());
|
||||||
holder.description.setText(listItem.getDescription());
|
holder.description.setText(listItem.getDescription());
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user