Skip to content

Commit 141ae17

Browse files
author
Kaushik Gopal
committed
refactor: mass reformat exodus as per new code style
1 parent 1453c4e commit 141ae17

15 files changed

+142
-72
lines changed

app/src/main/res/layout/activity_main.xml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,5 @@
22
android:id="@+id/activity_main"
33
android:layout_height="match_parent"
44
android:layout_width="match_parent"
5-
xmlns:android="http://schemas.android.com/apk/res/android" />
5+
xmlns:android="http://schemas.android.com/apk/res/android"
6+
/>

app/src/main/res/layout/fragment_buffer.xml

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,16 @@
44
android:orientation="vertical"
55
android:layout_height="match_parent"
66
android:layout_width="match_parent"
7-
xmlns:android="http://schemas.android.com/apk/res/android">
7+
xmlns:android="http://schemas.android.com/apk/res/android"
8+
>
89

910
<TextView
1011
android:layout_height="wrap_content"
1112
android:layout_width="match_parent"
1213
android:padding="10dp"
1314
android:gravity="center"
14-
android:text="@string/msg_demo_buffer"/>
15+
android:text="@string/msg_demo_buffer"
16+
/>
1517

1618
<Button
1719
android:id="@+id/btn_start_operation"
@@ -20,11 +22,13 @@
2022
android:layout_marginLeft="90dp"
2123
android:layout_marginRight="90dp"
2224
android:textSize="16dp"
23-
android:text="tap me"/>
25+
android:text="tap me"
26+
/>
2427

2528
<ListView
2629
android:id="@+id/list_threading_log"
2730
android:layout_height="match_parent"
28-
android:layout_width="match_parent"/>
31+
android:layout_width="match_parent"
32+
/>
2933

3034
</LinearLayout>

app/src/main/res/layout/fragment_concurrency_schedulers.xml

Lines changed: 12 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,38 +4,44 @@
44
android:orientation="vertical"
55
android:layout_height="match_parent"
66
android:layout_width="match_parent"
7-
xmlns:android="http://schemas.android.com/apk/res/android">
7+
xmlns:android="http://schemas.android.com/apk/res/android"
8+
>
89

910
<TextView
1011
android:layout_height="wrap_content"
1112
android:layout_width="match_parent"
1213
android:padding="10dp"
1314
android:gravity="center"
14-
android:text="@string/msg_demo_concurrency_schedulers"/>
15+
android:text="@string/msg_demo_concurrency_schedulers"
16+
/>
1517

1618

1719
<LinearLayout
1820
android:layout_height="wrap_content"
19-
android:layout_width="match_parent">
21+
android:layout_width="match_parent"
22+
>
2023

2124
<Button
2225
android:id="@+id/btn_start_operation"
2326
android:layout_height="wrap_content"
2427
android:layout_width="wrap_content"
2528
android:layout_marginLeft="20dp"
2629
android:textSize="16sp"
27-
android:text="Start long operation"/>
30+
android:text="Start long operation"
31+
/>
2832

2933
<ProgressBar
3034
android:id="@+id/progress_operation_running"
3135
android:visibility="invisible"
3236
android:layout_height="wrap_content"
3337
android:layout_width="wrap_content"
34-
android:layout_marginLeft="20dp"/>
38+
android:layout_marginLeft="20dp"
39+
/>
3540
</LinearLayout>
3641

3742
<ListView
3843
android:id="@+id/list_threading_log"
3944
android:layout_height="match_parent"
40-
android:layout_width="match_parent"/>
45+
android:layout_width="match_parent"
46+
/>
4147
</LinearLayout>

app/src/main/res/layout/fragment_double_binding_textview.xml

Lines changed: 15 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -4,44 +4,50 @@
44
android:orientation="vertical"
55
android:layout_height="match_parent"
66
android:layout_width="match_parent"
7-
xmlns:android="http://schemas.android.com/apk/res/android">
7+
xmlns:android="http://schemas.android.com/apk/res/android"
8+
>
89

910
<TextView
1011
android:layout_height="wrap_content"
1112
android:layout_width="match_parent"
1213
android:padding="10dp"
1314
android:gravity="center"
14-
android:text="@string/msg_demo_doublebinding"/>
15+
android:text="@string/msg_demo_doublebinding"
16+
/>
1517

1618
<LinearLayout
1719
android:layout_height="wrap_content"
1820
android:layout_width="match_parent"
19-
android:layout_marginTop="10dp">
21+
android:layout_marginTop="10dp"
22+
>
2023

2124
<EditText
2225
android:id="@+id/double_binding_num1"
2326
android:layout_weight="1"
2427
android:layout_height="50dp"
2528
android:layout_width="0dp"
2629
android:gravity="center"
30+
android:text="100"
2731
android:inputType="numberDecimal"
28-
android:text="100"/>
32+
/>
2933

3034
<TextView
3135
android:layout_weight="1"
3236
android:layout_height="50dp"
3337
android:layout_width="0dp"
3438
android:gravity="center"
35-
android:text="+"/>
39+
android:text="+"
40+
/>
3641

3742
<EditText
3843
android:id="@+id/double_binding_num2"
3944
android:layout_weight="1"
4045
android:layout_height="50dp"
4146
android:layout_width="0dp"
42-
android:inputType="numberDecimal"
4347
android:gravity="center"
44-
android:text="8"/>
48+
android:text="8"
49+
android:inputType="numberDecimal"
50+
/>
4551
</LinearLayout>
4652

