Skip to content

Commit a1fcd3a

Browse files
committed
ui
1 parent 52b8d6c commit a1fcd3a

4 files changed

Lines changed: 32 additions & 6 deletions

File tree

app/src/main/AndroidManifest.xml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,10 @@
33

44
<application
55
android:allowBackup="true"
6-
android:icon="@drawable/ic_launcher"
6+
android:icon="@mipmap/ic_launcher"
77
android:label="@string/app_name"
8-
android:supportsRtl="true">
8+
android:supportsRtl="true"
9+
android:theme="@style/Theme.AppCompat.DayNight">
910

1011
<activity
1112
android:name=".MainActivity"
@@ -40,4 +41,4 @@
4041

4142
</application>
4243

43-
</manifest>
44+
</manifest>
Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,14 @@
11
package com.fcl.plugin.thatmg393.fogle;
22

3-
public class MainActivity extends AppcompatActivity {
4-
3+
import android.os.Bundle;
4+
5+
import androidx.appcompat.app.AppCompatActivity;
6+
7+
public class MainActivity extends AppCompatActivity {
8+
@Override
9+
protected void onCreate(Bundle savedInstanceState) {
10+
super.onCreate(savedInstanceState);
11+
12+
setContentView(R.layout.activity_main);
13+
}
514
}
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
3+
<RelativeLayout
4+
xmlns:android="http://schemas.android.com/apk/res/android"
5+
xmlns:app="http://schemas.android.com/apk/res-auto"
6+
android:layout_height="match_parent"
7+
android:layout_width="match_parent">
8+
9+
<TextView
10+
android:layout_centerHorizontal="true"
11+
android:layout_centerVertical="true"
12+
android:text="@string/hello" />
13+
14+
</RelativeLayout>
Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
11
<resources>
22
<string name="app_name">FOGLTLOGLES</string>
3-
</resources>
3+
4+
<string name="hello">Hello FOGLE user!</string>
5+
</resources>

0 commit comments

Comments
 (0)