soonmyeong2

improve design

......@@ -36,10 +36,8 @@ class MainActivity : AppCompatActivity() {
}
textview2.setOnClickListener{
}
textview3.setOnClickListener{
}
emailSignupBtn.setOnClickListener {
......@@ -56,28 +54,18 @@ class MainActivity : AppCompatActivity() {
.addOnCompleteListener(this) {
if (it.isSuccessful) {
// Sign in success, update UI with the signed-in user's information
Toast.makeText(this, "signInWithEmail success.",Toast.LENGTH_SHORT).show()
//Toast.makeText(this, "signInWithEmail success.",Toast.LENGTH_SHORT).show()
val user = firebaseAuth?.currentUser
if (user!=null){
var intent = Intent(this, SignInActivity::class.java)
startActivity(intent)
}
} else {
// If sign in fails, display a message to the user.
Toast.makeText(this, "signInWithEmail failed.",Toast.LENGTH_SHORT).show()
//Toast.makeText(this, "signInWithEmail failed.",Toast.LENGTH_SHORT).show()
}
}
}
}
......
......@@ -97,9 +97,9 @@ class SignInActivity : AppCompatActivity() {
setSupportActionBar(toolbar)
// 2. 툴바 왼쪽 버튼 설정
supportActionBar!!.setDisplayHomeAsUpEnabled(true) // 왼쪽 버튼 사용 여부 true
supportActionBar!!.setHomeAsUpIndicator(R.drawable.return_page) // 왼쪽 버튼 아이콘 설정
supportActionBar!!.setDisplayShowTitleEnabled(false) // 타이틀 안보이게 하기
//supportActionBar!!.setDisplayHomeAsUpEnabled(true) // 왼쪽 버튼 사용 여부 true
//supportActionBar!!.setHomeAsUpIndicator(R.drawable.return_page) // 왼쪽 버튼 아이콘 설정
//supportActionBar!!.setDisplayShowTitleEnabled(false) // 타이틀 안보이게 하기
////bottom navigation view operation start 2
bottomBar=supportActionBar!!
......

386 Bytes | W: | H:

639 Bytes | W: | H:

  • 2-up
  • Swipe
  • Onion skin

386 Bytes | W: | H:

405 Bytes | W: | H:

  • 2-up
  • Swipe
  • Onion skin

386 Bytes | W: | H:

448 Bytes | W: | H:

  • 2-up
  • Swipe
  • Onion skin

386 Bytes | W: | H:

764 Bytes | W: | H:

  • 2-up
  • Swipe
  • Onion skin

386 Bytes | W: | H:

1.12 KB | W: | H:

  • 2-up
  • Swipe
  • Onion skin

386 Bytes | W: | H:

1.5 KB | W: | H:

  • 2-up
  • Swipe
  • Onion skin
......@@ -20,25 +20,19 @@
android:orientation="vertical">
<LinearLayout
android:id="@+id/sagin"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center"
android:gravity="center"
android:orientation="vertical">
<TextView
android:id="@+id/textView6"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="복지야, 안녕!"
android:textSize="15dp" />
<ImageView
android:id="@+id/imageView2"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
tools:srcCompat="@tools:sample/avatars"
android:src="@drawable/final_logo"/>
android:src="@drawable/final_logo1"
tools:srcCompat="@tools:sample/avatars" />
</LinearLayout>
</LinearLayout>
......@@ -62,7 +56,9 @@
android:id="@+id/edit_email"
android:layout_width="350dp"
android:layout_height="wrap_content"
android:drawableLeft="@drawable/profile"
android:drawablePadding="11dp"
android:paddingLeft="5dp"
android:inputType="textEmailAddress"
android:theme="@style/EditTheme" />
......@@ -70,15 +66,18 @@
android:id="@+id/textView5"
android:layout_width="350dp"
android:layout_height="wrap_content"
android:layout_marginTop="10dp"
android:text="비밀번호"
android:textColor="#29ABE2"
android:textSize="13dp" />
<EditText
android:id="@+id/edit_password"
android:drawableLeft="@drawable/lock"
android:layout_width="350dp"
android:layout_height="wrap_content"
android:drawablePadding="11dp"
android:paddingLeft="5dp"
android:inputType="textPassword"
android:theme="@style/EditTheme" />
......
......@@ -58,15 +58,19 @@
<androidx.recyclerview.widget.RecyclerView
android:id="@+id/policyFieldRecyclerView"
android:layout_width="match_parent"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center|center_horizontal"
android:layout_gravity="center_horizontal"
android:layout_marginTop="11dp"
android:layout_marginBottom="11dp"
android:layout_weight="1"
android:background="@drawable/round_ractagle_solid"
android:foregroundGravity="center"
android:paddingLeft="16dp"
android:paddingTop="20dp"
android:paddingRight="16dp"
android:paddingBottom="20dp"
app:layoutManager="androidx.recyclerview.widget.GridLayoutManager"
app:layout_constraintBottom_toBottomOf="@id/bottomNavigation"
app:spanCount="3"
......
......@@ -17,7 +17,7 @@
android:id="@+id/bottomFavorites"
android:enabled="true"
android:icon="@drawable/instagram"
android:title="찜 목록"
android:title="찜목록"
app:showAsAction="ifRoom" />
<item
android:id="@+id/bottomInfo"
......