diff options
author | Christian Schneppe <christian@pix-art.de> | 2018-12-14 21:45:44 +0100 |
---|---|---|
committer | Christian Schneppe <christian@pix-art.de> | 2018-12-14 21:45:44 +0100 |
commit | 7df333bf2a8aad44f082ac6a6a9ee49948ce36d7 (patch) | |
tree | 2644764ba3a29806d599dfbcfd0143a4bc4a318c /src/main/res/layout/activity_change_password.xml | |
parent | 6c6d3caea00810df9fb89de599386a93e8dbc4d4 (diff) |
Reduce `minSdkVersion` to 16, fix issues reported by lint
This further reduces the minimum API level to 16, which should encompass
most users stuck on older versions of Android (mainly BlackBerry OS and
Jolla users).
Several issues reported by code analysis were fixed, mainly around issues
with layouts.
Diffstat (limited to '')
-rw-r--r-- | src/main/res/layout/activity_change_password.xml | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/src/main/res/layout/activity_change_password.xml b/src/main/res/layout/activity_change_password.xml index 4ff57e22b..7f79bffc8 100644 --- a/src/main/res/layout/activity_change_password.xml +++ b/src/main/res/layout/activity_change_password.xml @@ -16,10 +16,10 @@ <android.support.v7.widget.CardView android:layout_width="match_parent" android:layout_height="wrap_content" - android:layout_marginBottom="@dimen/activity_vertical_margin" android:layout_marginLeft="@dimen/activity_horizontal_margin" - android:layout_marginRight="@dimen/activity_horizontal_margin" android:layout_marginTop="@dimen/activity_vertical_margin" + android:layout_marginRight="@dimen/activity_horizontal_margin" + android:layout_marginBottom="@dimen/activity_vertical_margin" android:background="?attr/color_background_tertiary"> <LinearLayout @@ -75,9 +75,11 @@ android:id="@+id/button_bar" android:layout_width="wrap_content" android:layout_height="wrap_content" - android:layout_alignParentBottom="true" + android:layout_alignParentStart="true" android:layout_alignParentLeft="true" - android:layout_alignParentRight="true"> + android:layout_alignParentEnd="true" + android:layout_alignParentRight="true" + android:layout_alignParentBottom="true"> <Button android:id="@+id/left_button" @@ -90,8 +92,8 @@ <View android:layout_width="1dp" android:layout_height="fill_parent" - android:layout_marginBottom="7dp" android:layout_marginTop="7dp" + android:layout_marginBottom="7dp" android:background="?attr/divider" /> <Button |