Skip to content
Snippets Groups Projects
Commit 3d624b12 authored by Jinhak Wee's avatar Jinhak Wee
Browse files

model,ui 추가, layout 추가

parent 6f78e09d
No related branches found
No related tags found
No related merge requests found
package com.cc.wee.opensource_projectapp.model
/**
* Created by wee on 2018. 4. 13..
*/
class ChatModel {
}
\ No newline at end of file
package com.cc.wee.opensource_projectapp.model
/**
* Created by wee on 2018. 4. 13..
*/
interface OnDataChanged {
}
\ No newline at end of file
package com.cc.wee.opensource_projectapp.model
/**
* Created by wee on 2018. 4. 13..
*/
interface OnUploadImage {
}
\ No newline at end of file
package com.cc.wee.opensource_projectapp.model
/**
* Created by wee on 2018. 4. 13..
*/
class UserModel {
}
\ No newline at end of file
package com.cc.wee.opensource_projectapp.ui
/**
* Created by wee on 2018. 4. 13..
*/
class LoginActivity {
}
\ No newline at end of file
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/layout"
android:layout_width="match_parent"
android:layout_height="match_parent">
<ProgressBar
android:id="@+id/progress_bar"
android:visibility="invisible"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentBottom="true"
android:layout_centerHorizontal="true"
android:layout_marginBottom="20dp" />
<android.support.design.widget.TextInputLayout
android:id="@+id/email_edit_layout"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_centerInParent="true">
<EditText
android:id="@+id/email_edit"
android:layout_width="250dp"
android:layout_height="wrap_content"
android:hint="email"
android:inputType="textEmailAddress"
android:text="test@gmail.com" />
</android.support.design.widget.TextInputLayout>
<android.support.design.widget.TextInputLayout
android:id="@+id/password_edit_layout"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_below="@id/email_edit_layout"
android:layout_centerInParent="true"
android:hint="password">
<EditText
android:id="@+id/password_edit"
android:layout_width="250dp"
android:layout_height="wrap_content"
android:text="123456"
android:inputType="textPassword" />
</android.support.design.widget.TextInputLayout>
<Button
android:id="@+id/login_button"
style="@style/Base.Widget.AppCompat.Button.Colored"
android:layout_width="250dp"
android:layout_height="wrap_content"
android:layout_below="@id/password_edit_layout"
android:layout_centerInParent="true"
android:text="Login" />
<com.google.android.gms.common.SignInButton
android:id="@+id/google_login_button"
android:layout_width="250dp"
android:layout_height="wrap_content"
android:layout_below="@id/login_button"
android:layout_centerInParent="true" />
</RelativeLayout>
\ No newline at end of file
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<android.support.constraint.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android" <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools" xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="match_parent" android:layout_height="match_parent"
tools:context="com.cc.wee.opensource_projectapp.ui.MainActivity"> tools:context="cc.foxtail.firebaseapp.ui.MainActivity">
<TextView
<LinearLayout
android:id="@+id/linearLayout"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_alignParentBottom="true"
android:layout_alignParentStart="true"
android:background="#ffffff"
android:weightSum="1">
<android.support.design.widget.TextInputLayout
android:id="@+id/password_edit_layout"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_weight="1"
android:hint="Message">
<EditText
android:id="@+id/chat_edit"
android:layout_width="250dp"
android:layout_height="wrap_content"
/>
</android.support.design.widget.TextInputLayout>
<Button
android:id="@+id/chat_button"
style="@style/Base.Widget.AppCompat.Button.Colored"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:text="Hello World!" android:text="Send" />
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintLeft_toLeftOf="parent" <Button
app:layout_constraintRight_toRightOf="parent" android:id="@+id/photo_button"
app:layout_constraintTop_toTopOf="parent" /> style="@style/Base.Widget.AppCompat.Button.Colored"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="Photo" />
</LinearLayout>
<android.support.v7.widget.RecyclerView
android:id="@+id/recycler_view"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_above="@id/linearLayout"
android:layout_alignParentStart="true" />
</android.support.constraint.ConstraintLayout> </RelativeLayout>
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical">
<ImageView
android:id="@+id/chat_image_view"
android:layout_gravity="center"
android:layout_width="200dp"
android:layout_height="200dp" />
<TextView
android:id="@+id/chat_text_view"
style="@style/TextAppearance.AppCompat.Large"
android:layout_width="match_parent"
android:layout_height="wrap_content" />
</LinearLayout>
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment