[Layout] Migrate paddingStart/paddingEnd to paddingHorizontal.

This commit is contained in:
Kuba Szczodrzyński 2021-03-25 11:37:40 +01:00
parent a58a557fd0
commit 2933e214c6
12 changed files with 26 additions and 71 deletions

View File

@ -13,8 +13,7 @@
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical"
android:paddingStart="24dp"
android:paddingEnd="24dp">
android:paddingHorizontal="24dp">
<TextView
style="@style/TextAppearance.AppCompat.Small"

View File

@ -14,8 +14,7 @@
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical"
android:paddingStart="24dp"
android:paddingEnd="24dp">
android:paddingHorizontal="24dp">
<TextView
android:layout_width="wrap_content"

View File

@ -41,8 +41,7 @@
android:layout_height="wrap_content"
android:background="@drawable/timetable_lesson_annotation"
android:fontFamily="sans-serif-condensed"
android:paddingStart="8dp"
android:paddingEnd="8dp"
android:paddingHorizontal="8dp"
android:text="@string/timetable_lesson_cancelled"
android:textColor="#000"
android:textSize="12sp"

View File

@ -18,9 +18,7 @@
android:id="@+id/targetDeviceDropDown"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:hint=""
android:paddingEnd="6.0dip"
android:paddingRight="6.0dip" />
android:hint="" />
</com.google.android.material.textfield.TextInputLayout>
<LinearLayout
@ -137,4 +135,4 @@
</LinearLayout>
</LinearLayout>
</layout>
</layout>

View File

@ -51,8 +51,7 @@
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="horizontal"
android:paddingStart="8dp"
android:paddingEnd="8dp">
android:paddingHorizontal="8dp">
<LinearLayout
android:id="@+id/normalSemester1Layout"
@ -194,8 +193,7 @@
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="horizontal"
android:paddingStart="8dp"
android:paddingEnd="8dp">
android:paddingHorizontal="8dp">
<LinearLayout
android:id="@+id/pointSemester1Layout"

View File

@ -7,10 +7,7 @@
android:clipChildren="false"
android:clipToPadding="false"
android:orientation="horizontal"
android:paddingStart="@dimen/material_drawer_vertical_padding"
android:paddingLeft="@dimen/material_drawer_vertical_padding"
android:paddingEnd="@dimen/material_drawer_vertical_padding"
android:paddingRight="@dimen/material_drawer_vertical_padding">
android:paddingHorizontal="@dimen/material_drawer_vertical_padding">
<com.mikepenz.materialdrawer.view.BezelImageView
android:id="@+id/material_drawer_profileIcon"

View File

@ -10,10 +10,7 @@
android:gravity="start|center_vertical"
android:minHeight="@dimen/md_simpleitem_height"
android:orientation="horizontal"
android:paddingEnd="@dimen/md_dialog_frame_margin"
android:paddingLeft="@dimen/md_dialog_frame_margin"
android:paddingRight="@dimen/md_dialog_frame_margin"
android:paddingStart="@dimen/md_dialog_frame_margin">
android:paddingHorizontal="@dimen/md_dialog_frame_margin">
<androidx.cardview.widget.CardView
android:layout_width="wrap_content"
@ -45,4 +42,4 @@
android:textSize="@dimen/md_simplelist_textsize"
tools:text="Title" />
</LinearLayout>
</LinearLayout>

View File

@ -35,8 +35,7 @@
android:layout_height="wrap_content"
android:background="@drawable/timetable_lesson_annotation"
android:fontFamily="sans-serif-condensed"
android:paddingStart="8dp"
android:paddingEnd="8dp"
android:paddingHorizontal="8dp"
android:text="@string/timetable_lesson_cancelled"
android:textColor="#000"
android:textSize="12sp"
@ -49,8 +48,7 @@
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_gravity="top"
android:paddingStart="8dp"
android:paddingEnd="8dp"
android:paddingHorizontal="8dp"
android:orientation="horizontal"
android:baselineAligned="false">
<!--tools:background="@drawable/timetable_subject_color_rounded"-->
@ -109,8 +107,7 @@
android:fontFamily="sans-serif-condensed-light"
android:includeFontPadding="false"
android:layout_marginBottom="-4dp"
android:paddingStart="4dp"
android:paddingEnd="4dp"
android:paddingHorizontal="4dp"
android:text="@{Integer.toString(lessonNumber)}"
android:textSize="28sp"
android:visibility="@{lessonNumber != null ? View.VISIBLE : View.GONE}"
@ -126,8 +123,7 @@
android:layout_weight="1"
android:gravity="bottom"
android:orientation="horizontal"
android:paddingStart="8dp"
android:paddingEnd="8dp">
android:paddingHorizontal="8dp">
<LinearLayout
android:layout_width="wrap_content"

