RG-3445 Добавлен ручной ввод кода с карты
This commit is contained in:
@@ -41,11 +41,7 @@
|
||||
android:layout_marginTop="56dp"
|
||||
android:background="#00ff00" />
|
||||
|
||||
<android.support.v7.widget.Toolbar
|
||||
android:id="@+id/toolbar"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="?attr/actionBarSize"
|
||||
app:titleTextColor="@android:color/white" />
|
||||
<include layout="@layout/v_custom_toolbar" />
|
||||
|
||||
<View
|
||||
android:id="@+id/toolbarShadow"
|
||||
@@ -6,11 +6,7 @@
|
||||
android:layout_height="match_parent"
|
||||
android:background="@android:color/white">
|
||||
|
||||
<android.support.v7.widget.Toolbar
|
||||
android:id="@+id/zxingToolbar"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="?attr/actionBarSize"
|
||||
app:titleTextColor="@android:color/white" />
|
||||
<include layout="@layout/v_custom_toolbar" />
|
||||
|
||||
<View
|
||||
android:id="@+id/zxingToolbarShadow"
|
||||
21
android/app/src/main/res/layout/v_custom_toolbar.xml
Normal file
21
android/app/src/main/res/layout/v_custom_toolbar.xml
Normal file
@@ -0,0 +1,21 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<android.support.v7.widget.Toolbar xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||
android:id="@+id/toolbar"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="?attr/actionBarSize"
|
||||
app:titleTextColor="@android:color/white">
|
||||
|
||||
<EditText
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="?attr/actionBarSize"
|
||||
android:id="@+id/manual_input"
|
||||
android:hint="@string/enter_manual"
|
||||
android:maxLines="1"
|
||||
android:inputType="text"
|
||||
android:imeOptions="actionDone"
|
||||
android:layout_marginLeft="72dp"
|
||||
android:textColor="@android:color/white"
|
||||
android:textColorHint="@android:color/white"/>
|
||||
|
||||
</android.support.v7.widget.Toolbar>
|
||||
@@ -1,4 +1,4 @@
|
||||
<resources>
|
||||
<resources>
|
||||
<string name="app_name">AutoBonus</string>
|
||||
<string name="scanner_title">Сканер карты</string>
|
||||
<string name="scan">Сканировать</string>
|
||||
@@ -10,4 +10,5 @@
|
||||
<string name="logout_yes">Да</string>
|
||||
<string name="logout_no">Нет</string>
|
||||
<string name="identifier_not_found">"Идентификатор %s не найден"</string>
|
||||
<string name="enter_manual">Введите штрихкод вручную</string>
|
||||
</resources>
|
||||
|
||||
Reference in New Issue
Block a user