优化
This commit is contained in:
@@ -99,6 +99,7 @@ abstract class BaseReadBookActivity :
|
|||||||
"1" -> requestedOrientation = ActivityInfo.SCREEN_ORIENTATION_PORTRAIT
|
"1" -> requestedOrientation = ActivityInfo.SCREEN_ORIENTATION_PORTRAIT
|
||||||
"2" -> requestedOrientation = ActivityInfo.SCREEN_ORIENTATION_LANDSCAPE
|
"2" -> requestedOrientation = ActivityInfo.SCREEN_ORIENTATION_LANDSCAPE
|
||||||
"3" -> requestedOrientation = ActivityInfo.SCREEN_ORIENTATION_SENSOR
|
"3" -> requestedOrientation = ActivityInfo.SCREEN_ORIENTATION_SENSOR
|
||||||
|
"4" -> requestedOrientation = ActivityInfo.SCREEN_ORIENTATION_REVERSE_PORTRAIT
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -59,6 +59,7 @@
|
|||||||
<item>@string/screen_portrait</item>
|
<item>@string/screen_portrait</item>
|
||||||
<item>@string/screen_landscape</item>
|
<item>@string/screen_landscape</item>
|
||||||
<item>@string/screen_sensor</item>
|
<item>@string/screen_sensor</item>
|
||||||
|
<item>反向竖屏</item>
|
||||||
</string-array>
|
</string-array>
|
||||||
|
|
||||||
<string-array name="icon_names">
|
<string-array name="icon_names">
|
||||||
|
|||||||
@@ -59,6 +59,7 @@
|
|||||||
<item>@string/screen_portrait</item>
|
<item>@string/screen_portrait</item>
|
||||||
<item>@string/screen_landscape</item>
|
<item>@string/screen_landscape</item>
|
||||||
<item>@string/screen_sensor</item>
|
<item>@string/screen_sensor</item>
|
||||||
|
<item>反向竖屏</item>
|
||||||
</string-array>
|
</string-array>
|
||||||
|
|
||||||
<string-array name="icon_names">
|
<string-array name="icon_names">
|
||||||
|
|||||||
@@ -31,6 +31,7 @@
|
|||||||
<item>1</item>
|
<item>1</item>
|
||||||
<item>2</item>
|
<item>2</item>
|
||||||
<item>3</item>
|
<item>3</item>
|
||||||
|
<item>4</item>
|
||||||
</string-array>
|
</string-array>
|
||||||
|
|
||||||
<string-array name="double_page_value">
|
<string-array name="double_page_value">
|
||||||
|
|||||||
@@ -59,6 +59,7 @@
|
|||||||
<item>@string/screen_portrait</item>
|
<item>@string/screen_portrait</item>
|
||||||
<item>@string/screen_landscape</item>
|
<item>@string/screen_landscape</item>
|
||||||
<item>@string/screen_sensor</item>
|
<item>@string/screen_sensor</item>
|
||||||
|
<item>反向竖屏</item>
|
||||||
</string-array>
|
</string-array>
|
||||||
|
|
||||||
<string-array name="double_page_title">
|
<string-array name="double_page_title">
|
||||||
|
|||||||
Reference in New Issue
Block a user