firebase導入とSetUpActivityを作成しました
This commit is contained in:
parent
ac3db6c0e4
commit
b423b919ac
|
@ -12,7 +12,9 @@
|
||||||
android:supportsRtl="true"
|
android:supportsRtl="true"
|
||||||
android:theme="@style/Theme.Oplogy"
|
android:theme="@style/Theme.Oplogy"
|
||||||
tools:targetApi="31">
|
tools:targetApi="31">
|
||||||
|
<activity
|
||||||
|
android:name=".SetUpActivity"
|
||||||
|
android:exported="false" />
|
||||||
<!--
|
<!--
|
||||||
TODO: Before you run your application, you need a Google Maps API key.
|
TODO: Before you run your application, you need a Google Maps API key.
|
||||||
|
|
||||||
|
@ -26,19 +28,18 @@
|
||||||
-->
|
-->
|
||||||
<meta-data
|
<meta-data
|
||||||
android:name="com.google.android.geo.API_KEY"
|
android:name="com.google.android.geo.API_KEY"
|
||||||
android:value = "AIzaSyBQ1Ak-I2NL5TP4K59ZI0VgzKk6HNZuusw" />
|
android:value="AIzaSyBQ1Ak-I2NL5TP4K59ZI0VgzKk6HNZuusw" />
|
||||||
|
|
||||||
<activity
|
<activity
|
||||||
android:name=".MapsActivity"
|
android:name=".MapsActivity"
|
||||||
android:exported="true"
|
android:exported="true"
|
||||||
android:label="@string/title_activity_maps">
|
android:label="@string/title_activity_maps">
|
||||||
<!-- <intent-filter>-->
|
|
||||||
<!-- <action android:name="android.intent.action.MAIN" />-->
|
<!-- <intent-filter> -->
|
||||||
<!-- <category android:name="android.intent.category.LAUNCHER" />-->
|
<!-- <action android:name="android.intent.action.MAIN" /> -->
|
||||||
<!-- </intent-filter>-->
|
<!-- <category android:name="android.intent.category.LAUNCHER" /> -->
|
||||||
|
<!-- </intent-filter> -->
|
||||||
</activity>
|
</activity>
|
||||||
|
|
||||||
|
|
||||||
<activity
|
<activity
|
||||||
android:name=".MainActivity"
|
android:name=".MainActivity"
|
||||||
android:exported="true">
|
android:exported="true">
|
||||||
|
|
14
app/src/main/java/com/example/oplogy/SetUpActivity.java
Normal file
14
app/src/main/java/com/example/oplogy/SetUpActivity.java
Normal file
|
@ -0,0 +1,14 @@
|
||||||
|
package com.example.oplogy;
|
||||||
|
|
||||||
|
import androidx.appcompat.app.AppCompatActivity;
|
||||||
|
|
||||||
|
import android.os.Bundle;
|
||||||
|
|
||||||
|
public class SetUpActivity extends AppCompatActivity {
|
||||||
|
|
||||||
|
@Override
|
||||||
|
protected void onCreate(Bundle savedInstanceState) {
|
||||||
|
super.onCreate(savedInstanceState);
|
||||||
|
setContentView(R.layout.activity_set_up);
|
||||||
|
}
|
||||||
|
}
|
9
app/src/main/res/layout/activity_set_up.xml
Normal file
9
app/src/main/res/layout/activity_set_up.xml
Normal file
|
@ -0,0 +1,9 @@
|
||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||||
|
xmlns:tools="http://schemas.android.com/tools"
|
||||||
|
android:layout_width="match_parent"
|
||||||
|
android:layout_height="match_parent"
|
||||||
|
tools:context=".SetUpActivity">
|
||||||
|
|
||||||
|
</androidx.constraintlayout.widget.ConstraintLayout>
|
Loading…
Reference in New Issue
Block a user