From 1e20c8ebcc4d50ff0e5eb6d81a3caa9999a19f3a Mon Sep 17 00:00:00 2001 From: ChronosX88 Date: Sat, 9 Feb 2019 21:45:22 +0400 Subject: [PATCH] =?UTF-8?q?[DetailActivity]=20Made=20transparent=20toolbar?= =?UTF-8?q?,=20dots=20(which=20indicates,=20how=20many=20images=20in=20sli?= =?UTF-8?q?der),=20margin=209=20dp=20from=20the=20left=20and=20char=20"?= =?UTF-8?q?=D0=A0"=20in=20price.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/src/main/AndroidManifest.xml | 4 +- .../vrcatalog/view/DetailActivity.java | 6 ++ .../res/drawable/tab_indicator_default.xml | 8 ++ .../res/drawable/tab_indicator_selected.xml | 9 +++ app/src/main/res/drawable/tab_selector.xml | 8 ++ app/src/main/res/layout/activity_detail.xml | 73 ++++++++++++------- .../res/layout/properties_list_adapter.xml | 6 +- app/src/main/res/values-v21/styles.xml | 12 +++ app/src/main/res/values/styles.xml | 4 + 9 files changed, 101 insertions(+), 29 deletions(-) create mode 100644 app/src/main/res/drawable/tab_indicator_default.xml create mode 100644 app/src/main/res/drawable/tab_indicator_selected.xml create mode 100644 app/src/main/res/drawable/tab_selector.xml diff --git a/app/src/main/AndroidManifest.xml b/app/src/main/AndroidManifest.xml index f210ba2..e5aa12d 100644 --- a/app/src/main/AndroidManifest.xml +++ b/app/src/main/AndroidManifest.xml @@ -23,7 +23,9 @@ - + + + + \ No newline at end of file diff --git a/app/src/main/res/drawable/tab_indicator_selected.xml b/app/src/main/res/drawable/tab_indicator_selected.xml new file mode 100644 index 0000000..83daff8 --- /dev/null +++ b/app/src/main/res/drawable/tab_indicator_selected.xml @@ -0,0 +1,9 @@ + + + + \ No newline at end of file diff --git a/app/src/main/res/drawable/tab_selector.xml b/app/src/main/res/drawable/tab_selector.xml new file mode 100644 index 0000000..001747c --- /dev/null +++ b/app/src/main/res/drawable/tab_selector.xml @@ -0,0 +1,8 @@ + + + + + + + \ No newline at end of file diff --git a/app/src/main/res/layout/activity_detail.xml b/app/src/main/res/layout/activity_detail.xml index 2fedf75..d7f98b3 100644 --- a/app/src/main/res/layout/activity_detail.xml +++ b/app/src/main/res/layout/activity_detail.xml @@ -1,33 +1,54 @@ - + android:layout_height="wrap_content"> - + - + - - - \ No newline at end of file + + + + + + + + + + + + + \ No newline at end of file diff --git a/app/src/main/res/layout/properties_list_adapter.xml b/app/src/main/res/layout/properties_list_adapter.xml index 45011c0..c0bc04c 100644 --- a/app/src/main/res/layout/properties_list_adapter.xml +++ b/app/src/main/res/layout/properties_list_adapter.xml @@ -9,11 +9,13 @@ android:layout_height="wrap_content" android:text="Property Name" android:textAppearance="@style/TextAppearance.AppCompat.Body1" - android:textSize="18sp" /> + android:textSize="18sp" + android:layout_marginLeft="9dp"/> + android:text="Property Value" + android:layout_marginLeft="9dp"/> \ No newline at end of file diff --git a/app/src/main/res/values-v21/styles.xml b/app/src/main/res/values-v21/styles.xml index fd7a058..a005d20 100644 --- a/app/src/main/res/values-v21/styles.xml +++ b/app/src/main/res/values-v21/styles.xml @@ -5,4 +5,16 @@ true @android:color/transparent + + diff --git a/app/src/main/res/values/styles.xml b/app/src/main/res/values/styles.xml index 545b9c6..f49f94b 100644 --- a/app/src/main/res/values/styles.xml +++ b/app/src/main/res/values/styles.xml @@ -17,4 +17,8 @@ +