Commit 019f8d3f authored by Luboš Horáček's avatar Luboš Horáček

#331 Oprava layouttu přihlašovací obrazovky

parent d2c080ed
......@@ -26,9 +26,7 @@
<cz.nic.tablexia.newusers.fragment.newuser.SignatureView
android:id="@+id/newuser_signature"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_centerInParent="true"
android:layout_margin="20dp" />
android:layout_height="match_parent" />
<TextView
android:id="@+id/newuser_signature_message"
......@@ -42,8 +40,7 @@
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="bottom|center"
android:orientation="horizontal"
android:paddingBottom="@dimen/tablexiadialog_paddinbottom" >
android:orientation="horizontal" >
<TextView
android:id="@+id/tablexiadialog_button_negative"
......@@ -54,8 +51,7 @@
android:text=""
android:textColor="@color/black"
android:textSize="@dimen/tablexiadialog_button_textsize"
android:textStyle="bold"
android:translationY="@dimen/tablexiadialog_button_translationY" />
android:textStyle="bold" />
<TextView
android:id="@+id/tablexiadialog_button_positive"
......@@ -67,8 +63,7 @@
android:text=""
android:textColor="@color/black"
android:textSize="@dimen/tablexiadialog_button_textsize"
android:textStyle="bold"
android:translationY="@dimen/tablexiadialog_button_translationY" />
android:textStyle="bold" />
</LinearLayout>
</FrameLayout>
\ No newline at end of file
......@@ -16,20 +16,11 @@
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
-->
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
<ImageView xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:clickable="false" >
<ImageView
android:layout_width="@dimen/usermenu_help_width"
android:layout_height="wrap_content"
android:layout_gravity="center_vertical"
android:layout_marginLeft="@dimen/mainmenu_width"
android:paddingLeft="@dimen/usermenu_help_paddingleft"
android:adjustViewBounds="true"
android:contentDescription="@string/usermenu_help"
android:scaleType="fitStart"
android:src="@drawable/usermenu_help" />
</FrameLayout>
android:layout_gravity="center_vertical"
android:layout_marginLeft="@dimen/mainmenu_width"
android:contentDescription="@string/usermenu_help"
android:scaleType="centerInside"
android:src="@drawable/usermenu_help" />
......@@ -367,7 +367,7 @@ public class Tablexia extends com.activeandroid.app.Application {
}
private void showUserMenuHelp() {
final FrameLayout userMenuHelp = (FrameLayout) getCurrentMenuActivity().findViewById(R.id.usermenu_help);
final View userMenuHelp = getCurrentMenuActivity().findViewById(R.id.usermenu_help);
userMenuHelp.post(new Runnable() {
@Override
......
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