forked from github/wulkanowy-mirror
Add login activity
This commit is contained in:
parent
7be671d81e
commit
4950d71cad
@ -18,7 +18,9 @@
|
||||
<category android:name="android.intent.category.LAUNCHER" />
|
||||
</intent-filter>
|
||||
</activity>
|
||||
<activity android:name=".activity.main.MainActivity">
|
||||
<activity
|
||||
android:name=".activity.main.MainActivity"
|
||||
android:label="@string/login_title">
|
||||
</activity>
|
||||
</application>
|
||||
|
||||
|
@ -4,6 +4,70 @@
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
tools:context="leszcz_team.wulkanowy.activity.main.MainActivity">
|
||||
tools:context="leszcz_team.wulkanowy.activity.main.MainActivity"
|
||||
tools:layout_editor_absoluteY="81dp"
|
||||
tools:layout_editor_absoluteX="0dp">
|
||||
|
||||
<TextView
|
||||
android:id="@+id/textView2"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginBottom="426dp"
|
||||
android:text="@string/app_name"
|
||||
android:textSize="40dp"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
app:layout_constraintLeft_toLeftOf="parent"
|
||||
app:layout_constraintRight_toRightOf="parent"
|
||||
tools:layout_constraintBottom_creator="1"
|
||||
tools:layout_constraintLeft_creator="1"
|
||||
tools:layout_constraintRight_creator="1" />
|
||||
|
||||
<EditText
|
||||
android:id="@+id/passwordText"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:ems="10"
|
||||
android:inputType="textPassword"
|
||||
android:hint="@string/pass_hint"
|
||||
app:layout_constraintLeft_toLeftOf="parent"
|
||||
app:layout_constraintRight_toRightOf="parent"
|
||||
app:layout_constraintTop_toTopOf="parent"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
app:layout_constraintHorizontal_bias="0.502"
|
||||
tools:layout_constraintTop_creator="1"
|
||||
tools:layout_constraintRight_creator="1"
|
||||
tools:layout_constraintBottom_creator="1"
|
||||
app:layout_constraintVertical_chainStyle="spread_inside"
|
||||
tools:layout_constraintLeft_creator="1" />
|
||||
|
||||
<EditText
|
||||
android:id="@+id/emailText"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:ems="10"
|
||||
android:inputType="textEmailAddress"
|
||||
android:hint="@string/email_hint"
|
||||
app:layout_constraintVertical_chainStyle="spread_inside"
|
||||
app:layout_constraintLeft_toLeftOf="parent"
|
||||
app:layout_constraintRight_toRightOf="parent"
|
||||
app:layout_constraintHorizontal_bias="0.502"
|
||||
tools:layout_constraintRight_creator="1"
|
||||
tools:layout_constraintBottom_creator="1"
|
||||
app:layout_constraintBottom_toTopOf="@+id/passwordText"
|
||||
tools:layout_constraintLeft_creator="1"
|
||||
android:layout_marginBottom="45dp" />
|
||||
|
||||
<Button
|
||||
android:id="@+id/agreeButton"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="@string/login_button"
|
||||
app:layout_constraintLeft_toLeftOf="parent"
|
||||
app:layout_constraintRight_toRightOf="parent"
|
||||
tools:layout_constraintTop_creator="1"
|
||||
tools:layout_constraintRight_creator="1"
|
||||
android:layout_marginTop="58dp"
|
||||
app:layout_constraintTop_toBottomOf="@+id/passwordText"
|
||||
tools:layout_constraintLeft_creator="1" />
|
||||
|
||||
</android.support.constraint.ConstraintLayout>
|
||||
|
@ -2,4 +2,8 @@
|
||||
<resources>
|
||||
<string name="app_name">Wulkanowy</string>
|
||||
<string name="under_logo">Surowa wersja</string>
|
||||
<string name="login_title">Logowanie</string>
|
||||
<string name="pass_hint">Hasło</string>
|
||||
<string name="email_hint">E-mail</string>
|
||||
<string name="login_button">Zaloguj</string>
|
||||
</resources>
|
@ -1,4 +1,8 @@
|
||||
<resources>
|
||||
<string name="app_name">Wulkanowy</string>
|
||||
<string name="under_logo">Raw version</string>
|
||||
<string name="login_title">Login</string>
|
||||
<string name="pass_hint">Password</string>
|
||||
<string name="email_hint">E-mail</string>
|
||||
<string name="login_button">Log in</string>
|
||||
</resources>
|
||||
|
Loading…
Reference in New Issue
Block a user