Skip to content

Commit

Permalink
fix layout passcode_activity
Browse files Browse the repository at this point in the history
  • Loading branch information
AlessandroLazzari committed Feb 2, 2015
1 parent e6037dd commit 37d6aac
Show file tree
Hide file tree
Showing 2 changed files with 126 additions and 122 deletions.
126 changes: 65 additions & 61 deletions res/layout-land/passcode_activity.xml
Original file line number Diff line number Diff line change
@@ -1,39 +1,39 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright (C) 2012 The Android Money Manager Ex Project
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-->
~ Copyright (C) 2012-2014 Alessandro Lazzari
~
~ This program is free software; you can redistribute it and/or
~ modify it under the terms of the GNU General Public License
~ as published by the Free Software Foundation; either version 2
~ of the License, or (at your option) any later version.
~
~ This program is distributed in the hope that it will be useful,
~ but WITHOUT ANY WARRANTY; without even the implied warranty of
~ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
~ GNU General Public License for more details.
~
~ You should have received a copy of the GNU General Public License
~ along with this program; if not, write to the Free Software
~ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-->
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="horizontal" >
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="horizontal">

<LinearLayout
android:id="@+id/linearLayoutInfo"
android:layout_width="0dp"
android:layout_height="match_parent"
android:layout_weight="1"
android:gravity="center"
android:orientation="vertical" >
android:orientation="vertical">

<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_gravity="center"
android:orientation="vertical" >
android:orientation="vertical">

<com.money.manager.ex.view.RobotoTextView
android:id="@+id/textViewMessage"
Expand All @@ -42,76 +42,80 @@
android:layout_gravity="center_vertical|center_horizontal"
android:layout_margin="5dp"
android:text="Message"
android:textSize="@dimen/money_text_view_size_medium" />
android:textSize="@dimen/money_text_view_size_medium"/>

<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_below="@id/linearLayoutInfo"
android:layout_marginTop="5dp"
android:gravity="center"
android:orientation="horizontal" >
android:orientation="horizontal">

<com.money.manager.ex.view.RobotoEditText
android:id="@+id/editTextPasscode1"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_margin="5dp"
android:layout_weight="1"
android:editable="false"
android:gravity="center"
android:inputType="textPassword"
android:singleLine="true"
android:textSize="@dimen/money_text_view_size_medium"
android:textStyle="bold"
android:layout_weight="1"/>
android:textStyle="bold"/>

<com.money.manager.ex.view.RobotoEditText
android:id="@+id/editTextPasscode2"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_margin="5dp"
android:layout_weight="1"
android:editable="false"
android:gravity="center"
android:inputType="textPassword"
android:singleLine="true"
android:textSize="@dimen/money_text_view_size_medium"
android:textStyle="bold" android:layout_weight="1"/>
android:textStyle="bold"/>

<com.money.manager.ex.view.RobotoEditText
android:id="@+id/editTextPasscode3"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_margin="5dp"
android:layout_weight="1"
android:editable="false"
android:gravity="center"
android:inputType="textPassword"
android:singleLine="true"
android:textSize="@dimen/money_text_view_size_medium"
android:textStyle="bold" android:layout_weight="1"/>
android:textStyle="bold"/>

<com.money.manager.ex.view.RobotoEditText
android:id="@+id/editTextPasscode4"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_margin="5dp"
android:layout_weight="1"
android:editable="false"
android:gravity="center"
android:inputType="textPassword"
android:singleLine="true"
android:textSize="@dimen/money_text_view_size_medium"
android:textStyle="bold" android:layout_weight="1"/>
android:textStyle="bold"/>

<com.money.manager.ex.view.RobotoEditText
android:id="@+id/editTextPasscode5"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_margin="5dp"
android:layout_weight="1"
android:editable="false"
android:gravity="center"
android:inputType="textPassword"
android:singleLine="true"
android:textSize="@dimen/money_text_view_size_medium"
android:textStyle="bold" android:layout_weight="1"/>
android:textStyle="bold"/>
</LinearLayout>
</LinearLayout>
</LinearLayout>
Expand All @@ -121,151 +125,151 @@
android:layout_height="match_parent"
android:layout_weight="1"
android:gravity="center"
android:orientation="vertical" >
android:orientation="vertical">

<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="horizontal" >
android:layout_height="48dp"
android:orientation="horizontal">

<ImageButton
android:id="@+id/buttonPasscode1"
style="@style/Money.Button"
android:layout_width="0dip"
android:layout_height="wrap_content"
android:layout_height="match_parent"
android:layout_weight="1"
android:src="@drawable/sym_keyboard_num1"
android:tag="1"
android:textSize="@dimen/money_text_view_size_medium"
android:textStyle="bold" />
android:textStyle="bold"/>

<ImageButton
android:id="@+id/buttonPasscode2"
style="@style/Money.Button"
android:layout_width="0dip"
android:layout_height="wrap_content"
android:layout_height="match_parent"
android:layout_weight="1"
android:src="@drawable/sym_keyboard_num2"
android:tag="2"
android:textSize="@dimen/money_text_view_size_medium"
android:textStyle="bold" />
android:textStyle="bold"/>

<ImageButton
android:id="@+id/buttonPasscode3"
style="@style/Money.Button"
android:layout_width="0dip"
android:layout_height="wrap_content"
android:layout_height="match_parent"
android:layout_weight="1"
android:src="@drawable/sym_keyboard_num3"
android:tag="3"
android:textSize="@dimen/money_text_view_size_medium"
android:textStyle="bold" />
android:textStyle="bold"/>
</LinearLayout>

<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="horizontal" >
android:layout_height="48dp"
android:orientation="horizontal">

<ImageButton
android:id="@+id/buttonPasscode4"
style="@style/Money.Button"
android:layout_width="0dip"
android:layout_height="wrap_content"
android:layout_height="match_parent"
android:layout_weight="1"
android:src="@drawable/sym_keyboard_num4"
android:tag="4"
android:textSize="@dimen/money_text_view_size_medium"
android:textStyle="bold" />
android:textStyle="bold"/>

<ImageButton
android:id="@+id/buttonPasscode5"
style="@style/Money.Button"
android:layout_width="0dip"
android:layout_height="wrap_content"
android:layout_height="match_parent"
android:layout_weight="1"
android:src="@drawable/sym_keyboard_num5"
android:tag="5"
android:textSize="@dimen/money_text_view_size_medium"
android:textStyle="bold" />
android:textStyle="bold"/>

<ImageButton
android:id="@+id/buttonPasscode6"
style="@style/Money.Button"
android:layout_width="0dip"
android:layout_height="wrap_content"
android:layout_height="match_parent"
android:layout_weight="1"
android:src="@drawable/sym_keyboard_num6"
android:tag="6"
android:textSize="@dimen/money_text_view_size_medium"
android:textStyle="bold" />
android:textStyle="bold"/>
</LinearLayout>

<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="horizontal" >
android:layout_height="48dp"
android:orientation="horizontal">

<ImageButton
android:id="@+id/buttonPasscode7"
style="@style/Money.Button"
android:layout_width="0dip"
android:layout_height="wrap_content"
android:layout_height="match_parent"
android:layout_weight="1"
android:src="@drawable/sym_keyboard_num7"
android:tag="7"
android:textSize="@dimen/money_text_view_size_medium"
android:textStyle="bold" />
android:textStyle="bold"/>

<ImageButton
android:id="@+id/buttonPasscode8"
style="@style/Money.Button"
android:layout_width="0dip"
android:layout_height="wrap_content"
android:layout_height="match_parent"
android:layout_weight="1"
android:src="@drawable/sym_keyboard_num8"
android:tag="8"
android:textSize="@dimen/money_text_view_size_medium"
android:textStyle="bold" />
android:textStyle="bold"/>

<ImageButton
android:id="@+id/buttonPasscode9"
style="@style/Money.Button"
android:layout_width="0dip"
android:layout_height="wrap_content"
android:layout_height="match_parent"
android:layout_weight="1"
android:src="@drawable/sym_keyboard_num9"
android:tag="9"
android:textSize="@dimen/money_text_view_size_medium"
android:textStyle="bold" />
android:textStyle="bold"/>
</LinearLayout>

<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="horizontal" >
android:layout_height="48dp"
android:orientation="horizontal">

<com.money.manager.ex.view.RobotoButton
style="@style/Money.Button"
android:layout_width="0dip"
android:layout_height="wrap_content"
android:layout_height="match_parent"
android:layout_weight="1"
android:enabled="false"
android:tag=" "
android:textSize="@dimen/money_text_view_size_medium"
android:textStyle="bold"
android:visibility="invisible" />
android:visibility="invisible"/>

<ImageButton
android:id="@+id/buttonPasscode0"
style="@style/Money.Button"
android:layout_width="0dip"
android:layout_height="wrap_content"
android:layout_height="match_parent"
android:layout_weight="1"
android:src="@drawable/sym_keyboard_num0_no_plus"
android:tag="0"
android:textSize="@dimen/money_text_view_size_medium"
android:textStyle="bold" />
android:textStyle="bold"/>

<ImageButton
android:id="@+id/buttonPasscodeKeyBack"
Expand All @@ -276,7 +280,7 @@
android:src="@drawable/sym_keyboard_delete"
android:tag="DEL"
android:textSize="@dimen/money_text_view_size_medium"
android:textStyle="bold" />
android:textStyle="bold"/>
</LinearLayout>
</LinearLayout>

Expand Down
Loading

0 comments on commit 37d6aac

Please sign in to comment.