4753
<TextView
@@ -51,6 +57,7 @@
5157
android:layout_marginTop="10dp"
5258
android:gravity="center"
5359
android:textSize="45sp"
54-
android:text="0"/>
60+
android:text="0"
61+
/>
5562

5663
</LinearLayout>
Lines changed: 22 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
<ScrollView
22
android:layout_height="match_parent"
33
android:layout_width="match_parent"
4-
xmlns:android="http://schemas.android.com/apk/res/android">
4+
xmlns:android="http://schemas.android.com/apk/res/android"
5+
>
56

67
<LinearLayout
78
android:orientation="vertical"
@@ -13,60 +14,70 @@
1314
android:paddingRight="@dimen/activity_horizontal_margin"
1415
xmlns:android="http://schemas.android.com/apk/res/android"
1516
xmlns:tools="http://schemas.android.com/tools"
16-
tools:context=".DemoActivity">
17+
tools:context=".DemoActivity"
18+
>
1719

1820
<Button
1921
android:id="@+id/btn_demo_schedulers"
2022
android:layout_height="wrap_content"
2123
android:layout_width="match_parent"
22-
android:text="@string/btn_demo_schedulers"/>
24+
android:text="@string/btn_demo_schedulers"
25+
/>
2326

2427
<Button
2528
android:id="@+id/btn_demo_buffer"
2629
android:layout_height="wrap_content"
2730
android:layout_width="match_parent"
28-
android:text="@string/btn_demo_buffer"/>
31+
android:text="@string/btn_demo_buffer"
32+
/>
2933

3034
<Button
3135
android:id="@+id/btn_demo_subject_debounce"
3236
android:layout_height="wrap_content"
3337
android:layout_width="match_parent"
34-
android:text="@string/btn_demo_subject_debounce"/>
38+
android:text="@string/btn_demo_subject_debounce"
39+
/>
3540

3641
<Button
3742
android:id="@+id/btn_demo_retrofit"
3843
android:layout_height="wrap_content"
3944
android:layout_width="match_parent"
40-
android:text="@string/btn_demo_retrofit"/>
45+
android:text="@string/btn_demo_retrofit"
46+
/>
4147

4248
<Button
4349
android:id="@+id/btn_demo_double_binding_textview"
4450
android:layout_height="wrap_content"
4551
android:layout_width="match_parent"
46-
android:text="@string/btn_demo_double_binding_textview"/>
52+
android:text="@string/btn_demo_double_binding_textview"
53+
/>
4754

4855
<Button
4956
android:id="@+id/btn_demo_polling"
5057
android:layout_height="wrap_content"
5158
android:layout_width="match_parent"
52-
android:text="@string/btn_demo_polling"/>
59+
android:text="@string/btn_demo_polling"
60+
/>
5361

5462
<Button
5563
android:id="@+id/btn_demo_rxbus"
5664
android:layout_height="wrap_content"
5765
android:layout_width="match_parent"
58-
android:text="@string/btn_demo_rxbus"/>
66+
android:text="@string/btn_demo_rxbus"
67+
/>
5968

6069
<Button
6170
android:id="@+id/btn_demo_form_validation_combinel"
6271
android:layout_height="wrap_content"
6372
android:layout_width="match_parent"
64-
android:text="@string/btn_demo_form_validation_combinel"/>
73+
android:text="@string/btn_demo_form_validation_combinel"
74+
/>
6575

6676
<Button
6777
android:id="@+id/btn_demo_pseudo_cache"
6878
android:layout_height="wrap_content"
6979
android:layout_width="match_parent"
70-
android:text="@string/btn_demo_pseudo_cache"/>
80+
android:text="@string/btn_demo_pseudo_cache"
81+
/>
7182
</LinearLayout>
7283
</ScrollView>

app/src/main/res/layout/fragment_polling.xml

Lines changed: 12 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,39 +4,45 @@
44
android:orientation="vertical"
55
android:layout_height="match_parent"
66
android:layout_width="match_parent"
7-
xmlns:android="http://schemas.android.com/apk/res/android">
7+
xmlns:android="http://schemas.android.com/apk/res/android"
8+
>
89

910
<TextView
1011
android:layout_height="wrap_content"
1112
android:layout_width="match_parent"
1213
android:padding="10dp"
1314
android:gravity="center"
14-
android:text="@string/msg_demo_polling"/>
15+
android:text="@string/msg_demo_polling"
16+
/>
1517

1618

1719
<LinearLayout
1820
android:layout_height="wrap_content"
19-
android:layout_width="match_parent">
21+
android:layout_width="match_parent"
22+
>
2023

2124
<Button
2225
android:id="@+id/btn_start_simple_polling"
2326
android:layout_height="wrap_content"
2427
android:layout_width="wrap_content"
2528
android:layout_marginLeft="20dp"
2629
android:textSize="16sp"
27-
android:text="Start simple polling"/>
30+
android:text="Start simple polling"
31+
/>
2832

2933
<Button
3034
android:id="@+id/btn_start_increasingly_delayed_polling"
3135
android:layout_height="wrap_content"
3236
android:layout_width="wrap_content"
3337
android:layout_marginLeft="20dp"
3438
android:textSize="16sp"
35-
android:text="Start increasingly delayed polling"/>
39+
android:text="Start increasingly delayed polling"
40+
/>
3641
</LinearLayout>
3742

3843
<ListView
3944
android:id="@+id/list_threading_log"
4045
android:layout_height="match_parent"
41-
android:layout_width="match_parent"/>
46+
android:layout_width="match_parent"
47+
/>
4248
</LinearLayout>

0 commit comments

Comments
 (0)