Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <LinearLayout 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"
- android:layout_margin="8dp"
- android:orientation="vertical">
- <android.support.v7.widget.Toolbar
- android:id="@+id/toolbar"
- android:layout_width="match_parent"
- android:layout_height="?attr/actionBarSize"
- android:background="?attr/colorPrimary"
- android:backgroundTint="@color/primary"
- android:elevation="5dp"
- android:titleTextColor="@color/white"
- app:layout_scrollFlags="scroll|enterAlways"
- app:popupTheme="@style/AppTheme">
- <TextView
- android:id="@+id/toolbar_title"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_gravity="center"
- android:text="@string/titleCardControlNumber"
- android:textColor="@color/white"
- android:textSize="15dp"
- android:textStyle="bold" />
- </android.support.v7.widget.Toolbar>
- <android.support.v7.widget.CardView
- android:id="@+id/cardReadNfc"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_margin="8dp"
- android:clickable="true"
- android:contextClickable="true"
- android:foreground="?android:attr/selectableItemBackground"
- android:padding="8dp">
- <LinearLayout
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:layout_margin="24dp"
- android:orientation="vertical">
- <!--<WebView-->
- <!--android:id="@+id/webViewNFC"-->
- <!--android:layout_width="wrap_content"-->
- <!--android:layout_height="wrap_content">-->
- <!--</WebView>-->
- <ImageView
- android:id="@+id/imgAnimation"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:maxWidth="200dp"
- android:maxHeight="200dp"
- android:adjustViewBounds="true"/>
- <TextView
- android:id="@+id/textView2"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:gravity="center"
- android:text="@string/read_user_card_nfc"
- android:textAlignment="center"
- android:textColor="@color/black"
- android:textSize="18sp"/>
- <TextView
- android:id="@+id/textView7"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:gravity="center"
- android:text="@string/read_user_card__nfc_info"/>
- </LinearLayout>
- </android.support.v7.widget.CardView>
- <LinearLayout
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:layout_gravity="center_vertical"
- android:orientation="horizontal"
- android:weightSum="1">
- <android.support.v7.widget.CardView
- android:id="@+id/cardScanQr"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:layout_gravity="center_vertical"
- android:layout_margin="8dp"
- android:layout_weight=".5"
- android:padding="8dp">
- <LinearLayout
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_gravity="center_vertical"
- android:layout_margin="8dp"
- android:orientation="vertical">
- <ImageView
- android:id="@+id/imageView2"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_gravity="center_vertical"
- android:src="@mipmap/img_bar_code"/>
- <TextView
- android:id="@+id/textView8"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_gravity="center_vertical"
- android:gravity="center"
- android:text="@string/read_user_card_scan_QR"
- android:textAlignment="center"
- android:textColor="@color/black"
- android:textSize="18sp"/>
- <TextView
- android:id="@+id/textView9"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_gravity="center_vertical"
- android:gravity="center"
- android:text="@string/read_user_card_scan_QR_info"
- android:textAlignment="center"/>
- </LinearLayout>
- </android.support.v7.widget.CardView>
- <android.support.v7.widget.CardView
- android:id="@+id/cardEnterNo"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:layout_gravity="center_vertical"
- android:layout_margin="8dp"
- android:layout_weight=".5"
- android:padding="8dp"
- android:contextClickable="true"
- android:foreground="?android:attr/selectableItemBackground"
- android:onClick="startControlNumber">
- <LinearLayout
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_gravity="center_vertical"
- android:layout_margin="8dp"
- android:orientation="vertical"
- android:weightSum="1">
- <ImageView
- android:id="@+id/imageView3"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_gravity="center_vertical"
- android:src="@mipmap/enter_card_no"/>
- <TextView
- android:id="@+id/textView10"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_gravity="center_vertical"
- android:layout_weight="0.55"
- android:gravity="center"
- android:text="@string/read_user_card_serial_no"
- android:textAlignment="center"
- android:textColor="@color/black"
- android:textSize="18sp"/>
- <TextView
- android:id="@+id/textView11"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:gravity="center"
- android:text="@string/read_user_card_serial_no_info"
- android:textAlignment="center"/>
- </LinearLayout>
- </android.support.v7.widget.CardView>
- </LinearLayout>
- </LinearLayout>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement