2017-12-29 03:40:34 +00:00
|
|
|
<?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:id="@+id/main_content"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
tools:context=".activities.SettingsActivity">
|
|
|
|
|
|
|
|
<android.support.design.widget.AppBarLayout
|
|
|
|
android:id="@+id/appbar"
|
|
|
|
android:layout_width="match_parent"
|
2017-12-29 05:07:53 +00:00
|
|
|
android:layout_height="120dp"
|
2017-12-29 03:40:34 +00:00
|
|
|
android:background="@color/colorPrimary"
|
|
|
|
app:theme="@style/AppTheme.AppBarOverlay">
|
|
|
|
|
2018-01-18 04:32:50 +00:00
|
|
|
<RelativeLayout
|
2017-12-29 03:40:34 +00:00
|
|
|
android:layout_width="match_parent"
|
2018-01-18 04:32:50 +00:00
|
|
|
android:layout_height="match_parent">
|
2017-12-29 03:40:34 +00:00
|
|
|
|
|
|
|
<SurfaceView
|
|
|
|
android:id="@+id/surface_view"
|
|
|
|
android:layout_width="match_parent"
|
2018-01-18 04:32:50 +00:00
|
|
|
android:layout_height="match_parent"/>
|
2017-12-29 03:40:34 +00:00
|
|
|
|
|
|
|
<View
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:background="@color/colorPrimaryTransparent"/>
|
|
|
|
|
|
|
|
<android.support.v7.widget.Toolbar
|
|
|
|
android:id="@+id/toolbar"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="?attr/actionBarSize"
|
|
|
|
android:background="@color/transparent"
|
|
|
|
android:layout_marginTop="8dp"
|
|
|
|
app:popupTheme="@style/AppTheme.PopupOverlay">
|
|
|
|
|
|
|
|
<android.support.constraint.ConstraintLayout
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent">
|
|
|
|
|
|
|
|
<ImageView
|
2017-12-29 05:07:53 +00:00
|
|
|
android:id="@+id/ivGoBack"
|
2017-12-29 03:40:34 +00:00
|
|
|
android:layout_width="30dp"
|
2017-12-29 05:07:53 +00:00
|
|
|
android:layout_height="30dp"
|
|
|
|
android:layout_marginStart="8dp"
|
|
|
|
app:srcCompat="@drawable/ic_arrow_back"
|
|
|
|
app:layout_constraintBottom_toBottomOf="parent"
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
|
app:layout_constraintTop_toTopOf="parent"
|
|
|
|
android:contentDescription="@string/go_back_arrow" />
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginStart="8dp"
|
|
|
|
android:text="@string/settings2"
|
|
|
|
android:textStyle="bold"
|
|
|
|
android:textColor="@color/gray"
|
|
|
|
android:textSize="18sp"
|
|
|
|
app:layout_constraintBottom_toBottomOf="parent"
|
|
|
|
app:layout_constraintTop_toTopOf="parent"
|
|
|
|
app:layout_constraintStart_toEndOf="@id/ivGoBack" />
|
|
|
|
|
|
|
|
<ImageView
|
|
|
|
android:id="@+id/ivInfo"
|
|
|
|
android:layout_width="30dp"
|
|
|
|
android:layout_height="30dp"
|
|
|
|
android:layout_marginEnd="24dp"
|
|
|
|
app:srcCompat="@drawable/ic_info_outline"
|
|
|
|
android:contentDescription="@string/info_icon"
|
|
|
|
app:layout_constraintBottom_toBottomOf="parent"
|
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
|
|
app:layout_constraintTop_toTopOf="parent" />
|
2017-12-29 03:40:34 +00:00
|
|
|
|
|
|
|
</android.support.constraint.ConstraintLayout>
|
|
|
|
|
|
|
|
</android.support.v7.widget.Toolbar>
|
|
|
|
|
|
|
|
<android.support.design.widget.TabLayout
|
|
|
|
android:id="@+id/tabs"
|
2018-01-18 04:32:50 +00:00
|
|
|
android:layout_alignParentBottom="true"
|
2017-12-29 03:40:34 +00:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:animateLayoutChanges="true">
|
|
|
|
|
|
|
|
<android.support.design.widget.TabItem
|
|
|
|
android:id="@+id/tabItem"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:text="@string/general" />
|
|
|
|
|
|
|
|
<android.support.design.widget.TabItem
|
|
|
|
android:id="@+id/tabItem2"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:text="@string/security" />
|
|
|
|
|
|
|
|
<android.support.design.widget.TabItem
|
|
|
|
android:id="@+id/tabItem3"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:text="@string/backups" />
|
|
|
|
|
2018-05-09 02:07:12 +00:00
|
|
|
<!--<android.support.design.widget.TabItem
|
2017-12-29 03:40:34 +00:00
|
|
|
android:id="@+id/tabItem4"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
2018-05-09 02:07:12 +00:00
|
|
|
android:text="@string/accounts"
|
|
|
|
android:visibility="gone" />-->
|
2017-12-29 03:40:34 +00:00
|
|
|
|
|
|
|
</android.support.design.widget.TabLayout>
|
|
|
|
|
2018-01-18 04:32:50 +00:00
|
|
|
</RelativeLayout>
|
2017-12-29 03:40:34 +00:00
|
|
|
|
|
|
|
</android.support.design.widget.AppBarLayout>
|
|
|
|
|
2018-01-18 04:15:50 +00:00
|
|
|
<RelativeLayout
|
2017-12-29 03:40:34 +00:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
2018-01-18 04:15:50 +00:00
|
|
|
app:layout_behavior="@string/appbar_scrolling_view_behavior">
|
|
|
|
|
|
|
|
<android.support.v4.view.ViewPager
|
|
|
|
android:id="@+id/pager"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
2018-01-25 04:27:15 +00:00
|
|
|
android:layout_above="@id/bottomStatusBar"/>
|
2018-01-18 04:15:50 +00:00
|
|
|
|
2018-01-25 04:27:15 +00:00
|
|
|
<cy.agorise.crystalwallet.util.BottomStatusBar
|
|
|
|
android:id="@+id/bottomStatusBar"
|
2018-01-18 04:15:50 +00:00
|
|
|
android:layout_width="match_parent"
|
2018-01-25 04:27:15 +00:00
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_alignParentBottom="true"/>
|
2018-01-18 04:15:50 +00:00
|
|
|
|
|
|
|
</RelativeLayout>
|
2017-12-29 03:40:34 +00:00
|
|
|
|
|
|
|
</android.support.design.widget.CoordinatorLayout>
|