aboutsummaryrefslogtreecommitdiffstats
path: root/src/main/res
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/res')
-rw-r--r--src/main/res/animator/fade_left_in.xml15
-rw-r--r--src/main/res/animator/fade_left_out.xml15
-rw-r--r--src/main/res/animator/fade_right_in.xml15
-rw-r--r--src/main/res/animator/fade_right_out.xml15
-rw-r--r--src/main/res/layout/fragment_conversation.xml4
5 files changed, 62 insertions, 2 deletions
diff --git a/src/main/res/animator/fade_left_in.xml b/src/main/res/animator/fade_left_in.xml
new file mode 100644
index 000000000..fa53b49c7
--- /dev/null
+++ b/src/main/res/animator/fade_left_in.xml
@@ -0,0 +1,15 @@
+<?xml version="1.0" encoding="utf-8"?>
+<set xmlns:android="http://schemas.android.com/apk/res/android"
+ android:duration="200"
+ android:shareInterpolator="@android:anim/accelerate_decelerate_interpolator">
+ <objectAnimator
+ android:propertyName="translationX"
+ android:valueFrom="-200"
+ android:valueTo="0"
+ android:valueType="floatType" />
+ <objectAnimator
+ android:propertyName="alpha"
+ android:valueFrom="0"
+ android:valueTo="1"
+ android:valueType="floatType" />
+</set> \ No newline at end of file
diff --git a/src/main/res/animator/fade_left_out.xml b/src/main/res/animator/fade_left_out.xml
new file mode 100644
index 000000000..af002f57d
--- /dev/null
+++ b/src/main/res/animator/fade_left_out.xml
@@ -0,0 +1,15 @@
+<?xml version="1.0" encoding="utf-8"?>
+<set xmlns:android="http://schemas.android.com/apk/res/android"
+ android:duration="200"
+ android:shareInterpolator="@android:anim/accelerate_decelerate_interpolator">
+ <objectAnimator
+ android:propertyName="translationX"
+ android:valueFrom="0"
+ android:valueTo="-200"
+ android:valueType="floatType" />
+ <objectAnimator
+ android:propertyName="alpha"
+ android:valueFrom="1"
+ android:valueTo="0"
+ android:valueType="floatType" />
+</set> \ No newline at end of file
diff --git a/src/main/res/animator/fade_right_in.xml b/src/main/res/animator/fade_right_in.xml
new file mode 100644
index 000000000..497ebb465
--- /dev/null
+++ b/src/main/res/animator/fade_right_in.xml
@@ -0,0 +1,15 @@
+<?xml version="1.0" encoding="utf-8"?>
+<set xmlns:android="http://schemas.android.com/apk/res/android"
+ android:duration="200"
+ android:shareInterpolator="@android:anim/accelerate_decelerate_interpolator">
+ <objectAnimator
+ android:propertyName="translationX"
+ android:valueFrom="200"
+ android:valueTo="0"
+ android:valueType="floatType" />
+ <objectAnimator
+ android:propertyName="alpha"
+ android:valueFrom="0"
+ android:valueTo="1"
+ android:valueType="floatType" />
+</set> \ No newline at end of file
diff --git a/src/main/res/animator/fade_right_out.xml b/src/main/res/animator/fade_right_out.xml
new file mode 100644
index 000000000..3d83be942
--- /dev/null
+++ b/src/main/res/animator/fade_right_out.xml
@@ -0,0 +1,15 @@
+<?xml version="1.0" encoding="utf-8"?>
+<set xmlns:android="http://schemas.android.com/apk/res/android"
+ android:duration="200"
+ android:shareInterpolator="@android:anim/accelerate_decelerate_interpolator">
+ <objectAnimator
+ android:propertyName="translationX"
+ android:valueFrom="0"
+ android:valueTo="200"
+ android:valueType="floatType" />
+ <objectAnimator
+ android:propertyName="alpha"
+ android:valueFrom="1"
+ android:valueTo="0"
+ android:valueType="floatType" />
+</set> \ No newline at end of file
diff --git a/src/main/res/layout/fragment_conversation.xml b/src/main/res/layout/fragment_conversation.xml
index 1b03b375d..cc35d21cc 100644
--- a/src/main/res/layout/fragment_conversation.xml
+++ b/src/main/res/layout/fragment_conversation.xml
@@ -10,8 +10,8 @@
<ListView
android:id="@+id/messages_view"
- android:layout_width="fill_parent"
- android:layout_height="wrap_content"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
android:layout_above="@+id/snackbar"
android:layout_alignParentLeft="true"
android:layout_alignParentTop="true"