Archived
Cleanup in styles.xml
This commit is contained in:
1 parent
b893a22d80
commit
7f2bc2fd61
2 files changed
+9
-25
No files matched your search
@@ -119,12 +119,12 @@ public class ProgramListActivity extends BaseDnsActivity {
|
||||
/* Apply styles: */
|
||||
if (position % 2 == 0) {
|
||||
row.setBackgroundResource(R.color.ListItemBackgroundEven);
|
||||
titleView.setTextAppearance(ProgramListActivity.this, R.style.ListItemTextEvenTitle);
|
||||
dateView.setTextAppearance(ProgramListActivity.this, R.style.ListItemTextEvenDate);
|
||||
titleView.setTextAppearance(ProgramListActivity.this, R.style.ListItemTextTitle);
|
||||
dateView.setTextAppearance(ProgramListActivity.this, R.style.ListItemTextDate);
|
||||
} else {
|
||||
row.setBackgroundResource(R.color.ListItemBackgroundOdd);
|
||||
titleView.setTextAppearance(ProgramListActivity.this, R.style.ListItemTextOddTitle);
|
||||
dateView.setTextAppearance(ProgramListActivity.this, R.style.ListItemTextOddDate);
|
||||
titleView.setTextAppearance(ProgramListActivity.this, R.style.ListItemTextTitle);
|
||||
dateView.setTextAppearance(ProgramListActivity.this, R.style.ListItemTextDate);
|
||||
}
|
||||
|
||||
return row;
|
||||
|
||||
Reference in new issue
Block a user