You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@taverna.apache.org by sa...@apache.org on 2018/02/16 05:00:12 UTC

incubator-taverna-mobile git commit: Adds password visibility toggle feature to login screen password editText

Repository: incubator-taverna-mobile
Updated Branches:
  refs/heads/master 004abcd06 -> 1c0094d0f


Adds password visibility toggle feature to login screen password editText


Project: http://git-wip-us.apache.org/repos/asf/incubator-taverna-mobile/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-taverna-mobile/commit/1c0094d0
Tree: http://git-wip-us.apache.org/repos/asf/incubator-taverna-mobile/tree/1c0094d0
Diff: http://git-wip-us.apache.org/repos/asf/incubator-taverna-mobile/diff/1c0094d0

Branch: refs/heads/master
Commit: 1c0094d0ff1c447e2d5c9fb8680d8813dc897594
Parents: 004abcd
Author: saketkumar95 <sa...@gmail.com>
Authored: Fri Feb 16 04:22:45 2018 +0530
Committer: saketkumar95 <sa...@gmail.com>
Committed: Fri Feb 16 04:22:45 2018 +0530

----------------------------------------------------------------------
 app/src/main/res/layout/fragment_login.xml | 9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-taverna-mobile/blob/1c0094d0/app/src/main/res/layout/fragment_login.xml
----------------------------------------------------------------------
diff --git a/app/src/main/res/layout/fragment_login.xml b/app/src/main/res/layout/fragment_login.xml
index e42c6f7..7edd2a8 100644
--- a/app/src/main/res/layout/fragment_login.xml
+++ b/app/src/main/res/layout/fragment_login.xml
@@ -15,10 +15,10 @@
    See the License for the specific language governing permissions and
    limitations under the License.
 -->
-<ScrollView
-    xmlns:android="http://schemas.android.com/apk/res/android"
+<ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
     android:layout_width="match_parent"
-    android:layout_height="match_parent">
+    android:layout_height="match_parent"
+    xmlns:app="http://schemas.android.com/apk/res-auto">
 
     <RelativeLayout
         android:layout_width="match_parent"
@@ -90,7 +90,8 @@
                 android:id="@+id/input_layout_password"
                 android:layout_width="match_parent"
                 android:layout_height="wrap_content"
-                android:layout_marginTop="20dp">
+                android:layout_marginTop="20dp"
+                app:passwordToggleEnabled="true">
 
                 <EditText
                     android:id="@+id/etPassword"