From 4cd7cf2a0ece17d4f362777ee197395a3e9fa8ba Mon Sep 17 00:00:00 2001 From: vadym Date: Mon, 3 Aug 2020 07:03:21 -0700 Subject: [PATCH] 1. API 15 support (Android 4.0.3) --- app/src/main/res/layout/activity_main.xml | 3 ++- app/src/main/res/layout/host_list_item.xml | 3 ++- app/src/main/res/values-v21/styles.xml | 7 +++++++ app/src/main/res/values/styles.xml | 2 +- 4 files changed, 12 insertions(+), 3 deletions(-) create mode 100644 app/src/main/res/values-v21/styles.xml diff --git a/app/src/main/res/layout/activity_main.xml b/app/src/main/res/layout/activity_main.xml index 11d6687..b73ee8e 100644 --- a/app/src/main/res/layout/activity_main.xml +++ b/app/src/main/res/layout/activity_main.xml @@ -27,7 +27,8 @@ app:layout_constraintBottom_toBottomOf="parent" app:layout_constraintStart_toStartOf="parent" app:layout_constraintTop_toTopOf="parent" - app:popupTheme="@style/AppTheme.PopupOverlay" /> + app:popupTheme="@style/AppTheme.PopupOverlay" + android:layout_marginRight="240dp" /> + android:textColor="@color/white" + android:paddingRight="20dp" /> \ 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 new file mode 100644 index 0000000..b208867 --- /dev/null +++ b/app/src/main/res/values-v21/styles.xml @@ -0,0 +1,7 @@ + + + + + \ No newline at end of file diff --git a/app/src/main/res/values/styles.xml b/app/src/main/res/values/styles.xml index d53b11f..764b9fa 100644 --- a/app/src/main/res/values/styles.xml +++ b/app/src/main/res/values/styles.xml @@ -10,7 +10,7 @@