mirror of
https://github.com/AngelAuraMC/Amethyst-Android.git
synced 2025-09-13 23:00:45 -04:00
Design [Login screen]: Changed EditText color
This commit is contained in:
parent
32672372aa
commit
4bda2a8672
@ -4,6 +4,7 @@ import android.content.*;
|
|||||||
import android.util.*;
|
import android.util.*;
|
||||||
import android.widget.*;
|
import android.widget.*;
|
||||||
import net.kdt.pojavlaunch.*;
|
import net.kdt.pojavlaunch.*;
|
||||||
|
import android.graphics.*;
|
||||||
|
|
||||||
public class MineEditText extends EditText
|
public class MineEditText extends EditText
|
||||||
{
|
{
|
||||||
@ -21,7 +22,8 @@ public class MineEditText extends EditText
|
|||||||
|
|
||||||
public void init()
|
public void init()
|
||||||
{
|
{
|
||||||
setBackgroundResource(R.drawable.border_edittext);
|
// setBackgroundResource(R.drawable.border_edittext);
|
||||||
|
setBackgroundColor(Color.parseColor("#131313"));
|
||||||
setPadding(5, 5, 5, 5);
|
setPadding(5, 5, 5, 5);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<shape xmlns:android="http://schemas.android.com/apk/res/android"
|
<shape xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
android:shape="rectangle">
|
android:shape="rectangle">
|
||||||
<stroke android:width="5px" android:color="#000000" />
|
<stroke android:width="5px" android:color="#131313" />
|
||||||
</shape>
|
</shape>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user