<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="CompilerConfiguration">
- <bytecodeTargetLevel target="11" />
+ <bytecodeTargetLevel target="17" />
</component>
</project>
\ No newline at end of file
</value>
</option>
</component>
- <component name="ProjectRootManager" version="2" languageLevel="JDK_11" default="true" project-jdk-name="11" project-jdk-type="JavaSDK">
+ <component name="ProjectRootManager" version="2" languageLevel="JDK_17" project-jdk-name="jbr-17" project-jdk-type="JavaSDK">
<output url="file://$PROJECT_DIR$/build/classes" />
</component>
<component name="ProjectType">
<component name="VisualizationToolProject">
<option name="state">
<ProjectState>
- <option name="scale" value="0.24294670846394983" />
+ <option name="scale" value="0.42105263157894735" />
</ProjectState>
</option>
</component>
<project version="4">
<component name="ProjectModuleManager">
<modules>
- <module fileurl="file://$PROJECT_DIR$/JoggingTimer.iml" filepath="$PROJECT_DIR$/JoggingTimer.iml" />
<module fileurl="file://$PROJECT_DIR$/.idea/modules/mobile/JoggingTimer.mobile.iml" filepath="$PROJECT_DIR$/.idea/modules/mobile/JoggingTimer.mobile.iml" />
<module fileurl="file://$PROJECT_DIR$/.idea/modules/mobile/JoggingTimer.mobile.androidTest.iml" filepath="$PROJECT_DIR$/.idea/modules/mobile/JoggingTimer.mobile.androidTest.iml" />
<module fileurl="file://$PROJECT_DIR$/.idea/modules/mobile/JoggingTimer.mobile.main.iml" filepath="$PROJECT_DIR$/.idea/modules/mobile/JoggingTimer.mobile.main.iml" />
mavenCentral()
}
dependencies {
- classpath 'com.android.tools.build:gradle:7.4.2'
+ classpath 'com.android.tools.build:gradle:8.0.0'
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
# Kotlin code style for this project: "official" or "obsolete":
kotlin.code.style=official
+android.defaults.buildfeatures.buildconfig=true
+android.nonTransitiveRClass=false
+android.nonFinalResIds=false
distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
-distributionUrl=https\://services.gradle.org/distributions/gradle-7.5-all.zip
+distributionUrl=https\://services.gradle.org/distributions/gradle-8.0-all.zip
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
+ namespace 'net.osdn.gokigen.joggingtimer'
}
dependencies {
<?xml version="1.0" encoding="utf-8"?>
-<manifest xmlns:android="http://schemas.android.com/apk/res/android"
- package="net.osdn.gokigen.joggingtimer">
+<manifest xmlns:android="http://schemas.android.com/apk/res/android">
<application
android:allowBackup="true"
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
+ namespace 'net.osdn.gokigen.joggingtimer'
}
dependencies {
<?xml version="1.0" encoding="utf-8"?>
-<manifest xmlns:android="http://schemas.android.com/apk/res/android"
- package="net.osdn.gokigen.joggingtimer">
+<manifest xmlns:android="http://schemas.android.com/apk/res/android">
<uses-feature android:name="android.hardware.type.watch" />
import android.view.KeyEvent;
import android.view.View;
import android.widget.ImageButton;
+import android.widget.LinearLayout;
import android.widget.ListView;
import android.widget.RelativeLayout;
import android.widget.TextView;
import androidx.appcompat.app.AppCompatActivity;
import androidx.constraintlayout.widget.ConstraintLayout;
+import androidx.constraintlayout.widget.ConstraintSet;
import androidx.core.widget.NestedScrollView;
import androidx.fragment.app.FragmentManager;
import androidx.wear.ambient.AmbientModeSupport;
Activity activity = getActivity();
// 確認ダイアログの生成
//final AlertDialog.Builder alertDialog = new AlertDialog.Builder(new ContextThemeWrapper(activity, R.style.wear2_dialog_theme));
- final AlertDialog.Builder alertDialog = new AlertDialog.Builder(activity, R.style.wear2_dialog_theme);
+ final AlertDialog.Builder alertDialog = new AlertDialog.Builder(activity);
// Get the layout inflater
LayoutInflater inflater = activity.getLayoutInflater();
app:layout_constraintTop_toBottomOf="@id/sub_counter1"
android:transcriptMode="alwaysScroll"
android:visibility="visible"
+ android:layout_below="@id/sub_counter1"
+ android:layout_above="@id/button_area1"
/>
<LinearLayout
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@id/button_area1"
android:gravity="center"
+ android:visibility="gone"
android:orientation="horizontal">
<ImageButton
<?xml version="1.0" encoding="utf-8"?>
-<androidx.wear.widget.BoxInsetLayout
+<androidx.core.widget.NestedScrollView
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:id="@+id/picker_box_inset_layout"
android:layout_width="match_parent"
android:layout_height="match_parent"
- android:background="@color/black"
android:padding="@dimen/box_inset_layout_padding"
- tools:context="net.osdn.gokigen.joggingtimer.stopwatch.MainActivity"
tools:deviceIds="wear">
<LinearLayout
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center"
+ android:textSize="12sp"
+ android:textColor="@color/white"
android:text="@string/information_time_picker"
/>
+
<LinearLayout
android:id="@+id/info_laptime_layout"
android:layout_width="fill_parent"
/>
</LinearLayout>
</LinearLayout>
-</androidx.wear.widget.BoxInsetLayout>
+</androidx.core.widget.NestedScrollView>