icons changed
@@ -21,9 +21,6 @@
|
|||||||
<category android:name="android.intent.category.LAUNCHER" />
|
<category android:name="android.intent.category.LAUNCHER" />
|
||||||
</intent-filter>
|
</intent-filter>
|
||||||
</activity>
|
</activity>
|
||||||
<activity
|
|
||||||
android:name=".activity.WelcomeActivity"
|
|
||||||
android:screenOrientation="portrait" />
|
|
||||||
<activity
|
<activity
|
||||||
android:name=".activity.LoginActivity"
|
android:name=".activity.LoginActivity"
|
||||||
android:screenOrientation="portrait" />
|
android:screenOrientation="portrait" />
|
||||||
|
|||||||
@@ -81,13 +81,13 @@ public class LoginActivity extends BaseActivity {
|
|||||||
|
|
||||||
private void initRegisterTextView(){
|
private void initRegisterTextView(){
|
||||||
Spannable wordtoSpan = new SpannableString(notHaveAnAccountText + " " + registerText);
|
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);
|
registerTextView.setText(wordtoSpan);
|
||||||
}
|
}
|
||||||
|
|
||||||
private void initForgotPasswordTextView(){
|
private void initForgotPasswordTextView(){
|
||||||
Spannable wordtoSpan = new SpannableString(forgotPasswordHintText + " " + resetPasswordText);
|
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);
|
forgotPasswordTextView.setText(wordtoSpan);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -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);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
BIN
app/src/main/res/drawable-hdpi/pizzalink_logo.png
Normal file
|
After Width: | Height: | Size: 8.9 KiB |
BIN
app/src/main/res/drawable-mdpi/pizzalink_logo.png
Normal file
|
After Width: | Height: | Size: 7.3 KiB |
BIN
app/src/main/res/drawable-xhdpi/pizzalink_logo.png
Normal file
|
After Width: | Height: | Size: 11 KiB |
BIN
app/src/main/res/drawable-xxhdpi/pizzalink_logo.png
Normal file
|
After Width: | Height: | Size: 21 KiB |
BIN
app/src/main/res/drawable-xxxhdpi/pizzalink_logo.png
Normal file
|
After Width: | Height: | Size: 43 KiB |
|
Before Width: | Height: | Size: 7.1 KiB |
@@ -25,10 +25,11 @@
|
|||||||
<RelativeLayout
|
<RelativeLayout
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="match_parent"
|
android:layout_height="match_parent"
|
||||||
android:layout_above="@+id/loginLayout">
|
android:layout_above="@+id/loginLayout"
|
||||||
|
android:layout_alignParentTop="true">
|
||||||
|
|
||||||
<ImageView
|
<ImageView
|
||||||
android:layout_width="180dp"
|
android:layout_width="120dp"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:adjustViewBounds="true"
|
android:adjustViewBounds="true"
|
||||||
android:scaleType="fitXY"
|
android:scaleType="fitXY"
|
||||||
@@ -43,7 +44,8 @@
|
|||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:orientation="vertical"
|
android:orientation="vertical"
|
||||||
android:layout_centerInParent="true">
|
android:layout_centerInParent="true"
|
||||||
|
android:layout_above="@+id/loginBottomLayout">
|
||||||
|
|
||||||
<ch.pizzalink.android.view.PizzalinkEditText
|
<ch.pizzalink.android.view.PizzalinkEditText
|
||||||
android:id="@+id/emailPizzalinkEditText"
|
android:id="@+id/emailPizzalinkEditText"
|
||||||
@@ -72,12 +74,22 @@
|
|||||||
android:text="@string/button_login"
|
android:text="@string/button_login"
|
||||||
style="@style/PizzalinkButton" />
|
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
|
<TextView
|
||||||
android:id="@+id/forgotPasswordTextView"
|
android:id="@+id/forgotPasswordTextView"
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:text="@string/register_text"
|
android:text="@string/register_text"
|
||||||
android:layout_gravity="center_horizontal"
|
android:layout_gravity="center_horizontal"
|
||||||
|
android:gravity="center_horizontal"
|
||||||
android:textColor="@color/black"
|
android:textColor="@color/black"
|
||||||
android:padding="24dp" />
|
android:padding="24dp" />
|
||||||
|
|
||||||
@@ -87,6 +99,7 @@
|
|||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:text="@string/register_text"
|
android:text="@string/register_text"
|
||||||
android:layout_gravity="center_horizontal"
|
android:layout_gravity="center_horizontal"
|
||||||
|
android:gravity="center_horizontal"
|
||||||
android:textColor="@color/black"
|
android:textColor="@color/black"
|
||||||
android:paddingBottom="24dp"
|
android:paddingBottom="24dp"
|
||||||
android:paddingLeft="24dp"
|
android:paddingLeft="24dp"
|
||||||
@@ -94,6 +107,7 @@
|
|||||||
android:paddingRight="24dp"
|
android:paddingRight="24dp"
|
||||||
android:paddingEnd="24dp" />
|
android:paddingEnd="24dp" />
|
||||||
|
|
||||||
|
|
||||||
</LinearLayout>
|
</LinearLayout>
|
||||||
|
|
||||||
</RelativeLayout>
|
</RelativeLayout>
|
||||||
|
|||||||
@@ -15,7 +15,7 @@
|
|||||||
android:scaleType="fitXY"
|
android:scaleType="fitXY"
|
||||||
android:layout_centerInParent="true"
|
android:layout_centerInParent="true"
|
||||||
android:text="Hello World!"
|
android:text="Hello World!"
|
||||||
android:layout_margin="24dp"
|
android:layout_margin="64dp"
|
||||||
android:src="@drawable/pizzalink_logo"/>
|
android:src="@drawable/pizzalink_logo"/>
|
||||||
|
|
||||||
</RelativeLayout>
|
</RelativeLayout>
|
||||||
|
|||||||
@@ -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>
|
|
||||||
@@ -54,6 +54,15 @@
|
|||||||
fontPath="fonts/AvenirNextLTProDemi.otf"
|
fontPath="fonts/AvenirNextLTProDemi.otf"
|
||||||
android:visibility="gone"/>
|
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>
|
||||||
|
|
||||||
<RelativeLayout
|
<RelativeLayout
|
||||||
|
|||||||
|
Before Width: | Height: | Size: 3.3 KiB After Width: | Height: | Size: 16 KiB |
|
Before Width: | Height: | Size: 2.2 KiB After Width: | Height: | Size: 12 KiB |
|
Before Width: | Height: | Size: 4.7 KiB After Width: | Height: | Size: 21 KiB |
|
Before Width: | Height: | Size: 7.5 KiB After Width: | Height: | Size: 42 KiB |
|
Before Width: | Height: | Size: 10 KiB After Width: | Height: | Size: 101 KiB |
@@ -39,9 +39,9 @@
|
|||||||
<string name="activity_title_login">Einloggen</string>
|
<string name="activity_title_login">Einloggen</string>
|
||||||
<string name="button_login">EINLOGGEN</string>
|
<string name="button_login">EINLOGGEN</string>
|
||||||
<string name="not_have_an_accaount">Sie haben kein Konto?</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="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-->
|
<!-- LoginActivity-->
|
||||||
|
|
||||||
<!-- şifremi unuttum ekranı -->
|
<!-- şifremi unuttum ekranı -->
|
||||||
|
|||||||