summaryrefslogtreecommitdiffstats
path: root/mobile/android/geckoview_example/src/main/java/org/mozilla/geckoview_example/ActionButton.java
blob: 729fb6a61d80cf7e68aec4b1e0cde981daa58257 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
/* This Source Code Form is subject to the terms of the Mozilla Public
 * License, v. 2.0. If a copy of the MPL was not distributed with this
 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */

package org.mozilla.geckoview_example;

import android.graphics.Bitmap;

public class ActionButton {
  final Bitmap icon;
  final String text;
  final Integer textColor;
  final Integer backgroundColor;

  public ActionButton(
      final Bitmap icon,
      final String text,
      final Integer textColor,
      final Integer backgroundColor) {
    this.icon = icon;
    this.text = text;
    this.textColor = textColor;
    this.backgroundColor = backgroundColor;
  }
}