Commit 77587bdd authored by DevLife Apps's avatar DevLife Apps

Resolve "Landscape lockscreen displays incorrectly"

parent 301fded5
## [Unreleased]
### Fixed
- Landscape lock screen:
https://gitlab.com/devlife-apps/connect2sql/issues/11
## [4.0.9] - 2018-09-04
### Added
......
......@@ -117,7 +117,7 @@ ext {
version_logback_android = '1.1.1-12'
version_mariadb = '1.7.4'
version_dexmaker_mockito = '2.19.0'
version_patternlock = '2.0.1'
version_patternlock = '2.1.2'
version_rx = '1.1.0'
version_saripaar = '1.0.3'
version_sqlcipher = '3.5.9'
......
<?xml version="1.0" encoding="utf-8"?>
<!--
~ Copyright (c) 2015 Zhang Hai <[email protected]>
~ All Rights Reserved.
-->
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:divider="?dividerVertical"
android:orientation="horizontal"
android:showDividers="middle">
<me.zhanghai.android.patternlock.PatternView
android:id="@+id/pl_pattern"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:padding="16dp" />
<LinearLayout
android:layout_width="0dp"
android:layout_height="match_parent"
android:layout_weight="1"
android:divider="?dividerHorizontal"
android:orientation="vertical"
android:showDividers="middle">
<TextView
android:id="@+id/pl_message_text"
android:layout_width="match_parent"
android:layout_height="0dp"
android:layout_weight="1"
android:gravity="center"
android:paddingBottom="16dp"
android:paddingTop="16dp"
android:textAppearance="?android:textAppearanceMedium" />
<LinearLayout
android:id="@+id/pl_button_container"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="horizontal">
<Button
android:id="@+id/pl_left_button"
style="?android:attr/borderlessButtonStyle"
android:layout_width="0dp"
android:layout_height="match_parent"
android:layout_weight="1"
android:gravity="center" />
<Button
android:id="@+id/pl_right_button"
style="?android:attr/borderlessButtonStyle"
android:layout_width="0dp"
android:layout_height="match_parent"
android:layout_weight="1"
android:gravity="center" />
</LinearLayout>
</LinearLayout>
</LinearLayout>
\ No newline at end of file
<?xml version="1.0" encoding="utf-8"?>
<!--
~ Copyright (c) 2015 Zhang Hai <[email protected]>
~ All Rights Reserved.
-->
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:divider="?dividerHorizontal"
android:orientation="vertical"
android:showDividers="middle">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="0dp"
android:layout_weight="1"
android:orientation="vertical">
<TextView
android:id="@+id/pl_message_text"
android:layout_width="match_parent"
android:layout_height="0dp"
android:layout_weight="1"
android:gravity="center"
android:textAppearance="?android:textAppearanceMedium" />
<me.zhanghai.android.patternlock.PatternView
android:id="@+id/pl_pattern"
android:layout_width="match_parent"
android:layout_height="match_parent" />
<View
android:layout_width="match_parent"
android:layout_height="0dp"
android:layout_weight="1" />
</LinearLayout>
<LinearLayout
android:id="@+id/pl_button_container"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="horizontal">
<Button
android:id="@+id/pl_left_button"
style="?android:attr/borderlessButtonStyle"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_weight="1" />
<Button
android:id="@+id/pl_right_button"
style="?android:attr/borderlessButtonStyle"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_weight="1" />
</LinearLayout>
</LinearLayout>
\ No newline at end of file
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment