Skip to content
Permalink
Browse files
created main menu
  • Loading branch information
bordasb committed Jun 29, 2019
1 parent 955f556 commit b20e3b8dc8a8889255b1b07700f62032023ead58
Show file tree
Hide file tree
Showing 2 changed files with 36 additions and 9 deletions.
@@ -1,18 +1,40 @@
<?xml version="1.0" encoding="utf-8"?>
<android.support.constraint.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
<LinearLayout 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=".MainActivity">
android:orientation="vertical"
tools:context=".MainActivity" >

<TextView
android:layout_width="wrap_content"
android:id="@+id/textView"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="Hello World!"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintLeft_toLeftOf="parent"
app:layout_constraintRight_toRightOf="parent"
app:layout_constraintTop_toTopOf="parent" />
android:text="@string/chooseTypeNotif" />

</android.support.constraint.ConstraintLayout>
<RadioGroup
android:layout_width="match_parent"
android:layout_height="wrap_content" >

<RadioButton
android:id="@+id/radioOutdoor"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_weight="1"
android:text="@string/outdoor" />

<RadioButton
android:id="@+id/radioIndoor"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_weight="1"
android:text="@string/indoor" />
</RadioGroup>

<Button
android:id="@+id/buttonStartRun"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="@string/startRunning" />
</LinearLayout>
@@ -1,3 +1,8 @@
<resources>
<string name="app_name">Run Assistant</string>

<string name="chooseTypeNotif">Please select type of running activity:</string>
<string name="startRunning">Start running</string>
<string name="indoor">Indoor running</string>
<string name="outdoor">Outdoor running</string>
</resources>

0 comments on commit b20e3b8

Please sign in to comment.