Android 登录按钮的设计

Android 登录按钮的设计,android,eclipse,button,Android,Eclipse,Button,此图显示一个sing-in或sign-up按钮,其上方是一个skip按钮。如何创建这些按钮 每当我尝试创建一个按钮,比如“注册”按钮作为“填充父宽度”,它不会一直提交到屏幕的末尾,而是会停止 对不起,这是个初学者的问题。我一直在网上搜索解决方案,但未能找到与我的问题相关的解决方案。请尝试我的以下代码: 截图: 我做到了-1 bcoz您的代码不会在屏幕末尾显示SKIP@center.OP want的按钮,而不是透明或@null的按钮。 <RelativeLayout and

此图显示一个sing-in或sign-up按钮,其上方是一个skip按钮。如何创建这些按钮

每当我尝试创建一个按钮,比如“注册”按钮作为“填充父宽度”,它不会一直提交到屏幕的末尾,而是会停止

对不起,这是个初学者的问题。我一直在网上搜索解决方案,但未能找到与我的问题相关的解决方案。

请尝试我的以下代码:


截图:


我做到了-1 bcoz您的代码不会在屏幕末尾显示SKIP@center.OP want的按钮,而不是透明或@null的按钮。
<RelativeLayout
    android:id="@+id/login_relLayoutCenter"
    android:layout_width="fill_parent"
    android:layout_height="wrap_content"
    android:layout_centerInParent="true" >

    <Button
        android:id="@+id/skip"
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:background="@android:color/transparent"
        android:text="Skip"
        android:textColor="#ffffff"
        android:layout_centerHorizontal="true"
        android:layout_marginLeft="30dp"
        android:layout_marginRight="30dp"
        android:layout_marginTop="250dp"
        android:textStyle="bold"
        android:textSize="18sp" />

    <Button
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:background="@android:color/transparent"
        android:text="Sign up or Sign in"
        android:textColor="#ffffff"
        android:layout_below="@+id/skip"
        android:layout_centerHorizontal="true"
        android:layout_marginLeft="30dp"
        android:layout_marginRight="30dp"
        android:layout_marginTop="30dp"
        android:textStyle="bold"
        android:textSize="18sp" />





</RelativeLayout>