diff options
Diffstat (limited to 'app/src/main/res/layout/layout_oauth.xml')
-rw-r--r-- | app/src/main/res/layout/layout_oauth.xml | 74 |
1 files changed, 30 insertions, 44 deletions
diff --git a/app/src/main/res/layout/layout_oauth.xml b/app/src/main/res/layout/layout_oauth.xml index 61af223d..030ac4a1 100644 --- a/app/src/main/res/layout/layout_oauth.xml +++ b/app/src/main/res/layout/layout_oauth.xml @@ -23,59 +23,45 @@ ~ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE ~ SOFTWARE. --> + <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto" android:layout_width="match_parent" android:layout_height="match_parent" + android:layout_margin="15dp" + android:gravity="center_vertical|center_horizontal" android:orientation="vertical"> - <android.support.v7.widget.Toolbar - android:id="@+id/toolbar" - android:layout_width="match_parent" + <TextView + android:layout_width="wrap_content" android:layout_height="wrap_content" - android:background="?attr/colorPrimary" - app:theme="@style/ThemeOverlay.AppCompat.Dark.ActionBar" /> - - <LinearLayout - android:id="@+id/main_layout" - android:layout_width="match_parent" - android:layout_height="match_parent" - android:layout_margin="15dp" - android:gravity="center_vertical|center_horizontal" - android:orientation="vertical"> - - <TextView - android:layout_width="wrap_content" - android:layout_height="wrap_content" - android:text="@string/message_oauth_text" /> - - <TextView - android:id="@+id/textView_oauth_link" - android:layout_width="wrap_content" - android:layout_height="wrap_content" - android:layout_gravity="center" - android:layout_margin="10dp" - android:autoLink="web" /> + android:text="@string/message_oauth_text" /> - <EditText - android:id="@+id/editText_oauth_pin" - android:layout_width="200sp" - android:layout_height="wrap_content" - android:layout_gravity="center" - android:layout_marginBottom="10dp" - android:layout_marginTop="10dp" - android:hint="@string/message_oauth_hint" - android:inputType="number" - android:maxLength="7" /> + <TextView + android:id="@+id/textView_oauth_link" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:layout_gravity="center" + android:layout_margin="10dp" + android:autoLink="web" /> - <Button - android:id="@+id/button_oauth_auth" - android:layout_width="200dp" - android:layout_height="wrap_content" - android:layout_gravity="center" - android:text="@string/message_oauth_authenticate" /> + <EditText + android:id="@+id/editText_oauth_pin" + android:layout_width="200sp" + android:layout_height="wrap_content" + android:layout_gravity="center" + android:layout_marginBottom="10dp" + android:layout_marginTop="10dp" + android:hint="@string/message_oauth_hint" + android:inputType="number" + android:maxLength="7" /> - </LinearLayout> + <Button + android:id="@+id/button_oauth_auth" + android:layout_width="200dp" + android:layout_height="wrap_content" + android:layout_gravity="center" + android:text="@string/message_oauth_authenticate" /> -</LinearLayout>
\ No newline at end of file +</LinearLayout> |