Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[창현-게시판]로그인화면 변경 #62

Open
lch8609 opened this issue Sep 11, 2017 · 2 comments
Open

[창현-게시판]로그인화면 변경 #62

lch8609 opened this issue Sep 11, 2017 · 2 comments

Comments

@lch8609
Copy link

lch8609 commented Sep 11, 2017

No description provided.

@lch8609
Copy link
Author

lch8609 commented Sep 12, 2017


<LinearLayout
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    android:orientation="vertical"
    android:layout_marginTop="10dp"
    android:layout_marginLeft="16dp"
    android:layout_marginRight="16dp">

    <TextView
        android:id="@+id/tv_loginname"
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:layout_marginLeft="16dp"
        android:layout_marginTop="35dp"
        android:fontFamily="sans-serif"
        android:text="계정 로그인"
        android:textColor="#666666"
        android:textSize="13dp" />

    <EditText
        android:id="@+id/main_et_id"
        android:layout_width="match_parent"
        android:layout_height="45dp"
        android:layout_marginTop="10dp"
        android:background="@null"
        android:ems="10"
        android:inputType="textPersonName"
        android:paddingLeft="16dp"
        android:singleLine="true"
        android:text="이창현"
        android:textColor="#000000"
        android:textSize="17dp" />

    <EditText
        android:id="@+id/main_et_pw"
        android:layout_width="match_parent"
        android:layout_height="45dp"
        android:background="@null"
        android:ems="10"
        android:inputType="textPassword"
        android:paddingLeft="16dp"
        android:singleLine="true"
        android:text="abcdefg"
        android:textColor="#000000"
        android:textSize="17dp" />


    <Button
        android:id="@+id/main_btn_login"
        android:layout_width="match_parent"
        style="?android:textAppearanceSmall"
        android:layout_height="45dp"
        android:layout_below="@+id/main_et_pw"
        android:layout_centerHorizontal="true"
        android:layout_marginTop="10dp"
        android:textColor="#ffffff"
        android:textSize="17dp"
        android:background="#2196F3"
        android:text="로그인" />
</LinearLayout>

테두리만드는것을 못하겠습니다 @kishe89

@lch8609
Copy link
Author

lch8609 commented Sep 12, 2017


<LinearLayout
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    android:orientation="vertical"
    android:layout_marginTop="10dp"
    android:layout_marginLeft="16dp"
    android:layout_marginRight="16dp"
    >

    <TextView
        android:id="@+id/tv_loginname"
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:layout_marginLeft="16dp"
        android:layout_marginTop="35dp"
        android:fontFamily="sans-serif"
        android:text="계정 로그인"
        android:textColor="#666666"
        android:textSize="13dp" />

    <LinearLayout
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:background="@drawable/unfocused_edit"
        android:orientation="vertical">

        <EditText
            android:id="@+id/main_et_id"
            android:layout_width="match_parent"
            android:layout_height="45dp"
            android:layout_marginTop="10dp"
            android:background="@null"
            android:ems="10"
            android:hint="아이디를 입력하세요"
            android:inputType="textPersonName"
            android:paddingLeft="16dp"
            android:singleLine="true"
            android:text="이창현"
            android:textColor="#000000"
            android:textSize="17dp" />
        <LinearLayout
            android:layout_width="match_parent"
            android:layout_height="1dp"
            android:background="#ceced2"></LinearLayout>

        <EditText
            android:id="@+id/main_et_pw"
            android:layout_width="match_parent"
            android:layout_height="45dp"
            android:background="@null"
            android:ems="10"
            android:hint="비밀번호를 입력하세요"
            android:inputType="textPassword"
            android:paddingLeft="16dp"
            android:singleLine="true"
            android:text="abcdefg"
            android:textColor="#000000"
            android:textSize="17dp" />
    </LinearLayout>
    <LinearLayout
        android:layout_width="match_parent"
        android:layout_height="45dp"
        android:layout_marginTop="10dp"
        android:background="@drawable/background_border_search">
        <Button
            android:id="@+id/main_btn_login"
            style="?android:textAppearanceSmall"
            android:layout_width="match_parent"
            android:layout_height="45dp"
            android:background="@color/app_main_color"
            android:layout_below="@+id/main_et_pw"
            android:textColor="#ffffff"
            android:textSize="17dp"
            android:text="로그인" />
    </LinearLayout>

</LinearLayout>

로그인버튼에 백그라운드 색상을 변경하면 모서리 라운드처리가 안되고 저걸 없애면 라운드처리가 되는거같은데 왜그러는지 모르겠습니다.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants