city and zones
This commit is contained in:
@@ -89,12 +89,23 @@
|
||||
app:inputType="address"
|
||||
app:hint="@string/city"/>
|
||||
|
||||
<ch.pizzalink.android.view.PizzalinkEditText
|
||||
android:id="@+id/postcodePizzalinkEditText"
|
||||
<ch.pizzalink.android.view.PizzalinkDropdown
|
||||
android:id="@+id/zonePizzalinkDropdown"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
app:inputType="number"
|
||||
app:hint="@string/postcode"/>
|
||||
app:dropdownHint="@string/zone"/>
|
||||
|
||||
<ch.pizzalink.android.view.PizzalinkDropdown
|
||||
android:id="@+id/postcodePizzalinkDrowpdown"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
app:dropdownHint="@string/postcode"/>
|
||||
|
||||
<ch.pizzalink.android.view.PizzalinkDropdown
|
||||
android:id="@+id/countryPizzalinkDropdown"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
app:dropdownHint="@string/country"/>
|
||||
|
||||
<android.support.v4.widget.Space
|
||||
android:layout_width="match_parent"
|
||||
|
||||
50
app/src/main/res/layout/layout_pizzalink_dropdown.xml
Normal file
50
app/src/main/res/layout/layout_pizzalink_dropdown.xml
Normal file
@@ -0,0 +1,50 @@
|
||||
<?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"
|
||||
android:paddingLeft="24dp"
|
||||
android:paddingStart="24dp"
|
||||
android:paddingRight="24dp"
|
||||
android:paddingEnd="24dp"
|
||||
android:clickable="true">
|
||||
|
||||
<TextView
|
||||
android:id="@+id/hintTextView"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:textColor="@color/venus"
|
||||
android:layout_marginTop="12dp"
|
||||
android:layout_marginBottom="4dp"/>
|
||||
|
||||
<RelativeLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content">
|
||||
|
||||
<EditText
|
||||
android:id="@+id/editText"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:textColor="@color/black"
|
||||
android:textSize="16sp"
|
||||
android:textColorHint="@color/row_product_ingredients_background"
|
||||
android:layout_centerVertical="true"
|
||||
android:background="@android:color/transparent"
|
||||
android:layout_marginBottom="12dp"
|
||||
android:clickable="false"
|
||||
android:cursorVisible="false"
|
||||
android:editable="false"
|
||||
android:focusable="false"
|
||||
android:focusableInTouchMode="false"/>
|
||||
|
||||
</RelativeLayout>
|
||||
|
||||
<RelativeLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="1dp"
|
||||
android:background="@color/row_product_ingredients_background"
|
||||
android:layout_marginTop="2dp"/>
|
||||
|
||||
|
||||
</LinearLayout>
|
||||
@@ -19,4 +19,8 @@
|
||||
<attr name="text" format="string" />
|
||||
</declare-styleable>
|
||||
|
||||
<declare-styleable name="PizzalinkDropdown">
|
||||
<attr name="dropdownHint" format="string" />
|
||||
</declare-styleable>
|
||||
|
||||
</resources>
|
||||
@@ -56,8 +56,8 @@
|
||||
<string name="addres_line_2">Adres 2</string>
|
||||
<string name="city">Şehir</string>
|
||||
<string name="postcode">Posta Kodu</string>
|
||||
<string name="county">Ülke</string>
|
||||
<string name="zone">Bölge</string>
|
||||
<string name="country">Ülke</string>
|
||||
<string name="alert_fill_all_fields">Lütfen istenen tüm bigileri doldurunuz.</string>
|
||||
<string name="alert_invalid_email">Lütfen geçerli bir mail adresi giriniz.</string>
|
||||
<string name="alert_passwords_not_matched">Şifreler uyuşmuyor..</string>
|
||||
@@ -143,6 +143,8 @@
|
||||
<string name="confirm_order">APPROVE</string>
|
||||
<string name="done_order">DONE</string>
|
||||
|
||||
<string name="choose">Seçiniz</string>
|
||||
|
||||
<!-- OrderSummaryFragment-->
|
||||
<string name="order_person_fullname">TO</string>
|
||||
<string name="order_shipping_method">SHIPPING METHOD</string>
|
||||
|
||||
Reference in New Issue
Block a user