Skip to content

Commit effab3b

Browse files
committed
Applies formatter to all XML files
1 parent 6cbfc65 commit effab3b

28 files changed

+141
-145
lines changed
Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
<vector xmlns:android="http://schemas.android.com/apk/res/android"
2-
android:width="24dp"
3-
android:height="24dp"
4-
android:viewportWidth="24.0"
5-
android:viewportHeight="24.0">
2+
android:width="24dp"
3+
android:height="24dp"
4+
android:viewportWidth="24.0"
5+
android:viewportHeight="24.0">
66
<path
77
android:fillColor="#FFFFFFFF"
8-
android:pathData="M19,13h-6v6h-2v-6H5v-2h6V5h2v6h6v2z"/>
8+
android:pathData="M19,13h-6v6h-2v-6H5v-2h6V5h2v6h6v2z" />
99
</vector>
Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<vector android:alpha="0.49"
3-
android:height="24dp"
4-
android:viewportHeight="24.0"
5-
android:viewportWidth="24.0"
6-
android:width="24dp"
7-
xmlns:android="http://schemas.android.com/apk/res/android">
3+
android:height="24dp"
4+
android:viewportHeight="24.0"
5+
android:viewportWidth="24.0"
6+
android:width="24dp"
7+
xmlns:android="http://schemas.android.com/apk/res/android">
88
<path
99
android:fillColor="#FF000000"
10-
android:pathData="M19,3h-4.18C14.4,1.84 13.3,1 12,1c-1.3,0 -2.4,0.84 -2.82,2H5c-1.1,0 -2,0.9 -2,2v14c0,1.1 0.9,2 2,2h14c1.1,0 2,-0.9 2,-2V5c0,-1.1 -0.9,-2 -2,-2zm-7,0c0.55,0 1,0.45 1,1s-0.45,1 -1,1 -1,-0.45 -1,-1 0.45,-1 1,-1zm-2,14l-4,-4 1.41,-1.41L10,14.17l6.59,-6.59L18,9l-8,8z"/>
10+
android:pathData="M19,3h-4.18C14.4,1.84 13.3,1 12,1c-1.3,0 -2.4,0.84 -2.82,2H5c-1.1,0 -2,0.9 -2,2v14c0,1.1 0.9,2 2,2h14c1.1,0 2,-0.9 2,-2V5c0,-1.1 -0.9,-2 -2,-2zm-7,0c0.55,0 1,0.45 1,1s-0.45,1 -1,1 -1,-0.45 -1,-1 0.45,-1 1,-1zm-2,14l-4,-4 1.41,-1.41L10,14.17l6.59,-6.59L18,9l-8,8z" />
1111
</vector>
Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
<vector xmlns:android="http://schemas.android.com/apk/res/android"
2-
android:width="24dp"
3-
android:height="24dp"
4-
android:alpha="0.49"
5-
android:viewportHeight="24.0"
6-
android:viewportWidth="24.0">
2+
android:width="24dp"
3+
android:height="24dp"
4+
android:alpha="0.49"
5+
android:viewportHeight="24.0"
6+
android:viewportWidth="24.0">
77
<path
88
android:fillColor="#FF000000"
9-
android:pathData="M12,2C6.48,2 2,6.48 2,12s4.48,10 10,10 10,-4.48 10,-10S17.52,2 12,2zm-2,15l-5,-5 1.41,-1.41L10,14.17l7.59,-7.59L19,8l-9,9z"/>
9+
android:pathData="M12,2C6.48,2 2,6.48 2,12s4.48,10 10,10 10,-4.48 10,-10S17.52,2 12,2zm-2,15l-5,-5 1.41,-1.41L10,14.17l7.59,-7.59L19,8l-9,9z" />
1010
</vector>
Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
<vector xmlns:android="http://schemas.android.com/apk/res/android"
2-
android:width="24dp"
3-
android:height="24dp"
4-
android:viewportHeight="24.0"
5-
android:viewportWidth="24.0">
2+
android:width="24dp"
3+
android:height="24dp"
4+
android:viewportHeight="24.0"
5+
android:viewportWidth="24.0">
66
<path
77
android:fillColor="#FFFFFFFF"
8-
android:pathData="M9,16.17L4.83,12l-1.42,1.41L9,19 21,7l-1.41,-1.41z"/>
8+
android:pathData="M9,16.17L4.83,12l-1.42,1.41L9,19 21,7l-1.41,-1.41z" />
99
</vector>

