mirror of
https://github.com/AngelAuraMC/Amethyst-Android.git
synced 2025-09-12 14:16:58 -04:00
Fix startup crashed (Spinner)
This commit is contained in:
parent
c286c79722
commit
bc06d0a94e
@ -6,6 +6,7 @@ import android.support.v7.app.*;
|
|||||||
import android.view.*;
|
import android.view.*;
|
||||||
import android.widget.*;
|
import android.widget.*;
|
||||||
import net.kdt.pojavlaunch.*;
|
import net.kdt.pojavlaunch.*;
|
||||||
|
import java.util.*;
|
||||||
|
|
||||||
public class MineActivity extends AppCompatActivity implements View.OnClickListener
|
public class MineActivity extends AppCompatActivity implements View.OnClickListener
|
||||||
{
|
{
|
||||||
@ -61,7 +62,9 @@ public class MineActivity extends AppCompatActivity implements View.OnClickListe
|
|||||||
|
|
||||||
replaceFonts(btm);
|
replaceFonts(btm);
|
||||||
|
|
||||||
replaceFont((TextView) top.findViewById(R.id.topbar_navmenu_changelang));
|
// replaceFont((TextView) top.findViewById(R.id.topbar_navmenu_changelang));
|
||||||
|
Spinner changeLangSpinner = ((Spinner) top.findViewById(R.id.topbar_navmenu_changelang));
|
||||||
|
// Locale l = getResources().getConfiguration().locale;
|
||||||
|
|
||||||
RelativeLayout.LayoutParams conLay = new RelativeLayout.LayoutParams(LinearLayout.LayoutParams.MATCH_PARENT, LinearLayout.LayoutParams.MATCH_PARENT);
|
RelativeLayout.LayoutParams conLay = new RelativeLayout.LayoutParams(LinearLayout.LayoutParams.MATCH_PARENT, LinearLayout.LayoutParams.MATCH_PARENT);
|
||||||
conLay.addRule(root.BELOW, topId);
|
conLay.addRule(root.BELOW, topId);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user