Преглед на файлове

Updated minSdkVersion to 21

Vadik Sirekanyan преди 5 години
родител
ревизия
085fc9f960

+ 1 - 1
app/build.gradle.kts

@@ -13,7 +13,7 @@ android {
     buildToolsVersion("29.0.3")
     defaultConfig {
         applicationId = "com.sirekanyan.knigopis"
-        minSdkVersion(16)
+        minSdkVersion(21)
         targetSdkVersion(29)
         versionCode = 25
         versionName = "0.2.3"

+ 1 - 4
app/src/main/res/layout/book.xml

@@ -23,7 +23,6 @@
         android:layout_height="40dp"
         android:layout_gravity="center_vertical"
         android:layout_marginStart="16dp"
-        android:layout_marginLeft="16dp"
         tools:ignore="ContentDescription"
         tools:src="@drawable/rectangle_placeholder_background" />
 
@@ -33,9 +32,7 @@
         android:layout_gravity="center_vertical"
         android:orientation="vertical"
         android:paddingStart="72dp"
-        android:paddingLeft="72dp"
-        android:paddingEnd="16dp"
-        android:paddingRight="16dp">
+        android:paddingEnd="16dp">
 
         <TextView
             android:id="@+id/bookTitle"

+ 0 - 1
app/src/main/res/layout/bottom_sheet_dialog_item.xml

@@ -23,7 +23,6 @@
         android:layout_height="wrap_content"
         android:layout_gravity="center_vertical"
         android:layout_marginStart="56dp"
-        android:layout_marginLeft="56dp"
         android:textColor="?android:attr/textColorPrimary"
         android:textSize="16sp"
         tools:text="@string/books.button.edit" />

+ 0 - 4
app/src/main/res/layout/note.xml

@@ -11,7 +11,6 @@
         android:layout_width="40dp"
         android:layout_height="40dp"
         android:layout_marginStart="16dp"
-        android:layout_marginLeft="16dp"
         tools:ignore="ContentDescription"
         tools:src="@drawable/rectangle_placeholder_background" />
 
@@ -19,9 +18,7 @@
         android:layout_width="match_parent"
         android:layout_height="wrap_content"
         android:layout_marginStart="72dp"
-        android:layout_marginLeft="72dp"
         android:layout_marginEnd="16dp"
-        android:layout_marginRight="16dp"
         android:layout_marginBottom="16dp"
         android:orientation="vertical">
 
@@ -85,7 +82,6 @@
                 android:layout_width="32dp"
                 android:layout_height="32dp"
                 android:layout_marginStart="8dp"
-                android:layout_marginLeft="8dp"
                 tools:ignore="ContentDescription"
                 tools:src="@drawable/oval_placeholder_background" />
 

+ 0 - 2
app/src/main/res/layout/user.xml

@@ -21,7 +21,6 @@
         android:layout_width="0dp"
         android:layout_height="match_parent"
         android:layout_marginStart="16dp"
-        android:layout_marginLeft="16dp"
         android:layout_weight="1"
         android:ellipsize="end"
         android:gravity="center_vertical"
@@ -35,7 +34,6 @@
         android:layout_width="wrap_content"
         android:layout_height="match_parent"
         android:layout_marginStart="16dp"
-        android:layout_marginLeft="16dp"
         android:gravity="center_vertical"
         android:textColor="?android:attr/textColorSecondary"
         android:textSize="16sp"

+ 1 - 4
app/src/main/res/layout/user_book.xml

@@ -12,7 +12,6 @@
         android:layout_width="40dp"
         android:layout_height="40dp"
         android:layout_marginStart="16dp"
-        android:layout_marginLeft="16dp"
         tools:ignore="ContentDescription"
         tools:src="@drawable/rectangle_placeholder_background" />
 
@@ -21,9 +20,7 @@
         android:layout_height="wrap_content"
         android:orientation="vertical"
         android:paddingStart="72dp"
-        android:paddingLeft="72dp"
-        android:paddingEnd="16dp"
-        android:paddingRight="16dp">
+        android:paddingEnd="16dp">
 
         <TextView
             android:id="@+id/bookTitle"

+ 0 - 3
app/src/main/res/layout/website_layout.xml

@@ -14,7 +14,6 @@
         android:layout_height="24dp"
         android:layout_gravity="center_vertical"
         android:layout_marginStart="16dp"
-        android:layout_marginLeft="16dp"
         tools:ignore="ContentDescription"
         tools:src="@drawable/ic_login_go" />
 
@@ -24,9 +23,7 @@
         android:layout_height="wrap_content"
         android:layout_gravity="center_vertical"
         android:layout_marginStart="72dp"
-        android:layout_marginLeft="72dp"
         android:layout_marginEnd="16dp"
-        android:layout_marginRight="16dp"
         android:ellipsize="end"
         android:maxLines="1"
         android:textColor="?android:textColorPrimary"