todoapp/app/src/main/res/drawable/ic_edit.xml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,11 @@
1515
-->
1616

1717
<vector xmlns:android="http://schemas.android.com/apk/res/android"
18-
android:width="24dp"
19-
android:height="24dp"
20-
android:viewportWidth="24.0"
21-
android:viewportHeight="24.0">
18+
android:width="24dp"
19+
android:height="24dp"
20+
android:viewportWidth="24.0"
21+
android:viewportHeight="24.0">
2222
<path
2323
android:fillColor="#FFFFFFFF"
24-
android:pathData="M3,17.25V21h3.75L17.81,9.94l-3.75,-3.75L3,17.25zM20.71,7.04c0.39,-0.39 0.39,-1.02 0,-1.41l-2.34,-2.34c-0.39,-0.39 -1.02,-0.39 -1.41,0l-1.83,1.83 3.75,3.75 1.83,-1.83z"/>
24+
android:pathData="M3,17.25V21h3.75L17.81,9.94l-3.75,-3.75L3,17.25zM20.71,7.04c0.39,-0.39 0.39,-1.02 0,-1.41l-2.34,-2.34c-0.39,-0.39 -1.02,-0.39 -1.41,0l-1.83,1.83 3.75,3.75 1.83,-1.83z" />
2525
</vector>
Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
<vector xmlns:android="http://schemas.android.com/apk/res/android"
2-
android:width="24dp"
3-
android:height="24dp"
4-
android:viewportWidth="24.0"
5-
android:viewportHeight="24.0">
2+
android:width="24dp"
3+
android:height="24dp"
4+
android:viewportWidth="24.0"
5+
android:viewportHeight="24.0">
66
<path
77
android:fillColor="#FFFFFFFF"
8-
android:pathData="M10,18h4v-2h-4v2zM3,6v2h18V6H3zm3,7h12v-2H6v2z"/>
8+
android:pathData="M10,18h4v-2h-4v2zM3,6v2h18V6H3zm3,7h12v-2H6v2z" />
99
</vector>
Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
<vector xmlns:android="http://schemas.android.com/apk/res/android"
2-
android:width="24dp"
3-
android:height="24dp"
4-
android:viewportWidth="24.0"
5-
android:viewportHeight="24.0">
2+
android:width="24dp"
3+
android:height="24dp"
4+
android:viewportWidth="24.0"
5+
android:viewportHeight="24.0">
66
<path
77
android:fillColor="#FF000000"
8-
android:pathData="M3,13h2v-2H3v2zm0,4h2v-2H3v2zm0,-8h2V7H3v2zm4,4h14v-2H7v2zm0,4h14v-2H7v2zM7,7v2h14V7H7z"/>
8+
android:pathData="M3,13h2v-2H3v2zm0,4h2v-2H3v2zm0,-8h2V7H3v2zm4,4h14v-2H7v2zm0,4h14v-2H7v2zM7,7v2h14V7H7z" />
99
</vector>
Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
<vector xmlns:android="http://schemas.android.com/apk/res/android"
2-
android:width="24dp"
3-
android:height="24dp"
4-
android:viewportWidth="24.0"
5-
android:viewportHeight="24.0">
2+
android:width="24dp"
3+
android:height="24dp"
4+
android:viewportWidth="24.0"
5+
android:viewportHeight="24.0">
66
<path
77
android:fillColor="#FFFFFFFF"
8-
android:pathData="M3,18h18v-2H3v2zm0,-5h18v-2H3v2zm0,-7v2h18V6H3z"/>
8+
android:pathData="M3,18h18v-2H3v2zm0,-5h18v-2H3v2zm0,-7v2h18V6H3z" />
99
</vector>
Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
<vector xmlns:android="http://schemas.android.com/apk/res/android"
2-
android:width="24dp"
3-
android:height="24dp"
4-
android:viewportWidth="24.0"
5-
android:viewportHeight="24.0">
2+
android:width="24dp"
3+
android:height="24dp"
4+
android:viewportWidth="24.0"
5+
android:viewportHeight="24.0">
66
<path
77
android:fillColor="#FF000000"
8-
android:pathData="M19,3H5c-1.1,0 -2,0.9 -2,2v14c0,1.1 0.9,2 2,2h14c1.1,0 2,-0.9 2,-2V5c0,-1.1 -0.9,-2 -2,-2zM9,17H7v-7h2v7zm4,0h-2V7h2v10zm4,0h-2v-4h2v4z"/>
8+
android:pathData="M19,3H5c-1.1,0 -2,0.9 -2,2v14c0,1.1 0.9,2 2,2h14c1.1,0 2,-0.9 2,-2V5c0,-1.1 -0.9,-2 -2,-2zM9,17H7v-7h2v7zm4,0h-2V7h2v10zm4,0h-2v-4h2v4z" />
99
</vector>
Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<vector android:alpha="0.80"
3-
android:height="100dp"
4-
android:viewportHeight="24.0"
5-
android:viewportWidth="24.0"
6-
android:width="100dp"
7-
xmlns:android="http://schemas.android.com/apk/res/android">
3+
android:height="100dp"
4+
android:viewportHeight="24.0"
5+
android:viewportWidth="24.0"
6+
android:width="100dp"
7+
xmlns:android="http://schemas.android.com/apk/res/android">
88
<path
99
android:fillColor="#FF000000"
10-
android:pathData="M19,3H5c-1.1,0 -2,0.9 -2,2v14c0,1.1 0.9,2 2,2h14c1.1,0 2,-0.9 2,-2V5c0,-1.1 -0.9,-2 -2,-2zM9,17H7v-7h2v7zm4,0h-2V7h2v10zm4,0h-2v-4h2v4z"/>
10+
android:pathData="M19,3H5c-1.1,0 -2,0.9 -2,2v14c0,1.1 0.9,2 2,2h14c1.1,0 2,-0.9 2,-2V5c0,-1.1 -0.9,-2 -2,-2zM9,17H7v-7h2v7zm4,0h-2V7h2v10zm4,0h-2v-4h2v4z" />
1111
</vector>
Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
<vector xmlns:android="http://schemas.android.com/apk/res/android"
2-
android:width="24dp"
3-
android:height="24dp"
4-
android:viewportWidth="24.0"
5-
android:viewportHeight="24.0">
2+
android:width="24dp"
3+
android:height="24dp"
4+
android:viewportWidth="24.0"
5+
android:viewportHeight="24.0">
66
<path
77
android:fillColor="#FF000000"
8-
android:pathData="M19,3H5c-1.1,0 -2,0.9 -2,2v14c0,1.1 0.9,2 2,2h14c1.1,0 2,-0.9 2,-2V5c0,-1.1 -0.9,-2 -2,-2zM9,17H7v-7h2v7zm4,0h-2V7h2v10zm4,0h-2v-4h2v4z"/>
8+
android:pathData="M19,3H5c-1.1,0 -2,0.9 -2,2v14c0,1.1 0.9,2 2,2h14c1.1,0 2,-0.9 2,-2V5c0,-1.1 -0.9,-2 -2,-2zM9,17H7v-7h2v7zm4,0h-2V7h2v10zm4,0h-2v-4h2v4z" />
99
</vector>
Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<vector android:alpha="0.49"
3-
android:height="24dp"
4-
android:viewportHeight="24.0"
5-
android:viewportWidth="24.0"
6-
android:width="24dp"
7-
xmlns:android="http://schemas.android.com/apk/res/android">
3+
android:height="24dp"
4+
android:viewportHeight="24.0"
5+
android:viewportWidth="24.0"
6+
android:width="24dp"
7+
xmlns:android="http://schemas.android.com/apk/res/android">
88
<path
99
android:fillColor="#FF000000"
10-
android:pathData="M12,1L3,5v6c0,5.55 3.84,10.74 9,12 5.16,-1.26 9,-6.45 9,-12V5l-9,-4zm-2,16l-4,-4 1.41,-1.41L10,14.17l6.59,-6.59L18,9l-8,8z"/>
10+
android:pathData="M12,1L3,5v6c0,5.55 3.84,10.74 9,12 5.16,-1.26 9,-6.45 9,-12V5l-9,-4zm-2,16l-4,-4 1.41,-1.41L10,14.17l6.59,-6.59L18,9l-8,8z" />
1111
</vector>

todoapp/app/src/main/res/layout/addtask_act.xml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939
android:background="?attr/colorPrimary"
4040
android:minHeight="?attr/actionBarSize"
4141
android:theme="@style/Toolbar"
42-
app:popupTheme="@style/ThemeOverlay.AppCompat.Light"/>
42+
app:popupTheme="@style/ThemeOverlay.AppCompat.Light" />
4343
</android.support.design.widget.AppBarLayout>
4444

4545
<android.support.design.widget.CoordinatorLayout
@@ -50,7 +50,7 @@
5050
<FrameLayout
5151
android:id="@+id/contentFrame"
5252
android:layout_width="match_parent"
53-
android:layout_height="match_parent"/>
53+
android:layout_height="match_parent" />
5454

5555
<android.support.design.widget.FloatingActionButton
5656
android:id="@+id/fab_edit_task_done"
@@ -60,7 +60,7 @@
6060
android:src="@drawable/ic_add"
6161
app:fabSize="normal"
6262
app:layout_anchor="@id/coordinatorLayout"
63-
app:layout_anchorGravity="bottom|right|end"/>
63+
app:layout_anchorGravity="bottom|right|end" />
6464
</android.support.design.widget.CoordinatorLayout>
6565

6666
</LinearLayout>

todoapp/app/src/main/res/layout/addtask_frag.xml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@
1515
-->
1616

1717
<ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
18-
android:layout_width="match_parent"
19-
android:layout_height="match_parent">
18+
android:layout_width="match_parent"
19+
android:layout_height="match_parent">
2020

2121
<LinearLayout
2222
android:layout_width="match_parent"
@@ -33,14 +33,14 @@
3333
android:layout_height="wrap_content"
3434
android:hint="@string/title_hint"
3535
android:singleLine="true"
36-
android:textAppearance="@style/TextAppearance.AppCompat.Title"/>
36+
android:textAppearance="@style/TextAppearance.AppCompat.Title" />
3737

3838
<EditText
3939
android:id="@+id/add_task_description"
4040
android:layout_width="match_parent"
4141
android:layout_height="350dp"
4242
android:gravity="top"
43-
android:hint="@string/description_hint"/>
43+
android:hint="@string/description_hint" />
4444

4545
</LinearLayout>
4646
</ScrollView>

todoapp/app/src/main/res/layout/nav_header.xml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -15,25 +15,25 @@
1515
-->
1616

1717
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
18-
android:layout_width="match_parent"
19-
android:layout_height="192dp"
20-
android:background="?attr/colorPrimaryDark"
21-
android:gravity="bottom"
22-
android:orientation="vertical"
23-
android:padding="16dp"
24-
android:theme="@style/ThemeOverlay.AppCompat.Dark">
18+
android:layout_width="match_parent"
19+
android:layout_height="192dp"
20+
android:background="?attr/colorPrimaryDark"
21+
android:gravity="bottom"
22+
android:orientation="vertical"
23+
android:padding="16dp"
24+
android:theme="@style/ThemeOverlay.AppCompat.Dark">
2525

2626
<ImageView
2727
android:layout_width="100dp"
2828
android:layout_height="wrap_content"
2929
android:layout_gravity="center"
30-
android:src="@drawable/logo"/>
30+
android:src="@drawable/logo" />
3131

3232
<TextView
3333
android:layout_width="wrap_content"
3434
android:layout_height="wrap_content"
3535
android:layout_gravity="bottom|center_horizontal"
3636
android:text="@string/navigation_view_header_title"
37-
android:textAppearance="@style/TextAppearance.AppCompat.Body1"/>
37+
android:textAppearance="@style/TextAppearance.AppCompat.Body1" />
3838

3939
</FrameLayout>

todoapp/app/src/main/res/layout/statistics_act.xml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -40,13 +40,13 @@
4040
android:background="?attr/colorPrimary"
4141
android:minHeight="?attr/actionBarSize"
4242
android:theme="@style/Toolbar"
43-
app:popupTheme="@style/ThemeOverlay.AppCompat.Light"/>
43+
app:popupTheme="@style/ThemeOverlay.AppCompat.Light" />
4444
</android.support.design.widget.AppBarLayout>
4545

4646
<FrameLayout
4747
android:id="@+id/contentFrame"
4848
android:layout_width="match_parent"
49-
android:layout_height="match_parent"/>
49+
android:layout_height="match_parent" />
5050

5151
</LinearLayout>
5252

@@ -58,7 +58,6 @@
5858
android:layout_gravity="start"
5959
android:fitsSystemWindows="true"
6060
app:headerLayout="@layout/nav_header"
61-
app:menu="@menu/drawer_actions"/>
62-
61+
app:menu="@menu/drawer_actions" />
6362

6463
</android.support.v4.widget.DrawerLayout>

todoapp/app/src/main/res/layout/statistics_frag.xml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -15,19 +15,19 @@
1515
-->
1616

1717
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
18-
android:layout_width="match_parent"
19-
android:layout_height="match_parent"
20-
android:orientation="vertical"
21-
android:paddingBottom="@dimen/activity_vertical_margin"
22-
android:paddingLeft="@dimen/activity_horizontal_margin"
23-
android:paddingRight="@dimen/activity_horizontal_margin"
24-
android:paddingTop="@dimen/activity_vertical_margin">
18+
android:layout_width="match_parent"
19+
android:layout_height="match_parent"
20+
android:orientation="vertical"
21+
android:paddingBottom="@dimen/activity_vertical_margin"
22+
android:paddingLeft="@dimen/activity_horizontal_margin"
23+
android:paddingRight="@dimen/activity_horizontal_margin"
24+
android:paddingTop="@dimen/activity_vertical_margin">
2525

2626
<TextView
2727
android:id="@+id/statistics"
2828
android:layout_width="match_parent"
2929
android:layout_height="match_parent"
3030
android:text="Medium Text"
31-
android:textAppearance="?android:attr/textAppearanceMedium"/>
31+
android:textAppearance="?android:attr/textAppearanceMedium" />
3232

3333
</LinearLayout>

todoapp/app/src/main/res/layout/task_item.xml

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -15,27 +15,27 @@
1515
-->
1616

1717
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
18-
android:layout_width="match_parent"
19-
android:layout_height="?android:attr/listPreferredItemHeight"
20-
android:background="@drawable/touch_feedback"
21-
android:orientation="horizontal"
22-
android:paddingLeft="@dimen/activity_horizontal_margin"
23-
android:paddingRight="@dimen/activity_horizontal_margin"
24-
android:paddingBottom="@dimen/list_item_padding"
25-
android:paddingTop="@dimen/list_item_padding"
18+
android:layout_width="match_parent"
19+
android:layout_height="?android:attr/listPreferredItemHeight"
20+
android:background="@drawable/touch_feedback"
21+
android:orientation="horizontal"
22+
android:paddingLeft="@dimen/activity_horizontal_margin"
23+
android:paddingRight="@dimen/activity_horizontal_margin"
24+
android:paddingBottom="@dimen/list_item_padding"
25+
android:paddingTop="@dimen/list_item_padding"
2626
>
2727

2828
<CheckBox
2929
android:id="@+id/complete"
3030
android:layout_width="wrap_content"
3131
android:layout_height="wrap_content"
32-
android:layout_gravity="center_vertical"/>
32+
android:layout_gravity="center_vertical" />
3333

3434
<TextView
3535
android:id="@+id/title"
3636
android:layout_width="match_parent"
3737
android:layout_height="wrap_content"
3838
android:layout_gravity="center_vertical"
3939
android:layout_marginLeft="@dimen/activity_horizontal_margin"
40-
android:textAppearance="@style/TextAppearance.AppCompat.Title"/>
40+
android:textAppearance="@style/TextAppearance.AppCompat.Title" />
4141
</LinearLayout>

0 commit comments

Comments
 (0)