Skip to content

Commit

Permalink
Fix Short Followup Question Layout
Browse files Browse the repository at this point in the history
Test:
- Set short followup question like "short qs" from settings or using below code in your app
```
WootricCustomMessage customMessage = new WootricCustomMessage();
customMessage.setFollowupQuestion("short qs");
customMessage.setPlaceholderText("short ph");
wootric.setCustomMessage(customMessage);
```
- Without my changes: Screen width will cover content only and not whole screen which looks very bad
- With my changes: Fixes the layout width

Trello: https://trello.com/c/4zz3GT0c/2881-if-you-call-setcustomthankyou-the-second-screen-message-disappears-and-the-second-screen-shrinks-and-looks-way-broken-7079
  • Loading branch information
ambarwootric committed Apr 9, 2018
1 parent fa308e9 commit 00beb5f
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 6 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## 2.6.1 (2018-04-09)

- Fix Layout for short followup question

## 2.6.0 (2018-02-01)

- Update Gradle and Build Libraries
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,14 +28,14 @@ If you use Maven, you can include this library as a dependency:
<dependency>
<groupId>com.wootric</groupId>
<artifactId>wootric-sdk-android</artifactId>
<version>2.6.0</version>
<version>2.6.1</version>
</dependency>
```

### Using Gradle

```xml
compile 'com.wootric:wootric-sdk-android:2.6.0'
compile 'com.wootric:wootric-sdk-android:2.6.1'
```

## Initializing Wootric
Expand Down
2 changes: 1 addition & 1 deletion WootricSDK-Android.iml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<module external.linked.project.id="WootricSDK-Android" external.linked.project.path="$MODULE_DIR$" external.root.project.path="$MODULE_DIR$" external.system.id="GRADLE" external.system.module.group="" external.system.module.version="unspecified" type="JAVA_MODULE" version="4">
<module external.linked.project.id="WootricSDK-Android" external.linked.project.path="$MODULE_DIR$" external.root.project.path="$MODULE_DIR$" external.system.id="GRADLE" type="JAVA_MODULE" version="4">
<component name="FacetManager">
<facet type="java-gradle" name="Java-Gradle">
<configuration>
Expand Down
4 changes: 2 additions & 2 deletions androidsdk/gradle.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
VERSION_NAME=2.6.0
VERSION_CODE=260
VERSION_NAME=2.6.1
VERSION_CODE=261
GROUP=com.wootric

POM_DESCRIPTION=WootricSDK Android
Expand Down
2 changes: 1 addition & 1 deletion androidsdk/src/main/res/layout/wootric_fragment_survey.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

<com.wootric.androidsdk.views.phone.SurveyLayoutPhone
android:id="@+id/wootric_survey_layout"
android:layout_width="wrap_content"
android:layout_width="match_parent"
android:orientation="vertical"
android:layout_height="0dp"
android:layout_weight="1"/>
Expand Down

0 comments on commit 00beb5f

Please sign in to comment.