Skip to content

Commit 42b0d7e

Browse files
README ToDo additions. Major expansion of sw (screen width) matching, XML has notes on actual tested devices.
1 parent 170de52 commit 42b0d7e

18 files changed

Lines changed: 73 additions & 5 deletions

File tree

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@ ToDo:
1010

1111
1. Add immersive option button or menu, handy for end-users who use app to send back screen shots of oddball devices.
1212
2. Add some basic Android buttons/checkboxes on main layout XML so that screen shots sent back from users depict general fit.
13+
3. Show density factor on-screen.
14+
4. Use the AutoFitTextView for known strings in the system-default font and show the resulting point size?
1315

1416

1517
Research

whatsmysize/build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@ android {
1818
minSdkVersion 9
1919
targetSdkVersion 25
2020

21-
versionCode 6
22-
versionName "1.0.4"
21+
versionCode 7
22+
versionName "1.1.7"
2323

2424
signingConfig signingConfigs.WakeReality_androidB
2525
}
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<resources>
3+
<string name="screen_width_class">Tablet (sw1080dp)</string>
4+
</resources>
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<resources>
3+
<string name="screen_width_class">Tablet (sw1280dp)</string>
4+
</resources>
Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<resources>
3-
<string name="screen_width_class">Phone</string>
3+
<string name="screen_width_class">Phone (sw320dp)</string>
4+
<string name="screen_width_class_test_0">Huawei Y538, Android 5.1.1, Portrait</string>
45
</resources>
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<resources>
3+
<string name="screen_width_class">Phone (sw340dp)</string>
4+
</resources>
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<resources>
3+
<string name="screen_width_class">Phone (sw360dp)</string>
4+
<string name="screen_width_class_test_0">Nexus 5, Android 6.0.1, Portrait</string>
5+
<string name="screen_width_class_test_1">LGLS676, Android 6.0.1, Portrait</string>
6+
<string name="screen_width_class_test_2">Blu Studio Energy 2, Android 5.0, Portrait</string>
7+
<string name="screen_width_class_test_3">MotoE2(4G-LTE), Android 5.1, Portrait</string>
8+
<string name="screen_width_class_test_4">Huawei H1611, Android 6.0.1, Portrait</string>
9+
</resources>
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<resources>
3+
<string name="screen_width_class">Phone (sw411dp)</string>
4+
<string name="screen_width_class_test_0">Nexus 6, Android 7.0, Portrait</string>
5+
</resources>
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<resources>
3+
<string name="screen_width_class">Phone (sw412dp)</string>
4+
<string name="screen_width_class_test_0">Nothing?</string>
5+
</resources>
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<resources>
3+
<string name="screen_width_class">Phone (sw480dp)</string>
4+
<string name="screen_width_class_test_0">Never?</string>
5+
</resources>

0 commit comments

Comments
 (0)