Added settings help button

pull/207/head
M66B 3 years ago
parent 832026579d
commit 0082fad647

@ -40,6 +40,7 @@ import android.widget.ArrayAdapter;
import android.widget.Button; import android.widget.Button;
import android.widget.CompoundButton; import android.widget.CompoundButton;
import android.widget.EditText; import android.widget.EditText;
import android.widget.ImageButton;
import android.widget.SeekBar; import android.widget.SeekBar;
import android.widget.Spinner; import android.widget.Spinner;
import android.widget.TextView; import android.widget.TextView;
@ -57,6 +58,7 @@ import java.util.ArrayList;
import java.util.List; import java.util.List;
public class FragmentOptionsBehavior extends FragmentBase implements SharedPreferences.OnSharedPreferenceChangeListener { public class FragmentOptionsBehavior extends FragmentBase implements SharedPreferences.OnSharedPreferenceChangeListener {
private ImageButton ibHelp;
private SwitchCompat swSyncOnlaunch; private SwitchCompat swSyncOnlaunch;
private SwitchCompat swDoubleBack; private SwitchCompat swDoubleBack;
private SwitchCompat swConversationActions; private SwitchCompat swConversationActions;
@ -120,6 +122,7 @@ public class FragmentOptionsBehavior extends FragmentBase implements SharedPrefe
// Get controls // Get controls
ibHelp = view.findViewById(R.id.ibHelp);
swSyncOnlaunch = view.findViewById(R.id.swSyncOnlaunch); swSyncOnlaunch = view.findViewById(R.id.swSyncOnlaunch);
swDoubleBack = view.findViewById(R.id.swDoubleBack); swDoubleBack = view.findViewById(R.id.swDoubleBack);
swConversationActions = view.findViewById(R.id.swConversationActions); swConversationActions = view.findViewById(R.id.swConversationActions);
@ -164,6 +167,13 @@ public class FragmentOptionsBehavior extends FragmentBase implements SharedPrefe
final SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(getContext()); final SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(getContext());
ibHelp.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View v) {
Helper.view(v.getContext(), Helper.getSupportUri(v.getContext()), false);
}
});
swDoubleBack.setOnCheckedChangeListener(new CompoundButton.OnCheckedChangeListener() { swDoubleBack.setOnCheckedChangeListener(new CompoundButton.OnCheckedChangeListener() {
@Override @Override
public void onCheckedChanged(CompoundButton compoundButton, boolean checked) { public void onCheckedChanged(CompoundButton compoundButton, boolean checked) {

@ -44,6 +44,7 @@ import android.widget.AdapterView;
import android.widget.Button; import android.widget.Button;
import android.widget.CompoundButton; import android.widget.CompoundButton;
import android.widget.EditText; import android.widget.EditText;
import android.widget.ImageButton;
import android.widget.Spinner; import android.widget.Spinner;
import android.widget.TextView; import android.widget.TextView;
@ -56,6 +57,7 @@ import androidx.lifecycle.Lifecycle;
import androidx.preference.PreferenceManager; import androidx.preference.PreferenceManager;
public class FragmentOptionsConnection extends FragmentBase implements SharedPreferences.OnSharedPreferenceChangeListener { public class FragmentOptionsConnection extends FragmentBase implements SharedPreferences.OnSharedPreferenceChangeListener {
private ImageButton ibHelp;
private SwitchCompat swMetered; private SwitchCompat swMetered;
private Spinner spDownload; private Spinner spDownload;
private SwitchCompat swRoaming; private SwitchCompat swRoaming;
@ -99,6 +101,7 @@ public class FragmentOptionsConnection extends FragmentBase implements SharedPre
// Get controls // Get controls
ibHelp = view.findViewById(R.id.ibHelp);
swMetered = view.findViewById(R.id.swMetered); swMetered = view.findViewById(R.id.swMetered);
spDownload = view.findViewById(R.id.spDownload); spDownload = view.findViewById(R.id.spDownload);
swRoaming = view.findViewById(R.id.swRoaming); swRoaming = view.findViewById(R.id.swRoaming);
@ -133,6 +136,13 @@ public class FragmentOptionsConnection extends FragmentBase implements SharedPre
final SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(getContext()); final SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(getContext());
boolean debug = prefs.getBoolean("debug", false); boolean debug = prefs.getBoolean("debug", false);
ibHelp.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View v) {
Helper.view(v.getContext(), Helper.getSupportUri(v.getContext()), false);
}
});
swMetered.setOnCheckedChangeListener(new CompoundButton.OnCheckedChangeListener() { swMetered.setOnCheckedChangeListener(new CompoundButton.OnCheckedChangeListener() {
@Override @Override
public void onCheckedChanged(CompoundButton compoundButton, boolean checked) { public void onCheckedChanged(CompoundButton compoundButton, boolean checked) {

@ -64,6 +64,7 @@ import java.util.ArrayList;
import java.util.List; import java.util.List;
public class FragmentOptionsDisplay extends FragmentBase implements SharedPreferences.OnSharedPreferenceChangeListener { public class FragmentOptionsDisplay extends FragmentBase implements SharedPreferences.OnSharedPreferenceChangeListener {
private ImageButton ibHelp;
private Button btnTheme; private Button btnTheme;
private Spinner spStartup; private Spinner spStartup;
private SwitchCompat swCards; private SwitchCompat swCards;
@ -215,6 +216,7 @@ public class FragmentOptionsDisplay extends FragmentBase implements SharedPrefer
// Get controls // Get controls
ibHelp = view.findViewById(R.id.ibHelp);
btnTheme = view.findViewById(R.id.btnTheme); btnTheme = view.findViewById(R.id.btnTheme);
spStartup = view.findViewById(R.id.spStartup); spStartup = view.findViewById(R.id.spStartup);
swCards = view.findViewById(R.id.swCards); swCards = view.findViewById(R.id.swCards);
@ -348,6 +350,13 @@ public class FragmentOptionsDisplay extends FragmentBase implements SharedPrefer
final SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(getContext()); final SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(getContext());
ibHelp.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View v) {
Helper.view(v.getContext(), Helper.getSupportUri(v.getContext()), false);
}
});
btnTheme.setOnClickListener(new View.OnClickListener() { btnTheme.setOnClickListener(new View.OnClickListener() {
@Override @Override
public void onClick(View view) { public void onClick(View view) {

@ -81,6 +81,7 @@ import java.util.List;
public class FragmentOptionsEncryption extends FragmentBase public class FragmentOptionsEncryption extends FragmentBase
implements SharedPreferences.OnSharedPreferenceChangeListener, OpenPgpServiceConnection.OnBound { implements SharedPreferences.OnSharedPreferenceChangeListener, OpenPgpServiceConnection.OnBound {
private ImageButton ibHelp;
private ImageButton ibInfo; private ImageButton ibInfo;
private SwitchCompat swSign; private SwitchCompat swSign;
private SwitchCompat swEncrypt; private SwitchCompat swEncrypt;
@ -127,6 +128,8 @@ public class FragmentOptionsEncryption extends FragmentBase
View view = inflater.inflate(R.layout.fragment_options_encryption, container, false); View view = inflater.inflate(R.layout.fragment_options_encryption, container, false);
// Get controls // Get controls
ibHelp = view.findViewById(R.id.ibHelp);
ibInfo = view.findViewById(R.id.ibInfo); ibInfo = view.findViewById(R.id.ibInfo);
swSign = view.findViewById(R.id.swSign); swSign = view.findViewById(R.id.swSign);
swEncrypt = view.findViewById(R.id.swEncrypt); swEncrypt = view.findViewById(R.id.swEncrypt);
@ -178,6 +181,13 @@ public class FragmentOptionsEncryption extends FragmentBase
final SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(getContext()); final SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(getContext());
ibHelp.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View v) {
Helper.view(v.getContext(), Helper.getSupportUri(v.getContext()), false);
}
});
ibInfo.setOnClickListener(new View.OnClickListener() { ibInfo.setOnClickListener(new View.OnClickListener() {
@Override @Override
public void onClick(View v) { public void onClick(View v) {

@ -93,6 +93,7 @@ public class FragmentOptionsMisc extends FragmentBase implements SharedPreferenc
private boolean resumed = false; private boolean resumed = false;
private List<Pair<String, String>> languages = new ArrayList<>(); private List<Pair<String, String>> languages = new ArrayList<>();
private ImageButton ibHelp;
private SwitchCompat swPowerMenu; private SwitchCompat swPowerMenu;
private SwitchCompat swExternalSearch; private SwitchCompat swExternalSearch;
private SwitchCompat swSortAnswers; private SwitchCompat swSortAnswers;
@ -264,6 +265,7 @@ public class FragmentOptionsMisc extends FragmentBase implements SharedPreferenc
// Get controls // Get controls
ibHelp = view.findViewById(R.id.ibHelp);
swPowerMenu = view.findViewById(R.id.swPowerMenu); swPowerMenu = view.findViewById(R.id.swPowerMenu);
swExternalSearch = view.findViewById(R.id.swExternalSearch); swExternalSearch = view.findViewById(R.id.swExternalSearch);
swSortAnswers = view.findViewById(R.id.swSortAnswers); swSortAnswers = view.findViewById(R.id.swSortAnswers);
@ -375,6 +377,13 @@ public class FragmentOptionsMisc extends FragmentBase implements SharedPreferenc
final SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(getContext()); final SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(getContext());
ibHelp.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View v) {
Helper.view(v.getContext(), Helper.getSupportUri(v.getContext()), false);
}
});
swPowerMenu.setOnCheckedChangeListener(new CompoundButton.OnCheckedChangeListener() { swPowerMenu.setOnCheckedChangeListener(new CompoundButton.OnCheckedChangeListener() {
@Override @Override
public void onCheckedChanged(CompoundButton compoundButton, boolean checked) { public void onCheckedChanged(CompoundButton compoundButton, boolean checked) {

@ -58,6 +58,7 @@ import androidx.preference.PreferenceManager;
import java.util.List; import java.util.List;
public class FragmentOptionsNotifications extends FragmentBase implements SharedPreferences.OnSharedPreferenceChangeListener { public class FragmentOptionsNotifications extends FragmentBase implements SharedPreferences.OnSharedPreferenceChangeListener {
private ImageButton ibHelp;
private Button btnManage; private Button btnManage;
private ImageButton ibClear; private ImageButton ibClear;
private Button btnManageDefault; private Button btnManageDefault;
@ -138,6 +139,7 @@ public class FragmentOptionsNotifications extends FragmentBase implements Shared
// Get controls // Get controls
ibHelp = view.findViewById(R.id.ibHelp);
btnManage = view.findViewById(R.id.btnManage); btnManage = view.findViewById(R.id.btnManage);
ibClear = view.findViewById(R.id.ibClear); ibClear = view.findViewById(R.id.ibClear);
btnManageDefault = view.findViewById(R.id.btnManageDefault); btnManageDefault = view.findViewById(R.id.btnManageDefault);
@ -200,6 +202,13 @@ public class FragmentOptionsNotifications extends FragmentBase implements Shared
final SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(getContext()); final SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(getContext());
boolean debug = prefs.getBoolean("debug", false); boolean debug = prefs.getBoolean("debug", false);
ibHelp.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View v) {
Helper.view(v.getContext(), Helper.getSupportUri(v.getContext()), false);
}
});
final Intent manage = new Intent(Settings.ACTION_APP_NOTIFICATION_SETTINGS) final Intent manage = new Intent(Settings.ACTION_APP_NOTIFICATION_SETTINGS)
.putExtra("app_package", getContext().getPackageName()) .putExtra("app_package", getContext().getPackageName())
.putExtra("app_uid", getContext().getApplicationInfo().uid) .putExtra("app_uid", getContext().getApplicationInfo().uid)

@ -63,6 +63,7 @@ import java.text.SimpleDateFormat;
import java.util.Locale; import java.util.Locale;
public class FragmentOptionsPrivacy extends FragmentBase implements SharedPreferences.OnSharedPreferenceChangeListener { public class FragmentOptionsPrivacy extends FragmentBase implements SharedPreferences.OnSharedPreferenceChangeListener {
private ImageButton ibHelp;
private SwitchCompat swConfirmLinks; private SwitchCompat swConfirmLinks;
private SwitchCompat swCheckLinksDbl; private SwitchCompat swCheckLinksDbl;
private SwitchCompat swBrowseLinks; private SwitchCompat swBrowseLinks;
@ -126,6 +127,7 @@ public class FragmentOptionsPrivacy extends FragmentBase implements SharedPrefer
// Get controls // Get controls
ibHelp = view.findViewById(R.id.ibHelp);
swConfirmLinks = view.findViewById(R.id.swConfirmLinks); swConfirmLinks = view.findViewById(R.id.swConfirmLinks);
swCheckLinksDbl = view.findViewById(R.id.swCheckLinksDbl); swCheckLinksDbl = view.findViewById(R.id.swCheckLinksDbl);
swBrowseLinks = view.findViewById(R.id.swBrowseLinks); swBrowseLinks = view.findViewById(R.id.swBrowseLinks);
@ -172,6 +174,13 @@ public class FragmentOptionsPrivacy extends FragmentBase implements SharedPrefer
final SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(getContext()); final SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(getContext());
ibHelp.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View v) {
Helper.view(v.getContext(), Helper.getSupportUri(v.getContext()), false);
}
});
swConfirmLinks.setOnCheckedChangeListener(new CompoundButton.OnCheckedChangeListener() { swConfirmLinks.setOnCheckedChangeListener(new CompoundButton.OnCheckedChangeListener() {
@Override @Override
public void onCheckedChanged(CompoundButton compoundButton, boolean checked) { public void onCheckedChanged(CompoundButton compoundButton, boolean checked) {

@ -38,6 +38,7 @@ import android.widget.AdapterView;
import android.widget.ArrayAdapter; import android.widget.ArrayAdapter;
import android.widget.Button; import android.widget.Button;
import android.widget.CompoundButton; import android.widget.CompoundButton;
import android.widget.ImageButton;
import android.widget.RadioButton; import android.widget.RadioButton;
import android.widget.RadioGroup; import android.widget.RadioGroup;
import android.widget.Spinner; import android.widget.Spinner;
@ -54,6 +55,7 @@ import java.util.List;
import java.util.Objects; import java.util.Objects;
public class FragmentOptionsSend extends FragmentBase implements SharedPreferences.OnSharedPreferenceChangeListener { public class FragmentOptionsSend extends FragmentBase implements SharedPreferences.OnSharedPreferenceChangeListener {
private ImageButton ibHelp;
private SwitchCompat swKeyboard; private SwitchCompat swKeyboard;
private SwitchCompat swKeyboardNoFullscreen; private SwitchCompat swKeyboardNoFullscreen;
private SwitchCompat swSuggestNames; private SwitchCompat swSuggestNames;
@ -127,6 +129,7 @@ public class FragmentOptionsSend extends FragmentBase implements SharedPreferenc
// Get controls // Get controls
ibHelp = view.findViewById(R.id.ibHelp);
swKeyboard = view.findViewById(R.id.swKeyboard); swKeyboard = view.findViewById(R.id.swKeyboard);
swKeyboardNoFullscreen = view.findViewById(R.id.swKeyboardNoFullscreen); swKeyboardNoFullscreen = view.findViewById(R.id.swKeyboardNoFullscreen);
swSuggestNames = view.findViewById(R.id.swSuggestNames); swSuggestNames = view.findViewById(R.id.swSuggestNames);
@ -198,6 +201,13 @@ public class FragmentOptionsSend extends FragmentBase implements SharedPreferenc
final SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(getContext()); final SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(getContext());
ibHelp.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View v) {
Helper.view(v.getContext(), Helper.getSupportUri(v.getContext()), false);
}
});
swKeyboard.setOnCheckedChangeListener(new CompoundButton.OnCheckedChangeListener() { swKeyboard.setOnCheckedChangeListener(new CompoundButton.OnCheckedChangeListener() {
@Override @Override
public void onCheckedChanged(CompoundButton compoundButton, boolean checked) { public void onCheckedChanged(CompoundButton compoundButton, boolean checked) {

@ -63,6 +63,7 @@ import java.util.List;
import java.util.Objects; import java.util.Objects;
public class FragmentOptionsSynchronize extends FragmentBase implements SharedPreferences.OnSharedPreferenceChangeListener { public class FragmentOptionsSynchronize extends FragmentBase implements SharedPreferences.OnSharedPreferenceChangeListener {
private ImageButton ibHelp;
private SwitchCompat swEnabled; private SwitchCompat swEnabled;
private SwitchCompat swOptimize; private SwitchCompat swOptimize;
private ImageButton ibOptimizeInfo; private ImageButton ibOptimizeInfo;
@ -131,6 +132,7 @@ public class FragmentOptionsSynchronize extends FragmentBase implements SharedPr
// Get controls // Get controls
ibHelp = view.findViewById(R.id.ibHelp);
swEnabled = view.findViewById(R.id.swEnabled); swEnabled = view.findViewById(R.id.swEnabled);
swOptimize = view.findViewById(R.id.swOptimize); swOptimize = view.findViewById(R.id.swOptimize);
ibOptimizeInfo = view.findViewById(R.id.ibOptimizeInfo); ibOptimizeInfo = view.findViewById(R.id.ibOptimizeInfo);
@ -190,6 +192,13 @@ public class FragmentOptionsSynchronize extends FragmentBase implements SharedPr
final SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(getContext()); final SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(getContext());
ibHelp.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View v) {
Helper.view(v.getContext(), Helper.getSupportUri(v.getContext()), false);
}
});
swEnabled.setOnCheckedChangeListener(new CompoundButton.OnCheckedChangeListener() { swEnabled.setOnCheckedChangeListener(new CompoundButton.OnCheckedChangeListener() {
@Override @Override
public void onCheckedChanged(CompoundButton compoundButton, boolean checked) { public void onCheckedChanged(CompoundButton compoundButton, boolean checked) {

@ -21,18 +21,30 @@
android:id="@+id/tvDefault" android:id="@+id/tvDefault"
android:layout_width="0dp" android:layout_width="0dp"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_marginHorizontal="3dp" android:layout_marginStart="3dp"
android:drawableStart="@drawable/twotone_support_24"
android:drawablePadding="6dp"
android:gravity="center_vertical" android:gravity="center_vertical"
android:minHeight="36dp"
android:text="@string/title_advanced_default" android:text="@string/title_advanced_default"
android:textAppearance="@style/TextAppearance.AppCompat.Small" android:textAppearance="@style/TextAppearance.AppCompat.Small"
android:textColor="?android:attr/textColorPrimary" android:textColor="?android:attr/textColorPrimary"
android:textStyle="italic" android:textStyle="italic"
app:layout_constraintEnd_toEndOf="parent" app:layout_constraintEnd_toStartOf="@+id/ibHelp"
app:layout_constraintStart_toStartOf="parent" app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent" /> app:layout_constraintTop_toTopOf="parent" />
<eu.faircode.email.FixedImageButton
android:id="@+id/ibHelp"
android:layout_width="36dp"
android:layout_height="36dp"
android:layout_marginEnd="3dp"
android:background="?android:attr/selectableItemBackgroundBorderless"
android:padding="6dp"
android:scaleType="fitCenter"
app:layout_constraintBottom_toBottomOf="@+id/tvDefault"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintTop_toTopOf="@+id/tvDefault"
app:srcCompat="@drawable/twotone_help_24" />
<androidx.cardview.widget.CardView <androidx.cardview.widget.CardView
android:id="@+id/cardGeneral" android:id="@+id/cardGeneral"
android:layout_width="match_parent" android:layout_width="match_parent"

@ -21,18 +21,30 @@
android:id="@+id/tvDefault" android:id="@+id/tvDefault"
android:layout_width="0dp" android:layout_width="0dp"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_marginHorizontal="3dp" android:layout_marginStart="3dp"
android:drawableStart="@drawable/twotone_support_24"
android:drawablePadding="6dp"
android:gravity="center_vertical" android:gravity="center_vertical"
android:minHeight="36dp"
android:text="@string/title_advanced_default" android:text="@string/title_advanced_default"
android:textAppearance="@style/TextAppearance.AppCompat.Small" android:textAppearance="@style/TextAppearance.AppCompat.Small"
android:textColor="?android:attr/textColorPrimary" android:textColor="?android:attr/textColorPrimary"
android:textStyle="italic" android:textStyle="italic"
app:layout_constraintEnd_toEndOf="parent" app:layout_constraintEnd_toStartOf="@+id/ibHelp"
app:layout_constraintStart_toStartOf="parent" app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent" /> app:layout_constraintTop_toTopOf="parent" />
<eu.faircode.email.FixedImageButton
android:id="@+id/ibHelp"
android:layout_width="36dp"
android:layout_height="36dp"
android:layout_marginEnd="3dp"
android:background="?android:attr/selectableItemBackgroundBorderless"
android:padding="6dp"
android:scaleType="fitCenter"
app:layout_constraintBottom_toBottomOf="@+id/tvDefault"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintTop_toTopOf="@+id/tvDefault"
app:srcCompat="@drawable/twotone_help_24" />
<androidx.cardview.widget.CardView <androidx.cardview.widget.CardView
android:id="@+id/cardGeneral" android:id="@+id/cardGeneral"
android:layout_width="match_parent" android:layout_width="match_parent"

@ -21,18 +21,30 @@
android:id="@+id/tvDefault" android:id="@+id/tvDefault"
android:layout_width="0dp" android:layout_width="0dp"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_marginHorizontal="3dp" android:layout_marginStart="3dp"
android:drawableStart="@drawable/twotone_support_24"
android:drawablePadding="6dp"
android:gravity="center_vertical" android:gravity="center_vertical"
android:minHeight="36dp"
android:text="@string/title_advanced_default" android:text="@string/title_advanced_default"
android:textAppearance="@style/TextAppearance.AppCompat.Small" android:textAppearance="@style/TextAppearance.AppCompat.Small"
android:textColor="?android:attr/textColorPrimary" android:textColor="?android:attr/textColorPrimary"
android:textStyle="italic" android:textStyle="italic"
app:layout_constraintEnd_toEndOf="parent" app:layout_constraintEnd_toStartOf="@+id/ibHelp"
app:layout_constraintStart_toStartOf="parent" app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent" /> app:layout_constraintTop_toTopOf="parent" />
<eu.faircode.email.FixedImageButton
android:id="@+id/ibHelp"
android:layout_width="36dp"
android:layout_height="36dp"
android:layout_marginEnd="3dp"
android:background="?android:attr/selectableItemBackgroundBorderless"
android:padding="6dp"
android:scaleType="fitCenter"
app:layout_constraintBottom_toBottomOf="@+id/tvDefault"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintTop_toTopOf="@+id/tvDefault"
app:srcCompat="@drawable/twotone_help_24" />
<androidx.cardview.widget.CardView <androidx.cardview.widget.CardView
android:id="@+id/cardGeneral" android:id="@+id/cardGeneral"
android:layout_width="match_parent" android:layout_width="match_parent"

@ -21,18 +21,30 @@
android:id="@+id/tvDefault" android:id="@+id/tvDefault"
android:layout_width="0dp" android:layout_width="0dp"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_marginHorizontal="3dp" android:layout_marginStart="3dp"
android:drawableStart="@drawable/twotone_support_24"
android:drawablePadding="6dp"
android:gravity="center_vertical" android:gravity="center_vertical"
android:minHeight="36dp"
android:text="@string/title_advanced_default" android:text="@string/title_advanced_default"
android:textAppearance="@style/TextAppearance.AppCompat.Small" android:textAppearance="@style/TextAppearance.AppCompat.Small"
android:textColor="?android:attr/textColorPrimary" android:textColor="?android:attr/textColorPrimary"
android:textStyle="italic" android:textStyle="italic"
app:layout_constraintEnd_toEndOf="parent" app:layout_constraintEnd_toStartOf="@+id/ibHelp"
app:layout_constraintStart_toStartOf="parent" app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent" /> app:layout_constraintTop_toTopOf="parent" />
<eu.faircode.email.FixedImageButton
android:id="@+id/ibHelp"
android:layout_width="36dp"
android:layout_height="36dp"
android:layout_marginEnd="3dp"
android:background="?android:attr/selectableItemBackgroundBorderless"
android:padding="6dp"
android:scaleType="fitCenter"
app:layout_constraintBottom_toBottomOf="@+id/tvDefault"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintTop_toTopOf="@+id/tvDefault"
app:srcCompat="@drawable/twotone_help_24" />
<androidx.cardview.widget.CardView <androidx.cardview.widget.CardView
android:id="@+id/cardGeneral" android:id="@+id/cardGeneral"
android:layout_width="match_parent" android:layout_width="match_parent"

@ -21,18 +21,30 @@
android:id="@+id/tvDefault" android:id="@+id/tvDefault"
android:layout_width="0dp" android:layout_width="0dp"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_marginHorizontal="3dp" android:layout_marginStart="3dp"
android:drawableStart="@drawable/twotone_support_24"
android:drawablePadding="6dp"
android:gravity="center_vertical" android:gravity="center_vertical"
android:minHeight="36dp"
android:text="@string/title_advanced_default" android:text="@string/title_advanced_default"
android:textAppearance="@style/TextAppearance.AppCompat.Small" android:textAppearance="@style/TextAppearance.AppCompat.Small"
android:textColor="?android:attr/textColorPrimary" android:textColor="?android:attr/textColorPrimary"
android:textStyle="italic" android:textStyle="italic"
app:layout_constraintEnd_toEndOf="parent" app:layout_constraintEnd_toStartOf="@+id/ibHelp"
app:layout_constraintStart_toStartOf="parent" app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent" /> app:layout_constraintTop_toTopOf="parent" />
<eu.faircode.email.FixedImageButton
android:id="@+id/ibHelp"
android:layout_width="36dp"
android:layout_height="36dp"
android:layout_marginEnd="3dp"
android:background="?android:attr/selectableItemBackgroundBorderless"
android:padding="6dp"
android:scaleType="fitCenter"
app:layout_constraintBottom_toBottomOf="@+id/tvDefault"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintTop_toTopOf="@+id/tvDefault"
app:srcCompat="@drawable/twotone_help_24" />
<androidx.cardview.widget.CardView <androidx.cardview.widget.CardView
android:id="@+id/cardGeneral" android:id="@+id/cardGeneral"
android:layout_width="match_parent" android:layout_width="match_parent"

@ -21,18 +21,30 @@
android:id="@+id/tvDefault" android:id="@+id/tvDefault"
android:layout_width="0dp" android:layout_width="0dp"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_marginHorizontal="3dp" android:layout_marginStart="3dp"
android:drawableStart="@drawable/twotone_support_24"
android:drawablePadding="6dp"
android:gravity="center_vertical" android:gravity="center_vertical"
android:minHeight="36dp"
android:text="@string/title_advanced_default" android:text="@string/title_advanced_default"
android:textAppearance="@style/TextAppearance.AppCompat.Small" android:textAppearance="@style/TextAppearance.AppCompat.Small"
android:textColor="?android:attr/textColorPrimary" android:textColor="?android:attr/textColorPrimary"
android:textStyle="italic" android:textStyle="italic"
app:layout_constraintEnd_toEndOf="parent" app:layout_constraintEnd_toStartOf="@+id/ibHelp"
app:layout_constraintStart_toStartOf="parent" app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent" /> app:layout_constraintTop_toTopOf="parent" />
<eu.faircode.email.FixedImageButton
android:id="@+id/ibHelp"
android:layout_width="36dp"
android:layout_height="36dp"
android:layout_marginEnd="3dp"
android:background="?android:attr/selectableItemBackgroundBorderless"
android:padding="6dp"
android:scaleType="fitCenter"
app:layout_constraintBottom_toBottomOf="@+id/tvDefault"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintTop_toTopOf="@+id/tvDefault"
app:srcCompat="@drawable/twotone_help_24" />
<androidx.cardview.widget.CardView <androidx.cardview.widget.CardView
android:id="@+id/cardGeneral" android:id="@+id/cardGeneral"
android:layout_width="match_parent" android:layout_width="match_parent"

@ -21,18 +21,30 @@
android:id="@+id/tvDefault" android:id="@+id/tvDefault"
android:layout_width="0dp" android:layout_width="0dp"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_marginHorizontal="3dp" android:layout_marginStart="3dp"
android:drawableStart="@drawable/twotone_support_24"
android:drawablePadding="6dp"
android:gravity="center_vertical" android:gravity="center_vertical"
android:minHeight="36dp"
android:text="@string/title_advanced_default" android:text="@string/title_advanced_default"
android:textAppearance="@style/TextAppearance.AppCompat.Small" android:textAppearance="@style/TextAppearance.AppCompat.Small"
android:textColor="?android:attr/textColorPrimary" android:textColor="?android:attr/textColorPrimary"
android:textStyle="italic" android:textStyle="italic"
app:layout_constraintEnd_toEndOf="parent" app:layout_constraintEnd_toStartOf="@+id/ibHelp"
app:layout_constraintStart_toStartOf="parent" app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent" /> app:layout_constraintTop_toTopOf="parent" />
<eu.faircode.email.FixedImageButton
android:id="@+id/ibHelp"
android:layout_width="36dp"
android:layout_height="36dp"
android:layout_marginEnd="3dp"
android:background="?android:attr/selectableItemBackgroundBorderless"
android:padding="6dp"
android:scaleType="fitCenter"
app:layout_constraintBottom_toBottomOf="@+id/tvDefault"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintTop_toTopOf="@+id/tvDefault"
app:srcCompat="@drawable/twotone_help_24" />
<androidx.cardview.widget.CardView <androidx.cardview.widget.CardView
android:id="@+id/cardGeneral" android:id="@+id/cardGeneral"
android:layout_width="match_parent" android:layout_width="match_parent"

@ -21,18 +21,30 @@
android:id="@+id/tvDefault" android:id="@+id/tvDefault"
android:layout_width="0dp" android:layout_width="0dp"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_marginHorizontal="3dp" android:layout_marginStart="3dp"
android:drawableStart="@drawable/twotone_support_24"
android:drawablePadding="6dp"
android:gravity="center_vertical" android:gravity="center_vertical"
android:minHeight="36dp"
android:text="@string/title_advanced_default" android:text="@string/title_advanced_default"
android:textAppearance="@style/TextAppearance.AppCompat.Small" android:textAppearance="@style/TextAppearance.AppCompat.Small"
android:textColor="?android:attr/textColorPrimary" android:textColor="?android:attr/textColorPrimary"
android:textStyle="italic" android:textStyle="italic"
app:layout_constraintEnd_toEndOf="parent" app:layout_constraintEnd_toStartOf="@+id/ibHelp"
app:layout_constraintStart_toStartOf="parent" app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent" /> app:layout_constraintTop_toTopOf="parent" />
<eu.faircode.email.FixedImageButton
android:id="@+id/ibHelp"
android:layout_width="36dp"
android:layout_height="36dp"
android:layout_marginEnd="3dp"
android:background="?android:attr/selectableItemBackgroundBorderless"
android:padding="6dp"
android:scaleType="fitCenter"
app:layout_constraintBottom_toBottomOf="@+id/tvDefault"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintTop_toTopOf="@+id/tvDefault"
app:srcCompat="@drawable/twotone_help_24" />
<androidx.cardview.widget.CardView <androidx.cardview.widget.CardView
android:id="@+id/cardGeneral" android:id="@+id/cardGeneral"
android:layout_width="match_parent" android:layout_width="match_parent"

@ -21,18 +21,30 @@
android:id="@+id/tvDefault" android:id="@+id/tvDefault"
android:layout_width="0dp" android:layout_width="0dp"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_marginHorizontal="3dp" android:layout_marginStart="3dp"
android:drawableStart="@drawable/twotone_support_24"
android:drawablePadding="6dp"
android:gravity="center_vertical" android:gravity="center_vertical"
android:minHeight="36dp"
android:text="@string/title_advanced_default" android:text="@string/title_advanced_default"
android:textAppearance="@style/TextAppearance.AppCompat.Small" android:textAppearance="@style/TextAppearance.AppCompat.Small"
android:textColor="?android:attr/textColorPrimary" android:textColor="?android:attr/textColorPrimary"
android:textStyle="italic" android:textStyle="italic"
app:layout_constraintEnd_toEndOf="parent" app:layout_constraintEnd_toStartOf="@+id/ibHelp"
app:layout_constraintStart_toStartOf="parent" app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent" /> app:layout_constraintTop_toTopOf="parent" />
<eu.faircode.email.FixedImageButton
android:id="@+id/ibHelp"
android:layout_width="36dp"
android:layout_height="36dp"
android:layout_marginEnd="3dp"
android:background="?android:attr/selectableItemBackgroundBorderless"
android:padding="6dp"
android:scaleType="fitCenter"
app:layout_constraintBottom_toBottomOf="@+id/tvDefault"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintTop_toTopOf="@+id/tvDefault"
app:srcCompat="@drawable/twotone_help_24" />
<androidx.cardview.widget.CardView <androidx.cardview.widget.CardView
android:id="@+id/cardGeneral" android:id="@+id/cardGeneral"
android:layout_width="match_parent" android:layout_width="match_parent"

Loading…
Cancel
Save