Merge changes from topic "free_up_space_card_preference" into sc-dev

* changes:
  Tweak UI of CardPreference and ContextualCard
  'Free up space' uses CardPreference
This commit is contained in:
TreeHugger Robot
2021-06-09 16:45:54 +00:00
committed by Android (Google) Code Review
8 changed files with 7 additions and 42 deletions

View File

@@ -29,6 +29,7 @@ import com.google.android.material.card.MaterialCardView;
* Preference that wrapped by {@link MaterialCardView}, only support to set icon, title and summary
*/
public class CardPreference extends Preference {
public CardPreference(Context context) {
this(context, null /* attrs */);
}