Экран сканера
BIN
android/app/src/main/res/drawable-xxxhdpi/help_outline.png
Normal file
|
After Width: | Height: | Size: 1.7 KiB |
BIN
android/app/src/main/res/drawable-xxxhdpi/logout.png
Normal file
|
After Width: | Height: | Size: 1.3 KiB |
BIN
android/app/src/main/res/drawable-xxxhdpi/shape_bottom_left.png
Normal file
|
After Width: | Height: | Size: 413 B |
BIN
android/app/src/main/res/drawable-xxxhdpi/shape_bottom_right.png
Normal file
|
After Width: | Height: | Size: 394 B |
BIN
android/app/src/main/res/drawable-xxxhdpi/shape_top_left.png
Normal file
|
After Width: | Height: | Size: 419 B |
BIN
android/app/src/main/res/drawable-xxxhdpi/shape_top_right.png
Normal file
|
After Width: | Height: | Size: 385 B |
17
android/app/src/main/res/drawable/button_blue.xml
Normal file
@@ -0,0 +1,17 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<selector xmlns:android="http://schemas.android.com/apk/res/android" >
|
||||
<item android:state_pressed="true"><shape xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:shape="rectangle">
|
||||
<corners android:radius="4dp"/>
|
||||
<solid android:color="#3078c0"/>
|
||||
</shape>
|
||||
</item>
|
||||
<item>
|
||||
<shape xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:shape="rectangle">
|
||||
<corners android:radius="4dp"/>
|
||||
<solid android:color="#4272e7"/>
|
||||
</shape>
|
||||
</item>
|
||||
</selector>
|
||||
|
||||
7
android/app/src/main/res/drawable/shadow_bottom.xml
Normal file
@@ -0,0 +1,7 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<shape xmlns:android="http://schemas.android.com/apk/res/android" android:shape="rectangle">
|
||||
<gradient android:type="linear"
|
||||
android:angle="90"
|
||||
android:startColor="#00000000"
|
||||
android:endColor="#36000000"/>
|
||||
</shape>
|
||||
@@ -2,7 +2,7 @@
|
||||
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||
android:id="@+id/rootLayout"
|
||||
android:background="@android:color/white"
|
||||
android:background="#404040"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent">
|
||||
|
||||
@@ -10,5 +10,89 @@
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"/>
|
||||
|
||||
<View android:layout_height="178dp"
|
||||
android:layout_width="match_parent"
|
||||
android:background="#404040"/>
|
||||
|
||||
<!--<View android:layout_width="match_parent"-->
|
||||
<!--android:layout_height="6dp"-->
|
||||
<!--android:layout_marginTop="178dp"-->
|
||||
<!--android:background="#c0000000"/>-->
|
||||
|
||||
<!--<View android:layout_width="24dp"-->
|
||||
<!--android:layout_height="232dp"-->
|
||||
<!--android:layout_marginTop="184dp"-->
|
||||
<!--android:layout_gravity="left"-->
|
||||
<!--android:background="#c0000000"/>-->
|
||||
|
||||
<!--<View android:layout_width="24dp"-->
|
||||
<!--android:layout_height="232dp"-->
|
||||
<!--android:layout_marginTop="184dp"-->
|
||||
<!--android:layout_gravity="right"-->
|
||||
<!--android:background="#c0000000"/>-->
|
||||
|
||||
<!--<View android:layout_width="match_parent"-->
|
||||
<!--android:layout_height="18dp"-->
|
||||
<!--android:layout_marginTop="416dp"-->
|
||||
<!--android:background="#c0000000"/>-->
|
||||
|
||||
<View android:layout_height="match_parent"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_marginTop="434dp"
|
||||
android:background="#404040"/>
|
||||
|
||||
<!--<FrameLayout android:id="@+id/scanner_contour"-->
|
||||
<!--android:layout_width="match_parent"-->
|
||||
<!--android:layout_height="200dp"-->
|
||||
<!--android:layout_marginTop="196dp"-->
|
||||
<!--android:layout_marginLeft="36dp"-->
|
||||
<!--android:layout_marginRight="36dp">-->
|
||||
|
||||
<!--<View android:layout_width="20dp"-->
|
||||
<!--android:layout_height="20dp"-->
|
||||
<!--android:layout_gravity="top|left"-->
|
||||
<!--android:background="@drawable/shape_top_left"/>-->
|
||||
|
||||
<!--<View android:layout_width="20dp"-->
|
||||
<!--android:layout_height="20dp"-->
|
||||
<!--android:layout_gravity="top|right"-->
|
||||
<!--android:background="@drawable/shape_top_right"/>-->
|
||||
|
||||
<!--<View android:layout_width="20dp"-->
|
||||
<!--android:layout_height="20dp"-->
|
||||
<!--android:layout_gravity="bottom|left"-->
|
||||
<!--android:background="@drawable/shape_bottom_left"/>-->
|
||||
|
||||
|
||||
<!--<View android:layout_width="20dp"-->
|
||||
<!--android:layout_height="20dp"-->
|
||||
<!--android:layout_gravity="bottom|right"-->
|
||||
<!--android:background="@drawable/shape_bottom_right"/>-->
|
||||
|
||||
<!--</FrameLayout>-->
|
||||
|
||||
<android.support.v7.widget.Toolbar
|
||||
android:id="@+id/toolbar"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="?attr/actionBarSize"
|
||||
android:background="#4272e7"
|
||||
app:titleTextColor="@android:color/white"/>
|
||||
|
||||
<View android:id="@+id/toolbarShadow"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="4dp"
|
||||
android:layout_marginTop="?attr/actionBarSize"
|
||||
android:background="@drawable/shadow_bottom"/>
|
||||
|
||||
<Button android:id="@+id/button"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="48dp"
|
||||
android:paddingLeft="60dp"
|
||||
android:paddingRight="60dp"
|
||||
android:text="@string/scan"
|
||||
android:textAllCaps="true"
|
||||
android:layout_gravity="center_horizontal|bottom"
|
||||
android:layout_marginBottom="46dp"
|
||||
android:background="@drawable/button_blue"/>
|
||||
|
||||
</FrameLayout>
|
||||
|
||||
17
android/app/src/main/res/menu/menu.xml
Normal file
@@ -0,0 +1,17 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<menu xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:app="http://schemas.android.com/apk/res-auto">
|
||||
|
||||
<item android:id="@+id/faq"
|
||||
android:orderInCategory="0"
|
||||
android:title="@string/faq"
|
||||
android:icon="@drawable/help_outline"
|
||||
app:showAsAction="ifRoom"/>
|
||||
|
||||
<item android:id="@+id/logout"
|
||||
android:orderInCategory="1"
|
||||
android:title="@string/logout"
|
||||
android:icon="@drawable/logout"
|
||||
app:showAsAction="ifRoom"/>
|
||||
|
||||
</menu>
|
||||
|
Before Width: | Height: | Size: 544 B |
BIN
android/app/src/main/res/mipmap-hdpi/ic_launcher_app.png
Normal file
|
After Width: | Height: | Size: 2.4 KiB |
|
Before Width: | Height: | Size: 442 B |
BIN
android/app/src/main/res/mipmap-mdpi/ic_launcher_app.png
Normal file
|
After Width: | Height: | Size: 1.7 KiB |
|
Before Width: | Height: | Size: 721 B |
BIN
android/app/src/main/res/mipmap-xhdpi/ic_launcher_app.png
Normal file
|
After Width: | Height: | Size: 3.2 KiB |
|
Before Width: | Height: | Size: 1.0 KiB |
BIN
android/app/src/main/res/mipmap-xxhdpi/ic_launcher_app.png
Normal file
|
After Width: | Height: | Size: 5.9 KiB |
|
Before Width: | Height: | Size: 1.4 KiB |
BIN
android/app/src/main/res/mipmap-xxxhdpi/ic_launcher_app.png
Normal file
|
After Width: | Height: | Size: 8.1 KiB |
5
android/app/src/main/res/values/dimens.xml
Normal file
@@ -0,0 +1,5 @@
|
||||
<resources>
|
||||
<dimen name="scanner_contour_left">24dp</dimen>
|
||||
<dimen name="scanner_contour_top">178dp</dimen>
|
||||
<dimen name="scanner_contour_height">232dp</dimen>
|
||||
</resources>
|
||||
7
android/app/src/main/res/values/strings.xml
Normal file
@@ -0,0 +1,7 @@
|
||||
<resources>
|
||||
<string name="app_name">Checker</string>
|
||||
<string name="scanner_title">Сканнер карты</string>
|
||||
<string name="scan">Сканировать</string>
|
||||
<string name="faq">FAQ</string>
|
||||
<string name="logout">Выход</string>
|
||||
</resources>
|
||||
6
android/app/src/main/res/values/styles.xml
Normal file
@@ -0,0 +1,6 @@
|
||||
<resources>
|
||||
|
||||
<!-- Base application theme. -->
|
||||
<style name="AppTheme" parent="Theme.AppCompat.NoActionBar"/>
|
||||
|
||||
</resources>
|
||||