mirror of https://github.com/MISP/misp-bump
118 lines
4.4 KiB
XML
118 lines
4.4 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<android.support.design.widget.CoordinatorLayout
|
|
|
|
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"
|
|
|
|
tools:context=".activity.SyncActivity"
|
|
android:background="@color/colorPrimary">
|
|
|
|
<android.support.design.widget.AppBarLayout
|
|
android:id="@+id/sync.appbar"
|
|
app:elevation="0dp"
|
|
android:background="@color/colorPrimaryDark"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:theme="@style/AppTheme.AppBarOverlay">
|
|
|
|
<android.support.v7.widget.Toolbar
|
|
android:id="@+id/toolbar"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="?attr/actionBarSize"
|
|
android:backgroundTint="@color/colorPrimary"
|
|
android:background="@drawable/background_rounded_main"
|
|
app:popupTheme="@style/AppTheme.PopupOverlay" />
|
|
|
|
<LinearLayout
|
|
android:background="@color/colorPrimary"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="horizontal">
|
|
|
|
<TextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_weight="1"
|
|
android:text="Scan"
|
|
android:textAlignment="center" />
|
|
|
|
<TextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_weight="1"
|
|
android:text="Share"
|
|
android:textAlignment="center" />
|
|
|
|
<TextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_weight="1"
|
|
android:text="Upload"
|
|
android:textAlignment="center" />
|
|
</LinearLayout>
|
|
|
|
<ProgressBar
|
|
android:id="@+id/progressBar"
|
|
style="@style/Widget.AppCompat.ProgressBar.Horizontal"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:background="@color/colorPrimary"
|
|
android:indeterminate="false"
|
|
android:max="100"
|
|
android:paddingBottom="8dp"
|
|
android:paddingEnd="60dp"
|
|
android:paddingStart="60dp"
|
|
android:paddingTop="8dp"
|
|
android:progress="2"
|
|
android:progressTint="@color/colorAccent"
|
|
android:visibility="visible" />
|
|
</android.support.design.widget.AppBarLayout>
|
|
|
|
<android.support.constraint.ConstraintLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:background="@drawable/background_rounded_main"
|
|
android:padding="0dp"
|
|
app:layout_behavior="@string/appbar_scrolling_view_behavior">
|
|
|
|
<!--<LinearLayout-->
|
|
<!--android:layout_width="match_parent"-->
|
|
<!--android:layout_height="match_parent"-->
|
|
<!--android:orientation="vertical">-->
|
|
|
|
<!--<FrameLayout-->
|
|
<!--android:layout_width="match_parent"-->
|
|
<!--android:layout_height="match_parent">-->
|
|
|
|
<!--<ImageView-->
|
|
<!--android:layout_width="match_parent"-->
|
|
<!--android:layout_height="match_parent"-->
|
|
<!--android:adjustViewBounds="true"-->
|
|
<!--android:cropToPadding="true"-->
|
|
<!--android:scaleType="centerCrop"-->
|
|
<!--android:src="@drawable/test_image_low_res" />-->
|
|
|
|
<!--<ImageView-->
|
|
<!--android:layout_width="match_parent"-->
|
|
<!--android:layout_height="match_parent"-->
|
|
<!--android:src="@drawable/ic_qr_aim"-->
|
|
<!--android:tint="@color/colorPrimary" />-->
|
|
|
|
<!--</FrameLayout>-->
|
|
|
|
<ImageView
|
|
android:id="@+id/sync_my_qr"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:adjustViewBounds="false"
|
|
android:cropToPadding="false"
|
|
android:scaleType="center"/>
|
|
|
|
<!--</LinearLayout>-->
|
|
</android.support.constraint.ConstraintLayout>
|
|
|
|
</android.support.design.widget.CoordinatorLayout> |