View File

@ -1,5 +1,4 @@
<LinearLayout 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/widgetLuckyNumberRoot"
android:layout_width="match_parent"
@ -33,10 +32,7 @@
android:id="@+id/widgetLuckyNumberProfileRight"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:paddingStart="8dp"
android:paddingLeft="8dp"
android:paddingEnd="8dp"
android:paddingRight="8dp"
android:paddingHorizontal="8dp"
android:textColor="@color/primaryTextLight"
android:textSize="11sp"
tools:text="Władca Androida"
@ -51,10 +47,7 @@
android:id="@+id/widgetLuckyNumberTextRight"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:paddingStart="8dp"
android:paddingLeft="8dp"
android:paddingEnd="8dp"
android:paddingRight="8dp"
android:paddingHorizontal="8dp"
android:textColor="@color/primaryTextLight"
android:textSize="16sp"
tools:text="24" />
@ -88,4 +81,4 @@
tools:visibility="gone" />
</FrameLayout>
</LinearLayout>
</LinearLayout>

View File

@ -1,5 +1,4 @@
<LinearLayout 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/widgetLuckyNumberRoot"
android:layout_width="match_parent"
@ -30,10 +29,7 @@
android:id="@+id/widgetLuckyNumberProfileRight"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:paddingStart="12dp"
android:paddingLeft="12dp"
android:paddingEnd="12dp"
android:paddingRight="12dp"
android:paddingHorizontal="12dp"
android:textColor="@color/primaryTextLight"
android:textSize="14sp"
tools:text="Władca Androida"
@ -48,10 +44,7 @@
android:id="@+id/widgetLuckyNumberTextRight"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:paddingStart="12dp"
android:paddingLeft="12dp"
android:paddingEnd="12dp"
android:paddingRight="12dp"
android:paddingHorizontal="12dp"
android:textColor="@color/primaryTextLight"
android:textSize="24sp"
tools:text="24" />
@ -86,4 +79,4 @@
tools:visibility="gone" />
</FrameLayout>
</LinearLayout>
</LinearLayout>

View File

@ -1,5 +1,4 @@
<LinearLayout 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/widgetLuckyNumberRoot"
android:layout_width="match_parent"
@ -30,10 +29,7 @@
android:id="@+id/widgetLuckyNumberProfileRight"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:paddingStart="8dp"
android:paddingLeft="8dp"
android:paddingEnd="8dp"
android:paddingRight="8dp"
android:paddingHorizontal="8dp"
android:textColor="@color/primaryTextDark"
android:textSize="11sp"
tools:text="Władca Androida"
@ -48,10 +44,7 @@
android:id="@+id/widgetLuckyNumberTextRight"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:paddingStart="8dp"
android:paddingLeft="8dp"
android:paddingEnd="8dp"
android:paddingRight="8dp"
android:paddingHorizontal="8dp"
android:textColor="@color/primaryTextDark"
android:textSize="16sp"
tools:text="24" />
@ -85,4 +78,4 @@
tools:visibility="gone" />
</FrameLayout>
</LinearLayout>
</LinearLayout>

View File

@ -1,5 +1,4 @@
<LinearLayout 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/widgetLuckyNumberRoot"
android:layout_width="match_parent"
@ -30,10 +29,7 @@
android:id="@+id/widgetLuckyNumberProfileRight"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:paddingStart="12dp"
android:paddingLeft="12dp"
android:paddingEnd="12dp"
android:paddingRight="12dp"
android:paddingHorizontal="12dp"
android:textColor="@color/primaryTextDark"
android:textSize="14sp"
tools:text="Władca Androida"
@ -48,10 +44,7 @@
android:id="@+id/widgetLuckyNumberTextRight"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:paddingStart="12dp"
android:paddingLeft="12dp"
android:paddingEnd="12dp"
android:paddingRight="12dp"
android:paddingHorizontal="12dp"
android:textColor="@color/primaryTextDark"
android:textSize="24sp"
tools:text="24" />
@ -86,4 +79,4 @@
tools:visibility="gone" />
</FrameLayout>
</LinearLayout>
</LinearLayout>