如何在风景mdoe手机上运行我的Android平板电脑应用程序时看起来一样(How can I make my android tablet app to look the same when it runs on phone in landscape mdoe)
我有平板电脑的Android应用程序布局。 它的布局基于“风景”(即,当我在平板电脑上运行时,它看起来像我想要的方式(默认情况下)。
但是当我在手机上运行相同的应用程序时,android以纵向模式运行,(它将我的“风景”布局挤压成一幅肖像)。
我尝试在我的Manifest文件中将'android:screenOrientation ='landscape'放入我的活动中。 但这并没有解决它。
基本上,我想要的是当我将手机旋转90%(宽度>高度)时,我希望手机布局看起来与我在平板电脑上看到的相同(默认为风景)。
我怎样才能做到这一点? android:screenOrientation ='landscape'不起作用。
基本上,我想要一些游戏'AngryBird',它总是以横向模式运行,无论是手机还是平板电脑以及手机是否旋转。
I have a android app layout for tablet. Its layout is 'landscape' based (i.e. it looks the way i want when I run on tablet (by default landscape).
But when I run the same app on a phone, android runs in portrait mode, (it squeeze my 'landscape' layout into a portrait ).
I have tried putting 'android:screenOrientation='landscape' in my activity in my Manifest file. But that does not fix it.
Basically, what I want is when I rotate the phone by 90 % (the width is > height), I want the phone layout looks the same as what i see on tablet (which is landscape by default).
How can I do that? android:screenOrientation='landscape' does not work.
Basically, I want some thing the game 'AngryBird', it always runs in landscape mode regardless it is phone or tablet and whether the phone is rotated.
原文:https://stackoverflow.com/questions/10307576
最满意答案
如果您需要良好的数据分析工具包,您可以花一些时间尝试R ---免费软件统计/数据分析工具包。 它具有非常好的图形功能,特别是通过用于静态图形的ggplot2包和用于动态数据探索的ggobi 。
数据导入/导出也很简单--- R可以通过ODBC等导入csv / tsv或Excel数据。
学习需要一些时间,但之后您不受工具功能的限制:R可以处理大量的分析任务:简单的数据处理,旋转。 聚合任务到高级统计/机器学习方法:聚类/分类/回归等
如果您对使用简单计算的数据转换更感兴趣,可以使用某种Extract-Transform-Load工具包,例如Talend Open Studio 。
If you need good data analysis toolkit, you can spend some time and try R --- free software statistics/data analysis toolkit. It has pretty good graphic capabilities, especially via ggplot2 package for static graphics and ggobi for dynamic data exploration.
Data import/export pretty easy too --- R can import csv/tsv, or Excel data via ODBC and so on.
- Pretty good introduction in exploration data analysis with R and ggplot
- Introduction to R
- Data Import/Export
It takes some time to learn, but after that you are not limited with tool capabilities: R can handle plenty of analysis tasks: from simple data crunching, pivoting. aggregation tasks to advanced statistics/machine learning methods: clustering/classification/ regression etc.
If you more more interested in data transformation with simple calculations, you can use some kind of Extract-Transform-Load toolkit, such as Talend Open Studio.
相关问答
更多-
如何在excel里添加data analysis plus(数据分析)这个选项?[2022-03-11]
1.电脑桌面上,点击右键-新建-Microsoft excel工作表。 2.打开Microsoft excel工作表。 3.点击菜单栏中文件,选择并进入选项界面。 4.点击加载项,选择分析工具库。 5.点击底部的转到,进入加载宏界面。 6.在分析工具库前打钩,确认即可,此时excel表格右上角菜单栏中就会出现“数据分析”命令选项。 -
我目前使用XLRD模块从Excel电子表格和插入光标吸取数据以创建要素类,这非常有效。 您应该可以使用搜索光标遍历要素类记录,然后使用XLWT Python模块( http://www.python-excel.org/ )将记录写入Excel。 I currently use the XLRD module to suck in data from an Excel spreadsheet and an insert cursor to create a feature class, which work ...
-
通过Matlab打开MS Excel(Open MS Excel by Matlab)[2022-05-21]
打开(但不关闭)Excel文件的最简单方法是使用WINOPEN : winopen('myFile.xlsx') The simplest way to open (but not close) an Excel file is to use WINOPEN: winopen('myFile.xlsx') -
我担心,你的理解是不正确的。 Aspose.Cells API是使用托管代码构建的,它们永远不需要Microsoft Office或Microsoft Excel安装在机器上以使用其功能或操作Excel文档格式。 它应该是Microsoft Office自动化替代品和独立库。 注意:我在Aspose担任Support developer / Evangelist。 I am afraid, your understanding is not correct. Aspose.Cells APIs are bu ...
-
如果您在计算机上运行Access,则可以在Access中打开电子表格以从中创建新数据库,或使用“导入数据”将Excel电子表格导入表格。 如果这是一个大问题,请使用Office Automation来加快处理速度。 否则,Access连接引擎(ACE)是一个ODBC驱动程序,可以连接到Access和Excel文件。 您可以编写一些内容来在它们之间传输数据。 它是免费的,但有点工作。 或者,您可以使用SSIS,它也可以免费使用SQL Server Express版本。 但肯定会有很多开销只是为了在文件之间进行 ...
-
创建MS Excel工作表(Create MS Excel Sheet)[2022-06-09]
我以前必须这样做,它非常耗时但你可以把它写到客户端的XML文件中。 一个好的起点是创建一个新的Excel工作表,将其另存为XML文件,然后您可以找出需要更改的位,然后找出将正确的信息写入XML文件的方法。 虽然我说它需要相当多的时间! 编辑- 刚刚找到这个让你看看 - http://www.rshelby.com/post/creating-excel-worksheet-from-silverlight.aspx I had to do this previously, its pretty time c ... -
如果您需要良好的数据分析工具包,您可以花一些时间尝试R ---免费软件统计/数据分析工具包。 它具有非常好的图形功能,特别是通过用于静态图形的ggplot2包和用于动态数据探索的ggobi 。 数据导入/导出也很简单--- R可以通过ODBC等导入csv / tsv或Excel数据。 在R和ggplot的勘探数据分析中非常好的介绍 R简介 数据导入/导出 学习需要一些时间,但之后您不受工具功能的限制:R可以处理大量的分析任务:简单的数据处理,旋转。 聚合任务到高级统计/机器学习方法:聚类/分类/回归等 如果 ...
-
其他答案都可以。 我只想提出一个额外的选择。 如果它只是一个经常更新的特定Excel文件,我会考虑使用VBA。 例如,在Excel中编写一些VBA代码,用于在电子表格保存(或用户按下按钮)时将更改上载到数据库。 使用预定作业的问题在于,Excel基本上是单个用户应用程序。 如果有人在计划的作业运行或将电子表格移动到其他文件夹时打开电子表格或正在执行某些操作,则作业可能会失败。 通过这种方式,您还可以以接近实时的方式获取数据库中的更新数据,而不是等待作业运行。 这可能需要花费更多的时间和精力来设置,而不是其他 ...
-
转到“公式”选项卡,然后单击“计算选项”旁边的小三角形。 选择“自动”。 Go to the tab "Formulas" and click on the little triangle next to "Calculation options". There select "Automatic".
-
我发现D3是最好的解决方案: http : //d3js.org/ I found D3 to be the best solution: http://d3js.org/