Заменил маску на сканнере

This commit is contained in:
Ivan Murashov
2017-07-20 15:52:21 +03:00
parent b57aa32054
commit 0a397f675f

View File

@@ -2,7 +2,7 @@
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android" <FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto" xmlns:app="http://schemas.android.com/apk/res-auto"
android:id="@+id/rootLayout" android:id="@+id/rootLayout"
android:background="#404040" android:background="@android:color/white"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="match_parent"> android:layout_height="match_parent">
@@ -10,72 +10,43 @@
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="match_parent"/> android:layout_height="match_parent"/>
<View android:layout_height="178dp" <LinearLayout android:orientation="vertical"
android:layout_width="match_parent" android:layout_width="match_parent"
android:background="#404040"/> android:layout_height="match_parent"
android:layout_marginTop="?attr/actionBarSize">
<!--<View android:layout_width="match_parent"--> <View android:layout_height="0dp"
<!--android:layout_height="6dp"--> android:layout_weight="0.42"
<!--android:layout_marginTop="178dp"--> android:layout_width="match_parent"
<!--android:background="#c0000000"/>--> android:background="#с0000000"/>
<!--<View android:layout_width="24dp"--> <FrameLayout android:layout_height="0dp"
<!--android:layout_height="232dp"--> android:layout_weight="0.16"
<!--android:layout_marginTop="184dp"--> android:layout_width="match_parent">
<!--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" <View android:layout_height="match_parent"
android:layout_width="24dp"
android:layout_gravity="left"
android:background="#с0000000"/>
<View android:layout_height="match_parent"
android:layout_width="24dp"
android:layout_gravity="right"
android:background="#с0000000"/>
</FrameLayout>
<View android:layout_height="0dp"
android:layout_weight="0.42"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_marginTop="434dp" android:background="#с0000000"/>
android:background="#404040"/> </LinearLayout>
<!--<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.support.v7.widget.Toolbar
android:id="@+id/toolbar" android:id="@+id/toolbar"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="?attr/actionBarSize" android:layout_height="?attr/actionBarSize"
android:background="#4272e7" android:background="#eb0004"
app:titleTextColor="@android:color/white"/> app:titleTextColor="@android:color/white"/>
<View android:id="@+id/toolbarShadow" <View android:id="@+id/toolbarShadow"
@@ -84,15 +55,4 @@
android:layout_marginTop="?attr/actionBarSize" android:layout_marginTop="?attr/actionBarSize"
android:background="@drawable/shadow_bottom"/> 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> </FrameLayout>