mirror of https://github.com/M66B/FairEmail.git
Reset color using image button
This commit is contained in:
parent
a267d95b2e
commit
9f76ae2a26
|
@ -52,7 +52,7 @@ import android.widget.Button;
|
|||
import android.widget.CheckBox;
|
||||
import android.widget.CompoundButton;
|
||||
import android.widget.EditText;
|
||||
import android.widget.ImageView;
|
||||
import android.widget.ImageButton;
|
||||
import android.widget.RadioGroup;
|
||||
import android.widget.ScrollView;
|
||||
import android.widget.Spinner;
|
||||
|
@ -110,7 +110,7 @@ public class FragmentAccount extends FragmentBase {
|
|||
private EditText etName;
|
||||
private Button btnColor;
|
||||
private View vwColor;
|
||||
private ImageView ibColorDefault;
|
||||
private ImageButton ibColorDefault;
|
||||
|
||||
private Button btnAdvanced;
|
||||
private CheckBox cbSynchronize;
|
||||
|
|
|
@ -42,7 +42,7 @@ import android.widget.Button;
|
|||
import android.widget.CheckBox;
|
||||
import android.widget.CompoundButton;
|
||||
import android.widget.EditText;
|
||||
import android.widget.ImageView;
|
||||
import android.widget.ImageButton;
|
||||
import android.widget.RadioGroup;
|
||||
import android.widget.ScrollView;
|
||||
import android.widget.Spinner;
|
||||
|
@ -83,7 +83,7 @@ public class FragmentIdentity extends FragmentBase {
|
|||
private EditText etDisplay;
|
||||
private Button btnColor;
|
||||
private View vwColor;
|
||||
private ImageView ibColorDefault;
|
||||
private ImageButton ibColorDefault;
|
||||
private EditText etSignature;
|
||||
private Button btnHtml;
|
||||
|
||||
|
|
|
@ -39,6 +39,7 @@ import android.widget.ArrayAdapter;
|
|||
import android.widget.Button;
|
||||
import android.widget.CheckBox;
|
||||
import android.widget.EditText;
|
||||
import android.widget.ImageButton;
|
||||
import android.widget.ImageView;
|
||||
import android.widget.NumberPicker;
|
||||
import android.widget.ScrollView;
|
||||
|
@ -99,7 +100,7 @@ public class FragmentRule extends FragmentBase {
|
|||
|
||||
private Button btnColor;
|
||||
private View vwColor;
|
||||
private ImageView ibColorDefault;
|
||||
private ImageButton ibColorDefault;
|
||||
|
||||
private Spinner spTarget;
|
||||
private CheckBox cbMoveSeen;
|
||||
|
|
|
@ -336,11 +336,12 @@
|
|||
app:layout_constraintStart_toEndOf="@id/btnColor"
|
||||
app:layout_constraintTop_toTopOf="@id/btnColor" />
|
||||
|
||||
<ImageView
|
||||
<ImageButton
|
||||
android:id="@+id/ibColorDefault"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginStart="12dp"
|
||||
android:background="@null"
|
||||
android:contentDescription="@string/title_legend_default_color"
|
||||
android:src="@drawable/baseline_delete_24"
|
||||
app:layout_constraintBottom_toBottomOf="@id/btnColor"
|
||||
|
|
|
@ -129,11 +129,12 @@
|
|||
app:layout_constraintStart_toEndOf="@id/btnColor"
|
||||
app:layout_constraintTop_toTopOf="@id/btnColor" />
|
||||
|
||||
<ImageView
|
||||
<ImageButton
|
||||
android:id="@+id/ibColorDefault"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginStart="12dp"
|
||||
android:background="@null"
|
||||
android:contentDescription="@string/title_legend_default_color"
|
||||
android:src="@drawable/baseline_delete_24"
|
||||
app:layout_constraintBottom_toBottomOf="@id/btnColor"
|
||||
|
|
|
@ -409,11 +409,12 @@
|
|||
app:layout_constraintStart_toEndOf="@id/btnColor"
|
||||
app:layout_constraintTop_toTopOf="@id/btnColor" />
|
||||
|
||||
<ImageView
|
||||
<ImageButton
|
||||
android:id="@+id/ibColorDefault"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginStart="12dp"
|
||||
android:background="@null"
|
||||
android:contentDescription="@string/title_legend_default_color"
|
||||
android:src="@drawable/baseline_delete_24"
|
||||
app:layout_constraintBottom_toBottomOf="@id/btnColor"
|
||||
|
|
Loading…
Reference in New Issue