icons changed

This commit is contained in:
cimenmus
2017-10-31 21:33:32 +03:00
parent 6491c37fc9
commit 752d5d87ea
19 changed files with 31 additions and 36 deletions

View File

@@ -21,9 +21,6 @@
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
<activity
android:name=".activity.WelcomeActivity"
android:screenOrientation="portrait" />
<activity
android:name=".activity.LoginActivity"
android:screenOrientation="portrait" />

View File

@@ -81,13 +81,13 @@ public class LoginActivity extends BaseActivity {
private void initRegisterTextView(){
Spannable wordtoSpan = new SpannableString(notHaveAnAccountText + " " + registerText);
wordtoSpan.setSpan(new ForegroundColorSpan(Color.RED), 16, wordtoSpan.length(), Spannable.SPAN_EXCLUSIVE_EXCLUSIVE);
wordtoSpan.setSpan(new ForegroundColorSpan(Color.RED), 23, wordtoSpan.length(), Spannable.SPAN_EXCLUSIVE_EXCLUSIVE);
registerTextView.setText(wordtoSpan);
}
private void initForgotPasswordTextView(){
Spannable wordtoSpan = new SpannableString(forgotPasswordHintText + " " + resetPasswordText);
wordtoSpan.setSpan(new ForegroundColorSpan(Color.RED), 20, wordtoSpan.length(), Spannable.SPAN_EXCLUSIVE_EXCLUSIVE);
wordtoSpan.setSpan(new ForegroundColorSpan(Color.RED), 35, wordtoSpan.length(), Spannable.SPAN_EXCLUSIVE_EXCLUSIVE);
forgotPasswordTextView.setText(wordtoSpan);
}

View File

@@ -1,16 +0,0 @@
package ch.pizzalink.android.activity;
import android.os.Bundle;
import butterknife.ButterKnife;
import ch.pizzalink.android.R;
public class WelcomeActivity extends BaseActivity {
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_welcome);
ButterKnife.bind(this);
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 21 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 43 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.1 KiB

View File

@@ -25,10 +25,11 @@
<RelativeLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_above="@+id/loginLayout">
android:layout_above="@+id/loginLayout"
android:layout_alignParentTop="true">
<ImageView
android:layout_width="180dp"
android:layout_width="120dp"
android:layout_height="wrap_content"
android:adjustViewBounds="true"
android:scaleType="fitXY"
@@ -43,7 +44,8 @@
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical"
android:layout_centerInParent="true">
android:layout_centerInParent="true"
android:layout_above="@+id/loginBottomLayout">
<ch.pizzalink.android.view.PizzalinkEditText
android:id="@+id/emailPizzalinkEditText"
@@ -72,12 +74,22 @@
android:text="@string/button_login"
style="@style/PizzalinkButton" />
</LinearLayout>
<LinearLayout
android:id="@+id/loginBottomLayout"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical"
android:layout_alignParentBottom="true">
<TextView
android:id="@+id/forgotPasswordTextView"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/register_text"
android:layout_gravity="center_horizontal"
android:gravity="center_horizontal"
android:textColor="@color/black"
android:padding="24dp" />
@@ -87,6 +99,7 @@
android:layout_height="wrap_content"
android:text="@string/register_text"
android:layout_gravity="center_horizontal"
android:gravity="center_horizontal"
android:textColor="@color/black"
android:paddingBottom="24dp"
android:paddingLeft="24dp"
@@ -94,6 +107,7 @@
android:paddingRight="24dp"
android:paddingEnd="24dp" />
</LinearLayout>
</RelativeLayout>

View File

@@ -15,7 +15,7 @@
android:scaleType="fitXY"
android:layout_centerInParent="true"
android:text="Hello World!"
android:layout_margin="24dp"
android:layout_margin="64dp"
android:src="@drawable/pizzalink_logo"/>
</RelativeLayout>

View File

@@ -1,9 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<android.support.constraint.ConstraintLayout 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"
android:layout_width="match_parent"
android:layout_height="match_parent"
tools:context="ch.pizzalink.android.activity.WelcomeActivity">
</android.support.constraint.ConstraintLayout>

View File

@@ -54,6 +54,15 @@
fontPath="fonts/AvenirNextLTProDemi.otf"
android:visibility="gone"/>
<ImageView
android:layout_width="?attr/actionBarSize"
android:layout_height="?attr/actionBarSize"
android:layout_alignParentRight="true"
android:layout_alignParentEnd="true"
android:padding="12dp"
android:layout_centerVertical="true"
android:src="@drawable/pizzalink_logo" />
</RelativeLayout>
<RelativeLayout

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.3 KiB

After

Width:  |  Height:  |  Size: 16 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.2 KiB

After

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.7 KiB

After

Width:  |  Height:  |  Size: 21 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.5 KiB

After

Width:  |  Height:  |  Size: 42 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 10 KiB

After

Width:  |  Height:  |  Size: 101 KiB

View File

@@ -39,9 +39,9 @@
    <string name="activity_title_login">Einloggen</string>
    <string name="button_login">EINLOGGEN</string>
    <string name="not_have_an_accaount">Sie haben kein Konto?</string>
    <string name="register_text">REGISTRIEREN</string>
    <string name="register_text"><b><u>\nREGISTRIEREN</u></b></string>
    <string name="forgot_password_hint">Haben Sie Ihr Passwort vergessen?</string>
    <string name="reset_password">PASSWORT ZURÜCKSETZEN</string>
    <string name="reset_password"><b><u>\nPASSWORT ZURÜCKSETZEN</u></b></string>
    <!-- LoginActivity-->
    <!-- şifremi unuttum ekranı -->