Misc ui tweaks.
- Update conditional card layout - move action button from right side to bottom. - Get rid of the forking between small/big screens. - Update a few icons Fixes: 121189136 Fixes: 124315564 Fixes: 124316920 Test: visual Change-Id: I205d9995a2d7ed06ad9d32f3cea74f2840a28aed
This commit is contained in:
@@ -449,14 +449,14 @@ public class SliceBuilderUtils {
|
||||
int iconResource = data.getIconResource();
|
||||
|
||||
if (iconResource == 0) {
|
||||
iconResource = R.drawable.ic_settings;
|
||||
iconResource = R.drawable.ic_settings_accent;
|
||||
}
|
||||
try {
|
||||
return IconCompat.createWithResource(context, iconResource);
|
||||
} catch (Exception e) {
|
||||
Log.w(TAG, "Falling back to settings icon because there is an error getting slice icon "
|
||||
+ data.getUri(), e);
|
||||
return IconCompat.createWithResource(context, R.drawable.ic_settings);
|
||||
return IconCompat.createWithResource(context, R.drawable.ic_settings_accent);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user