mirror of
https://codeberg.org/gitnex/GitNex.git
synced 2024-12-16 15:48:13 +08:00
Setting Manrope as default font. (#379)
Revert "store default if user didnt touch Font settings"
This reverts commit 9c5f9731
store default if user didnt touch Font settings
Setting translatable to false
Last changes.
Defaulting to Manrope in strings.xml
Default to Manrope in settings.
Changes in default value.
Automatic formatting.
Merge remote-tracking branch 'remotes/main/master' into manrope
# Conflicts:
# app/src/main/java/org/mian/gitnex/activities/BaseActivity.java
Manrope just literally as default font.
Reformatting code.
Making optimizations.
Moving initialization to BaseActivity
Merge remote-tracking branch 'remotes/main/master' into manrope
Setting Manrope as default font.
Co-authored-by: opyale <example@example.com>
Co-authored-by: 6543 <6543@obermui.de>
Reviewed-on: https://gitea.com/gitnex/GitNex/pulls/379
Reviewed-by: 6543 <6543@noreply.gitea.io>
Reviewed-by: M M Arif <mmarif@swatian.com>
This commit is contained in:
parent
145043a515
commit
df2bc91e9f
@ -13,75 +13,67 @@ import org.mian.gitnex.util.TinyDB;
|
|||||||
|
|
||||||
public abstract class BaseActivity extends AppCompatActivity {
|
public abstract class BaseActivity extends AppCompatActivity {
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void onCreate(Bundle savedInstanceState) {
|
public void onCreate(Bundle savedInstanceState) {
|
||||||
|
|
||||||
final TinyDB tinyDb = new TinyDB(getApplicationContext());
|
final TinyDB tinyDb = new TinyDB(getApplicationContext());
|
||||||
|
|
||||||
if(tinyDb.getInt("themeId") == 1) {
|
if(tinyDb.getInt("themeId") == 1) {
|
||||||
setTheme(R.style.AppThemeLight);
|
setTheme(R.style.AppThemeLight);
|
||||||
}
|
}
|
||||||
else if(tinyDb.getInt("themeId") == 2) {
|
else if(tinyDb.getInt("themeId") == 2) {
|
||||||
|
|
||||||
boolean timeSetterFlag = TimeHelper.timeBetweenHours(18, 6); // 6pm to 6am
|
boolean timeSetterFlag = TimeHelper.timeBetweenHours(18, 6); // 6pm to 6am
|
||||||
|
|
||||||
if(timeSetterFlag) {
|
if(timeSetterFlag) {
|
||||||
setTheme(R.style.AppTheme);
|
setTheme(R.style.AppTheme);
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
setTheme(R.style.AppThemeLight);
|
setTheme(R.style.AppThemeLight);
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
setTheme(R.style.AppTheme);
|
setTheme(R.style.AppTheme);
|
||||||
}
|
}
|
||||||
|
|
||||||
super.onCreate(savedInstanceState);
|
super.onCreate(savedInstanceState);
|
||||||
setContentView(getLayoutResourceId());
|
setContentView(getLayoutResourceId());
|
||||||
|
|
||||||
if(tinyDb.getInt("customFontId") == 0) {
|
switch(tinyDb.getInt("customFontId", -1)) {
|
||||||
|
|
||||||
FontsOverride.setDefaultFont(this, "DEFAULT", "fonts/roboto.ttf");
|
case 0:
|
||||||
FontsOverride.setDefaultFont(this, "MONOSPACE", "fonts/roboto.ttf");
|
FontsOverride.setDefaultFont(this, "DEFAULT", "fonts/roboto.ttf");
|
||||||
FontsOverride.setDefaultFont(this, "SERIF", "fonts/roboto.ttf");
|
FontsOverride.setDefaultFont(this, "MONOSPACE", "fonts/roboto.ttf");
|
||||||
FontsOverride.setDefaultFont(this, "SANS_SERIF", "fonts/roboto.ttf");
|
FontsOverride.setDefaultFont(this, "SERIF", "fonts/roboto.ttf");
|
||||||
|
FontsOverride.setDefaultFont(this, "SANS_SERIF", "fonts/roboto.ttf");
|
||||||
|
break;
|
||||||
|
|
||||||
}
|
case 2:
|
||||||
else if (tinyDb.getInt("customFontId") == 1) {
|
FontsOverride.setDefaultFont(this, "DEFAULT", "fonts/sourcecodeproregular.ttf");
|
||||||
|
FontsOverride.setDefaultFont(this, "MONOSPACE", "fonts/sourcecodeproregular.ttf");
|
||||||
|
FontsOverride.setDefaultFont(this, "SERIF", "fonts/sourcecodeproregular.ttf");
|
||||||
|
FontsOverride.setDefaultFont(this, "SANS_SERIF", "fonts/sourcecodeproregular.ttf");
|
||||||
|
break;
|
||||||
|
|
||||||
FontsOverride.setDefaultFont(this, "DEFAULT", "fonts/manroperegular.ttf");
|
default:
|
||||||
FontsOverride.setDefaultFont(this, "MONOSPACE", "fonts/manroperegular.ttf");
|
FontsOverride.setDefaultFont(this, "DEFAULT", "fonts/manroperegular.ttf");
|
||||||
FontsOverride.setDefaultFont(this, "SERIF", "fonts/manroperegular.ttf");
|
FontsOverride.setDefaultFont(this, "MONOSPACE", "fonts/manroperegular.ttf");
|
||||||
FontsOverride.setDefaultFont(this, "SANS_SERIF", "fonts/manroperegular.ttf");
|
FontsOverride.setDefaultFont(this, "SERIF", "fonts/manroperegular.ttf");
|
||||||
|
FontsOverride.setDefaultFont(this, "SANS_SERIF", "fonts/manroperegular.ttf");
|
||||||
|
break;
|
||||||
|
|
||||||
}
|
}
|
||||||
else if (tinyDb.getInt("customFontId") == 2) {
|
|
||||||
|
|
||||||
FontsOverride.setDefaultFont(this, "DEFAULT", "fonts/sourcecodeproregular.ttf");
|
// enabling counter badges by default
|
||||||
FontsOverride.setDefaultFont(this, "MONOSPACE", "fonts/sourcecodeproregular.ttf");
|
if(tinyDb.getString("enableCounterBadgesInit").isEmpty()) {
|
||||||
FontsOverride.setDefaultFont(this, "SERIF", "fonts/sourcecodeproregular.ttf");
|
tinyDb.putBoolean("enableCounterBadges", true);
|
||||||
FontsOverride.setDefaultFont(this, "SANS_SERIF", "fonts/sourcecodeproregular.ttf");
|
tinyDb.putString("enableCounterBadgesInit", "yes");
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
else {
|
|
||||||
|
|
||||||
FontsOverride.setDefaultFont(this, "DEFAULT", "fonts/roboto.ttf");
|
protected abstract int getLayoutResourceId();
|
||||||
FontsOverride.setDefaultFont(this, "MONOSPACE", "fonts/roboto.ttf");
|
|
||||||
FontsOverride.setDefaultFont(this, "SERIF", "fonts/roboto.ttf");
|
|
||||||
FontsOverride.setDefaultFont(this, "SANS_SERIF", "fonts/roboto.ttf");
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
// enabling counter badges by default
|
|
||||||
if(tinyDb.getString("enableCounterBadgesInit").isEmpty()) {
|
|
||||||
tinyDb.putBoolean("enableCounterBadges", true);
|
|
||||||
tinyDb.putString("enableCounterBadgesInit", "yes");
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
protected abstract int getLayoutResourceId();
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -186,7 +186,7 @@ public class IssueDetailActivity extends BaseActivity {
|
|||||||
|
|
||||||
Typeface myTypeface;
|
Typeface myTypeface;
|
||||||
|
|
||||||
switch(tinyDb.getInt("customFontId")) {
|
switch(tinyDb.getInt("customFontId", -1)) {
|
||||||
|
|
||||||
case 1:
|
case 1:
|
||||||
myTypeface = Typeface.createFromAsset(Objects.requireNonNull(getApplicationContext()).getAssets(), "fonts/manroperegular.ttf");
|
myTypeface = Typeface.createFromAsset(Objects.requireNonNull(getApplicationContext()).getAssets(), "fonts/manroperegular.ttf");
|
||||||
|
@ -109,24 +109,19 @@ public class MainActivity extends BaseActivity implements NavigationView.OnNavig
|
|||||||
Toolbar toolbar = findViewById(R.id.toolbar);
|
Toolbar toolbar = findViewById(R.id.toolbar);
|
||||||
toolbarTitle = toolbar.findViewById(R.id.toolbar_title);
|
toolbarTitle = toolbar.findViewById(R.id.toolbar_title);
|
||||||
|
|
||||||
if(tinyDb.getInt("customFontId") == 0) {
|
switch(tinyDb.getInt("customFontId", -1)) {
|
||||||
|
|
||||||
myTypeface = Typeface.createFromAsset(getAssets(), "fonts/roboto.ttf");
|
case 0:
|
||||||
|
myTypeface = Typeface.createFromAsset(getAssets(), "fonts/roboto.ttf");
|
||||||
|
break;
|
||||||
|
|
||||||
}
|
case 2:
|
||||||
else if (tinyDb.getInt("customFontId") == 1) {
|
myTypeface = Typeface.createFromAsset(getAssets(), "fonts/sourcecodeproregular.ttf");
|
||||||
|
break;
|
||||||
|
|
||||||
myTypeface = Typeface.createFromAsset(getAssets(), "fonts/manroperegular.ttf");
|
default:
|
||||||
|
myTypeface = Typeface.createFromAsset(getAssets(), "fonts/manroperegular.ttf");
|
||||||
}
|
break;
|
||||||
else if (tinyDb.getInt("customFontId") == 2) {
|
|
||||||
|
|
||||||
myTypeface = Typeface.createFromAsset(getAssets(), "fonts/sourcecodeproregular.ttf");
|
|
||||||
|
|
||||||
}
|
|
||||||
else {
|
|
||||||
|
|
||||||
myTypeface = Typeface.createFromAsset(getAssets(), "fonts/roboto.ttf");
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -58,24 +58,20 @@ public class OrganizationDetailActivity extends BaseActivity implements BottomSh
|
|||||||
TabLayout tabLayout = findViewById(R.id.tabs);
|
TabLayout tabLayout = findViewById(R.id.tabs);
|
||||||
|
|
||||||
Typeface myTypeface;
|
Typeface myTypeface;
|
||||||
if(tinyDb.getInt("customFontId") == 0) {
|
|
||||||
|
|
||||||
myTypeface = Typeface.createFromAsset(Objects.requireNonNull(getApplicationContext()).getAssets(), "fonts/roboto.ttf");
|
switch(tinyDb.getInt("customFontId", -1)) {
|
||||||
|
|
||||||
}
|
case 0:
|
||||||
else if (tinyDb.getInt("customFontId") == 1) {
|
myTypeface = Typeface.createFromAsset(getApplicationContext().getAssets(), "fonts/roboto.ttf");
|
||||||
|
break;
|
||||||
|
|
||||||
myTypeface = Typeface.createFromAsset(Objects.requireNonNull(getApplicationContext()).getAssets(), "fonts/manroperegular.ttf");
|
case 2:
|
||||||
|
myTypeface = Typeface.createFromAsset(getApplicationContext().getAssets(), "fonts/sourcecodeproregular.ttf");
|
||||||
|
break;
|
||||||
|
|
||||||
}
|
default:
|
||||||
else if (tinyDb.getInt("customFontId") == 2) {
|
myTypeface = Typeface.createFromAsset(getApplicationContext().getAssets(), "fonts/manroperegular.ttf");
|
||||||
|
break;
|
||||||
myTypeface = Typeface.createFromAsset(Objects.requireNonNull(getApplicationContext()).getAssets(), "fonts/sourcecodeproregular.ttf");
|
|
||||||
|
|
||||||
}
|
|
||||||
else {
|
|
||||||
|
|
||||||
myTypeface = Typeface.createFromAsset(Objects.requireNonNull(getApplicationContext()).getAssets(), "fonts/roboto.ttf");
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -92,24 +92,20 @@ public class RepoDetailActivity extends BaseActivity implements BottomSheetRepoF
|
|||||||
TabLayout tabLayout = findViewById(R.id.tabs);
|
TabLayout tabLayout = findViewById(R.id.tabs);
|
||||||
|
|
||||||
Typeface myTypeface;
|
Typeface myTypeface;
|
||||||
if(tinyDb.getInt("customFontId") == 0) {
|
|
||||||
|
|
||||||
myTypeface = Typeface.createFromAsset(Objects.requireNonNull(getApplicationContext()).getAssets(), "fonts/roboto.ttf");
|
switch(tinyDb.getInt("customFontId", -1)) {
|
||||||
|
|
||||||
}
|
case 0:
|
||||||
else if (tinyDb.getInt("customFontId") == 1) {
|
myTypeface = Typeface.createFromAsset(getApplicationContext().getAssets(), "fonts/roboto.ttf");
|
||||||
|
break;
|
||||||
|
|
||||||
myTypeface = Typeface.createFromAsset(Objects.requireNonNull(getApplicationContext()).getAssets(), "fonts/manroperegular.ttf");
|
case 2:
|
||||||
|
myTypeface = Typeface.createFromAsset(getApplicationContext().getAssets(), "fonts/sourcecodeproregular.ttf");
|
||||||
|
break;
|
||||||
|
|
||||||
}
|
default:
|
||||||
else if (tinyDb.getInt("customFontId") == 2) {
|
myTypeface = Typeface.createFromAsset(getApplicationContext().getAssets(), "fonts/manroperegular.ttf");
|
||||||
|
break;
|
||||||
myTypeface = Typeface.createFromAsset(Objects.requireNonNull(getApplicationContext()).getAssets(), "fonts/sourcecodeproregular.ttf");
|
|
||||||
|
|
||||||
}
|
|
||||||
else {
|
|
||||||
|
|
||||||
myTypeface = Typeface.createFromAsset(Objects.requireNonNull(getApplicationContext()).getAssets(), "fonts/roboto.ttf");
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -84,24 +84,19 @@ public class RepoStargazersAdapter extends BaseAdapter {
|
|||||||
final TinyDB tinyDb = new TinyDB(mCtx);
|
final TinyDB tinyDb = new TinyDB(mCtx);
|
||||||
Typeface myTypeface;
|
Typeface myTypeface;
|
||||||
|
|
||||||
if(tinyDb.getInt("customFontId") == 0) {
|
switch(tinyDb.getInt("customFontId", -1)) {
|
||||||
|
|
||||||
myTypeface = Typeface.createFromAsset(mCtx.getAssets(), "fonts/roboto.ttf");
|
case 0:
|
||||||
|
myTypeface = Typeface.createFromAsset(mCtx.getAssets(), "fonts/roboto.ttf");
|
||||||
|
break;
|
||||||
|
|
||||||
}
|
case 2:
|
||||||
else if (tinyDb.getInt("customFontId") == 1) {
|
myTypeface = Typeface.createFromAsset(mCtx.getAssets(), "fonts/sourcecodeproregular.ttf");
|
||||||
|
break;
|
||||||
|
|
||||||
myTypeface = Typeface.createFromAsset(mCtx.getAssets(), "fonts/manroperegular.ttf");
|
default:
|
||||||
|
myTypeface = Typeface.createFromAsset(mCtx.getAssets(), "fonts/manroperegular.ttf");
|
||||||
}
|
break;
|
||||||
else if (tinyDb.getInt("customFontId") == 2) {
|
|
||||||
|
|
||||||
myTypeface = Typeface.createFromAsset(mCtx.getAssets(), "fonts/sourcecodeproregular.ttf");
|
|
||||||
|
|
||||||
}
|
|
||||||
else {
|
|
||||||
|
|
||||||
myTypeface = Typeface.createFromAsset(mCtx.getAssets(), "fonts/roboto.ttf");
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -84,24 +84,19 @@ public class RepoWatchersAdapter extends BaseAdapter {
|
|||||||
final TinyDB tinyDb = new TinyDB(mCtx);
|
final TinyDB tinyDb = new TinyDB(mCtx);
|
||||||
Typeface myTypeface;
|
Typeface myTypeface;
|
||||||
|
|
||||||
if(tinyDb.getInt("customFontId") == 0) {
|
switch(tinyDb.getInt("customFontId", -1)) {
|
||||||
|
|
||||||
myTypeface = Typeface.createFromAsset(mCtx.getAssets(), "fonts/roboto.ttf");
|
case 0:
|
||||||
|
myTypeface = Typeface.createFromAsset(mCtx.getAssets(), "fonts/roboto.ttf");
|
||||||
|
break;
|
||||||
|
|
||||||
}
|
case 2:
|
||||||
else if (tinyDb.getInt("customFontId") == 1) {
|
myTypeface = Typeface.createFromAsset(mCtx.getAssets(), "fonts/sourcecodeproregular.ttf");
|
||||||
|
break;
|
||||||
|
|
||||||
myTypeface = Typeface.createFromAsset(mCtx.getAssets(), "fonts/manroperegular.ttf");
|
default:
|
||||||
|
myTypeface = Typeface.createFromAsset(mCtx.getAssets(), "fonts/manroperegular.ttf");
|
||||||
}
|
break;
|
||||||
else if (tinyDb.getInt("customFontId") == 2) {
|
|
||||||
|
|
||||||
myTypeface = Typeface.createFromAsset(mCtx.getAssets(), "fonts/sourcecodeproregular.ttf");
|
|
||||||
|
|
||||||
}
|
|
||||||
else {
|
|
||||||
|
|
||||||
myTypeface = Typeface.createFromAsset(mCtx.getAssets(), "fonts/roboto.ttf");
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -11,6 +11,7 @@ import android.widget.ImageView;
|
|||||||
import android.widget.TextView;
|
import android.widget.TextView;
|
||||||
import org.mian.gitnex.R;
|
import org.mian.gitnex.R;
|
||||||
import org.mian.gitnex.clients.PicassoService;
|
import org.mian.gitnex.clients.PicassoService;
|
||||||
|
import org.mian.gitnex.helpers.FontsOverride;
|
||||||
import org.mian.gitnex.helpers.RoundedTransformation;
|
import org.mian.gitnex.helpers.RoundedTransformation;
|
||||||
import org.mian.gitnex.models.UserInfo;
|
import org.mian.gitnex.models.UserInfo;
|
||||||
import org.mian.gitnex.util.TinyDB;
|
import org.mian.gitnex.util.TinyDB;
|
||||||
@ -85,24 +86,19 @@ public class TeamMembersByOrgAdapter extends BaseAdapter {
|
|||||||
final TinyDB tinyDb = new TinyDB(mCtx);
|
final TinyDB tinyDb = new TinyDB(mCtx);
|
||||||
Typeface myTypeface;
|
Typeface myTypeface;
|
||||||
|
|
||||||
if(tinyDb.getInt("customFontId") == 0) {
|
switch(tinyDb.getInt("customFontId", -1)) {
|
||||||
|
|
||||||
myTypeface = Typeface.createFromAsset(mCtx.getAssets(), "fonts/roboto.ttf");
|
case 0:
|
||||||
|
myTypeface = Typeface.createFromAsset(mCtx.getAssets(), "fonts/roboto.ttf");
|
||||||
|
break;
|
||||||
|
|
||||||
}
|
case 2:
|
||||||
else if (tinyDb.getInt("customFontId") == 1) {
|
myTypeface = Typeface.createFromAsset(mCtx.getAssets(), "fonts/sourcecodeproregular.ttf");
|
||||||
|
break;
|
||||||
|
|
||||||
myTypeface = Typeface.createFromAsset(mCtx.getAssets(), "fonts/manroperegular.ttf");
|
default:
|
||||||
|
myTypeface = Typeface.createFromAsset(mCtx.getAssets(), "fonts/manroperegular.ttf");
|
||||||
}
|
break;
|
||||||
else if (tinyDb.getInt("customFontId") == 2) {
|
|
||||||
|
|
||||||
myTypeface = Typeface.createFromAsset(mCtx.getAssets(), "fonts/sourcecodeproregular.ttf");
|
|
||||||
|
|
||||||
}
|
|
||||||
else {
|
|
||||||
|
|
||||||
myTypeface = Typeface.createFromAsset(mCtx.getAssets(), "fonts/roboto.ttf");
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -58,24 +58,20 @@ public class ProfileFragment extends Fragment {
|
|||||||
mViewPager.setAdapter(mSectionsPagerAdapter);
|
mViewPager.setAdapter(mSectionsPagerAdapter);
|
||||||
|
|
||||||
Typeface myTypeface;
|
Typeface myTypeface;
|
||||||
if(tinyDb.getInt("customFontId") == 0) {
|
|
||||||
|
|
||||||
myTypeface = Typeface.createFromAsset(Objects.requireNonNull(getContext()).getAssets(), "fonts/roboto.ttf");
|
switch(tinyDb.getInt("customFontId", -1)) {
|
||||||
|
|
||||||
}
|
case 0:
|
||||||
else if (tinyDb.getInt("customFontId") == 1) {
|
myTypeface = Typeface.createFromAsset(Objects.requireNonNull(getContext()).getAssets(), "fonts/roboto.ttf");
|
||||||
|
break;
|
||||||
|
|
||||||
myTypeface = Typeface.createFromAsset(Objects.requireNonNull(getContext()).getAssets(), "fonts/manroperegular.ttf");
|
case 2:
|
||||||
|
myTypeface = Typeface.createFromAsset(Objects.requireNonNull(getContext()).getAssets(), "fonts/sourcecodeproregular.ttf");
|
||||||
|
break;
|
||||||
|
|
||||||
}
|
default:
|
||||||
else if (tinyDb.getInt("customFontId") == 2) {
|
myTypeface = Typeface.createFromAsset(Objects.requireNonNull(getContext()).getAssets(), "fonts/manroperegular.ttf");
|
||||||
|
break;
|
||||||
myTypeface = Typeface.createFromAsset(Objects.requireNonNull(getContext()).getAssets(), "fonts/sourcecodeproregular.ttf");
|
|
||||||
|
|
||||||
}
|
|
||||||
else {
|
|
||||||
|
|
||||||
myTypeface = Typeface.createFromAsset(Objects.requireNonNull(getContext()).getAssets(), "fonts/roboto.ttf");
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -124,7 +124,7 @@ public class SettingsFragment extends Fragment {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if(customFontSelectedChoice == 0) {
|
if(customFontSelectedChoice == 0) {
|
||||||
customFontSelectedChoice = tinyDb.getInt("customFontId");
|
customFontSelectedChoice = tinyDb.getInt("customFontId", 1);
|
||||||
}
|
}
|
||||||
|
|
||||||
if(themeSelectedChoice == 0) {
|
if(themeSelectedChoice == 0) {
|
||||||
|
@ -171,6 +171,10 @@ public class TinyDB {
|
|||||||
return preferences.getInt(key, 0);
|
return preferences.getInt(key, 0);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public int getInt(String key, int defaultValue) {
|
||||||
|
return preferences.getInt(key, defaultValue);
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Get parsed ArrayList of Integers from SharedPreferences at 'key'
|
* Get parsed ArrayList of Integers from SharedPreferences at 'key'
|
||||||
* @param key SharedPreferences key
|
* @param key SharedPreferences key
|
||||||
|
@ -73,7 +73,7 @@
|
|||||||
android:textSize="14sp"
|
android:textSize="14sp"
|
||||||
android:layout_marginStart="44dp"
|
android:layout_marginStart="44dp"
|
||||||
android:layout_marginEnd="4dp"
|
android:layout_marginEnd="4dp"
|
||||||
android:text="@string/defaultCopy"
|
android:text="@string/settingsCustomFontDefault"
|
||||||
android:textColor="?attr/selectedTextColor"/>
|
android:textColor="?attr/selectedTextColor"/>
|
||||||
|
|
||||||
</LinearLayout>
|
</LinearLayout>
|
||||||
|
@ -206,7 +206,7 @@
|
|||||||
<string name="settingshomeScreenSelectorDialogTitle">Select Home Screen</string>
|
<string name="settingshomeScreenSelectorDialogTitle">Select Home Screen</string>
|
||||||
<string name="settingsCustomFontHeaderText">الخط</string>
|
<string name="settingsCustomFontHeaderText">الخط</string>
|
||||||
<string name="settingsCustomFontSelectorDialogTitle">اختر الخط</string>
|
<string name="settingsCustomFontSelectorDialogTitle">اختر الخط</string>
|
||||||
<string name="settingsCustomFontDefault">Roboto</string>
|
<string name="settingsCustomFontDefault">Manrope</string>
|
||||||
<string name="themeSelectorDialogTitle">اختر سمة التطبيق</string>
|
<string name="themeSelectorDialogTitle">اختر سمة التطبيق</string>
|
||||||
<string name="themeSelectionHeaderText">الحُلّة</string>
|
<string name="themeSelectionHeaderText">الحُلّة</string>
|
||||||
<string name="settingsPdfModeHeaderText">الوضع الليلي لـ PDF</string>
|
<string name="settingsPdfModeHeaderText">الوضع الليلي لـ PDF</string>
|
||||||
|
@ -206,7 +206,7 @@
|
|||||||
<string name="settingshomeScreenSelectorDialogTitle">Home Screen Auswählen</string>
|
<string name="settingshomeScreenSelectorDialogTitle">Home Screen Auswählen</string>
|
||||||
<string name="settingsCustomFontHeaderText">Schriftart</string>
|
<string name="settingsCustomFontHeaderText">Schriftart</string>
|
||||||
<string name="settingsCustomFontSelectorDialogTitle">Wähle eine Schriftart</string>
|
<string name="settingsCustomFontSelectorDialogTitle">Wähle eine Schriftart</string>
|
||||||
<string name="settingsCustomFontDefault">Roboto</string>
|
<string name="settingsCustomFontDefault">Manrope</string>
|
||||||
<string name="themeSelectorDialogTitle">App-Design auswählen</string>
|
<string name="themeSelectorDialogTitle">App-Design auswählen</string>
|
||||||
<string name="themeSelectionHeaderText">Design</string>
|
<string name="themeSelectionHeaderText">Design</string>
|
||||||
<string name="settingsPdfModeHeaderText">PDF Nachtmodus</string>
|
<string name="settingsPdfModeHeaderText">PDF Nachtmodus</string>
|
||||||
|
@ -206,7 +206,7 @@
|
|||||||
<string name="settingshomeScreenSelectorDialogTitle">Select Home Screen</string>
|
<string name="settingshomeScreenSelectorDialogTitle">Select Home Screen</string>
|
||||||
<string name="settingsCustomFontHeaderText">Font</string>
|
<string name="settingsCustomFontHeaderText">Font</string>
|
||||||
<string name="settingsCustomFontSelectorDialogTitle">Choose Font</string>
|
<string name="settingsCustomFontSelectorDialogTitle">Choose Font</string>
|
||||||
<string name="settingsCustomFontDefault">Roboto</string>
|
<string name="settingsCustomFontDefault">Manrope</string>
|
||||||
<string name="themeSelectorDialogTitle">Select App Theme</string>
|
<string name="themeSelectorDialogTitle">Select App Theme</string>
|
||||||
<string name="themeSelectionHeaderText">Theme</string>
|
<string name="themeSelectionHeaderText">Theme</string>
|
||||||
<string name="settingsPdfModeHeaderText">PDF Night Mode</string>
|
<string name="settingsPdfModeHeaderText">PDF Night Mode</string>
|
||||||
|
@ -209,7 +209,7 @@
|
|||||||
<string name="settingshomeScreenSelectorDialogTitle">صفحه خانگی را انتخاب کنید</string>
|
<string name="settingshomeScreenSelectorDialogTitle">صفحه خانگی را انتخاب کنید</string>
|
||||||
<string name="settingsCustomFontHeaderText">Font</string>
|
<string name="settingsCustomFontHeaderText">Font</string>
|
||||||
<string name="settingsCustomFontSelectorDialogTitle">Choose Font</string>
|
<string name="settingsCustomFontSelectorDialogTitle">Choose Font</string>
|
||||||
<string name="settingsCustomFontDefault">Roboto</string>
|
<string name="settingsCustomFontDefault">Manrope</string>
|
||||||
<string name="themeSelectorDialogTitle">Select App Theme</string>
|
<string name="themeSelectorDialogTitle">Select App Theme</string>
|
||||||
<string name="themeSelectionHeaderText">Theme</string>
|
<string name="themeSelectionHeaderText">Theme</string>
|
||||||
<string name="settingsPdfModeHeaderText">PDF Night Mode</string>
|
<string name="settingsPdfModeHeaderText">PDF Night Mode</string>
|
||||||
|
@ -206,7 +206,7 @@
|
|||||||
<string name="settingshomeScreenSelectorDialogTitle">Select Home Screen</string>
|
<string name="settingshomeScreenSelectorDialogTitle">Select Home Screen</string>
|
||||||
<string name="settingsCustomFontHeaderText">Font</string>
|
<string name="settingsCustomFontHeaderText">Font</string>
|
||||||
<string name="settingsCustomFontSelectorDialogTitle">Choose Font</string>
|
<string name="settingsCustomFontSelectorDialogTitle">Choose Font</string>
|
||||||
<string name="settingsCustomFontDefault">Roboto</string>
|
<string name="settingsCustomFontDefault">Manrope</string>
|
||||||
<string name="themeSelectorDialogTitle">Select App Theme</string>
|
<string name="themeSelectorDialogTitle">Select App Theme</string>
|
||||||
<string name="themeSelectionHeaderText">Theme</string>
|
<string name="themeSelectionHeaderText">Theme</string>
|
||||||
<string name="settingsPdfModeHeaderText">PDF Night Mode</string>
|
<string name="settingsPdfModeHeaderText">PDF Night Mode</string>
|
||||||
|
@ -206,7 +206,7 @@
|
|||||||
<string name="settingshomeScreenSelectorDialogTitle">Écran d’accueil</string>
|
<string name="settingshomeScreenSelectorDialogTitle">Écran d’accueil</string>
|
||||||
<string name="settingsCustomFontHeaderText">Police</string>
|
<string name="settingsCustomFontHeaderText">Police</string>
|
||||||
<string name="settingsCustomFontSelectorDialogTitle">Choisir la police</string>
|
<string name="settingsCustomFontSelectorDialogTitle">Choisir la police</string>
|
||||||
<string name="settingsCustomFontDefault">Roboto</string>
|
<string name="settingsCustomFontDefault">Manrope</string>
|
||||||
<string name="themeSelectorDialogTitle">Sélectionnez le thème de l’application</string>
|
<string name="themeSelectorDialogTitle">Sélectionnez le thème de l’application</string>
|
||||||
<string name="themeSelectionHeaderText">Thème</string>
|
<string name="themeSelectionHeaderText">Thème</string>
|
||||||
<string name="settingsPdfModeHeaderText">PDF mode nuit</string>
|
<string name="settingsPdfModeHeaderText">PDF mode nuit</string>
|
||||||
|
@ -207,7 +207,7 @@ URL è richiesto</string>
|
|||||||
<string name="settingshomeScreenSelectorDialogTitle">Seleziona schermata Home</string>
|
<string name="settingshomeScreenSelectorDialogTitle">Seleziona schermata Home</string>
|
||||||
<string name="settingsCustomFontHeaderText">Font</string>
|
<string name="settingsCustomFontHeaderText">Font</string>
|
||||||
<string name="settingsCustomFontSelectorDialogTitle">Scegli un Font</string>
|
<string name="settingsCustomFontSelectorDialogTitle">Scegli un Font</string>
|
||||||
<string name="settingsCustomFontDefault">Roboto</string>
|
<string name="settingsCustomFontDefault">Manrope</string>
|
||||||
<string name="themeSelectorDialogTitle">Select App Theme</string>
|
<string name="themeSelectorDialogTitle">Select App Theme</string>
|
||||||
<string name="themeSelectionHeaderText">Theme</string>
|
<string name="themeSelectionHeaderText">Theme</string>
|
||||||
<string name="settingsPdfModeHeaderText">PDF Night Mode</string>
|
<string name="settingsPdfModeHeaderText">PDF Night Mode</string>
|
||||||
|
@ -206,7 +206,7 @@
|
|||||||
<string name="settingshomeScreenSelectorDialogTitle">Select Home Screen</string>
|
<string name="settingshomeScreenSelectorDialogTitle">Select Home Screen</string>
|
||||||
<string name="settingsCustomFontHeaderText">Font</string>
|
<string name="settingsCustomFontHeaderText">Font</string>
|
||||||
<string name="settingsCustomFontSelectorDialogTitle">Choose Font</string>
|
<string name="settingsCustomFontSelectorDialogTitle">Choose Font</string>
|
||||||
<string name="settingsCustomFontDefault">Roboto</string>
|
<string name="settingsCustomFontDefault">Manrope</string>
|
||||||
<string name="themeSelectorDialogTitle">Select App Theme</string>
|
<string name="themeSelectorDialogTitle">Select App Theme</string>
|
||||||
<string name="themeSelectionHeaderText">Theme</string>
|
<string name="themeSelectionHeaderText">Theme</string>
|
||||||
<string name="settingsPdfModeHeaderText">PDF Night Mode</string>
|
<string name="settingsPdfModeHeaderText">PDF Night Mode</string>
|
||||||
|
@ -206,7 +206,7 @@
|
|||||||
<string name="settingshomeScreenSelectorDialogTitle">Wybierz ekran główny</string>
|
<string name="settingshomeScreenSelectorDialogTitle">Wybierz ekran główny</string>
|
||||||
<string name="settingsCustomFontHeaderText">Czcionka</string>
|
<string name="settingsCustomFontHeaderText">Czcionka</string>
|
||||||
<string name="settingsCustomFontSelectorDialogTitle">Wybierz czcionkę</string>
|
<string name="settingsCustomFontSelectorDialogTitle">Wybierz czcionkę</string>
|
||||||
<string name="settingsCustomFontDefault">Roboto</string>
|
<string name="settingsCustomFontDefault">Manrope</string>
|
||||||
<string name="themeSelectorDialogTitle">Wybierz motyw aplikacji</string>
|
<string name="themeSelectorDialogTitle">Wybierz motyw aplikacji</string>
|
||||||
<string name="themeSelectionHeaderText">Motyw</string>
|
<string name="themeSelectionHeaderText">Motyw</string>
|
||||||
<string name="settingsPdfModeHeaderText">Tryb nocny PDF</string>
|
<string name="settingsPdfModeHeaderText">Tryb nocny PDF</string>
|
||||||
|
@ -206,7 +206,7 @@
|
|||||||
<string name="settingshomeScreenSelectorDialogTitle">Selecionar Tela Inicial</string>
|
<string name="settingshomeScreenSelectorDialogTitle">Selecionar Tela Inicial</string>
|
||||||
<string name="settingsCustomFontHeaderText">Font</string>
|
<string name="settingsCustomFontHeaderText">Font</string>
|
||||||
<string name="settingsCustomFontSelectorDialogTitle">Choose Font</string>
|
<string name="settingsCustomFontSelectorDialogTitle">Choose Font</string>
|
||||||
<string name="settingsCustomFontDefault">Roboto</string>
|
<string name="settingsCustomFontDefault">Manrope</string>
|
||||||
<string name="themeSelectorDialogTitle">Select App Theme</string>
|
<string name="themeSelectorDialogTitle">Select App Theme</string>
|
||||||
<string name="themeSelectionHeaderText">Theme</string>
|
<string name="themeSelectionHeaderText">Theme</string>
|
||||||
<string name="settingsPdfModeHeaderText">PDF Night Mode</string>
|
<string name="settingsPdfModeHeaderText">PDF Night Mode</string>
|
||||||
|
@ -206,7 +206,7 @@
|
|||||||
<string name="settingshomeScreenSelectorDialogTitle">Выбрать главный экран</string>
|
<string name="settingshomeScreenSelectorDialogTitle">Выбрать главный экран</string>
|
||||||
<string name="settingsCustomFontHeaderText">Шрифт</string>
|
<string name="settingsCustomFontHeaderText">Шрифт</string>
|
||||||
<string name="settingsCustomFontSelectorDialogTitle">Выберите шрифт</string>
|
<string name="settingsCustomFontSelectorDialogTitle">Выберите шрифт</string>
|
||||||
<string name="settingsCustomFontDefault">Roboto</string>
|
<string name="settingsCustomFontDefault">Manrope</string>
|
||||||
<string name="themeSelectorDialogTitle">Выбрать тему приложения</string>
|
<string name="themeSelectorDialogTitle">Выбрать тему приложения</string>
|
||||||
<string name="themeSelectionHeaderText">Тема</string>
|
<string name="themeSelectionHeaderText">Тема</string>
|
||||||
<string name="settingsPdfModeHeaderText">Ночной режим PDF</string>
|
<string name="settingsPdfModeHeaderText">Ночной режим PDF</string>
|
||||||
|
@ -206,7 +206,7 @@
|
|||||||
<string name="settingshomeScreenSelectorDialogTitle">Одабери почетни екран</string>
|
<string name="settingshomeScreenSelectorDialogTitle">Одабери почетни екран</string>
|
||||||
<string name="settingsCustomFontHeaderText">Font</string>
|
<string name="settingsCustomFontHeaderText">Font</string>
|
||||||
<string name="settingsCustomFontSelectorDialogTitle">Choose Font</string>
|
<string name="settingsCustomFontSelectorDialogTitle">Choose Font</string>
|
||||||
<string name="settingsCustomFontDefault">Roboto</string>
|
<string name="settingsCustomFontDefault">Manrope</string>
|
||||||
<string name="themeSelectorDialogTitle">Select App Theme</string>
|
<string name="themeSelectorDialogTitle">Select App Theme</string>
|
||||||
<string name="themeSelectionHeaderText">Theme</string>
|
<string name="themeSelectionHeaderText">Theme</string>
|
||||||
<string name="settingsPdfModeHeaderText">PDF Night Mode</string>
|
<string name="settingsPdfModeHeaderText">PDF Night Mode</string>
|
||||||
|
@ -206,7 +206,7 @@
|
|||||||
<string name="settingshomeScreenSelectorDialogTitle">Ana Ekranı Seç</string>
|
<string name="settingshomeScreenSelectorDialogTitle">Ana Ekranı Seç</string>
|
||||||
<string name="settingsCustomFontHeaderText">Font</string>
|
<string name="settingsCustomFontHeaderText">Font</string>
|
||||||
<string name="settingsCustomFontSelectorDialogTitle">Choose Font</string>
|
<string name="settingsCustomFontSelectorDialogTitle">Choose Font</string>
|
||||||
<string name="settingsCustomFontDefault">Roboto</string>
|
<string name="settingsCustomFontDefault">Manrope</string>
|
||||||
<string name="themeSelectorDialogTitle">Select App Theme</string>
|
<string name="themeSelectorDialogTitle">Select App Theme</string>
|
||||||
<string name="themeSelectionHeaderText">Theme</string>
|
<string name="themeSelectionHeaderText">Theme</string>
|
||||||
<string name="settingsPdfModeHeaderText">PDF Night Mode</string>
|
<string name="settingsPdfModeHeaderText">PDF Night Mode</string>
|
||||||
|
@ -206,7 +206,7 @@
|
|||||||
<string name="settingshomeScreenSelectorDialogTitle">Оберіть основний екран</string>
|
<string name="settingshomeScreenSelectorDialogTitle">Оберіть основний екран</string>
|
||||||
<string name="settingsCustomFontHeaderText">Font</string>
|
<string name="settingsCustomFontHeaderText">Font</string>
|
||||||
<string name="settingsCustomFontSelectorDialogTitle">Choose Font</string>
|
<string name="settingsCustomFontSelectorDialogTitle">Choose Font</string>
|
||||||
<string name="settingsCustomFontDefault">Roboto</string>
|
<string name="settingsCustomFontDefault">Manrope</string>
|
||||||
<string name="themeSelectorDialogTitle">Select App Theme</string>
|
<string name="themeSelectorDialogTitle">Select App Theme</string>
|
||||||
<string name="themeSelectionHeaderText">Theme</string>
|
<string name="themeSelectionHeaderText">Theme</string>
|
||||||
<string name="settingsPdfModeHeaderText">PDF Night Mode</string>
|
<string name="settingsPdfModeHeaderText">PDF Night Mode</string>
|
||||||
|
@ -206,7 +206,7 @@
|
|||||||
<string name="settingshomeScreenSelectorDialogTitle">选择主屏幕</string>
|
<string name="settingshomeScreenSelectorDialogTitle">选择主屏幕</string>
|
||||||
<string name="settingsCustomFontHeaderText">Font</string>
|
<string name="settingsCustomFontHeaderText">Font</string>
|
||||||
<string name="settingsCustomFontSelectorDialogTitle">Choose Font</string>
|
<string name="settingsCustomFontSelectorDialogTitle">Choose Font</string>
|
||||||
<string name="settingsCustomFontDefault">Roboto</string>
|
<string name="settingsCustomFontDefault">Manrope</string>
|
||||||
<string name="themeSelectorDialogTitle">Select App Theme</string>
|
<string name="themeSelectorDialogTitle">Select App Theme</string>
|
||||||
<string name="themeSelectionHeaderText">Theme</string>
|
<string name="themeSelectionHeaderText">Theme</string>
|
||||||
<string name="settingsPdfModeHeaderText">PDF Night Mode</string>
|
<string name="settingsPdfModeHeaderText">PDF Night Mode</string>
|
||||||
|
@ -272,7 +272,7 @@
|
|||||||
<string name="settingshomeScreenSelectorDialogTitle">Select Home Screen</string>
|
<string name="settingshomeScreenSelectorDialogTitle">Select Home Screen</string>
|
||||||
<string name="settingsCustomFontHeaderText">Font</string>
|
<string name="settingsCustomFontHeaderText">Font</string>
|
||||||
<string name="settingsCustomFontSelectorDialogTitle">Choose Font</string>
|
<string name="settingsCustomFontSelectorDialogTitle">Choose Font</string>
|
||||||
<string name="settingsCustomFontDefault">Roboto</string>
|
<string name="settingsCustomFontDefault" translatable="false">Manrope</string>
|
||||||
<string name="themeSelectorDialogTitle">Select App Theme</string>
|
<string name="themeSelectorDialogTitle">Select App Theme</string>
|
||||||
<string name="themeSelectionHeaderText">Theme</string>
|
<string name="themeSelectionHeaderText">Theme</string>
|
||||||
<string name="themeSelectionSelectedText" translatable="false">Dark</string>
|
<string name="themeSelectionSelectedText" translatable="false">Dark</string>
|
||||||
|
Loading…
Reference in New Issue
Block a user