summaryrefslogtreecommitdiff
path: root/app/src/main/res/layout-xlarge/a_provider_detail.xml
diff options
context:
space:
mode:
authorcyBerta <cyberta@riseup.net>2018-02-07 15:08:51 +0100
committercyBerta <cyberta@riseup.net>2018-02-07 15:08:51 +0100
commit1daf2ebca708f5659a6d79f3581454c748c42f83 (patch)
treee9c96f17fd0bd2c7b12742a71e93d71a929c14ee /app/src/main/res/layout-xlarge/a_provider_detail.xml
parent3cb7ed9fd948119ddc1e00a38f383e59766e0f5c (diff)
#8823 update configuration wizard layout for tablets
Diffstat (limited to 'app/src/main/res/layout-xlarge/a_provider_detail.xml')
-rw-r--r--app/src/main/res/layout-xlarge/a_provider_detail.xml112
1 files changed, 54 insertions, 58 deletions
diff --git a/app/src/main/res/layout-xlarge/a_provider_detail.xml b/app/src/main/res/layout-xlarge/a_provider_detail.xml
index d49e3129..18098079 100644
--- a/app/src/main/res/layout-xlarge/a_provider_detail.xml
+++ b/app/src/main/res/layout-xlarge/a_provider_detail.xml
@@ -2,74 +2,69 @@
<android.support.constraint.ConstraintLayout 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/configuration_wizard_layout"
- style="@style/BitmaskActivity"
+ android:id="@+id/provider_list_layout"
android:layout_width="match_parent"
android:layout_height="match_parent"
- tools:context=".ConfigurationWizard">
+ tools:context=".ProviderDetailActivity"
+ style="@style/BitmaskActivity">
- <android.support.v7.widget.AppCompatImageView
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- app:srcCompat="@drawable/ic_colorsquare"
- tools:layout_editor_absoluteX="16dp"
- tools:layout_editor_absoluteY="16dp" />
+ <android.support.v7.widget.AppCompatImageView
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
+ app:srcCompat="@drawable/ic_colorsquare"
+ android:scaleType="centerCrop"
+ />
- <android.support.constraint.Guideline
- android:id="@+id/guideline_left"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:orientation="vertical"
- app:layout_constraintGuide_percent="0.2" />
+ <android.support.constraint.Guideline
+ android:id="@+id/guideline_left"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:orientation="vertical"
+ app:layout_constraintGuide_percent="0.2" />
- <android.support.constraint.Guideline
- android:id="@+id/guideline_right"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:orientation="vertical"
- app:layout_constraintGuide_percent="0.8" />
+ <android.support.constraint.Guideline
+ android:id="@+id/guideline_right"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:orientation="vertical"
+ app:layout_constraintGuide_percent="0.8" />
- <android.support.constraint.Guideline
- android:id="@+id/guideline_top"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:orientation="horizontal"
- app:layout_constraintGuide_percent="0.2" />
+ <android.support.constraint.Guideline
+ android:id="@+id/guideline_top"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:orientation="horizontal"
+ app:layout_constraintGuide_percent="0.15" />
- <android.support.constraint.Guideline
- android:id="@+id/guideline_bottom"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:orientation="horizontal"
- app:layout_constraintGuide_percent="0.8" />
+ <android.support.constraint.Guideline
+ android:id="@+id/guideline_bottom"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:orientation="horizontal"
+ app:layout_constraintGuide_percent="0.85" />
- <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
- android:id="@+id/provider_detail_fragment"
- android:orientation="vertical"
- android:padding="@dimen/stdpadding"
- style="@style/BitmaskActivity"
- android:layout_width="0dp"
- android:layout_height="0dp"
- android:layout_marginBottom="@dimen/stdpadding"
- android:layout_marginEnd="@dimen/stdpadding"
- android:layout_marginStart="@dimen/stdpadding"
- android:layout_marginTop="@dimen/stdpadding"
- android:background="@color/colorBackground"
- app:layout_constraintBottom_toTopOf="@+id/guideline_bottom"
- app:layout_constraintEnd_toStartOf="@+id/guideline_right"
- app:layout_constraintHeight_min="411dp"
- app:layout_constraintStart_toStartOf="@+id/guideline_left"
- app:layout_constraintTop_toTopOf="@+id/guideline_top"
- app:layout_constraintWidth_min="731dp"
- >
+ <LinearLayout
+ android:orientation="vertical"
+ android:padding="@dimen/stdpadding"
+ style="@style/BitmaskActivity"
+ android:layout_width="0dp"
+ android:layout_height="0dp"
+ android:layout_margin="@dimen/stdpadding"
+ android:background="@color/colorBackground"
+ app:layout_constraintBottom_toTopOf="@+id/guideline_bottom"
+ app:layout_constraintEnd_toStartOf="@+id/guideline_right"
+ app:layout_constraintHeight_min="411dp"
+ app:layout_constraintStart_toStartOf="@+id/guideline_left"
+ app:layout_constraintTop_toTopOf="@+id/guideline_top"
+ app:layout_constraintWidth_min="731dp">
- <include layout="@layout/loading_screen" />
+ <include layout="@layout/loading_screen" />
- <LinearLayout
+ <LinearLayout
android:id="@+id/content"
android:orientation="vertical"
android:layout_width="match_parent"
- android:layout_height="match_parent">
+ android:layout_height="wrap_content">
<include
layout="@layout/provider_header"
@@ -81,7 +76,7 @@
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:textStyle="normal"
- android:textAppearance="?android:attr/textAppearanceSmall"
+ android:textAppearance="?android:attr/textAppearanceMedium"
android:layout_marginTop="@dimen/standard_margin"
android:layout_marginBottom="@dimen/standard_margin"
/>
@@ -90,8 +85,9 @@
android:id="@+id/provider_detail_options"
android:layout_width="match_parent"
android:layout_height="wrap_content"
- android:layout_marginTop="@dimen/standard_margin"
- android:drawSelectorOnTop="false"/>
+ android:layout_marginTop="@dimen/list_view_margin_top"
+ android:drawSelectorOnTop="false"
+ />
</LinearLayout>
</LinearLayout>