widget_en_login.xml
Internal layout of Login widget.
This layout should be used as is, if custom editing is required then a ginstr app developer will modify it.
<?xml version="1.0" encoding="utf-8"?> <ScrollView xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_parent" android:layout_height="match_parent" android:fillViewport="true" > <LinearLayout android:layout_width="match_parent" android:layout_height="wrap_content" android:orientation="vertical" > <com.ginstr.widgets.GnTextView android:id="@+id/tvCreateUser" android:layout_width="wrap_content" android:layout_height="wrap_content" android:clickable="true" android:text="@string/$loginSignUp" gn:style="@style/login_gnTextViewCreate"/> <com.ginstr.widgets.GnEditText android:id="@+id/etUserName" android:layout_width="match_parent" android:layout_height="wrap_content" gn:s_hint="@string/$emailHint" gn:s_sourceType="input" gn:imeOptions="actionNext" gn:imeActionNext="FOCUS_DOWN" gn:style="@style/login_gnEditText"/> <com.ginstr.widgets.GnEditText android:id="@+id/etPassword" android:layout_width="match_parent" android:layout_height="wrap_content" gn:s_hint="@string/$passwordHint" gn:imeOptions="actionDone" gn:s_sourceType="input" gn:style="@style/login_gnEditText" /> <RelativeLayout android:layout_width="match_parent" android:layout_height="wrap_content" > <LinearLayout android:layout_width="match_parent" android:layout_height="wrap_content" android:orientation="horizontal" android:weightSum="2" > <LinearLayout android:layout_width="0dp" android:layout_height="wrap_content" android:layout_weight="1" android:weightSum="7" > <com.ginstr.widgets.GnButton android:id="@+id/bLogin" android:layout_width="0dp" android:layout_height="wrap_content" android:layout_weight="6" android:text="@string/$login" gn:style="@style/login_gnButtonLogin"/> </LinearLayout> </LinearLayout> <LinearLayout android:id="@+id/lytShowPw" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_alignParentRight="true" android:orientation="horizontal" > <com.ginstr.widgets.GnTextView android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="@string/$loginShowPassword" gn:style="@style/login_gnTextViewShowPassword" /> <com.ginstr.widgets.GnCheckBox android:id="@+id/chkShowPw" android:layout_width="wrap_content" android:layout_height="wrap_content" gn:style="@style/login_gnCheckBoxShowPassword"/> </LinearLayout> </RelativeLayout> <com.ginstr.widgets.GnTextView android:id="@+id/tvReset" android:layout_width="wrap_content" android:layout_height="wrap_content" android:clickable="true" gn:style="@style/login_gnTextViewReset"/> </LinearLayout> </ScrollView>