Skip to content
Snippets Groups Projects
Commit c5b3987d authored by robby syaifullah's avatar robby syaifullah
Browse files

Add front-end for activity_level and activity_chat

parent 3c5ee3b0
Branches
No related merge requests found
<?xml version="1.0" encoding="utf-8"?>
<shape xmlns:android="http://schemas.android.com/apk/res/android" android:shape="rectangle" >
<corners
android:radius="4dp"
/>
<solid
android:color="#e8e8e8"
/>
<padding
android:left="0dp"
android:top="0dp"
android:right="0dp"
android:bottom="0dp"
/>
<size
android:width="190dp"
android:height="30dp"
/>
</shape>
\ No newline at end of file
<?xml version="1.0" encoding="utf-8"?>
<shape xmlns:android="http://schemas.android.com/apk/res/android" android:shape="rectangle" >
<corners
android:radius="14dp"
/>
<solid
android:color="#0CE1E8"
/>
<padding
android:left="0dp"
android:top="0dp"
android:right="0dp"
android:bottom="0dp"
/>
<size
android:width="270dp"
android:height="60dp"
/>
<stroke
android:width="2dp"
android:color="#878787"
/>
</shape>
\ No newline at end of file
......@@ -9,6 +9,7 @@
android:paddingLeft="@dimen/activity_horizontal_margin"
android:paddingRight="@dimen/activity_horizontal_margin"
android:paddingTop="@dimen/activity_vertical_margin"
android:background="@drawable/layout_bg"
tools:context="com.example.leo.fitnessdiy.ChatActivity">
<android.support.design.widget.FloatingActionButton
......
......@@ -7,7 +7,6 @@
android:layout_height="match_parent"
android:orientation="vertical"
android:padding="16dp"
android:background="@drawable/layout_bg"
tools:context="com.example.leo.fitnessdiy.HIstoryActivity">
<android.support.v7.widget.CardView
android:id="@+id/jogging"
......
......@@ -14,7 +14,7 @@
<Button
android:id="@+id/history_button"
android:layout_width="0dp"
android:layout_width="2dp"
android:layout_weight="1"
android:layout_height="wrap_content"
android:onClick="openHistory"
......@@ -22,7 +22,7 @@
<Button
android:id="@+id/exercise_button"
android:layout_width="0dp"
android:layout_width="2dp"
android:layout_weight="1"
android:layout_height="wrap_content"
android:onClick="changeFragment"
......
......@@ -11,32 +11,41 @@
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="Select Your Level"
android:layout_marginBottom="80dp"
android:layout_gravity="center"
android:layout_marginTop="30dp"
android:layout_marginBottom="40dp"
android:textSize="40sp" />
<RadioGroup xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="left">
android:layout_gravity="center"
android:background="@drawable/layout_bg"
android:minWidth="200dp">
<RadioButton
android:id="@+id/level_begineer"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:id="@+id/level_begineer"
android:text="@string/beginner"
android:onClick="selectLevel"
/>
android:textSize="22sp"
android:text="@string/beginner" />
<RadioButton
android:id="@+id/level_intermediate"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:id="@+id/level_intermediate"
android:text="@string/intermediate"
android:onClick="selectLevel"/>
android:onClick="selectLevel"
android:textSize="22sp"
android:text="@string/intermediate" />
<RadioButton
android:id="@+id/level_advanced"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:id="@+id/level_advanced"
android:text="@string/advanced"
android:onClick="selectLevel"/>
android:onClick="selectLevel"
android:textSize="22sp"
android:text="@string/advanced" />
</RadioGroup>
......
......@@ -34,15 +34,17 @@
android:textSize="20sp"
android:layout_height="50dp"
android:layout_gravity="center"
android:background="@drawable/buttton_login"
android:layout_margin="8dp"
android:onClick="doLogin"
android:text="@string/login" />
<Button
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_width="191dp"
android:layout_height="30dp"
android:layout_gravity="center"
android:text="Don't Have Account?"
android:layout_margin="8dp"
android:onClick="toRegister"/>
android:background="@drawable/buttton_grey"
android:onClick="toRegister"
android:text="Don't Have Account?" />
</LinearLayout>
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment