some xml code formatting

This commit is contained in:
tibbi
2021-11-19 23:03:35 +01:00
parent 43cfd8609c
commit ece2aa6e9c
26 changed files with 111 additions and 105 deletions

View File

@ -81,6 +81,7 @@
android:layout_height="wrap_content"
android:layout_below="@+id/month_3_label"
android:layout_marginStart="@dimen/yearly_month_padding" />
</RelativeLayout>
<RelativeLayout
@ -106,6 +107,7 @@
android:layout_below="@+id/month_4_label"
android:layout_marginStart="@dimen/yearly_month_padding"
app:days="30" />
</RelativeLayout>
</TableRow>
@ -160,6 +162,7 @@
android:layout_below="@+id/month_6_label"
android:layout_marginStart="@dimen/yearly_month_padding"
app:days="30" />
</RelativeLayout>
<RelativeLayout
@ -184,6 +187,7 @@
android:layout_height="match_parent"
android:layout_below="@+id/month_7_label"
android:layout_marginStart="@dimen/yearly_month_padding" />
</RelativeLayout>
<RelativeLayout
@ -209,12 +213,12 @@
android:layout_height="match_parent"
android:layout_below="@+id/month_8_label"
android:layout_marginStart="@dimen/yearly_month_padding" />
</RelativeLayout>
</TableRow>
<TableRow android:layout_weight="1">
<RelativeLayout
android:id="@+id/month_9_holder"
android:layout_width="0dp"
@ -238,6 +242,7 @@
android:layout_below="@+id/month_9_label"
android:layout_marginStart="@dimen/yearly_month_padding"
app:days="30" />
</RelativeLayout>
<RelativeLayout
@ -262,6 +267,7 @@
android:layout_height="match_parent"
android:layout_below="@+id/month_10_label"
android:layout_marginStart="@dimen/yearly_month_padding" />
</RelativeLayout>
<RelativeLayout
@ -288,6 +294,7 @@
android:layout_below="@+id/month_11_label"
android:layout_marginStart="@dimen/yearly_month_padding"
app:days="30" />
</RelativeLayout>
<RelativeLayout

View File

@ -1,11 +1,11 @@
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout
xmlns:android="http://schemas.android.com/apk/res/android"
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="horizontal"
android:paddingBottom="@dimen/small_margin"
android:paddingTop="@dimen/small_margin">
android:paddingTop="@dimen/small_margin"
android:paddingBottom="@dimen/small_margin">
<com.simplemobiletools.commons.views.MyTextView
android:id="@+id/week_num"
@ -14,7 +14,8 @@
android:layout_height="match_parent"
android:layout_weight="1"
android:text="#"
android:visibility="gone"/>
android:visibility="gone"
tools:ignore="HardcodedText" />
<com.simplemobiletools.commons.views.MyTextView
android:id="@+id/label_0"

View File

@ -1,11 +1,11 @@
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout
xmlns:android="http://schemas.android.com/apk/res/android"
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="horizontal"
android:paddingBottom="@dimen/small_margin"
android:paddingTop="@dimen/small_margin">
android:paddingTop="@dimen/small_margin"
android:paddingBottom="@dimen/small_margin">
<TextView
android:id="@+id/week_num"
@ -13,7 +13,8 @@
android:layout_width="0dp"
android:layout_height="match_parent"
android:layout_weight="1"
android:text="#"/>
android:text="#"
tools:ignore="HardcodedText" />
<TextView
android:id="@+id/label_0"

View File

@ -1,6 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<com.simplemobiletools.commons.views.MyViewPager
xmlns:android="http://schemas.android.com/apk/res/android"
<com.simplemobiletools.commons.views.MyViewPager xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/fragment_days_viewpager"
android:layout_width="match_parent"
android:layout_height="match_parent"

View File

@ -1,6 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout
xmlns:android="http://schemas.android.com/apk/res/android"
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/month_calendar_holder"
android:layout_width="match_parent"
android:layout_height="match_parent"

View File

@ -163,6 +163,7 @@
android:layout_weight="1"
android:gravity="center_horizontal"
android:orientation="vertical" />
</LinearLayout>
<LinearLayout
@ -235,6 +236,7 @@
android:layout_weight="1"
android:gravity="center_horizontal"
android:orientation="vertical" />
</LinearLayout>
<LinearLayout
@ -307,6 +309,7 @@
android:layout_weight="1"
android:gravity="center_horizontal"
android:orientation="vertical" />
</LinearLayout>
<LinearLayout
@ -379,6 +382,7 @@
android:layout_weight="1"
android:gravity="center_horizontal"
android:orientation="vertical" />
</LinearLayout>
<LinearLayout
@ -451,6 +455,7 @@
android:layout_weight="1"
android:gravity="center_horizontal"
android:orientation="vertical" />
</LinearLayout>
<LinearLayout
@ -523,6 +528,7 @@
android:layout_weight="1"
android:gravity="center_horizontal"
android:orientation="vertical" />
</LinearLayout>
</LinearLayout>
</RelativeLayout>

View File

@ -102,6 +102,7 @@
android:background="?attr/selectableItemBackground"
android:gravity="center_horizontal"
android:orientation="vertical" />
</LinearLayout>
<LinearLayout
@ -182,6 +183,7 @@
android:background="?attr/selectableItemBackground"
android:gravity="center_horizontal"
android:orientation="vertical" />
</LinearLayout>
<LinearLayout
@ -261,6 +263,7 @@
android:background="?attr/selectableItemBackground"
android:gravity="center_horizontal"
android:orientation="vertical" />
</LinearLayout>
<LinearLayout
@ -341,6 +344,7 @@
android:background="?attr/selectableItemBackground"
android:gravity="center_horizontal"
android:orientation="vertical" />
</LinearLayout>
<LinearLayout
@ -421,6 +425,7 @@
android:background="?attr/selectableItemBackground"
android:gravity="center_horizontal"
android:orientation="vertical" />
</LinearLayout>
<LinearLayout
@ -500,6 +505,7 @@
android:background="?attr/selectableItemBackground"
android:gravity="center_horizontal"
android:orientation="vertical" />
</LinearLayout>
</LinearLayout>
</RelativeLayout>

View File

@ -1,6 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<com.simplemobiletools.commons.views.MyViewPager
xmlns:android="http://schemas.android.com/apk/res/android"
<com.simplemobiletools.commons.views.MyViewPager xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/fragment_months_viewpager"
android:layout_width="match_parent"
android:layout_height="match_parent"

View File

@ -28,9 +28,8 @@
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="@android:color/transparent"
android:orientation="horizontal">
android:orientation="horizontal" />
</LinearLayout>
</RelativeLayout>
</com.simplemobiletools.calendar.pro.views.MyScrollView>
@ -55,8 +54,7 @@
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_below="@+id/week_letters_holder"
android:orientation="vertical">
android:orientation="vertical" />
</LinearLayout>
</RelativeLayout>
</RelativeLayout>

View File

@ -157,6 +157,7 @@
android:layout_height="match_parent"
android:layout_below="@+id/month_6_label"
app:days="30" />
</RelativeLayout>
</TableRow>
@ -183,6 +184,7 @@
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_below="@+id/month_7_label" />
</RelativeLayout>
<RelativeLayout
@ -286,6 +288,7 @@
android:layout_below="@+id/month_11_label"
android:layout_marginStart="@dimen/yearly_month_padding"
app:days="30" />
</RelativeLayout>
<RelativeLayout

View File

@ -1,6 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<com.simplemobiletools.commons.views.MyViewPager
xmlns:android="http://schemas.android.com/apk/res/android"
<com.simplemobiletools.commons.views.MyViewPager xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/fragment_years_viewpager"
android:layout_width="match_parent"
android:layout_height="match_parent"

View File

@ -1,6 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout
xmlns:android="http://schemas.android.com/apk/res/android"
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:id="@+id/event_attendee_holder"
android:layout_width="match_parent"

View File

@ -1,6 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<androidx.constraintlayout.widget.ConstraintLayout
xmlns:android="http://schemas.android.com/apk/res/android"
<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
android:id="@+id/item_autocomplete_holder"

View File

@ -1,6 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout
xmlns:android="http://schemas.android.com/apk/res/android"
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:id="@+id/item_select_time_zone_holder"
android:layout_width="match_parent"

View File

@ -1,9 +1,8 @@
<?xml version="1.0" encoding="utf-8"?>
<com.simplemobiletools.commons.views.MyAppCompatCheckbox
xmlns:android="http://schemas.android.com/apk/res/android"
<com.simplemobiletools.commons.views.MyAppCompatCheckbox xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/my_checkbox"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="?attr/selectableItemBackground"
android:paddingBottom="@dimen/activity_margin"
android:paddingTop="@dimen/activity_margin"/>
android:paddingTop="@dimen/activity_margin"
android:paddingBottom="@dimen/activity_margin" />

View File

@ -1,11 +1,9 @@
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/quick_filter_event_type_holder"
android:layout_width="match_parent"
android:minWidth="@dimen/quick_filter_min_width"
android:layout_height="@dimen/quick_filter_height">
android:layout_height="@dimen/quick_filter_height"
android:minWidth="@dimen/quick_filter_min_width">
<Button
android:id="@+id/quick_filter_event_type"
@ -28,7 +26,7 @@
android:layout_height="@dimen/quick_filter_inactive_line_size"
android:layout_above="@id/quick_filter_event_type"
android:layout_alignParentBottom="true"
android:clickable="false"
android:background="@color/color_primary" />
android:background="@color/color_primary"
android:clickable="false" />
</RelativeLayout>

View File

@ -1,6 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout
xmlns:android="http://schemas.android.com/apk/res/android"
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="horizontal">
@ -12,18 +11,16 @@
android:layout_marginEnd="@dimen/medium_margin"
android:layout_toStartOf="@+id/dialog_radio_color"
android:clickable="false"
android:paddingBottom="@dimen/activity_margin"
android:paddingTop="@dimen/activity_margin"/>
android:paddingTop="@dimen/activity_margin"
android:paddingBottom="@dimen/activity_margin" />
<ImageView
android:id="@+id/dialog_radio_color"
android:layout_width="@dimen/color_sample_size"
android:layout_height="@dimen/color_sample_size"
android:layout_alignParentEnd="true"
android:layout_alignParentRight="true"
android:layout_centerVertical="true"
android:layout_marginEnd="@dimen/medium_margin"
android:layout_marginRight="@dimen/medium_margin"
android:clickable="false" />
</RelativeLayout>

View File

@ -1,6 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<merge
xmlns:android="http://schemas.android.com/apk/res/android"
<merge xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/calendar_holder">
<ImageView

View File

@ -1,6 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<TextView
xmlns:android="http://schemas.android.com/apk/res/android"
<TextView xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="wrap_content"
android:layout_height="match_parent"
android:ellipsize="end"

View File

@ -1,6 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<TextView
xmlns:android="http://schemas.android.com/apk/res/android"
<TextView xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:ellipsize="end"

View File

@ -1,6 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<ImageView
xmlns:android="http://schemas.android.com/apk/res/android"
<ImageView xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/week_holder"
android:layout_width="match_parent"
android:layout_height="match_parent"

View File

@ -1,7 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<ImageView
xmlns:android="http://schemas.android.com/apk/res/android"
<ImageView xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:src="@drawable/weekly_now"
android:scaleType="fitXY"/>
android:scaleType="fitXY"
android:src="@drawable/weekly_now" />

View File

@ -1,6 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<com.simplemobiletools.commons.views.MyTextView
xmlns:android="http://schemas.android.com/apk/res/android"
<com.simplemobiletools.commons.views.MyTextView xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/weekly_view_hour_textview"
android:layout_width="match_parent"
android:layout_height="wrap_content"

View File

@ -36,6 +36,7 @@
android:textColor="@color/md_grey_white"
android:textSize="@dimen/bigger_text_size"
tools:text="Jan" />
</RelativeLayout>
<ImageView
@ -50,7 +51,7 @@
android:layout_height="match_parent"
android:layout_alignTop="@+id/config_bg_color"
android:layout_alignBottom="@+id/config_bg_color"
android:layout_toRightOf="@+id/config_bg_color"
android:layout_toEndOf="@+id/config_bg_color"
android:background="@android:color/white">
<com.simplemobiletools.commons.views.MySeekBar
@ -60,6 +61,7 @@
android:layout_centerVertical="true"
android:paddingLeft="@dimen/activity_margin"
android:paddingRight="@dimen/activity_margin" />
</RelativeLayout>
<ImageView
@ -72,7 +74,7 @@
android:id="@+id/config_save"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentRight="true"
android:layout_alignParentEnd="true"
android:layout_alignParentBottom="true"
android:fontFamily="sans-serif-light"
android:paddingLeft="@dimen/activity_margin"

View File

@ -42,6 +42,7 @@
android:layout_centerVertical="true"
android:paddingStart="@dimen/activity_margin"
android:paddingEnd="@dimen/activity_margin" />
</RelativeLayout>
<ImageView

View File

@ -1,6 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout
xmlns:android="http://schemas.android.com/apk/res/android"
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/config_holder"
android:layout_width="match_parent"
android:layout_height="wrap_content"
@ -25,8 +24,8 @@
android:id="@+id/config_bg_seekbar_holder"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_alignBottom="@+id/config_bg_color"
android:layout_alignTop="@+id/config_bg_color"
android:layout_alignBottom="@+id/config_bg_color"
android:layout_toEndOf="@+id/config_bg_color"
android:background="@android:color/white">
@ -37,6 +36,7 @@
android:layout_centerVertical="true"
android:paddingStart="@dimen/activity_margin"
android:paddingEnd="@dimen/activity_margin" />
</RelativeLayout>
<ImageView
@ -49,8 +49,8 @@
android:id="@+id/config_save"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentBottom="true"
android:layout_alignParentEnd="true"
android:layout_alignParentBottom="true"
android:fontFamily="sans-serif-light"
android:paddingStart="@dimen/activity_margin"
android:paddingEnd="@dimen/activity_margin"