diff options
Diffstat (limited to 'app/src/main/res/layout')
-rw-r--r-- | app/src/main/res/layout/activity_tab_customizer.xml | 51 | ||||
-rw-r--r-- | app/src/main/res/layout/iitem_tab_preview.xml | 23 | ||||
-rw-r--r-- | app/src/main/res/layout/view_badged_icon.xml | 4 |
3 files changed, 76 insertions, 2 deletions
diff --git a/app/src/main/res/layout/activity_tab_customizer.xml b/app/src/main/res/layout/activity_tab_customizer.xml new file mode 100644 index 00000000..b72bb953 --- /dev/null +++ b/app/src/main/res/layout/activity_tab_customizer.xml @@ -0,0 +1,51 @@ +<?xml version="1.0" encoding="utf-8"?> +<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android" + android:layout_width="match_parent" + android:layout_height="match_parent"> + + <View + android:id="@+id/pseudo_toolbar" + android:layout_width="match_parent" + android:layout_height="?attr/actionBarSize" + android:elevation="0dp" /> + + <LinearLayout + android:layout_width="match_parent" + android:layout_height="match_parent" + android:orientation="vertical"> + + <android.support.v7.widget.RecyclerView + android:id="@+id/tab_recycler" + android:layout_width="match_parent" + android:layout_height="wrap_content" /> + + <View + android:id="@+id/divider" + android:layout_width="match_parent" + android:layout_height="1dp" /> + + <TextView + android:id="@+id/instructions" + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:padding="@dimen/kau_padding_normal" + android:text="@string/tab_customizer_instructions" + android:textAlignment="center" /> + + </LinearLayout> + + <android.support.design.widget.FloatingActionButton + android:id="@+id/fab_cancel" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:layout_gravity="start|bottom" + android:layout_margin="@dimen/kau_fab_margin" /> + + <android.support.design.widget.FloatingActionButton + android:id="@+id/fab_save" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:layout_gravity="end|bottom" + android:layout_margin="@dimen/kau_fab_margin" /> + +</FrameLayout>
\ No newline at end of file diff --git a/app/src/main/res/layout/iitem_tab_preview.xml b/app/src/main/res/layout/iitem_tab_preview.xml new file mode 100644 index 00000000..15e2ee7d --- /dev/null +++ b/app/src/main/res/layout/iitem_tab_preview.xml @@ -0,0 +1,23 @@ +<?xml version="1.0" encoding="utf-8"?> +<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:orientation="vertical" + android:padding="@dimen/kau_padding_normal"> + + <ImageView + android:id="@+id/image" + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:contentDescription="" + android:scaleType="center" /> + + <TextView + android:id="@+id/text" + style="@style/TextAppearance.AppCompat.Caption" + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:paddingTop="@dimen/kau_padding_small" + android:textAlignment="center" /> + +</LinearLayout> diff --git a/app/src/main/res/layout/view_badged_icon.xml b/app/src/main/res/layout/view_badged_icon.xml index c64e7809..4c6ca190 100644 --- a/app/src/main/res/layout/view_badged_icon.xml +++ b/app/src/main/res/layout/view_badged_icon.xml @@ -26,8 +26,8 @@ <ImageView android:id="@+id/badge_image" - android:layout_width="20dp" - android:layout_height="20dp" + android:layout_width="@dimen/badge_icon_size" + android:layout_height="@dimen/badge_icon_size" app:layout_constraintBottom_toBottomOf="parent" app:layout_constraintHorizontal_bias="0.5" app:layout_constraintLeft_toLeftOf="parent" |