Commit 3cfa1754 authored by Matheus Horstmann's avatar Matheus Horstmann 🐴
Browse files

Issue AGILE#155: Done layout


Signed-off-by: Matheus Horstmann's avatarMatheus Horstmann <mch15@inf.ufpr.br>
parent ce512ac3
......@@ -3,6 +3,10 @@ package br.ufpr.c3sl.agendador.agendador;
import android.os.Bundle;
import android.os.PersistableBundle;
import android.support.v7.app.AppCompatActivity;
import android.widget.Button;
import android.widget.EditText;
import android.widget.ProgressBar;
import android.widget.TextView;
import br.ufpr.c3sl.agendador.agendador.presenters.ForgotPasswordPresenter;
import br.ufpr.c3sl.agendador.agendador.views.ForgotPasswordView;
......@@ -11,9 +15,16 @@ import br.ufpr.c3sl.agendador.agendador.views.ForgotPasswordView;
* Created by Horstmann on 23/02/17.
*/
public class ForgotPasswordActivity extends AppCompatActivity implements ForgotPasswordView {
private ForgotPasswordPresenter presenter;
private Button btn_send;
private EditText et_cpf;
private TextView tv_cpf, tv_cpf_warning;
private ProgressBar pb_waiting;
@Override
public void onCreate(Bundle savedInstanceState, PersistableBundle persistentState) {
super.onCreate(savedInstanceState);
......@@ -22,6 +33,12 @@ public class ForgotPasswordActivity extends AppCompatActivity implements ForgotP
} else {
presenter = PresenterManager.getInstance().restorePresenter(savedInstanceState);
}
setContentView(R.layout.activity_login);
tv_cpf = (TextView) findViewById(R.id.tv_forgot_password_cpf);
tv_cpf_warning = (TextView) findViewById(R.id.tv_forgot_password_invalid_cpf);
}
......
......@@ -53,7 +53,7 @@
android:background="@drawable/white_container_shape">
<TextView
android:id="@+id/tv_forgot_password_name"
android:id="@+id/tv_forgot_password_cpf"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/CPF"
......@@ -65,11 +65,10 @@
<EditText
android:id="@+id/et_signup_name"
android:id="@+id/et_forgot_password_cpf"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_gravity="center"
android:inputType="textCapWords"
android:textSize="16sp"/>
</LinearLayout>
......@@ -77,7 +76,7 @@
<Button
android:layout_width="100dp"
android:layout_height="50dp"
android:id="@+id/btn_lforgot_passwordact_send"
android:id="@+id/btn_forgot_passwordact_send"
android:layout_marginTop="30dp"
android:textColor="@color/colorBlack"
android:background="@drawable/green_button_shape"
......@@ -91,7 +90,7 @@
<ProgressBar
android:layout_width="80dp"
android:layout_height="80dp"
android:id="@+id/pb_cepact"
android:id="@+id/pb_forgot_paswordact"
android:layout_centerHorizontal="true"
android:indeterminate="true"
android:indeterminateTintMode="src_atop"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment