fixed login buttons on pre-lollipop devices

This commit is contained in:
Mariotaku Lee 2017-03-06 22:34:41 +08:00
parent d818127993
commit 06ab10188a
No known key found for this signature in database
GPG Key ID: 15C10F89D7C33535
1 changed files with 8 additions and 8 deletions

View File

@ -17,7 +17,8 @@
~ along with this program. If not, see <http://www.gnu.org/licenses/>. ~ along with this program. If not, see <http://www.gnu.org/licenses/>.
--> -->
<ScrollView xmlns:android="http://schemas.android.com/apk/res/android" <ScrollView
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto" xmlns:app="http://schemas.android.com/apk/res-auto"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="match_parent"> android:layout_height="match_parent">
@ -68,20 +69,19 @@
android:text="@string/sign_in" android:text="@string/sign_in"
app:backgroundTint="@color/material_light_green"/> app:backgroundTint="@color/material_light_green"/>
<Button <Button
android:id="@+id/signUp" android:id="@+id/signUp"
style="?android:borderlessButtonStyle" style="?borderlessButtonStyle"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:gravity="start|center_vertical" android:gravity="start|center_vertical"
android:minHeight="@dimen/element_size_xsmall" android:minHeight="@dimen/element_spacing_xsmall"
android:text="@string/register" android:text="@string/register"
android:textAppearance="?android:textAppearanceSmall"/> android:textAppearance="?android:textAppearanceSmall"/>
<Button <Button
android:id="@+id/passwordSignIn" android:id="@+id/passwordSignIn"
style="?android:borderlessButtonStyle" style="?borderlessButtonStyle"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:gravity="start|center_vertical" android:gravity="start|center_vertical"