Skip to content

Commit 5961ae2

Browse files
elliotykimElliot Kim
authored andcommitted
Fix alignment of variations in test-app (#90)
1 parent 1a1fddf commit 5961ae2

File tree

3 files changed

+2
-7
lines changed

3 files changed

+2
-7
lines changed

test-app/images/demo-app-flow.png

23.6 KB
Loading

test-app/src/main/res/layout/activity_variation_a.xml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,6 @@
5050
android:layout_marginTop="-20dp"
5151
android:layout_marginBottom="30dp"
5252
android:layout_centerVertical="true"/>
53-
5453
<fragment
5554
android:layout_width="wrap_content"
5655
android:layout_height="wrap_content"

test-app/src/main/res/layout/activity_variation_b.xml

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -19,19 +19,15 @@
1919
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
2020
xmlns:tools="http://schemas.android.com/tools"
2121
android:id="@+id/activity_variation_b"
22-
android:background="#FFFFFF"
22+
android:background="@drawable/ic_background_varib_marina"
2323
android:layout_width="match_parent"
2424
android:layout_height="match_parent"
2525
android:paddingBottom="@dimen/activity_vertical_margin"
2626
android:paddingLeft="@dimen/activity_horizontal_margin"
2727
android:paddingRight="@dimen/activity_horizontal_margin"
2828
android:paddingTop="@dimen/activity_vertical_margin"
29+
android:gravity="center_vertical"
2930
tools:context="com.optimizely.ab.android.test_app.VariationBActivity">
30-
<ImageView
31-
android:layout_width="match_parent"
32-
android:layout_height="match_parent"
33-
android:background="@drawable/ic_background_varib_marina"
34-
/>
3531
<TextView
3632
android:id="@+id/tv_variation_b_text_1"
3733
android:layout_width="wrap_content"

0 commit comments

Comments
 (0)