From 48ccf43557001aa31b96eda8381ee2bf5ea5fa10 Mon Sep 17 00:00:00 2001 From: Alexey Utovka Date: Thu, 11 Apr 2019 23:51:38 +0300 Subject: [PATCH] Light layout fixes. --- app/build.gradle | 4 +- app/src/main/res/layout-land/calculator.xml | 4 +- .../main/res/layout-small-land/calculator.xml | 355 +++++++++++++++++ app/src/main/res/layout-small/calculator.xml | 355 +++++++++++++++++ .../res/layout-sw400dp-land/calculator.xml | 355 +++++++++++++++++ .../res/layout-sw400dp-port/calculator.xml | 357 ++++++++++++++++++ app/src/main/res/layout/calculator.xml | 7 +- 7 files changed, 1429 insertions(+), 8 deletions(-) create mode 100644 app/src/main/res/layout-small-land/calculator.xml create mode 100644 app/src/main/res/layout-small/calculator.xml create mode 100644 app/src/main/res/layout-sw400dp-land/calculator.xml create mode 100644 app/src/main/res/layout-sw400dp-port/calculator.xml diff --git a/app/build.gradle b/app/build.gradle index d18d042..5604100 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -4,11 +4,11 @@ android { compileSdkVersion 28 buildToolsVersion '28.0.3' defaultConfig { - applicationId "ru.neurospb.app_icon" + applicationId "ru.neurospb.calculator" minSdkVersion 15 targetSdkVersion 28 versionCode 1 - versionName "1.0" + versionName "0.1.0" testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner" } buildTypes { diff --git a/app/src/main/res/layout-land/calculator.xml b/app/src/main/res/layout-land/calculator.xml index fd70ec3..5cfdad9 100644 --- a/app/src/main/res/layout-land/calculator.xml +++ b/app/src/main/res/layout-land/calculator.xml @@ -37,14 +37,14 @@ android:layout_gravity="end" android:cursorVisible="false" android:isScrollContainer="true" - android:padding="5dp" + android:padding="2dp" android:scrollbarAlwaysDrawHorizontalTrack="false" android:scrollbarAlwaysDrawVerticalTrack="false" android:scrollHorizontally="true" android:singleLine="true" android:textColor="@color/colorAccent" android:textIsSelectable="false" - android:textSize="48sp" + android:textSize="36sp" android:textStyle="bold" tools:text="0" /> diff --git a/app/src/main/res/layout-small-land/calculator.xml b/app/src/main/res/layout-small-land/calculator.xml new file mode 100644 index 0000000..4dd6046 --- /dev/null +++ b/app/src/main/res/layout-small-land/calculator.xml @@ -0,0 +1,355 @@ + + + + + + + + + + + + +