Skip to content

Commit

Permalink
Merge branch 'develop', release v0.2.1
Browse files Browse the repository at this point in the history
  • Loading branch information
Oliv4945 committed May 1, 2017
2 parents c9d44f1 + c5a492e commit 55617d7
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 16 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,4 @@
/build
/captures
.externalNativeBuild
*.apk
2 changes: 1 addition & 1 deletion app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ android {
minSdkVersion 15
targetSdkVersion 25
versionCode 1
versionName "v0.2.0"
versionName "v0.2.1"
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
}
buildTypes {
Expand Down
35 changes: 20 additions & 15 deletions app/src/main/res/layout/activity_main.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<android.support.constraint.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
<android.support.design.widget.CoordinatorLayout 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"
Expand All @@ -8,10 +8,25 @@
tools:context="net.iopush.jarvis.MainActivity"
android:id="@+id/mainActivity">

<android.support.v7.widget.RecyclerView
android:id="@+id/recyclerViewConversation"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_marginRight="8dp"
app:layout_constraintRight_toRightOf="parent"
android:layout_marginLeft="8dp"
app:layout_constraintLeft_toLeftOf="parent"
app:layout_constraintTop_toTopOf="parent"
android:layout_marginTop="8dp"
app:layout_constraintBottom_toBottomOf="parent"
android:layout_marginBottom="8dp" />

<android.support.design.widget.FloatingActionButton
android:id="@+id/btnSpeak"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
app:layout_anchor="@id/recyclerViewConversation"
app:layout_anchorGravity="bottom|right|end"
android:layout_marginBottom="8dp"
android:layout_marginEnd="8dp"
android:layout_marginRight="8dp"
Expand All @@ -20,29 +35,19 @@
app:layout_constraintRight_toRightOf="parent"
app:srcCompat="@drawable/mic_ico" />

<android.support.v7.widget.RecyclerView
android:id="@+id/recyclerViewConversation"
android:layout_width="0dp"
android:layout_height="0dp"
android:layout_marginRight="8dp"
app:layout_constraintRight_toRightOf="parent"
android:layout_marginLeft="8dp"
app:layout_constraintLeft_toLeftOf="parent"
app:layout_constraintTop_toTopOf="parent"
android:layout_marginTop="8dp"
app:layout_constraintBottom_toBottomOf="parent"
android:layout_marginBottom="8dp" />

<ProgressBar
android:id="@+id/pBarWaitingJArvis"
style="android:attr/progressBarStyle"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
app:layout_anchor="@id/recyclerViewConversation"
app:layout_anchorGravity="bottom|right|end"
android:layout_marginBottom="8dp"
android:layout_marginRight="8dp"
android:elevation="6dp"
android:visibility="invisible"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintRight_toRightOf="parent" />


</android.support.constraint.ConstraintLayout>
</android.support.design.widget.CoordinatorLayout>

0 comments on commit 55617d7

Please sign in to comment.